/* ==========================================================================
   Tracer Nigeria - Optimized Styles
   Mobile-First Design with Progressive Enhancement
   ========================================================================== */

/* CSS Variables - Dark Mode (Default) */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #FBB03B;
    --dark-bg: #0A0A0A;
    --dark-gray: #1A1A1A;
    --light-gray: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-vibrant: linear-gradient(90deg, #FF6B35 0%, #F7931E 25%, #FBB03B 50%, #FFD700 75%, #FFA500 100%);
    --vh: 1vh;
    
    /* Theme variables */
    --bg-primary: var(--dark-bg);
    --bg-secondary: var(--dark-gray);
    --bg-tertiary: var(--light-gray);
    --text-main: var(--text-primary);
    --text-muted: var(--text-secondary);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-gradient: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.4) 100%);
    --hero-gradient: linear-gradient(to bottom, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 20%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.7) 80%, rgba(10, 10, 10, 0.95) 100%);
}

/* Light Mode Variables */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-tertiary: #E8E8E8;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.75) 100%);
    --hero-gradient: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 20%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.85) 80%, rgba(255, 255, 255, 0.95) 100%);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, background-color 0.3s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-logo-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: spin-pulse 2s ease infinite;
}

@keyframes spin-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}

.loader-logo {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: pulse 1.5s ease infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    background: var(--gradient-orange);
    animation: loading 1.5s ease infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 10, 0.95);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    width: 35px;
    height: 35px;
    animation: pulse 2s ease infinite;
}

.logo-text {
    transition: color 0.3s ease;
}

/* Dark mode - White text */
[data-theme="dark"] .logo-text {
    color: #FFFFFF;
}

/* Light mode - Black text (no orange gradient) */
[data-theme="light"] .logo-text {
    color: #1A1A1A;
}

.notify-btn {
    background: var(--gradient-orange);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

@media (hover: hover) {
    .notify-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    }
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle i {
    transition: transform 0.5s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .theme-toggle {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .theme-toggle {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

@media (hover: hover) {
    .theme-toggle:hover {
        transform: rotate(180deg) scale(1.1);
        background: var(--gradient-orange);
        border-color: transparent;
        color: white;
    }
}

/* ==========================================================================
   Hero Carousel Section
   ========================================================================== */
.hero-carousel {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    margin-top: -70px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-gradient-overlay {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 25%, rgba(10, 10, 10, 0.3) 50%, transparent 70%),
        linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 20%, rgba(10, 10, 10, 0.2) 40%, transparent 60%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, transparent 20%, transparent 80%, rgba(10, 10, 10, 0.7) 100%);
}

[data-theme="light"] .hero-gradient-overlay {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 25%, rgba(255, 255, 255, 0.5) 50%, transparent 70%),
        linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 20%, rgba(255, 255, 255, 0.3) 40%, transparent 60%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, 0.8) 100%);
}

/* Carousel Slides */
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 25%, rgba(251, 176, 59, 0.1) 50%, rgba(10, 10, 10, 0.3) 100%);
    z-index: 1;
    animation: gradientShift 8s ease infinite;
}

.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 15%, rgba(10, 10, 10, 0.4) 40%, rgba(10, 10, 10, 0.2) 60%, transparent 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, transparent 30%, transparent 70%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 25%, rgba(251, 176, 59, 0.1) 50%, rgba(10, 10, 10, 0.3) 100%); }
    50% { background: linear-gradient(225deg, rgba(255, 107, 53, 0.2) 0%, rgba(247, 147, 30, 0.2) 25%, rgba(251, 176, 59, 0.2) 50%, rgba(10, 10, 10, 0.4) 100%); }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 1;
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 100px;
    right: 50px;
    z-index: 4;
    text-align: right;
    padding: 20px;
    background: var(--overlay-gradient);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: background 0.3s ease;
    border: 1px solid var(--border-color);
}

.carousel-slide.active .slide-content {
    animation: slideContentIn 1.5s ease 0.5s forwards;
}

@keyframes slideContentIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s ease;
}

[data-theme="dark"] .slide-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .slide-subtitle {
    text-shadow: none;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 6;
    pointer-events: none;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    min-width: 44px;
    min-height: 44px;
}

[data-theme="dark"] .carousel-btn {
    background: rgba(10, 10, 10, 0.5);
}

[data-theme="light"] .carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px var(--shadow-color);
}

@media (hover: hover) {
    .carousel-btn:hover {
        background: rgba(255, 107, 53, 0.3);
        border-color: var(--primary-color);
        transform: scale(1.1);
    }
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 6;
    padding: 15px 25px;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    transition: background 0.3s ease;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .carousel-indicators {
    background: rgba(10, 10, 10, 0.7);
}

[data-theme="light"] .carousel-indicators {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.indicator {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.5);
}

.indicator.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-orange);
    animation: indicatorFill 4s linear;
}

@keyframes indicatorFill {
    from { width: 0; }
    to { width: 100%; }
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 800px;
    padding: 60px;
    background: var(--overlay-gradient);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: backdrop-filter 0.6s ease, background 0.6s ease, border-color 0.3s ease;
}

[data-theme="light"] .hero-content {
    box-shadow: 0 10px 40px var(--shadow-color);
}

@media (hover: hover) {
    [data-theme="dark"] .hero-content:hover {
        backdrop-filter: blur(2px);
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.2) 50%, rgba(10, 10, 10, 0.1) 100%);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    [data-theme="light"] .hero-content:hover {
        backdrop-filter: blur(5px);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.5) 100%);
        border-color: rgba(0, 0, 0, 0.2);
    }
}

.hero-title {
    font-size: clamp(1.8rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-text {
    color: #FF6B35;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from {
        color: #FF6B35;
        text-shadow: 0 0 5px rgba(255, 107, 53, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    to {
        color: #FFD700;
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .hero-subtitle {
    text-shadow: none;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ==========================================================================
   Countdown Section
   ========================================================================== */
.countdown-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: background 0.3s ease;
}

.countdown-wrapper {
    text-align: center;
}

.countdown-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-vibrant);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    min-width: 120px;
}

.countdown-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    transition: transform 0.2s ease;
}

.countdown-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    transition: color 0.3s ease;
}

/* ==========================================================================
   Preview Section
   ========================================================================== */
.preview-section {
    padding: 100px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-10px);
        background: var(--bg-tertiary);
        box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
    }
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* ==========================================================================
   Ambassador Section
   ========================================================================== */
.ambassador-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    transition: background 0.3s ease;
}

.ambassador-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ambassador-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.ambassador-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ambassador-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--gradient-orange);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.ambassador-info h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ambassador-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.ambassador-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    padding: 100px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.newsletter-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.newsletter-wrapper p {
    color: var(--text-muted);
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: var(--bg-secondary);
    padding: 8px;
    border-radius: 60px;
    transition: background 0.3s ease;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.newsletter-form button {
    background: var(--gradient-orange);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .newsletter-form button:hover {
        transform: scale(1.05);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 60px 0 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--border-color);
}

@media (hover: hover) {
    .footer-social a:hover {
        background: var(--gradient-orange);
        transform: translateY(-3px);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.footer-bottom p {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .modal {
    background: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .modal {
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    transition: background 0.3s ease;
    border: 1px solid var(--border-color);
}

[data-theme="light"] .modal-content {
    box-shadow: 0 20px 60px var(--shadow-color);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input {
    padding: 15px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.modal-form input:focus {
    border-color: var(--primary-color);
}

.modal-form button {
    padding: 15px;
    background: var(--gradient-orange);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .modal-form button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    }
}

/* ==========================================================================
   Responsive Design - Mobile
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-content {
        left: 30px;
        right: 30px;
        padding: 40px;
        max-width: calc(100% - 60px);
    }
    
    .slide-content {
        bottom: 80px;
        right: 30px;
        padding: 15px;
    }
    
    .ambassador-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
    }
    
    .notify-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .notify-btn span {
        display: none;
    }
    
    /* Hero Section */
    .hero-carousel {
        margin-top: -60px;
    }
    
    [data-theme="dark"] .hero-gradient-overlay {
        background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 20%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.7) 80%, rgba(10, 10, 10, 0.95) 100%);
    }
    
    [data-theme="light"] .hero-gradient-overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0.95) 100%);
    }
    
    .hero-content {
        position: absolute;
        top: auto;
        bottom: 80px;
        left: 15px;
        right: 15px;
        transform: none;
        max-width: 100%;
        padding: 25px 20px;
        backdrop-filter: blur(15px);
        border-radius: 15px;
    }
    
    [data-theme="dark"] .hero-content {
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.9) 100%);
    }
    
    [data-theme="light"] .hero-content {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
        box-shadow: 0 10px 30px var(--shadow-color);
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-top: 15px;
    }
    
    .carousel-slide img {
        object-fit: cover;
    }
    
    .slide-content {
        display: none;
    }
    
    .carousel-nav {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .indicator {
        width: 35px;
        height: 3px;
    }
    
    /* Sections */
    .countdown-section,
    .preview-section,
    .ambassador-section,
    .newsletter-section {
        padding: 60px 0;
    }
    
    .countdown-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .ambassador-info h2 {
        font-size: 2.2rem;
    }
    
    .ambassador-quote {
        font-size: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 5px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 50px;
        padding: 15px 20px;
    }
    
    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        bottom: 70px;
        left: 10px;
        right: 10px;
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .highlight-text {
        font-size: 1.9rem;
        display: block;
        margin: 5px 0;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .countdown-title {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        bottom: 20px;
        padding: 15px 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch devices - Remove hover effects */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
}
