/* ============================================
   Aacharya.AI Landing Page Styles
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    --primary-cyan: #00B4D8;
    --primary-blue: #0096C7;
    --secondary-teal: #0077B6;
    --accent-light: #90E0EF;
    --text-light: #FFFFFF;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo Size Fix - High Priority */
.navbar-brand img,
.navbar-brand .logo-img,
.navbar-brand #navLogo,
img.logo-img,
img#navLogo {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    background: #000000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Typography */
.logo-main {
    font-family: serif;
    font-size: 1.5rem; /* Larger for navbar */
    font-weight: 400;
    color: var(--text-light);
    display: block;
    line-height: 1;
}

.logo-ai {
    color: var(--primary-cyan);
}

.navbar-brand .logo-main {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: transform 0.3s ease-in-out, background 0.3s ease;
    background: transparent !important;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 180, 216, 0.3) 20%,
        rgba(0, 180, 216, 0.5) 50%,
        rgba(0, 180, 216, 0.3) 80%,
        transparent 100%
    );
}

.navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    gap: 0.5rem;
}

/* Logo Image Styles - High specificity to override Bootstrap */
.logo-img,
#navLogo,
.navbar-brand img,
.navbar-brand .logo-img,
img.logo-img,
img#navLogo {
    transition: all 0.3s ease !important;
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Override Bootstrap's default img max-width: 100% for logo */
.navbar-brand img.logo-img,
.navbar-brand #navLogo {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
}

/* Lucide Icons */
.lucide-icon {
    color: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.lucide-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    transition: color 0.5s ease;
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
}

.nav-link:hover {
    color: var(--primary-cyan) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: width 0.5s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3), 0 0 40px rgba(0, 180, 216, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 180, 216, 0.45), 0 0 56px rgba(0, 180, 216, 0.25);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
}

.hero-cta .btn-primary {
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35), 0 0 48px rgba(0, 180, 216, 0.2);
}

.hero-cta .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(0, 180, 216, 0.5), 0 0 64px rgba(0, 180, 216, 0.3);
}

.btn-cta-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-demo .btn-cta-icon {
    opacity: 0.7;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-cta-demo:hover .btn-cta-icon {
    opacity: 1;
    transform: translateX(4px);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Section Themes */
.section-dark {
    background: #000000;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

/* Background Textures – full height, alternating left/right halves */
.hero-background,
.platform-background,
.infographic-background,
.pricing-background,
.footer-background {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url('assets/Aacharya Low Noise BG.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Right-aligned sections – whisper in background, not competing with text */
.hero-background {
    right: 0;
    left: auto;
    background-position: center right;
    opacity: 0.12;
    animation: rotateZoom 10s ease-in-out infinite;
}

@keyframes rotateZoom {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Left-aligned sections */
.platform-background {
    left: 0;
    right: auto;
    background-position: center left;
    opacity: 0.1;
}

/* Right-aligned */
.infographic-background {
    right: 0;
    left: auto;
    background-position: center right;
    opacity: 0.08;
}

/* Left-aligned */
.pricing-background {
    left: 0;
    right: auto;
    background-position: center left;
    opacity: 0.06;
}

/* Right-aligned */
.footer-background {
    right: 0;
    left: auto;
    background-position: center right;
    opacity: 0.08;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 60px;
}

/* On tall viewports, allow the hero to breathe more and center vertically */
@media (min-height: 800px) {
    .hero-section {
        align-items: center;
        padding-top: 140px;
        padding-bottom: 100px;
    }
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* Soft transition from Hero/Advantage into Platform section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4), #000000);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-preheading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-cyan);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: left;
}

.text-accent {
    background: linear-gradient(
        to right, 
        #00B4D8 20%, 
        #90E0EF 40%, 
        #90E0EF 60%, 
        #00B4D8 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    line-height: 1.6;
    max-width: 100%;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-smu-box {
    position: relative;
    padding: 2rem;
    background: rgba(0, 180, 216, 0.04);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 12px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    box-shadow: 0 12px 40px rgba(0, 180, 216, 0.08);
}

.hero-smu {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
    margin: 0;
}

.hero-cta {
    margin-top: 2rem;
}

/* Pulsing Get Started Button */
.hero-cta .btn-primary {
    animation: pulse-blue 3s infinite;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35), 0 0 48px rgba(0, 180, 216, 0.2), 0 0 0 0 rgba(0, 180, 216, 0.7); }
    70% { box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35), 0 0 48px rgba(0, 180, 216, 0.2), 0 0 0 15px rgba(0, 180, 216, 0); }
    100% { box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35), 0 0 48px rgba(0, 180, 216, 0.2), 0 0 0 0 rgba(0, 180, 216, 0); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* Hero Advantage Cards */
.hero-advantages {
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

.hero-advantages .row {
    align-items: stretch;
}

.hero-advantages-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 0.25rem;
}

.hero-advantages-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-align: center;
}

.advantage-card {
    background: linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.45), rgba(0, 180, 216, 0.12), rgba(255, 255, 255, 0.03)) border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 1rem 1rem 1.25rem;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, background 0.5s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-card > *:not(.adv-card-bg) {
    position: relative;
    z-index: 2;
}

/* Background texture inside advantage cards */
.adv-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

.adv-card-1 .adv-card-bg {
    background-image: url('assets/Aacharya Low Noise BG.png');
    background-position: top left;
}

.adv-card-2 .adv-card-bg {
    background-image: url('assets/Aacharya High Noise BG.png');
    background-position: center;
}

.adv-card-3 .adv-card-bg {
    background-image: url('assets/Aacharya Low Noise BG.png');
    background-position: bottom right;
}

.adv-card-4 .adv-card-bg {
    background-image: url('assets/Aacharya High Noise BG.png');
    background-position: top right;
}

/* Shine sweep on hover */
.advantage-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
    z-index: 1;
    pointer-events: none;
}

.advantage-card:hover::after {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.7), rgba(0, 180, 216, 0.25), rgba(255, 255, 255, 0.06)) border-box;
    box-shadow: 0 20px 45px -10px rgba(0, 180, 216, 0.4);
}

.advantage-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.advantage-icon .lucide-icon {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    stroke-width: 2;
}

.advantage-card:hover .advantage-icon .lucide-icon {
    filter: drop-shadow(0 0 6px var(--accent-light));
}

.advantage-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.advantage-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin: 0;
}

/* Hero proven impact stat – "Proof" bridge (trophy treatment) */
.hero-results {
    margin-top: 3rem;
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.05), transparent) border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-results-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.hero-results-stat {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0096b8 0%, var(--primary-cyan) 35%, #90E0EF 70%, #CAF0F8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-results-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.hero-results-source {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Light mode: advantage cards */
@media (prefers-color-scheme: light) {
    .hero-advantages-heading {
        color: var(--primary-cyan);
    }
    
    .hero-advantages-title {
        color: rgba(0, 0, 0, 0.45);
    }
    
    .advantage-card {
        background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.55)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.35), rgba(0, 180, 216, 0.1), rgba(0, 0, 0, 0.04)) border-box;
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        border: 1px solid transparent;
        box-shadow: 0 8px 30px rgba(0, 150, 199, 0.08);
    }
    
    .advantage-card:hover {
        background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.5), rgba(0, 180, 216, 0.2), rgba(0, 0, 0, 0.06)) border-box;
        box-shadow: 0 20px 45px -10px rgba(0, 180, 216, 0.35);
    }
    
    .advantage-card::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(0, 180, 216, 0.08),
            transparent
        );
    }
    
    .adv-card-bg {
        opacity: 0.15;
    }
    
    .advantage-desc {
        color: rgba(0, 0, 0, 0.7);
    }
    
    .hero-results {
        background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.35)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.06), transparent) border-box;
    }
    
    .hero-results-stat {
        background: linear-gradient(135deg, #0077a0 0%, var(--primary-cyan) 40%, #48CAE4 80%, #90E0EF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-results-desc {
        color: rgba(0, 0, 0, 0.75);
    }
    
    .hero-results-source {
        color: rgba(0, 0, 0, 0.4);
    }
    
    .hero-section::after {
        background: linear-gradient(to bottom, transparent, rgba(245, 245, 247, 0.5), #F5F5F7);
    }
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.4), rgba(0, 180, 216, 0.1), rgba(255, 255, 255, 0.03)) border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, background 0.5s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.feature-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

.feature-card-1 .feature-card-bg {
    background-image: url('assets/Aacharya Low Noise BG.png');
    background-position: top left;
}

.feature-card-2 .feature-card-bg {
    background-image: url('assets/Aacharya High Noise BG.png');
    background-position: center;
}

.feature-card-3 .feature-card-bg {
    background-image: url('assets/Aacharya Low Noise BG.png');
    background-position: bottom right;
}

.feature-card-4 .feature-card-bg {
    background-image: url('assets/Aacharya High Noise BG.png');
    background-position: top right;
}

.feature-card > *:not(.feature-card-bg) {
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.6), rgba(0, 180, 216, 0.2), rgba(255, 255, 255, 0.05)) border-box;
    box-shadow: 0 25px 50px -12px rgba(0, 180, 216, 0.4);
}

/* Add a subtle shine sweep on hover */
.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
    z-index: 1;
    pointer-events: none;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-icon .lucide-icon {
    width: 32px;
    height: 32px;
    color: #FFFFFF;
    stroke-width: 2;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Target the icon inside the card on card hover */
.feature-card:hover .feature-icon .lucide-icon {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
    position: relative;
    z-index: 2;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Platform Section */
.platform-section > .container {
    position: relative;
    z-index: 1;
}

.platform-card {
    background: linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.4), rgba(0, 180, 216, 0.1), rgba(255, 255, 255, 0.03)) border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, background 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.4), rgba(0, 180, 216, 0.15), rgba(255, 255, 255, 0.03)) border-box;
    box-shadow: 0 25px 50px -12px rgba(0, 180, 216, 0.3);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
}

.platform-list {
    list-style: none;
    padding: 0;
}

.platform-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.platform-list li .lucide-icon {
    color: var(--primary-cyan) !important;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.platform-list li svg {
    color: var(--primary-cyan) !important;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.platform-card-title .lucide-icon {
    color: var(--primary-cyan) !important;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Icon animation on platform card hover */
.platform-card:hover .platform-card-title .lucide-icon {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.platform-list li .lucide-icon {
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-list li .lucide-icon {
    transform: scale(1.15);
}

.platform-list li span {
    line-height: 1.6;
}

/* Platform Persona (Trainee / Trainer) layout */
.platform-persona {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: start;
}

.platform-persona:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .platform-persona {
        grid-template-columns: 42% 58%;
        gap: 2.5rem;
        align-items: center;
    }
}

.platform-persona-left {
    position: relative;
    z-index: 1;
}

.platform-persona-left.platform-card {
    height: auto;
}

.platform-persona-right {
    position: relative;
    min-height: 280px;
}

/* Interactive list: clickable items, active highlight */
.platform-list--interactive {
    margin-bottom: 0;
}

.platform-list--interactive .platform-list-item {
    cursor: pointer;
    padding: 0.6rem 0.75rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.platform-list--interactive .platform-list-item:hover {
    background: rgba(0, 180, 216, 0.05);
}

.platform-list--interactive .platform-list-item.active {
    border-left-color: var(--primary-cyan);
    background: rgba(0, 180, 216, 0.08);
}

.platform-list--interactive .platform-list-item .lucide-icon {
    flex-shrink: 0;
}

/* Stacked carousel wrapper – horizontal stack, selected on top */
.platform-carousel-stack {
    position: relative;
    padding: 1rem 0 3rem;
}

.platform-carousel-stack::before,
.platform-carousel-stack::after {
    display: none;
}

.platform-carousel {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
}

.platform-carousel-inner {
    position: relative;
    height: 480px;
    width: 100%;
}

.platform-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 72px);
    max-width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #161b22;
    border: 1px solid rgba(0, 180, 216, 0.2);
    transform-origin: center center;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    box-shadow: 0 24px 80px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Browser mockup: thin title bar at top */
.platform-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    border-radius: 14px 14px 0 0;
}

.platform-slide::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
    box-shadow: 18px 0 0 rgba(255, 255, 255, 0.2), 36px 0 0 rgba(255, 255, 255, 0.2);
}

/* Progress bar inside browser mockup (below title bar), one fill per full image cycle */
.platform-slide-progress {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.25);
    z-index: 4;
    overflow: hidden;
}

.platform-slide-progress--hidden {
    opacity: 0;
    pointer-events: none;
}

.platform-slide-progress:not(.platform-slide-progress--hidden) {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.platform-slide-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-cyan), #90E0EF);
    animation: platform-progress-fill linear forwards;
}

@keyframes platform-progress-fill {
    to { width: 100%; }
}

.platform-slide:nth-child(1) { left: 0; }
.platform-slide:nth-child(2) { left: 24px; }
.platform-slide:nth-child(3) { left: 48px; }
.platform-slide:nth-child(4) { left: 72px; }

.platform-slide.active {
    box-shadow: 0 32px 100px -16px rgba(0, 0, 0, 0.4), 0 0 48px rgba(0, 180, 216, 0.1), 0 0 0 1px rgba(0, 180, 216, 0.2);
}

.platform-sub-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.platform-sub-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Focal point: very slight edge vignette so center stays sharp, edges recede */
.platform-sub-slideshow {
    mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, black 75%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, black 75%, transparent 100%);
}

.platform-sub-slideshow img.active {
    opacity: 1;
    z-index: 1;
}

/* Carousel prev/next */
.platform-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s;
}

.platform-carousel-btn:hover {
    background: rgba(0, 180, 216, 0.3);
    border-color: var(--primary-cyan);
}

.platform-carousel-prev {
    left: 0.5rem;
}

.platform-carousel-next {
    right: 0.5rem;
}

/* Dots */
.platform-carousel-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 5;
}

.platform-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.platform-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.platform-carousel-dot.active {
    background: var(--primary-cyan);
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .platform-persona {
        margin-bottom: 3rem;
        gap: 0;
    }

    .platform-persona-left.platform-card {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 1rem;
        margin-bottom: 0;
        box-shadow: none;
    }

    .platform-persona-left.platform-card:hover {
        transform: none;
    }

    .platform-persona-left.platform-card::before {
        display: none;
    }

    .platform-persona-right {
        order: 0;
        min-height: 360px;
    }

    .platform-carousel-inner {
        height: 360px;
    }

    .platform-slide:nth-child(1),
    .platform-slide:nth-child(2),
    .platform-slide:nth-child(3),
    .platform-slide:nth-child(4) {
        left: 0;
        width: 100%;
    }
}

/* Infographic Section */
.infographic-section {
    background: #000000;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.infographic-section > .container {
    position: relative;
    z-index: 1;
}

.infographic-title {
    color: var(--primary-cyan) !important;
}

.infographic-content {
    position: relative;
    z-index: 1;
}

.infographic-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
}

.infographic-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infographic-points li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.infographic-points li i,
.infographic-points li .lucide-icon {
    color: var(--primary-cyan) !important;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Match icon stroke weight to heading/text for visual consistency */
.infographic-points li .lucide-icon,
.infographic-points li .lucide-icon path {
    stroke-width: 2.25;
}

.infographic-image-wrapper {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
    cursor: default;
}

.infographic-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1), 0 0 32px rgba(0, 180, 216, 0.08);
}

.infographic-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 4px 20px rgba(0, 180, 216, 0.12));
}

/* Pricing Section */
.pricing-section > .container {
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px -12px rgba(0, 180, 216, 0.4);
}

.benefit-card .lucide-icon {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.benefit-card:hover .lucide-icon {
    transform: rotate(15deg) scale(1.15);
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.pricing-cta {
    text-align: center;
}

.email-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.email-label .email-address {
    color: var(--primary-cyan);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}

.email-label .email-address:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: #000000;
    position: relative;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    margin-top: 1rem;
}

/* Footer */
.footer {
    position: relative;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer-separator {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo,
.footer-brand img,
img.footer-logo {
    opacity: 0.9;
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.footer-brand .footer-logo-text {
    font-family: serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    margin-top: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Navbar Toggler for Dark Theme */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Animation Classes - Fade-In Up Effect
   ============================================ */

/* The starting state: slightly lower and invisible */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); /* Smooth "out" timing */
    will-change: transform, opacity;
}

/* The active state: its natural position */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids (Features/Platform cards) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive Design - Mobile First Approach
   ============================================ */

/* Medium screens — where col-lg stacks (992px and below) */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 110px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-smu-box {
        transform: none;
    }
    
    .hero-preheading {
        font-size: 0.95rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        text-align: center;
    }
    
    .hero-subtitle,
    .hero-tagline {
        text-align: center;
    }
    
    .hero-tagline {
        font-size: 1.15rem;
    }
    
    .hero-advantages-heading {
        font-size: 1.25rem;
    }
}

/* Tablet and below (768px) */
@media (max-width: 768px) {
    /* Ensure proper touch targets */
    .nav-link,
    .btn,
    .footer-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        gap: 0.25rem;
    }
    
    .navbar-brand img,
    .navbar-brand .logo-img,
    .navbar-brand #navLogo {
        height: 45px !important;
        max-height: 45px !important;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Navbar collapse on mobile */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(0, 180, 216, 0.2);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 120px; /* Account for fixed navbar height on tablet */
        padding-bottom: 4rem;
        min-height: auto;
        align-items: flex-start;
    }
    
    /* Smooth scroll offset for anchor links */
    #hero,
    #features,
    #platform,
    #infographic,
    #pricing,
    #cta {
        scroll-margin-top: 80px;
    }
    
    .hero-preheading {
        font-size: 0.95rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 0.35rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Remove 3D transform on smaller screens — it can cause clipping */
    .hero-smu-box {
        padding: 2rem;
        margin-top: 2rem;
        transform: none;
    }
    
    .hero-smu {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Advantage cards on mobile */
    .hero-advantages {
        margin-top: 2.5rem;
    }
    
    .hero-advantages-heading {
        font-size: 1.3rem;
    }
    
    .hero-advantages-title {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-results {
        margin-top: 2rem;
        padding: 1.25rem 1.5rem;
    }
    
    .hero-results-stat {
        font-size: 2.5rem;
    }
    
    .hero-results-desc {
        font-size: 0.9rem;
    }
    
    .hero-results-source {
        font-size: 0.65rem;
    }
    
    .advantage-card {
        padding: 1rem;
    }
    
    .advantage-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .advantage-icon .lucide-icon {
        width: 18px;
        height: 18px;
    }
    
    .advantage-title {
        font-size: 0.78rem;
    }
    
    .advantage-desc {
        font-size: 0.72rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        line-height: 1.3;
    }
    
    /* Feature Cards */
    .feature-card,
    .platform-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .feature-icon .lucide-icon {
        width: 28px;
        height: 28px;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Platform Cards */
    .platform-card-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .platform-list li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    /* Infographic Section */
    .infographic-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .infographic-content {
        margin-bottom: 2rem;
    }
    
    .infographic-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .infographic-points li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    /* Pricing Section */
    .pricing-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .pricing-icon {
        margin: 0 auto;
        width: 56px;
        height: 56px;
    }
    
    .pricing-title {
        font-size: 1.4rem;
    }
    
    .pricing-subtitle {
        font-size: 0.95rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Footer - Mobile Layout */
    .footer {
        padding: 2.5rem 0 !important;
    }
    
    .footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-separator {
        margin-bottom: 1.5rem;
    }
    
    .footer .row {
        margin: 0;
    }
    
    .footer-brand {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    
    .footer-logo {
        height: 35px !important;
        max-height: 35px !important;
        width: auto !important;
    }
    
    .footer-logo-text {
        font-size: 1rem;
    }
    
    /* Hide footer links on mobile */
    .footer-links {
        display: none !important;
    }
    
    /* Hide the column containing footer links */
    .footer .col-md-6:last-child {
        display: none;
    }
    
    .footer .col-md-6:first-child {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0;
        text-align: center;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.5);
        margin: 0;
    }
}

/* Mobile devices (576px and below) */
@media (max-width: 576px) {
    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img,
    .navbar-brand .logo-img,
    .navbar-brand #navLogo {
        height: 40px !important;
        max-height: 40px !important;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 100px; /* Account for fixed navbar on small mobile */
        padding-bottom: 3rem;
        margin-top: 0;
    }
    
    .hero-preheading {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.25rem;
    }
    
    .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-advantages-heading {
        font-size: 1.15rem;
    }
    
    .hero-smu-box {
        padding: 1.25rem;
        margin-top: 1.5rem;
        transform: none;
    }
    
    .hero-smu {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-cta {
        display: flex;
        justify-content: center;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Feature Cards */
    .feature-card,
    .platform-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .feature-icon .lucide-icon {
        width: 24px;
        height: 24px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Platform Cards */
    .platform-card-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .platform-card-title .lucide-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .platform-list li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        padding-left: 0.5rem;
    }
    
    .platform-list li .lucide-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Infographic Section */
    .infographic-section {
        padding: 3rem 0;
    }
    
    .infographic-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .infographic-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .infographic-points li {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .infographic-points li .lucide-icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
    }
    
    .infographic-points li span {
        flex: 1;
        min-width: 0;
    }
    
    /* Pricing Section */
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-icon {
        width: 50px;
        height: 50px;
    }
    
    .pricing-icon .lucide-icon {
        width: 28px;
        height: 28px;
    }
    
    .pricing-title {
        font-size: 1.25rem;
    }
    
    .pricing-subtitle {
        font-size: 0.9rem;
    }
    
    .benefit-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .benefit-card .lucide-icon {
        width: 20px !important;
        height: 20px !important;
        margin-bottom: 0.75rem;
    }
    
    .benefit-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .email-label {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .email-address {
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Footer - Small Mobile Layout */
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer-brand {
        gap: 0.5rem;
    }
    
    .footer-logo {
        height: 30px !important;
        max-height: 30px !important;
    }
    
    .footer-logo-text {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        text-align: center;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        margin: 0;
    }
    
    /* Ensure footer brand is centered on small mobile */
    .footer-brand {
        justify-content: center;
        text-align: center;
    }
    
    /* Container padding on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Section padding adjustments — exclude hero (needs extra padding for fixed navbar) */
    .section-dark:not(.hero-section) {
        padding: 3rem 0 !important;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Reduce hover effects on mobile (less aggressive transforms) */
    .feature-card:hover,
    .platform-card:hover,
    .benefit-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    /* Image responsiveness */
    .infographic-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Better spacing for lists */
    .platform-list {
        padding-left: 0;
    }
    
    .platform-list li {
        padding: 0.5rem 0;
    }
    
    /* Email address wrapping */
    .email-address {
        display: inline-block;
        word-break: break-all;
    }
    
    /* Prevent text overflow */
    .hero-title,
    .section-title,
    .feature-title,
    .platform-card-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Better background image positioning on mobile */
    .hero-background,
    .platform-background,
    .infographic-background,
    .pricing-background,
    .footer-background {
        opacity: 0.1;
    }
}

/* Extra small devices (400px and below) */
@media (max-width: 400px) {
    .hero-section {
        padding-top: 90px;
    }
    
    .hero-preheading {
        font-size: 0.78rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-smu-box {
        padding: 1rem;
    }
    
    .hero-smu {
        font-size: 0.82rem;
    }
    
    .hero-advantages-heading {
        font-size: 1rem;
    }
    
    .hero-advantages-title {
        font-size: 0.75rem;
    }
    
    .hero-results {
        margin-top: 1.5rem;
        padding: 1rem 1.25rem;
    }
    
    .hero-results-stat {
        font-size: 2rem;
    }
    
    .hero-results-desc {
        font-size: 0.85rem;
    }
    
    .hero-results-source {
        font-size: 0.6rem;
    }
    
    .advantage-title {
        font-size: 0.72rem;
    }
    
    .advantage-desc {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .platform-card,
    .benefit-card {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .section-dark:not(.hero-section) {
        padding: 2.5rem 0 !important;
    }
}

/* Light / Dark Mode via prefers-color-scheme */
@media (prefers-color-scheme: light) {
    /* Base */
    body {
        background: #F5F5F7;
        color: #0A0E27;
    }
    
    .section-dark,
    .hero-section,
    .features-section,
    .platform-section,
    .infographic-section,
    .pricing-section,
    .cta-section,
    .footer {
        background: #F5F5F7;
        color: #0A0E27;
    }
    
    /* Navbar – #F5F5F7 with subtle frosted edge */
    .navbar {
        background: rgba(245, 245, 247, 0.95) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    }
    
    .navbar.scrolled {
        background: rgba(245, 245, 247, 0.98) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    
    .navbar::after {
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 180, 216, 0.2) 20%,
            rgba(0, 180, 216, 0.35) 50%,
            rgba(0, 180, 216, 0.2) 80%,
            transparent 100%
        );
    }
    
    .nav-link {
        color: #0A0E27 !important;
    }
    
    .nav-link:hover {
        color: var(--primary-blue) !important;
    }
    
    .navbar-collapse {
        background: rgba(245, 245, 247, 0.98);
        border-color: rgba(0, 0, 0, 0.06);
    }
    
    .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.3);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Typography */
    .logo-main {
        color: #0A0E27;
    }
    
    .hero-title,
    .section-title,
    .pricing-title,
    .cta-title,
    .benefit-card h3 {
        color: #0A0E27;
    }
    
    .hero-subtitle,
    .feature-description,
    .platform-list li,
    .infographic-points li,
    .infographic-description,
    .pricing-subtitle,
    .benefit-card p,
    .cta-description,
    .hero-smu,
    .email-label {
        color: rgba(0, 0, 0, 0.8);
    }
    
    /* Cards & surfaces – light-mode glass with gradient borders */
    .feature-card,
    .platform-card {
        background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.6)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.3), rgba(0, 180, 216, 0.08), rgba(0, 0, 0, 0.04)) border-box;
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        border: 1px solid transparent;
        box-shadow: 0 8px 30px rgba(0, 150, 199, 0.08);
    }
    
    .feature-card:hover,
    .platform-card:hover {
        background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)) padding-box, linear-gradient(135deg, rgba(0, 180, 216, 0.45), rgba(0, 180, 216, 0.15), rgba(0, 0, 0, 0.06)) border-box;
        box-shadow: 0 25px 50px -12px rgba(0, 180, 216, 0.35);
        transform: translateY(-4px);
    }
    
    .pricing-card,
    .benefit-card {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        border: 1px solid rgba(0, 180, 216, 0.15);
        box-shadow: 0 8px 30px rgba(0, 150, 199, 0.08);
    }
    
    .benefit-card:hover {
        background: rgba(255, 255, 255, 0.8);
        border-color: var(--accent-light);
        box-shadow: 0 25px 50px -12px rgba(0, 180, 216, 0.35);
        transform: translateY(-4px);
    }
    
    .pricing-card {
        box-shadow: 0 12px 40px rgba(0, 150, 199, 0.12);
    }
    
    .pricing-card:hover {
        border-color: var(--accent-light);
        box-shadow: 0 25px 60px -12px rgba(0, 180, 216, 0.3);
    }
    
    .platform-list--interactive .platform-list-item:hover {
        background: rgba(0, 180, 216, 0.06);
    }
    
    .platform-list--interactive .platform-list-item.active {
        background: rgba(0, 180, 216, 0.1);
    }
    
    .platform-slide {
        background: #f8f9fa;
    }
    
    .platform-slide::before {
        background: rgba(0, 0, 0, 0.08);
    }
    
    .platform-slide::after {
        background: rgba(0, 0, 0, 0.15);
        box-shadow: 18px 0 0 rgba(0, 0, 0, 0.15), 36px 0 0 rgba(0, 0, 0, 0.15);
    }
    
    .platform-carousel-btn {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(0, 0, 0, 0.12);
        color: #0A0E27;
    }
    
    .platform-carousel-btn:hover {
        background: rgba(0, 180, 216, 0.2);
    }
    
    .platform-carousel-dot {
        background: rgba(0, 0, 0, 0.25);
    }
    
    .platform-carousel-dot:hover {
        background: rgba(0, 0, 0, 0.45);
    }
    
    .platform-carousel-dot.active {
        background: var(--primary-cyan);
    }
    
    /* Shine sweep – visible on light background */
    .feature-card::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(0, 180, 216, 0.08),
            transparent
        );
    }
    
    /* Incubated (SMU) box – light-mode glass with cyan tint & glow */
    .hero-smu-box {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(0, 180, 216, 0.25);
        box-shadow: 0 12px 32px rgba(0, 150, 199, 0.18);
    }
    
    /* Human Ability diagram – light grey container so it doesn’t float */
    .infographic-image-wrapper {
        background: #f0f0f0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }
    
    /* Light mode: "A" watermark – integrated into paper, not floating */
    .feature-card-bg,
    .platform-background,
    .infographic-background,
    .pricing-background,
    .footer-background,
    .hero-background {
        opacity: 0.04;
        mix-blend-mode: multiply;
    }
    
    .section-title,
    .feature-title,
    .platform-card-title,
    .pricing-title,
    .cta-title {
        text-shadow: none;
    }
    
    /* CTA & buttons keep accent colors – they work on light too */
    
    /* Footer */
    .footer {
        background: #F5F5F7;
    }
    
    .footer-separator {
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.08) 20%,
            rgba(0, 0, 0, 0.12) 50%,
            rgba(0, 0, 0, 0.08) 80%,
            transparent 100%
        );
    }
    
    .footer-brand .footer-logo-text,
    .footer-logo-text,
    .footer-link,
    .footer-copyright,
    .footer-description {
        color: #0A0E27;
    }
    
    .footer-link:hover {
        color: var(--primary-blue);
    }
}

/* ============================================
   Form Modal Styles
   ============================================ */

.form-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.form-modal {
    background: #000000;
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 180, 216, 0.1);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Subtle background image inside modal */
.form-modal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('assets/Aacharya Low Noise BG.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    border-radius: 20px;
}

/* Ensure all modal content sits above the bg image */
.form-modal > * {
    position: relative;
    z-index: 1;
}

.form-modal-overlay.active .form-modal {
    transform: translateY(0) scale(1);
}

.form-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 10;
}

.form-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-color: rgba(0, 180, 216, 0.5);
}

.form-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-right: 3rem;
}

.form-modal-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.form-field label .required {
    color: var(--primary-cyan);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary-cyan);
    background: rgba(0, 180, 216, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1rem;
    position: relative;
}

.form-success-message {
    text-align: center;
    padding: 2rem 0;
}

.form-success-icon {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.form-success-message h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.form-success-message p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* Light mode form modal */
@media (prefers-color-scheme: light) {
    .form-modal-overlay {
        background: rgba(0, 0, 0, 0.4);
    }

    .form-modal {
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(0, 180, 216, 0.2);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(0, 180, 216, 0.08);
    }

    .form-modal::before {
        opacity: 0.25;
    }

    .form-modal-close {
        background: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: rgba(0, 0, 0, 0.6);
    }

    .form-modal-close:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #0A0E27;
        border-color: rgba(0, 180, 216, 0.5);
    }

    .form-modal-title {
        color: #0A0E27;
    }

    .form-modal-subtitle {
        color: rgba(0, 0, 0, 0.6);
    }

    .form-field label {
        color: rgba(0, 0, 0, 0.8);
    }

    .form-field input,
    .form-field textarea {
        background: rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.15);
        color: #0A0E27;
    }

    .form-field input::placeholder,
    .form-field textarea::placeholder {
        color: rgba(0, 0, 0, 0.35);
    }

    .form-field input:focus,
    .form-field textarea:focus {
        border-color: var(--primary-cyan);
        background: rgba(0, 180, 216, 0.05);
        box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
    }

    .form-success-message h3 {
        color: #0A0E27;
    }

    .form-success-message p {
        color: rgba(0, 0, 0, 0.65);
    }
}

/* Form modal mobile responsiveness */
@media (max-width: 576px) {
    .form-modal {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
        margin: 0.5rem;
    }

    .form-modal-title {
        font-size: 1.4rem;
    }

    .form-modal-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .form-field input,
    .form-field textarea {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .form-submit-btn {
        font-size: 0.95rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar Scroll Effect – dark mode only */
@media (prefers-color-scheme: dark) {
    .navbar.scrolled {
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(10px);
    }

    .navbar.scrolled::after {
        opacity: 0.8;
    }
}
