:root {
    /* Cinematic Editor Theme */
    --bg-dark: #0B0B0B;
    --bg-card: rgba(18, 18, 18, 0.4); 
    --primary: #6C3BFF; /* Deep Purple */
    --secondary: #A78BFA; /* Light Purple */
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA; /* Muted gray for reading */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark); /* 80% Black */
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 300; /* Clean readable weight */
}

/* Strategic Premium Glows (Constant Motion) */
.glow-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -3; /* Deepest layer */
    pointer-events: none;
    background-color: var(--bg-dark);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.03; /* Extremely dark, barely visible motion */
    animation: constantOrbMotion 30s infinite alternate ease-in-out;
}
.glow-1 { top: -10%; left: -10%; width: 45vw; height: 45vw; background: var(--primary); }
.glow-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--secondary); animation-direction: alternate-reverse; animation-duration: 35s; }
.glow-3 { top: 30%; right: 20%; width: 30vw; height: 30vw; background: var(--primary); animation-duration: 40s; }
.glow-4 { bottom: 20%; left: 10%; width: 35vw; height: 35vw; background: var(--secondary); animation-duration: 25s; animation-direction: reverse; }

@keyframes constantOrbMotion {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(6vw, 12vh) scale(1.1); }
    66% { transform: translate(-8vw, -10vh) scale(0.9); }
    100% { transform: translate(-12vw, 15vh) scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(108, 59, 255, 0.15); /* Purple tint border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Glowing Elements */
.glow-effect {
    box-shadow: 0 0 25px rgba(108, 59, 255, 0.4), inset 0 0 15px rgba(108, 59, 255, 0.2);
    animation: pulseGlow 3s infinite alternate;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(108, 59, 255, 0.3), inset 0 0 10px rgba(108, 59, 255, 0.2); }
    100% { box-shadow: 0 0 35px rgba(108, 59, 255, 0.6), inset 0 0 20px rgba(108, 59, 255, 0.4); }
}

.image-glow {
    box-shadow: 0 0 50px rgba(108, 59, 255, 0.3);
    animation: pulseImageGlow 4s infinite alternate;
}
@keyframes pulseImageGlow {
    0% { box-shadow: 0 0 30px rgba(108, 59, 255, 0.2); transform: scale(1); }
    100% { box-shadow: 0 0 70px rgba(167, 139, 250, 0.4); transform: scale(1.02); }
}

/* Subtle Sweep Animation on Text */
.text-sweep {
    background: linear-gradient(to right, #fff 20%, var(--primary) 40%, var(--secondary) 60%, #fff 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 8s linear infinite;
}
@keyframes shineText {
    to { background-position: 200% center; }
}

/* Typography Utility */
.section-title {
    text-align: center;
    font-size: 3rem; 
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 600; /* Bolder professional styling */
    letter-spacing: -0.03em;
}
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 3.5rem; /* Balanced base margin */
    font-weight: 300;
}

/* Premium Apple/Editorial Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 500; 
    font-size: 0.95rem; 
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden; 
}

.btn-primary {
    background: rgba(108, 59, 255, 0.2); 
    color: #fff;
    border: 1px solid rgba(167, 139, 250, 0.5);
    z-index: 1;
}

/* Slow Button Sweep */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: slowSweep 4s infinite ease-in-out;
    z-index: 2;
    pointer-events: none;
}

@keyframes slowSweep {
    0% { left: -100%; }
    25% { left: 200%; }
    100% { left: 200%; } 
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: var(--secondary);
    background: rgba(108, 59, 255, 0.4);
}

.btn-large {
    font-size: 1.05rem;
    padding: 1.2rem 3.5rem;
}

.btn-outline {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    z-index: 1;
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 59, 255, 0.1);
}
.btn-icon {
    display: flex; gap: 0.8rem; align-items: center; justify-content: center;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    z-index: 200;
    pointer-events: none;
    will-change: transform;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: rgba(11, 11, 11, 0.88);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}
.logo:hover {
    opacity: 0.9;
    letter-spacing: 3px;
}
.logo-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 7px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 8px 1px rgba(167, 139, 250, 0.7);
    flex-shrink: 0;
}
.logo-accent {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-btn {
    padding: 0.6rem 1.6rem;
    font-size: 0.85rem;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.nav-links a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Hamburger Toggle (mobile only) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Panel */
.mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.mobile-menu.active {
    grid-template-rows: 1fr;
}
.mobile-menu-inner {
    overflow: hidden;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 2rem 1.5rem;
}
.mobile-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.mobile-menu-links a:last-child { border-bottom: none; }
.mobile-menu-links a.active { color: var(--secondary); }
.mobile-menu.active .mobile-menu-links a { opacity: 1; transform: translateY(0); }
.mobile-menu.active .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .mobile-menu-links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links a:nth-child(5) { transition-delay: 0.25s; }

/* Elegant Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 5;
    display: flex; flex-direction: column; align-items: center; position: relative;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    background: rgba(108, 59, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700; /* Bolded as requested */
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.7;
}

/* Hero Trust Line */
.hero-trust-line {
    margin-top: 1.8rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Elegant scroll indicator */
.hero-scroller {
    margin-top: 5rem;
    display: flex; flex-direction: column; align-items: center;
    opacity: 0.6;
}
.hero-scroller p {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 0.8rem; color: var(--text-muted); font-weight: 500;
}
.mouse-icon {
    width: 20px; height: 34px; border: 1px solid var(--secondary); border-radius: 12px; position: relative; opacity: 0.6;
}
.mouse-icon::before {
    content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 6px; background: var(--secondary); border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}
@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1;}
    100% { transform: translate(-50%, 12px); opacity: 0;}
}

/* ALL SECTIONS: BASE PROFESSIONAL SPACING */
.metrics-section, .portfolio-section, .about-section, .testimonials-section, .pricing-section,
.problem-section, .process-section, .faq-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Trust Bar / Quick Credibility Strip */
.trust-bar {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.trust-item {
    text-align: center;
    min-width: 110px;
}
.trust-item > span:first-child {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}
.trust-suffix {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
}
.trust-static i {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-left: 0.3rem;
}
.trust-item p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}
.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* Problem / Agitation Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.problem-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.problem-card:hover {
    transform: translateY(-6px);
}
.problem-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(108, 59, 255, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.25);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--secondary);
}
.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: 600;
}
.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Process / How It Works Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(167,139,250,0.3) 15%, rgba(167,139,250,0.3) 85%, transparent);
}
.process-step {
    position: relative;
    text-align: left;
}
.process-number {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid rgba(167, 139, 250, 0.4);
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: #fff;
    font-weight: 600;
}
.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active {
    border-color: rgba(167, 139, 250, 0.3);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.8rem;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.faq-question i {
    color: var(--secondary);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
}
.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}
.faq-answer-inner {
    overflow: hidden;
}
.faq-answer-inner p {
    padding: 0 1.8rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Final CTA Section */
.final-cta-section {
    padding: 4rem 0 6rem;
}
.final-cta-inner {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.final-cta-inner h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.final-cta-inner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-inline: auto;
}
.final-cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
}

/* Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3.5rem;
}
.metric-card {
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
}
.metric-card h3 {
    font-size: 1.5rem; margin-bottom: 2rem; color: #fff; font-weight: 600; letter-spacing: 0.5px;
}
.graph-container {
    width: 100%;
    height: 160px;
    position: relative;
}
.retention-graph svg {
    width: 100%; height: 100%; overflow: visible;
}
.graph-points {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none;
}
.point {
    position: absolute; width: 12px; height: 12px; background: #fff; border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--secondary);
    animation: pulsePoint 2s infinite alternate;
}
.point .tooltip {
    position: absolute; top: -35px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.05); padding: 5px 12px; border-radius: 6px; font-size: 0.8rem; color: #fff;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); font-weight: 400; 
}
@keyframes pulsePoint {
    from { box-shadow: 0 0 10px var(--primary); }
    to { box-shadow: 0 0 30px var(--secondary); }
}

.number-counter {
    font-size: 4.5rem; font-weight: 600; color: #fff; line-height: 1; margin-bottom: 1.2rem;
    background: linear-gradient(to right, #ffffff, var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}
.number-counter .percent { font-size: 2.5rem; font-weight: 500; letter-spacing: 0;}
.metric-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; font-weight: 300;}

/* Portfolio Section */
.portfolio-marquee-wrapper {
    width: 100%; overflow: hidden; position: relative; padding: 2.5rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.portfolio-track {
    display: flex; gap: 2.5rem; width: max-content;
    animation: portfolioMarquee 60s linear infinite;
}
.portfolio-track:hover {
    animation-play-state: paused;
}
@keyframes portfolioMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.25rem)); }
}
.video-item {
    width: 280px; height: 497px; flex-shrink: 0;
    border-radius: 16px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s;
    position: relative;
    cursor: pointer;
}
.video-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(108, 59, 255, 0.4);
}
.vid-placeholder {
    width: 100%; height: 100%; background: #000; border-radius: 16px; position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}
.portfolio-video {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
    transition: opacity 0.4s;
}
.video-item:hover .portfolio-video {
    opacity: 1;
}

/* Play Overlay styling */
.play-overlay {
    position: absolute; inset: 0; 
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); transition: background 0.3s;
    opacity: 0;
}
.play-overlay i {
    font-size: 3.5rem; color: #fff; text-shadow: 0 0 20px rgba(167, 139, 250, 0.8);
    transform: scale(0.8); transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.video-item:hover .play-overlay { opacity: 1; background: rgba(0,0,0,0.2); }
.video-item:hover .play-overlay i { transform: scale(1); }


/* Video Modal */
.modal {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 1; visibility: visible; transition: all 0.4s ease;
}
.modal.hidden {
    opacity: 0; visibility: hidden; pointer-events: none;
}
.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.modal-content {
    position: relative; z-index: 1001; 
    width: 90%; max-width: 450px; 
    height: 85vh; 
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(108, 59, 255, 0.4);
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.4);
    animation: modalScale 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
@keyframes modalScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-content video {
    width: 100%; height: 100%; object-fit: cover; background: #000; display: block;
}
.close-btn {
    position: absolute; top: -50px; right: 0;
    color: #fff; font-size: 2.5rem; cursor: pointer; text-shadow: 0 0 10px rgba(167,139,250,0.5);
    transition: color 0.3s;
}
.close-btn:hover { color: var(--secondary); }

/* About Section */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-image {
    position: relative;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(167,139,250,0.15);
}
.about-image img {
    border-radius: 16px;
    width: 100%; max-width: 450px; margin: 0 auto;
    display: block; position: relative; z-index: 2;
}
.about-content h2 { margin-bottom: 1.5rem; font-size: 2.6rem; text-align: left; font-weight: 600; letter-spacing: -0.02em;}
.about-content p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; font-weight: 300;}

/* About Credentials (research background) */
.about-credentials {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.credentials-heading {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.credentials-body {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    font-weight: 300;
}
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.credential-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.4s;
}
.credential-card:hover {
    transform: translateY(-6px);
    border-color: rgba(167, 139, 250, 0.4);
}
.credential-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.credential-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}
.credential-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 0;
}

/* Researcher Background Section */
.researcher-section {
    padding: 2rem 0 6rem;
}
.researcher-block {
    padding: 3.5rem 3rem;
    border-radius: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.researcher-block .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}
.researcher-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 300;
}

/* Testimonials Marquee */
.testimonial-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.testimonial-grid {
    display: flex; gap: 2rem; width: max-content;
    animation: marquee 50s linear infinite;
}
.testimonial-grid:hover { animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } 
}
.testimonial-card {
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    width: 400px; 
    flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: space-between;
}
.stars { color: var(--secondary); font-size: 1rem; margin-bottom: 1.2rem; letter-spacing: 2px;}
.testimonial-card p {
    color: var(--text-main); font-size: 1.05rem; line-height: 1.6; font-style: italic; margin-bottom: 1.5rem; font-weight: 300;
}
.author strong { font-weight: 600; font-size: 1rem;}

/* Pricing / Packages Section */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; align-items: stretch;
}
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    display: flex; flex-direction: column;
}
.pricing-card.popular {
    background: rgba(108, 59, 255, 0.05); 
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateY(-15px);
}
.popular-badge {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.5rem 1.8rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 1.5px;
}
.pricing-header h3 { font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; font-weight: 600; }
.pricing-header p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; font-weight: 300; }
.price-amount { margin-bottom: 1.5rem; }
.price-amount .currency { font-size: 1.2rem; color: #fff; vertical-align: super; font-weight: 500; }
.price-amount .amount { font-size: 3.8rem; font-weight: 600; color: #fff; line-height: 1; letter-spacing: -2px; }
.price-amount .period { color: var(--text-muted); font-weight: 400; }
.package-positioning {
    background: rgba(255,255,255,0.03); padding: 1rem; border-radius: 12px; font-size: 0.85rem; font-style: italic; color: #d6ccd0; margin-bottom: 2rem; line-height: 1.5;
}
.pricing-features { list-style: none; margin-bottom: 3rem; flex-grow: 1; }
.pricing-features li {
    padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #fcfcfc; font-size: 0.95rem; display: flex; align-items: flex-start; line-height: 1.4; font-weight: 300;
}
.pricing-features li::before { content: '✓'; color: var(--primary); margin-right: 12px; font-weight: 600; font-size: 1rem; }
.pricing-features li.extra::before { content: '✦'; color: var(--secondary); }
.pricing-features li:last-child { border-bottom: none; }
.btn-cta { width: 100%; padding: 1.2rem; text-align: center; font-size: 0.95rem; }

/* Footer */
footer {
    padding: 4rem 0 3rem;
}

/* -------------------------------------
   RESPONSIVE DESIGN SYSTEM
   ------------------------------------- */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    /* Balance padding on mid-size screens */
    .metrics-section, .portfolio-section, .about-section, .testimonials-section, .pricing-section,
    .problem-section, .process-section, .faq-section {
        padding: 4.5rem 0;
    }
    .hero {
        padding-top: 9rem;
        padding-bottom: 3rem;
    }

    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
    .pricing-card.popular { transform: translateY(0); }

    .about-grid { gap: 3rem; }
    .metrics-grid { gap: 2rem; margin-top: 3rem; }
    .metric-card { padding: 2.5rem 1.5rem; }

    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
    .process-timeline::before { display: none; }

    /* Switch to hamburger nav below desktop width */
    .nav-links { display: none; }
    .nav-btn { display: none; }
    .nav-toggle { display: flex; }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    .navbar { padding: 1rem 0; }
    .logo { font-size: 1.2rem; }
    
    /* Optimal Hero Spacing for strictly balanced mobile feel */
    .hero { 
        min-height: auto; 
        padding-top: 7.5rem; 
        padding-bottom: 2rem; 
    }
    .hero-badge { font-size: 0.75rem; padding: 0.4rem 1.2rem; margin-bottom: 1.5rem; letter-spacing: 1.5px; }
    .hero-title { font-size: 2.4rem; margin-bottom: 1.2rem; line-height: 1.15; font-weight: 700; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .hero .btn-large { font-size: 0.9rem; padding: 0.9rem 2.2rem; }
    .hero-scroller { margin-top: 3.5rem; margin-bottom: 1rem; }
    
    /* Tighter, professional section spacing for seamless mobile flow */
    .metrics-section, .portfolio-section, .about-section, .testimonials-section, .pricing-section,
    .problem-section, .process-section, .faq-section {
        padding: 3.5rem 0;
    }

    /* Room for the sticky mobile CTA bar */
    body { padding-bottom: 5rem; }

    footer { padding: 3rem 0 2.5rem; }

    /* Trust bar */
    .trust-bar-inner { gap: 1.5rem 2rem; }
    .trust-divider { display: none; }

    /* Problem cards */
    .problem-grid { margin-top: 2rem; }

    /* Process timeline collapses to a single column */
    .process-timeline { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }

    /* FAQ */
    .faq-question { padding: 1.2rem 1.4rem; font-size: 0.9rem; }
    .faq-answer-inner p { padding: 0 1.4rem 1.2rem; font-size: 0.9rem; }

    /* Final CTA */
    .final-cta-inner { padding: 3rem 1.5rem; border-radius: 20px; }
    .final-cta-buttons { flex-direction: column; width: 100%; }
    .final-cta-buttons .btn { width: 100%; }

    /* Sticky mobile CTA bar */
    .sticky-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        position: fixed;
        bottom: 1.2rem;
        left: 1.2rem;
        right: 1.2rem;
        z-index: 90;
        padding: 1rem;
        border-radius: 50px;
        background: var(--primary);
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 10px 30px rgba(108, 59, 255, 0.5);
    }

    /* Trim expensive blur filters on mobile GPUs for smoother scrolling */
    .glow-orb { filter: blur(70px); }
    .glass-panel, .testimonial-card, .pricing-card, .navbar {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    /* Grid spacing tweaks */
    .metrics-grid { grid-template-columns: 1fr; gap: 1.8rem; margin-top: 2rem; }
    .metric-card { transform: translateY(0) !important; padding: 2rem 1.5rem;} 

    .about-grid { grid-template-columns: 1fr; gap: 2.5rem;}
    .about-content h2 { font-size: 2.3rem; text-align: center; margin-bottom: 1.5rem; font-weight: 600; }
    .about-content p { text-align: center; margin-bottom: 1.2rem; }
    .about-socials { justify-content: center; margin-top: 1rem !important; }

    /* About credentials */
    .about-credentials { margin-top: 3rem; padding-top: 3rem; }
    .credentials-heading { font-size: 1.6rem; }
    .credentials-body { margin-bottom: 2rem; font-size: 0.95rem; }
    .credentials-grid { grid-template-columns: 1fr; gap: 1.2rem; }

    /* Hero trust line */
    .hero-trust-line { font-size: 0.72rem; padding: 0 1rem; line-height: 1.6; }

    /* Researcher section */
    .researcher-section { padding: 1rem 0 3.5rem; }
    .researcher-block { padding: 2.2rem 1.5rem; border-radius: 20px; }
    .researcher-block .section-title { font-size: 1.7rem; text-align: center; }
    .researcher-block p { text-align: center; font-size: 0.95rem; }

    .pricing-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
    
    /* Ensure clear text hierarchy (Section Title > Card Title) */
    .section-title { font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.15; font-weight: 600; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    
    .pricing-header h3 { font-size: 1.45rem; font-weight: 600; }
    .pricing-header p { font-size: 0.85rem; margin-bottom: 1.5rem; }
    .pricing-card { padding: 2rem 1.5rem; }

    /* Optimize video sizes to prevent horizontal clipping gaps */
    .video-item { width: 220px; height: 391px; }
    
    .modal-content {
        width: 85vw;
        height: auto;
        aspect-ratio: 9 / 16;
        max-height: 85vh;
        border-radius: 12px;
    }
    .modal-content video {
        border-radius: 12px;
    }
}

/* Respect reduced-motion preference: also lightens the load on lower-power devices */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
