/* ==========================================
   ASTRA Landing Page — Premium Redesign
   Exceptional Animations & Classy Design
   ========================================== */

/* ==========================================
   CSS Custom Properties
   ========================================== */
:root {
    /* Background Colors */
    --bg-primary: #030304;
    --bg-secondary: #0a0a0c;
    --bg-tertiary: #111114;
    --bg-card: rgba(17, 17, 20, 0.6);

    /* Accent Colors - Sunset Gradient */
    --accent-1: #FF5E3A;
    --accent-2: #FF2D55;
    --accent-3: #FF8A5B;
    --gradient-primary: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255, 94, 58, 0.15) 0%, rgba(255, 45, 85, 0.15) 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Effects */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(255, 94, 58, 0.3);
    --glow-primary: 0 0 80px rgba(255, 94, 58, 0.4);
    --glow-soft: 0 0 120px rgba(255, 94, 58, 0.2);

    /* Spacing */
    --section-padding: 60px;
    --container-max: 1280px;

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 800ms;
}

/* ==========================================
   Light Mode Theme
   ========================================== */
[data-theme="light"] {
    /* Background Colors - Light */
    --bg-primary: #fafafa;
    --bg-secondary: #f0f0f2;
    --bg-tertiary: #e8e8eb;
    --bg-card: rgba(255, 255, 255, 0.9);

    /* Text Colors - Dark for readability */
    --text-primary: #1a1a1f;
    --text-secondary: rgba(26, 26, 31, 0.75);
    --text-muted: rgba(26, 26, 31, 0.5);

    /* Effects - Adjusted for light bg */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(255, 94, 58, 0.4);
    --glow-primary: 0 0 60px rgba(255, 94, 58, 0.25);
    --glow-soft: 0 0 100px rgba(255, 94, 58, 0.15);

    /* Gradient adjustments for light mode */
    --gradient-soft: linear-gradient(135deg, rgba(255, 94, 58, 0.08) 0%, rgba(255, 45, 85, 0.08) 100%);
}

/* Light mode specific overrides */
[data-theme="light"] .gradient-orb {
    opacity: 0.25;
}

[data-theme="light"] .noise-overlay {
    opacity: 0.015;
}

[data-theme="light"] .grid-overlay {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .nav.scrolled {
    background: rgba(250, 250, 250, 0.85);
}

[data-theme="light"] .shooting-star,
[data-theme="light"] .star {
    display: none;
    /* Hide stars in light mode */
}

/* Light mode cursor glow - disabled */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    /* Account for fixed navbar height */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scroll offset for anchor links - accounts for fixed navbar */
section[id] {
    scroll-margin-top: 20px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Smooth theme transition */
body.theme-transitioning,
body.theme-transitioning * {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease !important;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   Animated Background
   ========================================== */
.bg-wrapper {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    top: -400px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    bottom: -300px;
    left: -200px;
    animation-delay: -7s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.02);
    }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ==========================================
   Navigation
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(3, 3, 4, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--duration-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: width var(--duration-normal) var(--ease-out-expo);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #FF5E3A, #FF2D55);
    border: none;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(255, 94, 58, 0.35);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 94, 58, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-fast);
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-subtle);
        padding: 20px;
        gap: 16px;
        text-align: center;
        position: static;
        transform: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1rem;
    }

    .nav-actions {
        gap: 12px;
    }

    .nav-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .scroll-indicator {
        position: relative;
        margin-top: 40px;
    }
}

/* Theme Toggle Switch */
.theme-switch {
    display: flex;
    align-items: center;
    position: relative;
    width: 56px;
    height: 28px;
    cursor: pointer;
}

.theme-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    transition: all var(--duration-normal) var(--ease-out-quart);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.theme-switch-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.theme-switch-slider svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    z-index: 1;
    transition: color var(--duration-fast);
}

.theme-switch-slider .sun-icon {
    opacity: 0.5;
}

.theme-switch-slider .moon-icon {
    opacity: 1;
    color: var(--text-primary);
}

/* Light mode: move slider to right */
[data-theme="light"] .theme-switch-slider::before {
    left: calc(100% - 23px);
}

[data-theme="light"] .theme-switch-slider .sun-icon {
    opacity: 1;
    color: var(--text-primary);
}

[data-theme="light"] .theme-switch-slider .moon-icon {
    opacity: 0.5;
    color: var(--text-muted);
}

.theme-switch:hover .theme-switch-slider {
    border-color: var(--border-glow);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin-bottom: 60px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--gradient-primary);
}

.hero-eyebrow span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-1);
}

/* Live User Counter */
.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 94, 58, 0.08);
    border: 1px solid rgba(255, 94, 58, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

.live-count {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
}

.live-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.title-line {
    display: block;
}

.title-line.accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.word-reveal {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.word-ampersand {
    font-weight: 300;
    opacity: 0.4;
    font-size: 0.8em;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

/* Primary Button */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border-radius: 100px;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

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

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Visual */
.hero-visual {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.visual-wrapper {
    position: relative;
}

.panel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.panel:hover {
    border-color: var(--border-glow);
    transform: translateY(-8px);
    box-shadow: var(--glow-soft);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.panel-dots {
    display: flex;
    gap: 6px;
}

.panel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.panel-dots span:first-child {
    background: #FF5F57;
}

.panel-dots span:nth-child(2) {
    background: #FFBD2E;
}

.panel-dots span:last-child {
    background: #28CA41;
}

.panel-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.panel img {
    max-height: 350px;
    width: auto;
}

.figma-panel {
    transform: rotate(-4deg) translateX(30px);
    z-index: 1;
}

.ae-panel {
    transform: rotate(4deg) translateX(-30px);
    z-index: 2;
}

/* Connection Beam */
.connection-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beam-arrow {
    width: 80px;
    height: 24px;
}

.beam-particles {
    position: absolute;
    width: 80px;
    display: flex;
    justify-content: space-between;
}

.beam-particles span {
    width: 4px;
    height: 4px;
    background: var(--accent-1);
    border-radius: 50%;
    animation: particle-flow 1.5s ease-in-out infinite;
}

.beam-particles span:nth-child(2) {
    animation-delay: 0.3s;
}

.beam-particles span:nth-child(3) {
    animation-delay: 0.6s;
}

.beam-particles span:nth-child(4) {
    animation-delay: 0.9s;
}

.beam-particles span:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes particle-flow {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(255, 94, 58, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Scroll Indicator - Centered in hero */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================
   Marquee Section
   ========================================== */
.marquee-section {
    padding: 30px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-tertiary);
    overflow: hidden;
    margin: -1px 0 0;
    /* Align perfectly with no gap */
    position: relative;
    z-index: 10;
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    animation: marquee 25s linear infinite;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    /* Added slant to text */
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.marquee-content span.marquee-dot {
    color: var(--accent-1) !important;
    -webkit-text-fill-color: var(--accent-1) !important;
    opacity: 0.7;
}

/* Light mode marquee - light background with black text */
[data-theme="light"] .marquee-section {
    background: #f5f5f7;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

[data-theme="light"] .marquee-content span {
    color: #000000;
}

[data-theme="light"] .marquee-dot {
    color: var(--accent-1);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================
   Floating Testimonial Marquee
   ========================================== */

.testimonial-marquee-section {
    position: relative;
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
    background: transparent;
}

/* Left fade gradient */
.testimonial-marquee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 3, 4, 1) 0%, rgba(3, 3, 4, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

/* Right fade gradient */
.testimonial-marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to left, rgba(3, 3, 4, 1) 0%, rgba(3, 3, 4, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.testimonial-marquee {
    display: flex;
    width: 100%;
}

.testimonial-marquee-content {
    display: flex;
    gap: 40px;
    animation: testimonialScroll 25s linear infinite;
    white-space: nowrap;
}

.testimonial-float-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-float-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 91, 58, 0.3);
}

.testi-quote {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    font-style: italic;
}

.testi-author {
    font-size: 0.85rem;
    color: var(--accent-1);
    font-weight: 500;
}

@keyframes testimonialScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   Plugin Preview Section
   ========================================== */
.plugin-preview {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.plugin-preview .hero-visual {
    margin: 0 auto 60px;
}

.plugin-preview .hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Video Container for Demo Section */
.video-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    gap: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(255, 94, 58, 0.03);
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
}

.play-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.video-placeholder span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

@media (max-width: 700px) {
    .video-placeholder {
        padding: 60px 24px;
    }

    .play-icon {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-1);
    background: rgba(255, 94, 58, 0.1);
    border: 1px solid rgba(255, 94, 58, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--duration-normal) var(--ease-out-quart);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.large {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Feature Image Wrapper for screenshots */
.feature-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.feature-image-overlay {
    display: none;
}

.feature-icon-wrapper.small {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.feature-icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-1);
}

.feature-icon-wrapper.small svg {
    width: 28px;
    height: 28px;
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(255, 94, 58, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.feature-card:hover .feature-glow {
    opacity: 1;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.large {
        grid-column: span 2;
        grid-row: span 1;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .feature-visual {
        margin-bottom: 0;
        flex: 0 0 40%;
    }
}

/* Hide show-more button by default (shown on mobile via media query below) */
.show-more-features {
    display: none;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card.large {
        grid-column: span 2;
        flex-direction: column;
    }

    /* Hide screenshot on mobile — not useful on small screens */
    .feature-card.large .feature-visual {
        display: none;
    }

    /* Hide cards 5+ on mobile by default */
    .features-grid .feature-card:nth-child(n+5) {
        display: none;
    }

    .features-grid.expanded .feature-card:nth-child(n+5) {
        display: block;
    }

    /* Show More Features button on mobile */
    .show-more-features {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px 24px;
        margin-top: 16px;
        font-family: var(--font-display);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--accent-1);
        background: rgba(255, 94, 58, 0.08);
        border: 1px solid rgba(255, 94, 58, 0.2);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .show-more-features:hover {
        background: rgba(255, 94, 58, 0.15);
    }

    .show-more-features svg {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .show-more-features.expanded svg {
        transform: rotate(180deg);
    }
}

/* ==========================================
   Workflow Section
   ========================================== */
.workflow {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.workflow-step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.workflow-step:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--glow-soft);
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

.step-number span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-visual {
    margin-top: 32px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 64px;
    height: 64px;
}

.step-icon.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(255, 94, 58, 0));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 94, 58, 0.5));
    }
}

.workflow-connector {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin-top: 100px;
    opacity: 0.5;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out-expo);
}

.workflow-connector.visible {
    transform: scaleX(1);
}

.workflow-defs {
    position: absolute;
    visibility: hidden;
}

@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }

    .workflow-connector {
        width: 2px;
        height: 40px;
        margin: 0;
        transform-origin: top;
    }
}

/* ==========================================
   Video Testimonials Section
   ========================================== */
.video-testimonials {
    padding: var(--section-padding) 0;
}

.video-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card.main {
    grid-row: span 2;
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.video-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-card.main .video-placeholder {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
}

.video-placeholder.small {
    aspect-ratio: 16/10;
}

.video-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.play-button.small {
    width: 56px;
    height: 56px;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    width: 100%;
    height: 100%;
}

.video-info {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
}

.video-duration {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
}

.video-meta {
    padding: 20px;
}

.video-meta h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.video-meta p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .video-card.main {
        grid-row: span 1;
    }

    .video-card.main .video-placeholder {
        min-height: 250px;
    }
}

/* ==========================================
   Text Testimonials Section
   ========================================== */
.text-testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--duration-normal) var(--ease-out-quart);
    overflow: hidden;
}

.testimonial-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 24px;
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-1);
    opacity: 0.5;
    margin-bottom: 16px;
}

.testimonial-quote p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(255, 94, 58, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.testimonial-card:hover .testimonial-glow {
    opacity: 1;
}

/* Compact Testimonials Grid - 3x2 Layout */
.testimonials-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-mini {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-mini:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.mini-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 16px;
}

.mini-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    color: #ffffff;
    flex-shrink: 0;
}

.mini-author div {
    display: flex;
    flex-direction: column;
}

.mini-author strong {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mini-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonials-compact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-mini {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
    padding: 50px 0 var(--section-padding) !important;
}

.pricing-wrapper {
    display: flex;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.pricing-users {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pricing-card {
    position: relative;
    flex: 1;
    max-width: 400px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent-1);
    box-shadow: 0 0 40px rgba(255, 94, 58, 0.15);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.pricing-card.featured::before {
    opacity: 1;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Feature highlight for Duo plan */
.feature-item.highlight {
    color: var(--accent-1);
    font-weight: 600;
}

.feature-item.highlight svg {
    color: var(--accent-1);
}

/* Most Popular Ribbon */
.popular-ribbon {
    position: absolute;
    top: 25px;
    right: -45px;
    width: 150px;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.4);
    z-index: 10;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-label {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-1);
    background: rgba(255, 94, 58, 0.1);
    border-radius: 100px;
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
}

.price {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cents {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
}

.pricing-term {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 32px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-1);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
}

.pricing-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border-radius: 100px;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.pricing-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.pricing-cta:hover .cta-shine {
    left: 100%;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-guarantee svg {
    width: 18px;
    height: 18px;
    color: var(--accent-1);
}

.pricing-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 94, 58, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    transition: color var(--duration-fast);
}

.faq-trigger:hover {
    color: var(--accent-1);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.faq-icon span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon span:last-child {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out-quart);
}

.faq-item.active .faq-content {
    max-height: 300px;
}

.faq-content p {
    padding-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Final CTA Section
   ========================================== */
.final-cta {
    padding: var(--section-padding) 0;
}

.cta-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 64px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 94, 58, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-brand .brand-text {
    font-size: 1.75rem;
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: var(--accent-1);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ==========================================
   Animations
   ========================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-in"] {
    transform: scale(0.9);
}

[data-animate="scale-in"].visible {
    opacity: 1;
    transform: scale(1);
}

[data-animate="scale-x"] {
    transform: scaleX(0);
    transform-origin: left;
}

[data-animate="scale-x"].visible {
    transform: scaleX(1);
}

/* Staggered delays */
[data-delay="50"] {
    transition-delay: 50ms;
}

[data-delay="100"] {
    transition-delay: 100ms;
}

[data-delay="150"] {
    transition-delay: 150ms;
}

[data-delay="200"] {
    transition-delay: 200ms;
}

[data-delay="250"] {
    transition-delay: 250ms;
}

[data-delay="300"] {
    transition-delay: 300ms;
}

[data-delay="400"] {
    transition-delay: 400ms;
}

[data-delay="500"] {
    transition-delay: 500ms;
}

[data-delay="600"] {
    transition-delay: 600ms;
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .panel-container {
        flex-direction: column;
    }

    .figma-panel,
    .ae-panel {
        transform: none;
    }

    .connection-beam {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .hero-logos {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

    .logo-connector {
        transform: none;
    }
}

/* Cursor Glow Effect - Disabled */

/* ==========================================
   Starfield - Twinkling Stars
   ========================================== */
.starfield {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--twinkle-duration, 3s) ease-in-out infinite;
    animation-delay: var(--twinkle-delay, 0s);
}

.star.small {
    width: 1px;
    height: 1px;
    opacity: 0.4;
}

.star.medium {
    width: 2px;
    height: 2px;
    opacity: 0.6;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.star.large {
    width: 3px;
    height: 3px;
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 138, 91, 0.3);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: var(--star-opacity, 0.4);
        transform: scale(1);
    }

    50% {
        opacity: calc(var(--star-opacity, 0.4) * 0.3);
        transform: scale(0.8);
    }
}

/* ==========================================
   Shooting Stars - Natural Falling Effect
   ========================================== */
.shooting-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* The tail trails BEHIND the star as it falls diagonally down-right */
.shooting-star::after {
    content: '';
    position: absolute;
    /* Position tail above and to the left (trailing behind as star falls down-right) */
    top: 0;
    right: 100%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 200, 180, 0.2) 30%,
            rgba(255, 255, 255, 0.6) 100%);
    transform: rotate(63deg);
    transform-origin: right center;
}

/* Multiple shooting stars with varied positions and timing */
.shooting-star:nth-child(1) {
    top: 5%;
    left: 20%;
    animation: shootNatural 12s ease-in infinite;
    animation-delay: 0s;
}

.shooting-star:nth-child(2) {
    top: 10%;
    left: 60%;
    animation: shootNatural 15s ease-in infinite;
    animation-delay: 3s;
}

.shooting-star:nth-child(3) {
    top: 8%;
    left: 85%;
    animation: shootNatural 18s ease-in infinite;
    animation-delay: 7s;
}

.shooting-star:nth-child(4) {
    top: 3%;
    left: 40%;
    animation: shootNatural 20s ease-in infinite;
    animation-delay: 11s;
}

.shooting-star:nth-child(5) {
    top: 12%;
    left: 10%;
    animation: shootNatural 14s ease-in infinite;
    animation-delay: 5s;
}

/* Natural falling animation - star falls down and to the right */
@keyframes shootNatural {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }

    1% {
        opacity: 0.8;
    }

    8% {
        opacity: 0.6;
        transform: translateX(150px) translateY(300px);
    }

    10% {
        opacity: 0;
        transform: translateX(180px) translateY(380px);
    }

    100% {
        opacity: 0;
        transform: translateX(180px) translateY(380px);
    }
}

/* ==========================================
   Hero Logos - Figma & After Effects
   ========================================== */
.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 120px;
    height: 120px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.logo-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.logo-item svg {
    width: 44px;
    height: 44px;
}

.logo-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.figma-logo:hover {
    border-color: rgba(162, 89, 255, 0.4);
    box-shadow: 0 0 40px rgba(162, 89, 255, 0.15);
}

.ae-logo:hover {
    border-color: rgba(153, 153, 255, 0.4);
    box-shadow: 0 0 40px rgba(153, 153, 255, 0.15);
}

.ae-logo svg {
    border-radius: 8px;
}

/* Logo Connector */
.logo-connector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-subtle), var(--accent-1));
    position: relative;
    overflow: hidden;
}

.connector-pulse {
    position: absolute;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
    animation: pulse-flow 2s ease-in-out infinite;
}

@keyframes pulse-flow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

.connector-icon {
    width: 28px;
    height: 28px;
    padding: 4px;
    color: var(--accent-1);
    background: rgba(255, 94, 58, 0.1);
    border: 1px solid rgba(255, 94, 58, 0.3);
    border-radius: 50%;
    animation: connector-pulse 2s ease-in-out infinite;
}

@keyframes connector-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 94, 58, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px 5px rgba(255, 94, 58, 0.2);
    }
}

/* ==========================================
   Section Transitions - Smooth Gradients
   ========================================== */
section {
    position: relative;
}

/* Add gradient fade at top of sections */
.features::before,
.workflow::before,
.video-testimonials::before,
.text-testimonials::before,
.pricing::before,
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg,
            var(--bg-primary) 0%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Add gradient fade at bottom of sections */
.features::after,
.workflow::after,
.video-testimonials::after,
.text-testimonials::after,
.pricing::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg,
            var(--bg-primary) 0%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.marquee-section::after {
    display: none;
}

/* Ensure content stays above gradients */
.container {
    position: relative;
    z-index: 2;
}

/* Section dividers with subtle glow */
.marquee-section {
    position: relative;
}

.marquee-section::before {
    display: none;
}

/* Section background variations for depth */
.workflow {
    background: linear-gradient(180deg,
            var(--bg-secondary) 0%,
            var(--bg-primary) 100%);
}

.text-testimonials {
    background: linear-gradient(180deg,
            var(--bg-primary) 0%,
            var(--bg-secondary) 50%,
            var(--bg-primary) 100%);
}

.faq {
    background: linear-gradient(180deg,
            var(--bg-primary) 0%,
            var(--bg-secondary) 100%);
}

/* Floating ambient orbs between sections */
.features::after {
    background: radial-gradient(ellipse at 30% 100%,
            rgba(255, 94, 58, 0.05) 0%,
            transparent 50%),
        linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
}

.workflow::after {
    background: radial-gradient(ellipse at 70% 100%,
            rgba(255, 45, 85, 0.05) 0%,
            transparent 50%),
        linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
}

/* Glowing section separators */
.features,
.workflow,
.video-testimonials,
.text-testimonials,
.pricing,
.faq {
    padding-top: calc(var(--section-padding) + 40px);
}

/* Add data-delay for hero logos */
[data-delay="250"] {
    transition-delay: 250ms;
}

/* ==========================================
   Comparison Table Section
   ========================================== */
.comparison-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, rgba(255, 94, 58, 0.15), rgba(255, 45, 85, 0.1));
    color: var(--accent-1);
}

.comparison-table td.highlight {
    background: rgba(255, 94, 58, 0.05);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table .check {
    color: #00C853;
    font-size: 1.2rem;
}

.comparison-table .cross {
    color: #FF5252;
    font-size: 1.2rem;
}

.comparison-table .partial {
    color: #FFB300;
    font-size: 1.2rem;
}

/* ==========================================
   Newsletter Section
   ========================================== */
.newsletter-section {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--duration-fast);
}

.newsletter-form input:focus {
    border-color: var(--accent-1);
}

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

.newsletter-form .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    white-space: nowrap;
}

/* ==========================================
   Trust Badges Section
   ========================================== */
.trust-section {
    padding: 40px 0;
    background: var(--bg-primary);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-badge svg {
    color: var(--accent-1);
    opacity: 0.8;
}

/* ==========================================
   Updated Footer Styles
   ========================================== */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 60px;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dodo-link {
    color: var(--accent-1);
    transition: color var(--duration-fast);
}

.dodo-link:hover {
    color: var(--accent-2);
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: none;
    }

    .trust-badges {
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   Performance Optimizations
   ========================================== */
/* Use will-change sparingly for animated elements */
.cursor-glow {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor-glow,
    .shooting-star,
    .star {
        display: none;
    }
}

/* ==========================================
   Comprehensive Mobile Responsiveness
   ========================================== */

/* Hide mobile line breaks on desktop */
.mobile-br {
    display: none;
}

/* Tablet and below */
@media (max-width: 768px) {

    /* Show mobile line breaks */
    .mobile-br {
        display: block;
    }

    /* --- Navigation --- */
    .nav {
        padding: 10px 16px;
    }

    .nav-container {
        gap: 12px;
    }

    .nav-brand {
        flex: 0 0 auto;
    }

    .brand-text {
        font-size: 1.25rem;
    }

    .nav-actions {
        margin-left: auto;
        gap: 10px;
        justify-content: flex-end;
        flex: 1;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    /* --- Hero Section --- */
    .hero {
        padding: 80px 20px 40px;
        min-height: 100vh;
        min-height: 100svh;
        /* Small viewport height - better for mobile browsers with address bar */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 9vw, 3rem);
        line-height: 1.1;
        margin-bottom: 24px;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0;
        margin-bottom: 32px;
        line-height: 1.5;
        text-align: center;
    }

    /* Show hero logos on mobile - SQUARE boxes with rounded corners */
    .hero-logos {
        display: flex;
        flex-direction: row;
        gap: 16px;
        margin: 24px 0;
        padding: 0;
        transform: none;
        justify-content: center;
    }

    .logo-item {
        padding: 20px;
        width: 105px;
        height: 105px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo-item svg {
        width: 44px;
        height: 44px;
    }

    .logo-item span {
        font-size: 0.8rem;
        font-weight: 600;
        margin-top: 0;
    }

    .logo-connector {
        padding: 0 5px;
        align-self: center;
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .connector-line {
        width: 20px;
        height: 2px;
        background: var(--gradient-primary);
    }

    .connector-icon {
        width: 24px;
        height: 24px;
        color: var(--accent-1);
    }

    /* Ensure After Effects logo SVG scales properly */
    .logo-item.ae-logo svg {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        min-height: 36px;
        margin-top: 18px;
    }

    /* CTAs */
    .hero-actions {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        padding: 0;
        margin-top: 40px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
        font-size: 1.05rem;
    }

    .hero-stats {
        display: none;
    }

    .stat-divider {
        display: none;
    }

    /* Marquee - below hero with WHITE text */
    .marquee-section {
        margin-top: 0;
    }

    .marquee-content span {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        opacity: 1;
    }

    /* --- Plugin Preview Section --- */
    .plugin-preview {
        padding: 60px 16px 40px;
        background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(20, 10, 30, 0.95) 100%);
    }

    .plugin-preview .section-header {
        margin-bottom: 32px;
    }

    .plugin-preview .section-header h2 {
        font-size: 1.3rem;
    }

    .plugin-preview .section-header p {
        font-size: 0.8rem;
        opacity: 0.8;
    }

    .hero-visual {
        width: 100%;
        padding: 0 8px;
    }

    .visual-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
    }

    .panel-container {
        flex-direction: column;
        gap: 20px;
        transform: none;
        margin: 0;
        align-items: center;
    }

    .panel {
        border-radius: 16px;
        width: 90%;
        max-width: 340px;
        background: rgba(20, 15, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .panel-header {
        padding: 10px 14px;
        font-size: 0.75rem;
    }

    .panel-title {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .window-controls span {
        width: 8px;
        height: 8px;
    }

    .panel img {
        max-height: 280px;
        width: 100%;
        object-fit: contain;
        border-radius: 0 0 16px 16px;
    }

    .figma-panel,
    .ae-panel {
        transform: none;
    }

    /* Simple connection arrow between panels */
    .connection-beam {
        display: flex;
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: none;
        padding: 8px 0;
    }

    .beam-line {
        width: 2px;
        height: 24px;
        background: var(--gradient-primary);
        transform: rotate(90deg);
    }

    .beam-arrow {
        font-size: 20px;
        color: var(--accent-1);
        margin: 0 4px;
    }

    .beam-pulse {
        display: none;
    }

    .visual-glow {
        display: none;
    }

    /* Stats below panels */
    .plugin-preview .hero-stats {
        display: flex;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        margin-top: 32px;
        padding: 0 16px;
    }

    .plugin-preview .stat-item {
        text-align: center;
        flex: 1;
        max-width: 100px;
    }

    .plugin-preview .stat-value {
        font-size: 1.5rem;
    }

    .plugin-preview .stat-label {
        font-size: 0.65rem;
    }

    .plugin-preview .stat-divider {
        display: block;
        width: 1px;
        height: 30px;
        background: var(--border-subtle);
    }

    /* --- Marquee Section --- */
    .marquee-section {
        padding: 16px 0;
    }

    .marquee-content span {
        font-size: 0.85rem;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    /* --- Section Headers --- */
    .section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .section-header p {
        font-size: 0.9rem;
        padding: 0 16px;
    }

    /* --- Features Section --- */
    .features {
        padding: 60px 0;
    }

    .features-grid {
        gap: 16px;
        padding: 0 8px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* --- Workflow Section --- */
    .workflow {
        padding: 60px 0;
    }

    .workflow-steps {
        flex-direction: column;
        gap: 32px;
    }

    .workflow-step {
        max-width: none;
        padding: 24px 16px;
    }

    .step-number {
        font-size: 2rem;
    }

    .workflow-connector {
        display: none;
    }

    /* --- Comparison Table --- */
    .comparison-section {
        padding: 60px 0;
    }

    /* Hide horizontal scroll for comparison table on mobile - show limited columns */
    .comparison-table-wrapper {
        margin: 0 -8px;
        border-radius: 8px;
        position: relative;
        overflow-x: hidden;
        -webkit-overflow-scrolling: auto;
    }

    /* No scroll hint on mobile */
    .comparison-table-wrapper::after {
        display: none;
    }

    .comparison-table {
        min-width: auto;
        width: 100%;
        table-layout: fixed;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.7rem;
    }

    /* Hide 3rd and 4th columns (Overlord, Manual) on small mobile */
    .comparison-table th:nth-child(4),
    .comparison-table td:nth-child(4) {
        display: none;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: static;
        background: transparent;
        min-width: auto;
        width: 35%;
        font-size: 0.65rem;
    }

    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2),
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) {
        width: 32%;
        text-align: center;
    }

    .comparison-table th.highlight,
    .comparison-table td.highlight {
        background: linear-gradient(135deg, rgba(255, 94, 58, 0.2), rgba(255, 45, 85, 0.15));
    }

    /* --- Testimonials --- */
    .video-testimonials,
    .text-testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    /* --- Pricing Section --- */
    .pricing {
        padding: 10px 0 60px;
    }

    .pricing-card {
        padding: 32px 24px;
        max-width: 100%;
    }

    .price-value {
        font-size: 3rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }

    /* --- FAQ Section --- */
    .faq {
        padding: 60px 0;
    }

    .faq-item {
        padding: 16px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    /* --- Final CTA --- */
    .final-cta {
        padding: 60px 0;
    }

    .final-cta h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* --- Newsletter Section --- */
    .newsletter-section {
        padding: 40px 0;
    }

    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .newsletter-content h3 {
        font-size: 1.25rem;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: none;
        gap: 12px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* --- Footer --- */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 16px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* --- Trust Badges --- */
    .trust-badges {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-badge {
        font-size: 0.8rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {

    /* --- Navigation --- */
    .nav-cta {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    /* --- Hero Section --- */
    .hero {
        padding: 80px 12px 50px;
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 2.6rem);
    }

    .hero-eyebrow span {
        font-size: 0.7rem;
    }

    .eyebrow-line {
        width: 24px;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    /* --- Panels --- */
    .panel-container {
        transform: scale(0.7);
    }

    /* --- Features --- */
    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .feature-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }

    /* --- Workflow --- */
    .step-number {
        font-size: 1.5rem;
    }

    .workflow-step h3 {
        font-size: 1rem;
    }

    .workflow-step p {
        font-size: 0.85rem;
    }

    /* --- Pricing --- */
    .price-value {
        font-size: 2.5rem;
    }

    /* --- Section Headers --- */
    .section-header h2 {
        font-size: 1.5rem;
    }

    /* --- Comparison Table --- */
    .comparison-table th,
    .comparison-table td {
        padding: 12px 12px;
        font-size: 0.8rem;
    }

    /* --- Footer --- */
    .footer-links {
        gap: 12px 16px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

/* ==========================================
   Mobile/Android Performance Optimizations
   ========================================== */

/* Disable heavy animations on touch devices for better performance */
@media (hover: none) and (pointer: coarse) {

    /* Reduce blur for better performance on mobile GPUs */
    .gradient-orb {
        filter: blur(60px);
        opacity: 0.3;
        animation: none;
    }

    /* Disable starfield and shooting stars on mobile */
    .starfield,
    .shooting-stars,
    .shooting-star,
    .star {
        display: none !important;
    }

    /* Simplify noise overlay */
    .noise-overlay {
        display: none;
    }

    /* Reduce grid overlay complexity */
    .grid-overlay {
        background-size: 80px 80px;
        opacity: 0.5;
    }

    /* Disable 3D transforms for better performance */
    .feature-card:hover,
    .testimonial-card:hover,
    .panel:hover {
        transform: none !important;
    }

    /* Disable magnetic button effect */
    .btn-primary,
    .pricing-cta {
        transform: none !important;
    }

    /* Simplify hover effects */
    .nav-cta:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    /* Disable btn shine animation on mobile */
    .btn-shine {
        display: none;
    }

    .cta-shine {
        display: none;
    }

    /* Simplify panel animations */
    .connection-beam .beam-particles span {
        animation: none;
    }

    /* Reduce visual complexity on pricing glow */
    .pricing-glow,
    .feature-glow,
    .testimonial-glow,
    .visual-glow {
        opacity: 0.3;
    }

    /* Optimize backdrop blur on mobile */
    .nav.scrolled {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Fix page shift on load: Make hero elements visible immediately */
    .hero [data-animate] {
        opacity: 1;
        transform: none;
    }

    /* Reduce animation shift for other sections (40px → 15px) */
    [data-animate] {
        transform: translateY(15px);
    }

    [data-animate="fade-right"] {
        transform: translateX(-15px);
    }

    [data-animate="fade-left"] {
        transform: translateX(15px);
    }

    [data-animate="scale-in"] {
        transform: scale(0.95);
    }
}

/* Extra small mobile devices (below 400px) */
@media (max-width: 400px) {

    /* Even smaller fonts for very small screens */
    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.2rem);
    }

    .hero-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .hero-eyebrow span {
        font-size: 0.65rem;
    }

    .eyebrow-line {
        width: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .nav-cta {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .theme-switch {
        width: 44px;
        height: 22px;
    }

    .theme-switch-slider::before {
        width: 16px;
        height: 16px;
    }

    [data-theme="light"] .theme-switch-slider::before {
        left: calc(100% - 19px);
    }

    /* Smaller section headers */
    .section-header h2 {
        font-size: 1.25rem;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    /* Smaller feature cards */
    .feature-card {
        padding: 16px 14px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .feature-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .feature-icon-wrapper svg {
        width: 22px;
        height: 22px;
    }

    /* Smaller workflow steps */
    .workflow-step {
        padding: 16px 12px;
    }

    .step-number {
        font-size: 1.25rem;
    }

    .workflow-step h3 {
        font-size: 0.9rem;
    }

    .workflow-step p {
        font-size: 0.75rem;
    }

    /* Smaller testimonials */
    .testimonial-card {
        padding: 16px;
    }

    .testimonial-quote p {
        font-size: 0.85rem;
    }

    /* Smaller pricing */
    .pricing-card {
        padding: 24px 16px;
    }

    .price-value {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.8rem;
    }

    /* Smaller stats */
    .stat-value {
        font-size: 1.8rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Panel container even smaller */
    .panel-container {
        transform: scale(0.6);
    }

    .panel img {
        max-height: 200px;
    }

    /* Hero logos smaller */
    .logo-item {
        padding: 12px 16px;
    }

    .logo-item svg {
        width: 32px;
        height: 32px;
    }

    .logo-item span {
        font-size: 0.8rem;
    }

    /* Comparison table */
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.7rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.85rem;
    }

    .faq-answer {
        font-size: 0.75rem;
    }

    /* Footer */
    .footer-links a {
        font-size: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }
}

/* Android-specific fixes */
@supports (-webkit-touch-callout: none) or (not (-webkit-overflow-scrolling: touch)) {

    /* Android devices often have issues with filter: blur */
    .gradient-orb {
        filter: blur(40px);
    }
}

/* Ensure smooth scrolling works on mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent horizontal overflow on mobile */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Fix touch targets - minimum 44px for accessibility */
    .nav-link,
    .nav-cta,
    .nav-toggle {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .faq-trigger {
        min-height: 48px;
    }

    /* Improve tap feedback on mobile */
    .btn-primary,
    .btn-secondary,
    .pricing-cta,
    .nav-cta,
    .faq-trigger {
        -webkit-tap-highlight-color: rgba(255, 94, 58, 0.2);
    }

    /* Prevent text selection on interactive elements */
    .btn-primary,
    .btn-secondary,
    .pricing-cta,
    .nav-cta,
    .nav-toggle {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* ==========================================
   Mobile Testimonial Marquee (Android/Touch)
   ========================================== */

/* Desktop: Hide duplicate track and show grid layout */
.testimonial-track {
    display: contents;
    /* On desktop, contents flow normally into grid */
}

.testimonial-track[aria-hidden="true"] {
    display: none;
    /* Hide duplicate on desktop */
}

@media (max-width: 768px) {

    /* Convert testimonials section to marquee on mobile */
    .text-testimonials {
        padding: 50px 0;
        overflow: hidden;
    }

    .text-testimonials .container {
        max-width: 100%;
        padding: 0;
        overflow: visible;
    }

    .text-testimonials .section-header {
        padding: 0 20px;
        margin-bottom: 32px;
    }

    /* Testimonial Marquee Container */
    .testimonials-compact-grid {
        display: flex;
        gap: 0;
        overflow: hidden;
        position: relative;
        width: 100%;
        padding: 10px 0;
        /* Gradient fade on left and right edges */
        mask-image: linear-gradient(to right,
                transparent 0%,
                black 8%,
                black 92%,
                transparent 100%);
        -webkit-mask-image: linear-gradient(to right,
                transparent 0%,
                black 8%,
                black 92%,
                transparent 100%);
    }

    /* Show duplicate track on mobile */
    .testimonial-track[aria-hidden="true"] {
        display: flex;
    }

    /* Track wrapper for animation */
    .testimonial-track {
        display: flex;
        flex-shrink: 0;
        gap: 16px;
        padding-right: 16px;
        animation: testimonial-marquee 35s linear infinite;
    }

    @keyframes testimonial-marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    /* Individual testimonial cards */
    .testimonial-mini {
        flex: 0 0 auto;
        width: 280px;
        min-width: 280px;
        padding: 20px;
        background: rgba(17, 17, 20, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Disable hover effects on mobile marquee */
    .testimonial-mini:hover {
        transform: none;
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Disable animation triggers on mobile */
    .testimonial-mini[data-animate] {
        opacity: 1;
        transform: none;
    }

    .mini-quote {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 14px;
        color: var(--text-secondary);
    }

    .mini-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    .mini-author strong {
        font-size: 0.85rem;
    }

    .mini-author span {
        font-size: 0.75rem;
    }

    /* Allow vertical scrolling through the marquee area without interference */
    .testimonials-compact-grid,
    .testimonial-mini {
        touch-action: pan-y;
    }
}

/* Pause marquee on hover — ONLY for devices that support hover (desktop) */
@media (hover: hover) {
    .testimonials-compact-grid:hover .testimonial-track {
        animation-play-state: paused;
    }
}

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

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 12px 20px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(to top, rgba(3, 3, 4, 0.98) 60%, rgba(3, 3, 4, 0));
        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        pointer-events: none;
    }

    .mobile-sticky-cta.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-sticky-cta .sticky-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px 24px;
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 700;
        color: #ffffff;
        background: linear-gradient(135deg, #FF5E3A, #FF2D55);
        border: none;
        border-radius: 14px;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(255, 94, 58, 0.4);
        min-height: 52px;
        -webkit-tap-highlight-color: rgba(255, 94, 58, 0.3);
    }

    .mobile-sticky-cta .sticky-cta-btn:active {
        transform: scale(0.97);
    }

    .mobile-sticky-cta .sticky-cta-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Light mode sticky CTA */
    [data-theme="light"] .mobile-sticky-cta {
        background: linear-gradient(to top, rgba(250, 250, 250, 0.98) 60%, rgba(250, 250, 250, 0));
    }

    /* Add bottom padding to body so content isn't hidden behind sticky bar */
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    /* Make pricing featured card pop more on mobile */
    .pricing-card.featured {
        border-width: 2px;
        box-shadow: 0 0 50px rgba(255, 94, 58, 0.2), 0 0 100px rgba(255, 45, 85, 0.1);
    }

    /* Ensure CTA buttons are 48px+ for touch accessibility */
    .btn-primary,
    .btn-secondary,
    .pricing-cta {
        min-height: 48px;
        padding: 14px 28px;
    }
}