/* 
   TDU Tech Landing Page Styles
   Modern, responsive CSS with clean design principles
   Written by: CTO & Lead Designer
   
   Table of Contents:
   1. Force Light Theme Override
   2. Mouse Inversion Effect
   3. CSS Variables & Reset
   4. Base Styles
   5. Header & Navigation
   6. Hero Section
   7. About Section
   8. Services Section
   9. Contact Section
   10. Footer
   11. Responsive Design
   12. Animations & Effects
*/

/* ==========================================
   1. Force Light Theme Override
   ========================================== */

/* Force light theme across ALL browsers and override any system preferences */
html {
    color-scheme: light only !important;
    background-color: #ffffff !important;
}

/* Override any browser dark mode styles */
body {
    color-scheme: light only !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
}

/* Ensure no dark mode media queries can override our light theme */
@media (prefers-color-scheme: dark) {
    html, body {
        color-scheme: light only !important;
        background-color: #ffffff !important;
        color: #1f2937 !important;
    }
    
    /* Force all elements to respect light theme */
    * {
        color-scheme: light only !important;
    }
}

/* Override any webkit specific dark mode styles */
@media (-webkit-prefers-color-scheme: dark) {
    html, body {
        color-scheme: light only !important;
        background-color: #ffffff !important;
        color: #1f2937 !important;
    }
}

/* ==========================================
   2. Mouse Inversion Effect
   ========================================== */

#page-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

#original-content {
    position: relative;
    z-index: 1;
}

.inverted-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1);
    filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.1);
    will-change: transform;
}

.inverted-content * {
    pointer-events: none;
}

#circle-shadow {
    opacity: 0.6;
    transition: opacity 0.2s ease, r 0.1s ease-out;
}

body:hover #circle-shadow {
    opacity: 0.8;
}

/* Performance optimizations for the mask effect */
#mask-circle {
    transition: cx 0.05s ease-out, cy 0.05s ease-out, r 0.1s ease-out;
}

/* Smooth cursor following */
#page-mask {
    will-change: transform;
}

/* ==========================================
   3. CSS Variables & Reset
   ========================================== */

/* CSS Custom Properties for easy theming - FORCED LIGHT THEME */
:root {
    /* Force color scheme */
    color-scheme: light only !important;
    
    /* Light Theme Colors - Enhanced with !important for browser override */
    --primary-color: #8b5cf6 !important;           /* Purple - Primary brand color */
    --primary-dark: #7c3aed !important;            /* Darker purple for hover states */
    --secondary-color: #10b981 !important;         /* Green - Secondary accent */
    --accent-color: #f59e0b !important;            /* Amber - Call-to-action */
    --text-color: #1f2937 !important;              /* Dark gray - Main text */
    --text-light: #6b7280 !important;              /* Medium gray - Secondary text */
    --text-white: #ffffff !important;              /* White text */
    --text-dark: #111827 !important;               /* Very dark text for emphasis */
    --bg-primary: #ffffff !important;              /* White background */
    --bg-secondary: #f9fafb !important;            /* Light gray background */
    --bg-card: #ffffff !important;                 /* Card background */
    --bg-light: #f8fafc !important;                /* Lighter background for sections */
    --border-color: #e5e7eb !important;            /* Light border color */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important;
    
    /* Light Theme Feature Card Colors - Enhanced */
    --color-green: #10b981 !important;             /* Green */
    --color-pink: #ec4899 !important;              /* Pink */
    --color-cyan: #06b6d4 !important;              /* Cyan */
    --color-purple: #8b5cf6 !important;            /* Purple */
    --color-yellow: #fde68a;            /* Soft yellow */
    --color-beige: #e4d4a7;             /* Soft beige */
    --color-light-purple: #c4b5fd;      /* Light lavender */
    --color-dark-purple: #8b5cf6;       /* Soft purple */
    
    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;         /* 12px */
    --font-size-sm: 0.875rem;        /* 14px */
    --font-size-base: 1rem;          /* 16px */
    --font-size-lg: 1.125rem;        /* 18px */
    --font-size-xl: 1.25rem;         /* 20px */
    --font-size-2xl: 1.5rem;         /* 24px */
    --font-size-3xl: 1.875rem;       /* 30px */
    --font-size-4xl: 2.25rem;        /* 36px */
    --font-size-5xl: 3rem;           /* 48px */
    
    /* Spacing */
    --spacing-xs: 0.25rem;            /* 4px */
    --spacing-sm: 0.5rem;             /* 8px */
    --spacing-md: 1rem;               /* 16px */
    --spacing-lg: 1.5rem;             /* 24px */
    --spacing-xl: 2rem;               /* 32px */
    --spacing-2xl: 3rem;              /* 48px */
    --spacing-3xl: 4rem;              /* 64px */
    
    /* Border radius */
    --border-radius-sm: 0.375rem;     /* 6px */
    --border-radius-md: 0.5rem;       /* 8px */
    --border-radius-lg: 0.75rem;      /* 12px */
    --border-radius-xl: 1rem;         /* 16px */
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* CSS Reset for consistent styling across browsers */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   2. Base Styles & Animated Backgrounds
   ========================================== */

/* HTML and body setup */
html {
    scroll-behavior: smooth;          /* Smooth scrolling for anchor links */
    font-size: 16px;                  /* Base font size */
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;                 /* Good readability */
    color: var(--text-color);
    background-color: var(--bg-primary);
    overflow-x: hidden;               /* Prevent horizontal scroll */
    position: relative;
}

/* Animated Parallax Background */
.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Floating Background Elements */
.bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    filter: blur(40px);
    animation: float-drift 20s infinite ease-in-out;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.element-2 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: -5%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.element-3 {
    width: 250px;
    height: 250px;
    top: 60%;
    left: 10%;
    animation-delay: 10s;
    animation-duration: 35s;
}

.element-4 {
    width: 180px;
    height: 180px;
    top: 80%;
    right: 20%;
    animation-delay: 15s;
    animation-duration: 28s;
}

.element-5 {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 32s;
}

.element-6 {
    width: 160px;
    height: 160px;
    top: 20%;
    left: 70%;
    animation-delay: 12s;
    animation-duration: 26s;
}

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orb-pulse 15s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
    top: -20%;
    right: -20%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
    bottom: -10%;
    left: -15%;
    animation-delay: 8s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: 4s;
}

/* Container for consistent max-width and centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section spacing */
section {
    padding: var(--spacing-3xl) 0;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

/* Lists */
ul {
    list-style: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    padding: var(--spacing-md) var(--spacing-2xl);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   3. Header & Navigation
   ========================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);      /* Modern glass effect */
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo/Brand */
.nav-brand a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-color);
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

/* Mobile menu toggle - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--spacing-xs);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

/* ==========================================
   4. Hero Section
   ========================================== */

.hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
}

.hero-subtitle {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    color: var(--text-light);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.anq-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-sphere {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-sphere::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.logo-inner {
    font-size: 120px;
    font-weight: bold;
    color: var(--text-white);
    z-index: 2;
    position: relative;
}

.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite alternate;
}

/* ==========================================
   5. About Section
   ========================================== */

.about {
    background: var(--bg-secondary);
    color: var(--text-color);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-subtitle-large {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.feature-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.feature-card.green { 
    background: rgba(16, 185, 129, 0.1); 
    border: 2px solid var(--color-green);
    backdrop-filter: blur(10px);
}
.feature-card.pink { 
    background: rgba(236, 72, 153, 0.1); 
    border: 2px solid var(--color-pink);
    backdrop-filter: blur(10px);
}
.feature-card.cyan { 
    background: rgba(6, 182, 212, 0.1); 
    border: 2px solid var(--color-cyan);
    backdrop-filter: blur(10px);
}
.feature-card.purple { 
    background: rgba(139, 92, 246, 0.1); 
    border: 2px solid var(--color-purple);
    backdrop-filter: blur(10px);
}
.feature-card.yellow { 
    background: rgba(253, 230, 138, 0.2); 
    border: 2px solid var(--color-yellow);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(8deg) rotateY(3deg) scale(1.05);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
}

/* Parallax shine effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease-out;
    pointer-events: none;
}

.feature-card:hover::after {
    transform: translateX(50%) translateY(50%) rotate(45deg);
}

/* Enhanced feature card content parallax */
.feature-card .feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(15px);
}

.feature-card:hover .feature-icon {
    transform: translateZ(25px) translateY(-8px) scale(1.2) rotateY(10deg);
}

.feature-card .feature-title {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(8px);
}

.feature-card:hover .feature-title {
    transform: translateZ(18px) translateY(-3px);
}

.feature-card .feature-description {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(5px);
}

.feature-card:hover .feature-description {
    transform: translateZ(12px) translateY(-2px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg) auto;
}

.green .feature-icon { 
    background: var(--color-green); 
    position: relative;
}

.green .feature-icon i {
    display: none;
}

.green .feature-icon::before {
    content: '₹';
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pink .feature-icon { background: var(--color-pink); }
.cyan .feature-icon { background: var(--color-cyan); }
.purple .feature-icon { background: var(--color-purple); }
.yellow .feature-icon { background: var(--color-yellow); }

.feature-icon i {
    font-size: var(--font-size-xl);
    color: var(--text-white);
}

.feature-title {
    color: var(--text-color) !important;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.feature-description {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.9;
}

/* Quote Section */
.quote-section {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.main-quote {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.main-quote::before,
.main-quote::after {
    content: '"';
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
    opacity: 0.5;
}

/* ==========================================
   6. Features Section
   ========================================== */

.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Base service card color styles with darker backgrounds */
.service-card.beige { 
    background: rgba(212, 175, 55, 0.15); 
    border-left: 4px solid var(--color-beige);
    backdrop-filter: blur(10px);
}
.service-card.cyan { 
    background: rgba(6, 182, 212, 0.15); 
    border-left: 4px solid var(--color-cyan);
    backdrop-filter: blur(10px);
}
.service-card.pink { 
    background: rgba(236, 72, 153, 0.15); 
    border-left: 4px solid var(--color-pink);
    backdrop-filter: blur(10px);
}
.service-card.green { 
    background: rgba(16, 185, 129, 0.15); 
    border-left: 4px solid var(--color-green);
    backdrop-filter: blur(10px);
}
.service-card.light-purple { 
    background: rgba(167, 139, 250, 0.15); 
    border-left: 4px solid var(--color-light-purple);
    backdrop-filter: blur(10px);
}
.service-card.dark-purple { 
    background: rgba(109, 40, 217, 0.15); 
    border-left: 4px solid var(--color-dark-purple);
    backdrop-filter: blur(10px);
}

/* Enhanced parallax hover animations for colored borders */
.beige:hover { 
    border-left: 6px solid var(--color-beige);
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.3);
    transform: translateY(-15px) rotateX(8deg) rotateY(5deg) scale(1.03);
}

.cyan:hover { 
    border-left: 6px solid var(--color-cyan);
    box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.3);
    transform: translateY(-15px) rotateX(8deg) rotateY(5deg) scale(1.03);
}

.pink:hover { 
    border-left: 6px solid var(--color-pink);
    box-shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.3);
    transform: translateY(-15px) rotateX(8deg) rotateY(5deg) scale(1.03);
}

.green:hover { 
    border-left: 6px solid var(--color-green);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.3);
    transform: translateY(-15px) rotateX(8deg) rotateY(5deg) scale(1.03);
}

.light-purple:hover { 
    border-left: 6px solid var(--color-light-purple);
    box-shadow: 0 25px 50px -12px rgba(167, 139, 250, 0.3);
    transform: translateY(-15px) rotateX(8deg) rotateY(5deg) scale(1.03);
}

.dark-purple:hover { 
    border-left: 6px solid var(--color-dark-purple);
    box-shadow: 0 25px 50px -12px rgba(109, 40, 217, 0.3);
    transform: translateY(-15px) rotateX(8deg) rotateY(5deg) scale(1.03);
}

/* Feature card enhanced parallax hover effects */
.feature-card.green:hover { 
    box-shadow: 0 20px 40px -8px rgba(134, 239, 172, 0.5);
    border: 3px solid var(--color-green);
    transform: translateY(-12px) rotateX(10deg) rotateY(6deg) scale(1.08);
}

.feature-card.pink:hover { 
    box-shadow: 0 20px 40px -8px rgba(249, 168, 212, 0.5);
    border: 3px solid var(--color-pink);
    transform: translateY(-12px) rotateX(10deg) rotateY(6deg) scale(1.08);
}

.feature-card.cyan:hover { 
    box-shadow: 0 20px 40px -8px rgba(125, 211, 252, 0.5);
    border: 3px solid var(--color-cyan);
    transform: translateY(-12px) rotateX(10deg) rotateY(6deg) scale(1.08);
}

.feature-card.purple:hover { 
    box-shadow: 0 20px 40px -8px rgba(196, 181, 253, 0.5);
    border: 3px solid var(--color-purple);
    transform: translateY(-12px) rotateX(10deg) rotateY(6deg) scale(1.08);
}

.feature-card.yellow:hover { 
    box-shadow: 0 20px 40px -8px rgba(253, 230, 138, 0.5);
    border: 3px solid var(--color-yellow);
    transform: translateY(-12px) rotateX(10deg) rotateY(6deg) scale(1.08);
}

/* Smooth transitions for all parallax elements */
.feature-card, .service-card {
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Staggered animation delays for grid layouts */
.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.5s; }

.services-grid .service-card:nth-child(1) { animation-delay: 0.15s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.25s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.35s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.45s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.55s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.65s; }

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Parallax background effects for each card */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

.service-card:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Enhanced parallax effect on card contents */
.service-card .service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(20px);
}

.service-card:hover .service-icon {
    transform: translateZ(30px) translateY(-5px) scale(1.1);
}

.service-card .service-title {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(10px);
}

.service-card:hover .service-title {
    transform: translateZ(20px) translateY(-2px);
}

.service-card .service-description {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(5px);
}

.service-card:hover .service-description {
    transform: translateZ(15px) translateY(-1px);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.beige .service-icon { background: rgba(212, 175, 55, 0.2); }
.cyan .service-icon { background: rgba(6, 182, 212, 0.2); }
.pink .service-icon { background: rgba(236, 72, 153, 0.2); }
.green .service-icon { background: rgba(16, 185, 129, 0.2); }
.light-purple .service-icon { background: rgba(167, 139, 250, 0.2); }
.dark-purple .service-icon { background: rgba(109, 40, 217, 0.2); }

.service-icon i {
    font-size: var(--font-size-xl);
}

.beige .service-icon i { color: var(--color-beige); }
.cyan .service-icon i { color: var(--color-cyan); }
.pink .service-icon i { color: var(--color-pink); }
.green .service-icon i { color: var(--color-green); }
.light-purple .service-icon i { color: var(--color-light-purple); }
.dark-purple .service-icon i { color: var(--color-dark-purple); }

.service-title {
    color: var(--text-color) !important;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.service-description {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--text-light);
    opacity: 0.9;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    opacity: 0.8;
    position: relative;
    padding-left: var(--spacing-lg);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ==========================================
   7. Yield Section
   ========================================== */

.yield {
    background: var(--bg-secondary);
    color: var(--text-color);
}

.yield-visual {
    display: flex;
    justify-content: center;
    margin: var(--spacing-3xl) 0;
}

.yield-chart {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    width: 100%;
    max-width: 800px;
    position: relative;
    border: 1px solid var(--border-color);
}

.chart-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--spacing-lg);
}

.time-tabs {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-secondary);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-md);
}

.time-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.time-tab.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.time-tab:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-white);
}

.chart-container {
    position: relative;
    height: 300px;
    padding: var(--spacing-lg);
    overflow: hidden;
}

/* Grid Lines */
.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.grid-line-horizontal {
    position: absolute;
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: 1px;
    background: rgba(139, 92, 246, 0.1);
}

.grid-line-horizontal:nth-child(1) { top: 10%; }
.grid-line-horizontal:nth-child(2) { top: 25%; }
.grid-line-horizontal:nth-child(3) { top: 40%; }
.grid-line-horizontal:nth-child(4) { top: 55%; }
.grid-line-horizontal:nth-child(5) { top: 70%; }
.grid-line-horizontal:nth-child(6) { top: 85%; }

.grid-line-vertical {
    position: absolute;
    top: var(--spacing-lg);
    bottom: var(--spacing-xl);
    width: 1px;
    background: rgba(139, 92, 246, 0.1);
}

.grid-line-vertical:nth-child(7) { left: 15%; }
.grid-line-vertical:nth-child(8) { left: 30%; }
.grid-line-vertical:nth-child(9) { left: 45%; }
.grid-line-vertical:nth-child(10) { left: 60%; }
.grid-line-vertical:nth-child(11) { left: 75%; }
.grid-line-vertical:nth-child(12) { left: 90%; }

/* Area Chart */
.area-chart {
    position: relative;
    height: 100%;
    width: 100%;
}

.chart-area {
    position: absolute;
    bottom: var(--spacing-xl);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(139, 92, 246, 0.4) 0%,
        rgba(139, 92, 246, 0.2) 50%,
        rgba(139, 92, 246, 0.05) 100%
    );
    clip-path: polygon(
        0% 100%,
        0% 85%,
        15% 82%,
        30% 75%,
        45% 65%,
        60% 45%,
        75% 25%,
        90% 10%,
        100% 0%,
        100% 100%
    );
    animation: fillChart 2s ease-out;
}

.chart-line {
    position: absolute;
    bottom: var(--spacing-xl);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #a78bfa);
    clip-path: polygon(
        0% 85%,
        15% 82%,
        30% 75%,
        45% 65%,
        60% 45%,
        75% 25%,
        90% 10%,
        100% 0%,
        100% 100%,
        0% 100%
    );
    animation: drawLine 2s ease-out;
}

/* Chart Labels */
.chart-labels {
    position: absolute;
    bottom: 0;
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-data {
    margin-top: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.data-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
}

.data-point {
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.data-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-value {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-white);
}

.data-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-md);
}

.summary-card {
    background: rgba(139, 92, 246, 0.12);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.summary-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: 4px;
}

.summary-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-color);
}

.chart-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: 500;
}

.y-axis-labels {
    position: absolute;
    left: 0;
    top: var(--spacing-lg);
    bottom: var(--spacing-xl);
    width: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: var(--spacing-sm);
}

.y-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: 500;
}

.yield-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-3xl) 0;
}

.yield-benefit {
    text-align: center;
}

.yield-benefit h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
}

.yield-benefit p {
    color: var(--text-light);
}

/* Old yield-cta styles - no longer needed
.yield-cta {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.yield-tagline {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin: 0;
}
*/

/* ==========================================
   8. Full-Width Banner Ribbon
   ========================================== */

.banner-ribbon {
    width: 100%;
    max-width: 100vw;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: var(--spacing-xl) var(--spacing-md);
    margin: var(--spacing-3xl) 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.banner-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.banner-text {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    max-width: 100%;
}

/* Responsive banner */
@media (max-width: 768px) {
    .banner-text {
        font-size: var(--font-size-lg);
        line-height: 1.4;
    }
    
    .banner-ribbon {
        padding: var(--spacing-lg) var(--spacing-sm);
        margin: var(--spacing-xl) 0;
    }
    
    .banner-content {
        padding: 0 var(--spacing-sm);
    }
}

/* ==========================================
   9. Join Movement Section
   ========================================== */

.join-movement {
    background: var(--bg-primary);
    color: var(--text-color);
}

.join-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.movement-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    line-height: 1.4;
}

.movement-description {
    margin-bottom: var(--spacing-2xl);
}

.movement-description p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

.movement-cta {
    margin-bottom: var(--spacing-2xl);
}

.cta-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.join-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.additional-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
}

.link:hover {
    color: var(--primary-dark);
}

.separator {
    color: var(--text-light);
}

.join-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.anq-logo-large {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-sphere-large {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-sphere-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 4s linear infinite;
}

.logo-inner-large {
    font-size: 100px;
    font-weight: bold;
    color: var(--text-white);
    z-index: 2;
    position: relative;
}

.logo-glow-large {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite alternate;
}

/* ==========================================
   7. Contact Section
   ========================================== */

.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: var(--transition-fast);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.contact-details h4 {
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-base);
}

.contact-details p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ==========================================
   9. Footer
   ========================================== */

.footer {
    background: var(--bg-secondary);
    color: var(--text-color);
    padding: var(--spacing-3xl) 0 var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.footer-description {
    max-width: 400px;
    color: var(--text-light);
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-link i {
    font-size: var(--font-size-lg);
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* ==========================================
   9. Back to Top Button
   ========================================== */

.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   10. Animations & Effects
   ========================================== */

/* Slide in animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Background Animation Keyframes */
@keyframes float-drift {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) translateX(-30px) rotate(270deg);
    }
}

@keyframes orb-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

/* Chart Animations */
@keyframes fillChart {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes drawLine {
    from {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Rotating animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Pulse animation */
@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Section Entrance Animations & Performance
   ========================================== */

.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-hidden .feature-card,
.section-hidden .yield-card,
.section-hidden h2,
.section-hidden p,
.section-hidden .cta-button {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease-out;
}

/* Scroll Progress Indicator */
#scroll-progress {
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

/* Enhanced Card Animations on Scroll */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Performance Optimizations */
.parallax-element,
.floating-element,
.orb {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Section Transition Effects */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
    z-index: 0;
}

section.section-visible::before {
    opacity: 1;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   11. Responsive Design
   ========================================== */

/* Tablet styles (768px and below) */
@media (max-width: 768px) {
    /* Adjust font sizes for mobile */
    :root {
        --font-size-5xl: 2.5rem;     /* Smaller hero title */
        --font-size-4xl: 2rem;       /* Smaller section titles */
    }
    
    /* Hide desktop menu, show mobile toggle */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--spacing-2xl) 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Rotate hamburger menu when active */
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero section adjustments */
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        width: 200px;
        height: 200px;
    }
    
    .hero-image i {
        font-size: 80px;
    }
    
    .logo-sphere {
        width: 200px;
        height: 200px;
    }
    
    .logo-inner {
        font-size: 80px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Adjust grid layouts for mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Contact section stack vertically */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    /* Yield chart adjustments */
    .yield-chart {
        padding: var(--spacing-lg);
    }
    
    .chart-container {
        height: 250px;
        padding: var(--spacing-md);
    }
    
    .time-tabs {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .time-tab {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }
    
    .chart-labels {
        font-size: 10px;
    }
    
    .y-label, .chart-label {
        font-size: 10px;
    }
    
    /* Join movement section adjustments */
    .join-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .anq-logo-large .logo-sphere-large {
        width: 180px;
        height: 180px;
    }
    
    .logo-inner-large {
        font-size: 70px;
    }
    
    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    /* Adjust spacing for mobile */
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Mobile Performance Optimizations */
    .floating-element,
    .orb {
        animation-duration: 8s;
        transform: none !important;
    }
    
    .section-hidden .feature-card,
    .section-hidden .yield-card {
        transform: translateY(20px) scale(0.98);
    }
    
    /* Disable complex animations on mobile */
    .feature-card:hover {
        transform: translateY(-4px);
    }
}

/* Mobile styles (480px and below) */
@media (max-width: 480px) {
    /* Further reduce font sizes */
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.5rem;
    }
    
    /* Adjust button styles for mobile */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Smaller hero image for very small screens */
    .hero-image {
        width: 150px;
        height: 150px;
    }
    
    .hero-image i {
        font-size: 60px;
    }
    
    .logo-sphere {
        width: 150px;
        height: 150px;
    }
    
    .logo-inner {
        font-size: 60px;
    }
    
    .anq-logo-large .logo-sphere-large {
        width: 120px;
        height: 120px;
    }
    
    .logo-inner-large {
        font-size: 50px;
    }
    
    /* Adjust card padding */
    .feature-card,
    .service-card,
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
    
    /* Reduce container padding */
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Large desktop styles (1200px and above) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
    
    /* Larger hero title for big screens */
    .hero-title {
        font-size: 4rem;
    }
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .back-to-top,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero {
        background: none;
        padding: 20pt 0;
    }
}

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

/* ==========================================
   FORCE LIGHT THEME - BROWSER OVERRIDES
   ========================================== */

/* High contrast mode support - but still light theme */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #7c3aed !important;
        --text-color: #000000 !important;
        --text-light: #333333 !important;
        --border-color: #000000 !important;
        --bg-primary: #ffffff !important;
        --bg-secondary: #f9fafb !important;
    }
    
    html, body {
        color-scheme: light only !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}

/* Force light theme on ALL browsers regardless of user settings */
html, body, * {
    color-scheme: light only !important;
}

/* Override Chrome/Edge dark mode */
@media (prefers-color-scheme: dark) {
    html, body {
        color-scheme: light only !important;
        background: #ffffff !important;
        color: #1f2937 !important;
    }
    
    *, *::before, *::after {
        color-scheme: light only !important;
    }
}

/* Override Safari dark mode */
@media (-webkit-prefers-color-scheme: dark) {
    html, body {
        color-scheme: light only !important;
        background: #ffffff !important;
        color: #1f2937 !important;
    }
    
    *, *::before, *::after {
        color-scheme: light only !important;
    }
}

/* Override Firefox dark mode */
@-moz-document url-prefix() {
    html, body {
        color-scheme: light only !important;
        background: #ffffff !important;
        color: #1f2937 !important;
    }
}

/* Force all form elements to light theme */
input, textarea, select, button {
    color-scheme: light only !important;
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Override any potential dark mode scrollbars */
::-webkit-scrollbar {
    background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
}

/* Final override - absolutely force light theme */
body {
    background-color: #ffffff !important;
    color: #1f2937 !important;
    color-scheme: light only !important;
}

/* Meta theme override for mobile browsers */
html {
    background: #ffffff !important;
    color-scheme: light only !important;
}