/* ============================================
   XLL Builder - Professional Website Styles
   ============================================ */

:root {
    /* Color System - Dark Cyberpunk */
    --bg-page: #050508;
    --bg-surface: #0a0a0f;
    --bg-surface-elevated: #0f0f14;
    --bg-glass: rgba(10, 10, 15, 0.8);

    --border-primary: #1a1a24;
    --border-accent: #2a2a3a;
    --border-hover: #3a3a4a;

    --text-main: #e8e8ed;
    --text-secondary: #9898a8;
    --text-muted: #686878;

    /* Primary Brand Colors */
    --accent-primary: #217346;
    --accent-bright: #00ff41;
    --accent-glow: rgba(0, 255, 65, 0.15);
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #217346 0%, #00ff41 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 255, 65, 0.2) 0%, rgba(33, 115, 70, 0.2) 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);

    /* Typography */
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 100px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 255, 65, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.05), transparent);
}

/* Grid Background */
body::before {
    content: '';
    position: fixed;
    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;
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #ffffff;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: var(--text-main);
}

.logo-highlight {
    color: var(--accent-bright);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    padding: 10px 20px !important;
    background: var(--accent-primary) !important;
    color: white !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base) !important;
}

.nav-cta:hover {
    background: #1a5c38 !important;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all var(--transition-base);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid transparent;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.btn-primary:hover {
    background: #1a5c38;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.25);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-accent);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--gradient-glow);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-bright);
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-bright);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Terminal Window */
.terminal-window {
    margin-top: 60px;
    background: #0c0c10;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: left;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 255, 65, 0.05);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #080810;
    border-bottom: 1px solid var(--border-primary);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-line {
    margin-bottom: 16px;
}

.prompt {
    color: var(--accent-bright);
    margin-right: 8px;
}

.command {
    color: var(--text-main);
}

.terminal-output .output-line {
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Terminal 3D Parallax Effect */
.terminal-3d {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.terminal-3d:hover {
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(0, 255, 65, 0.1);
}

/* Typing Cursor Animation */
.typing-cursor::after {
    content: '▌';
    color: var(--accent-bright);
    animation: blink 0.8s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.output-line.delay-1 {
    animation-delay: 0.3s;
}

.output-line.delay-2 {
    animation-delay: 0.6s;
}

.output-line.delay-3 {
    animation-delay: 0.9s;
}

.output-line.delay-4 {
    animation-delay: 1.2s;
}

.output-line.delay-5 {
    animation-delay: 1.5s;
}

.output-line.delay-6 {
    animation-delay: 1.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-icon {
    color: var(--accent-primary);
    margin-right: 8px;
}

.status-icon.success {
    color: var(--accent-bright);
}

.output-line.success {
    color: var(--accent-bright);
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-bright);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-accent);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-bright);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gradient-glow);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-surface) 50%, transparent 100%);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.step-card.highlight {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.1);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--border-accent);
    line-height: 1;
    margin-bottom: 20px;
}

.step-card.highlight .step-number {
    color: var(--accent-primary);
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-visual {
    margin-top: 24px;
    padding: 16px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.file-icon {
    font-size: 1.5rem;
}

.file-icon.success {
    color: var(--accent-bright);
}

.step-visual span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.config-toggles {
    display: flex;
    gap: 8px;
}

.toggle {
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.toggle.on {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.step-connector {
    width: 60px;
    color: var(--border-accent);
}

.connector-arrow {
    width: 100%;
    height: 20px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: var(--section-padding) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(33, 115, 70, 0.1) 0%, var(--bg-surface) 50%);
    box-shadow: 0 0 60px rgba(0, 255, 65, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-primary);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.check {
    color: var(--accent-bright);
    font-weight: 700;
}

.cross {
    color: var(--text-muted);
}

.pricing-btn {
    width: 100%;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-surface);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-main);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--border-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dots .dot.active {
    background: var(--accent-bright);
    box-shadow: 0 0 10px var(--accent-bright);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--section-padding) 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-item.active {
    border-color: var(--accent-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-bright);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-bright);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 255, 65, 0.08), transparent);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-primary);
    padding: 80px 0 40px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-bright);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 80px 32px;
        gap: 24px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-primary);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-width: 100%;
    }
}

/* ============================================
   PAGE HEADER (for subpages)
   ============================================ */
.page-header {
    padding: 160px 24px 60px;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 0 24px 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.contact-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(33, 115, 70, 0.1) 0%, var(--bg-surface) 50%);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.contact-link {
    color: var(--accent-bright);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--accent-primary);
}

.contact-info-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 40px;
}

.contact-info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item a {
    color: var(--accent-bright);
    text-decoration: none;
}

.cta-box {
    background: var(--gradient-glow);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ============================================
   LEGAL PAGES (Terms, Privacy)
   ============================================ */
.legal-section {
    padding: 0 24px 120px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 32px;
}

.legal-card.warning {
    border-color: rgba(255, 95, 86, 0.3);
}

.legal-card.highlight {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(33, 115, 70, 0.05) 0%, var(--bg-surface) 50%);
}

.legal-card h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card ul {
    list-style: none;
    margin: 16px 0;
}

.legal-card ul li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.legal-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.legal-card a {
    color: var(--accent-bright);
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

.alert-box {
    display: flex;
    gap: 16px;
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.3);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 16px;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-box strong {
    color: #ff9999;
}

.info-box {
    background: var(--gradient-glow);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 16px;
}

.info-box h4 {
    color: var(--accent-bright);
    margin-bottom: 12px;
}

.info-box ul {
    margin: 0;
}

/* Responsive for subpages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 140px 24px 40px;
    }
}

/* ============================================
   DEMO PAGE
   ============================================ */
.demo-section {
    padding: 0 24px 80px;
}

.demo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.demo-video-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, #0a0a0f 0%, #151520 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.play-button svg {
    margin-left: 4px;
}

.video-placeholder p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.video-duration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-main);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.video-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.video-list {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    height: 100%;
}

.video-list h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.video-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: 4px;
}

.video-item:hover,
.video-item.active {
    background: rgba(255, 255, 255, 0.05);
}

.video-item.active {
    border-left: 2px solid var(--accent-bright);
}

.video-thumb {
    width: 32px;
    height: 24px;
    background: var(--bg-surface-elevated);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-icon {
    color: var(--accent-bright);
    font-size: 0.6rem;
}

.video-meta {
    flex: 1;
}

.video-title {
    display: block;
    font-size: 0.8rem;
    color: var(--text-main);
    margin-bottom: 2px;
    line-height: 1.3;
}

.video-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Scan Results Section */
.scan-section {
    padding: 80px 24px;
    background: var(--bg-surface);
}

.scan-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.scan-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.scan-card.main {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(33, 115, 70, 0.1) 0%, var(--bg-surface-elevated) 50%);
}

.scan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.scan-badge {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
}

.scan-badge.fud {
    background: var(--gradient-primary);
    color: white;
}

.scan-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.scan-result {
    text-align: center;
    margin-bottom: 32px;
}

.result-circle {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.result-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-bright);
    line-height: 1;
}

.result-total {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scan-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-primary);
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.detail-value {
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.av-list {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.av-list h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.av-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.av-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.av-item.clean .av-status {
    color: var(--accent-bright);
}

.av-status {
    font-size: 1rem;
}

.av-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.av-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 16px;
}

.scan-disclaimer {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    background: rgba(255, 200, 50, 0.1);
    border: 1px solid rgba(255, 200, 50, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.scan-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Demo page responsive */
@media (max-width: 900px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }

    .scan-grid {
        grid-template-columns: 1fr;
    }

    .av-grid {
        grid-template-columns: 1fr;
    }
}