/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
    /* Brand Colors - Cyber Sunset Palette */
    --shadow-black: #0F172A;      /* Dark Slate - sfondo principale */
    --shadow-navy: #D93D0A;       /* Dark Orange - complementare */
    --shadow-purple: #8B5CF6;     /* Warm Purple - accent */

    /* Accent Colors */
    --neon-orange: #FE4C10;       /* Primary Orange */
    --cyber-blue: #0EA5E9;        /* Cyber Blue - secondario */
    --alert-red: #EF4444;         /* Modern Red */

    /* Severity Colors */
    --critical: #d32f2f;
    --high: #f57c00;
    --medium: #fbc02d;
    --low: #388e3c;

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Fonts */
    --font-sans: 'Funnel Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 20px rgba(254, 76, 16, 0.3);      /* Orange glow */
    --shadow-cyber: 0 0 20px rgba(14, 165, 233, 0.3);    /* Blue glow */
}

/* Light Theme Variables */
body.light-theme {
    /* Background Colors */
    --shadow-black: #ffffff;
    --shadow-navy: #f8f9fa;
    --shadow-purple: #e3f2fd;

    /* Text Colors */
    --gray-100: #1f2937;
    --gray-200: #374151;
    --gray-300: #4b5563;
    --gray-400: #6b7280;
    --gray-500: #9ca3af;
    --gray-600: #d1d5db;
    --gray-700: #e5e7eb;
    --gray-800: #f3f4f6;
    --gray-900: #f9fafb;

    /* Adjust accents for better visibility on light bg */
    --neon-orange: #D93D0A;        /* Darker orange for light theme */
    --cyber-blue: #0284C7;         /* Darker blue for light theme */
    --shadow-navy: #0F766E;        /* Darker teal for light theme */

    /* Shadows for light theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    --shadow-neon: 0 0 20px rgba(217, 61, 10, 0.2);
    --shadow-cyber: 0 0 20px rgba(2, 132, 199, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400; /* Regular as default */
    background: var(--shadow-black);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ===================================
   Typography
   =================================== */

h1 {
    font-weight: 800; /* Extrabold for main hero titles */
    line-height: 1.1;
}

h2 {
    font-weight: 700; /* Bold for section titles */
    line-height: 1.2;
}

h3 {
    font-weight: 600; /* Semibold for subsections */
    line-height: 1.3;
}

h4, h5, h6 {
    font-weight: 500; /* Medium for smaller headings */
    line-height: 1.4;
}

p, .subtitle {
    font-weight: 300; /* Light for body text and subtitles */
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Container & Layout
   =================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(254, 76, 16, 0.1);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: var(--spacing-xl);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neon-orange);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--neon-orange);
}

.logo-full {
    height: 24px;
    width: auto;
    color: var(--neon-orange);
}

.logo-text {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--gray-300);
    font-size: 0.9375rem;
    font-weight: 500; /* Medium for navigation */
    white-space: nowrap;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-orange);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--neon-orange);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem;
    background: rgba(254, 76, 16, 0.05);
    border: 1px solid rgba(254, 76, 16, 0.2);
    border-radius: var(--radius-md);
}

.lang-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-400);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--neon-orange);
    background: rgba(254, 76, 16, 0.1);
}

.lang-btn.active {
    color: var(--shadow-black);
    background: var(--neon-orange);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    background: rgba(254, 76, 16, 0.05);
    border: 1px solid rgba(254, 76, 16, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}

.theme-toggle:hover {
    background: rgba(254, 76, 16, 0.1);
    border-color: rgba(254, 76, 16, 0.4);
}

.theme-toggle svg {
    color: var(--neon-orange);
    transition: var(--transition-base);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

/* Default: Dark theme, show sun icon */
.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

/* Light theme: Show moon icon */
body.light-theme .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

body.light-theme .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--neon-orange);
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        padding: var(--spacing-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        border-bottom: 1px solid rgba(254, 76, 16, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: var(--spacing-md) 0;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    color: var(--shadow-black);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(254, 76, 16, 0.5);
}

.btn-secondary {
    background: rgba(254, 76, 16, 0.1);
    color: var(--neon-orange);
    border: 1px solid var(--neon-orange);
}

.btn-secondary:hover {
    background: rgba(254, 76, 16, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Removed button click animation */

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-4xl) 0;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(254, 76, 16, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 76, 16, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.scan-lines {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(254, 76, 16, 0.05) 50%,
        transparent 100%
    );
    animation: scanLineMove 8s ease-in-out infinite;
}

@keyframes scanLineMove {
    0%, 100% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(100%);
    }
}

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

.hero-text {
    z-index: 1;
}
/* Hero badges container - horizontal layout */
.hero-badges {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: rgba(254, 76, 16, 0.1);
    border: 1px solid rgba(254, 76, 16, 0.3);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neon-orange);
    margin-bottom: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300; /* Light for subtitles */
    color: var(--gray-300);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-top: var(--spacing-xs);
}

/* Terminal Visual */
.hero-visual {
    z-index: 1;
}

.terminal-window {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(254, 76, 16, 0.2);
}

.terminal-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red {
    background: var(--critical);
}

.terminal-btn.yellow {
    background: var(--medium);
}

.terminal-btn.green {
    background: var(--low);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-400);
}

.terminal-body {
    padding: var(--spacing-xl);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    min-height: 300px;
}

.terminal-line {
    margin-bottom: var(--spacing-lg);
}

.prompt {
    color: var(--neon-orange);
    margin-right: var(--spacing-sm);
}

.command {
    color: var(--cyber-blue);
}

.terminal-output {
    margin-top: var(--spacing-lg);
}

.output-line {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.output-line:nth-child(1) { animation-delay: 0.5s; }
.output-line:nth-child(2) { animation-delay: 1s; }
.output-line:nth-child(3) { animation-delay: 1.5s; }
.output-line:nth-child(4) { animation-delay: 2s; }
.output-line:nth-child(5) { animation-delay: 2.5s; }
.output-line:nth-child(6) { animation-delay: 3s; }

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

.success {
    color: var(--low);
    margin-right: var(--spacing-sm);
}

.warning {
    color: var(--medium);
    margin-right: var(--spacing-sm);
}

.error {
    color: var(--critical);
    margin-right: var(--spacing-sm);
}

.info {
    color: var(--cyber-blue);
    margin-right: var(--spacing-sm);
}

.critical {
    color: var(--critical);
}

.typing {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--neon-orange);
    animation: cursorBlink 1s step-end infinite;
    margin-top: var(--spacing-md);
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(254, 76, 16, 0.1);
}

.dashboard-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-100);
}

.dashboard-btn {
    padding: 0.5rem 1rem;
    background: rgba(254, 76, 16, 0.1);
    border: 1px solid rgba(254, 76, 16, 0.3);
    border-radius: var(--radius-md);
    color: var(--neon-orange);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.dashboard-btn:hover {
    background: rgba(254, 76, 16, 0.2);
}

.dashboard-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Asset Card */
.asset-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(254, 76, 16, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
    animation: fadeInUp 0.5s ease forwards;
}

.asset-card:hover {
    border-color: rgba(254, 76, 16, 0.3);
    transform: translateY(-2px);
}

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

.asset-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-100);
    font-family: var(--font-mono);
}

.asset-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.asset-badge.staging {
    background: rgba(251, 192, 45, 0.2);
    color: var(--medium);
    border: 1px solid var(--medium);
}

.asset-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.asset-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.asset-info-item .label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.asset-info-item .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-200);
}

.asset-info-item .critical-text {
    color: var(--critical);
}

.asset-footer {
    display: flex;
    gap: var(--spacing-md);
}

.asset-action-btn {
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: var(--radius-md);
    color: var(--cyber-blue);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.asset-action-btn:hover {
    background: rgba(14, 165, 233, 0.2);
}

/* Vulnerability Card Mockup */
.vuln-card-mock {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    animation: fadeInUp 0.8s ease forwards;
}

.vuln-header-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.vuln-severity {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vuln-severity.critical {
    background: var(--critical);
    color: white;
}

.vuln-cvss {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
    font-family: var(--font-mono);
}

.vuln-title-mock {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-100);
    margin-bottom: var(--spacing-sm);
}

.vuln-cve {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-family: var(--font-mono);
    margin-bottom: var(--spacing-lg);
}

.vuln-ai-score {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(211, 47, 47, 0.2);
}

.ai-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-orange);
    font-family: var(--font-mono);
}

.ai-score-value span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-badges {
        gap: var(--spacing-sm);
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-cta {
        gap: var(--spacing-md);
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: var(--spacing-xl);
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }

    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-lg span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stat-value {
        font-size: 1.75rem;
    }

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

    .badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.65rem;
    }

    .launch-badge {
        padding: 0.35rem 0.75rem;
    }

    .launch-badge span {
        font-size: 0.7rem;
    }
}

@media (max-width: 375px) {
    .btn-lg {
        padding: 0.65rem 0.875rem;
        font-size: 0.85rem;
        gap: var(--spacing-xs);
    }

    .btn-lg svg {
        width: 16px;
        height: 16px;
    }

    .hero-cta {
        gap: var(--spacing-xs);
    }
}

/* ===================================
   Stats Banner
   =================================== */

.stats-banner {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    border-color: rgba(254, 76, 16, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(254, 76, 16, 0.1),
                0 0 0 1px rgba(254, 76, 16, 0.1) inset;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-orange);
    margin-bottom: var(--spacing-xs);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--gray-400);
}

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

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

/* ===================================
   Section Styling
   =================================== */

section {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-4xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: 300; /* Light for subtitles */
    color: var(--gray-300);
    line-height: 1.7;
}

/* ===================================
   Features Section
   =================================== */

.features {
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.feature-card {
    position: relative;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    border-color: rgba(254, 76, 16, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(254, 76, 16, 0.15),
                0 0 0 1px rgba(254, 76, 16, 0.1) inset;
}

.feature-card.highlighted {
    border-color: rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(254, 76, 16, 0.1) 100%);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.feature-badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-xl);
    padding: 0.25rem 0.75rem;
    background: var(--shadow-purple);
    color: white;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-lg);
    color: var(--neon-orange);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-100);
}

.feature-description {
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-400);
    position: relative;
    font-size: 0.9375rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyber-blue);
}

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

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

    .feature-card {
        padding: var(--spacing-lg);
    }

    .feature-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: var(--spacing-md);
    }

    .feature-title {
        font-size: 1.125rem;
    }

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

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
    background: radial-gradient(circle at bottom, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.steps {
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-4xl);
    position: relative;
}

/* Removed step connecting lines - they weren't displaying correctly */

.step-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content {
    z-index: 1;
}

.step-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.step-description {
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.step-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(254, 76, 16, 0.1);
    border: 1px solid rgba(254, 76, 16, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--neon-orange);
}

.step-visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.step-reverse {
    grid-template-columns: 80px 1fr 1fr;
}

.step-reverse .step-visual {
    grid-column: 2;
    grid-row: 1;
}

.step-reverse .step-content {
    grid-column: 3;
    grid-row: 1;
}

/* Step Visuals */
.code-snippet {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    width: 100%;
}

.code-line {
    margin-bottom: var(--spacing-sm);
}

.code-comment {
    color: var(--gray-500);
}

.code-keyword {
    color: var(--cyber-blue);
}

.scan-animation {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.scan-target {
    position: relative;
    width: 100px;
    height: 100px;
}

.scan-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--neon-orange);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.scan-ring {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 2px solid var(--cyber-blue);
}

.scan-dot {
    position: absolute;
    inset: 45px;
    border-radius: 50%;
    background: var(--neon-orange);
}

.scan-results {
    width: 100%;
}

.scan-item {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.vulnerability-card {
    width: 100%;
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
}

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

.vuln-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vuln-badge.critical {
    background: var(--critical);
    color: white;
}

.vuln-score {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-400);
}

.vuln-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--neon-orange);
    margin-bottom: var(--spacing-sm);
}

.vuln-description {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.vuln-footer {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vuln-ai {
    font-size: 0.875rem;
    color: var(--cyber-blue);
}

.remediation-list {
    width: 100%;
}

.remediation-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.remediation-item.done {
    color: var(--gray-500);
    text-decoration: line-through;
}

.remediation-item.done .check {
    color: var(--low);
}

.remediation-item.active .check {
    color: var(--cyber-blue);
}

@media (max-width: 768px) {
    .step {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .step-reverse {
        grid-template-columns: 1fr;
    }

    .step-reverse .step-visual {
        grid-column: 1;
        grid-row: 3;
    }

    .step-reverse .step-content {
        grid-column: 1;
        grid-row: 2;
    }

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

/* ===================================
   Pricing Section
   =================================== */

.pricing {
    background: radial-gradient(circle at top, rgba(254, 76, 16, 0.1) 0%, transparent 50%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 900px;
    margin: 0 auto var(--spacing-4xl);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 76, 16, 0.3);
    box-shadow: var(--shadow-neon);
}

.pricing-card-featured {
    background: linear-gradient(135deg, rgba(254, 76, 16, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--neon-orange);
    box-shadow: 0 0 40px rgba(254, 76, 16, 0.2);
}

.pricing-card-featured:hover {
    box-shadow: 0 0 50px rgba(254, 76, 16, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-xl);
    background: linear-gradient(135deg, var(--neon-orange), #ff6b35);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(254, 76, 16, 0.3);
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    margin-bottom: var(--spacing-lg);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-orange), var(--shadow-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: var(--spacing-sm);
}

.pricing-description {
    color: var(--gray-300);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    min-height: 3rem;
}

.pricing-features {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.features-list li svg {
    flex-shrink: 0;
    stroke: var(--neon-orange);
}

.features-list li.feature-disabled {
    opacity: 0.5;
}

.features-list li.feature-disabled svg {
    stroke: var(--gray-500);
}

/* Pricing FAQ */
.pricing-faq {
    max-width: 900px;
    margin: var(--spacing-4xl) auto 0;
    padding-top: var(--spacing-4xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(254, 76, 16, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-100);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.faq-answer {
    color: var(--gray-300);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ===================================
   Tech Stack Section
   =================================== */

/* Launch Badge */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 0;
    animation: pulse 2s ease-in-out infinite;
}

.launch-badge svg {
    color: var(--cyber-blue);
}

.launch-badge span {
    color: var(--cyber-blue);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }
}

/* Platform Benefits Section */
.platform-benefits {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
}

.benefit-card {
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    border-color: rgba(254, 76, 16, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(254, 76, 16, 0.15),
                0 0 0 1px rgba(254, 76, 16, 0.1) inset;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(254, 76, 16, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--neon-orange);
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--gray-100);
}

.benefit-description {
    color: var(--gray-300);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Security Certifications */
.security-certifications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid rgba(254, 76, 16, 0.1);
}

.cert-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-lg);
}

.cert-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    color: var(--cyber-blue);
}

.cert-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--cyber-blue);
}

.cert-card p {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.5;
}

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

    .security-certifications {
        grid-template-columns: 1fr;
    }
}

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

/* ===================================
   Documentation Section
   =================================== */

.documentation {
    background: radial-gradient(circle at top, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.doc-card {
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.doc-card:hover {
    border-color: rgba(254, 76, 16, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(254, 76, 16, 0.15),
                0 0 0 1px rgba(254, 76, 16, 0.1) inset;
}

.doc-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.doc-card .doc-title,
.doc-card h3 {
    font-size: 1.125rem !important;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.doc-description {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.doc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-time {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.doc-arrow {
    color: var(--neon-orange);
}

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

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

/* ===================================
   CTA Section
   =================================== */

.cta {
    position: relative;
    padding: var(--spacing-4xl) 0;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-3xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

.cta-features {
    display: flex;
    gap: var(--spacing-2xl);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.cta-feature svg {
    color: var(--neon-orange);
}

@media (max-width: 640px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(254, 76, 16, 0.1);
    padding: var(--spacing-4xl) 0 var(--spacing-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-4xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-full {
    height: 30px;
}

.footer-tagline {
    font-family: var(--font-mono);
    color: var(--neon-orange);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-contact {
    margin-top: var(--spacing-md);
}

.footer-email {
    color: var(--neon-orange);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-email:hover {
    color: var(--neon-cyan);
    text-decoration: underline;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    color: var(--gray-300);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--neon-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: var(--spacing-md);
}

.badge-small {
    padding: 0.25rem 0.75rem;
    background: rgba(254, 76, 16, 0.1);
    border: 1px solid rgba(254, 76, 16, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--neon-orange);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

/* ===================================
   Back to Top Button
   =================================== */

.back-to-top {
    position: fixed;
    bottom: var(--spacing-2xl);
    right: var(--spacing-2xl);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    color: var(--shadow-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(254, 76, 16, 0.5);
}

/* ===================================
   Utility Classes
   =================================== */

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

.text-gradient {
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Animations
   =================================== */

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

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-neon);
    }
    50% {
        box-shadow: 0 0 40px rgba(254, 76, 16, 0.6);
    }
}

/* ===================================
   Documentation Pages Styles
   =================================== */

/* Breadcrumb */
.breadcrumb-section {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: var(--shadow-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-base);
}

.breadcrumb-item:hover {
    color: var(--neon-orange);
}

.breadcrumb-item.active {
    color: var(--neon-orange);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Documentation Header */
.doc-header {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--shadow-black) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.doc-header-content {
    max-width: 800px;
}

.doc-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.doc-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Documentation Content */
.doc-content {
    padding: var(--spacing-3xl) 0;
    background: var(--shadow-black);
}

.doc-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* Main Content */
.doc-main {
    max-width: 800px;
}

.doc-section {
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.section-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.step-header .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-orange) 0%, rgba(254, 76, 16, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* Lists */
.step-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin: var(--spacing-lg) 0;
}

.step-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.step-list li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    color: var(--neon-orange);
    font-weight: 600;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.checklist svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--neon-orange);
}

.support-list {
    list-style: none;
    padding-left: 0;
}

.support-list li {
    padding: var(--spacing-sm) 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.support-list li:last-child {
    border-bottom: none;
}

/* Info Boxes */
.info-box {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(14, 165, 233, 0.1);
    border-left: 4px solid var(--cyber-blue);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.info-box svg {
    flex-shrink: 0;
    color: var(--cyber-blue);
}

.tip-box {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(254, 76, 16, 0.1);
    border-left: 4px solid var(--neon-orange);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.tip-box svg {
    flex-shrink: 0;
    color: var(--neon-orange);
    margin-top: 2px;
}

.support-box {
    padding: var(--spacing-2xl);
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    margin: var(--spacing-2xl) 0;
}

/* Next Steps Grid */
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.next-step-card {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.next-step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-orange);
    transform: translateY(-4px);
}

.next-step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.next-step-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Accordion */
.accordion {
    margin-top: var(--spacing-lg);
}

.accordion-item {
    margin-bottom: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: var(--spacing-lg);
    margin: 0;
    cursor: pointer;
}

.accordion-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Sidebar */
.doc-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-sticky {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.sidebar-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.doc-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.doc-nav-link {
    padding: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.doc-nav-link:hover {
    color: var(--neon-orange);
    background: rgba(254, 76, 16, 0.1);
}

.doc-nav-link.active {
    color: var(--neon-orange);
    background: rgba(254, 76, 16, 0.1);
    border-left: 2px solid var(--neon-orange);
    padding-left: calc(var(--spacing-sm) + 2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .doc-layout {
        grid-template-columns: 1fr;
    }

    .doc-sidebar {
        display: none;
    }

    .doc-title {
        font-size: 2rem;
    }

    .doc-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   Waitlist Modal Styles
   =================================== */

/* Modal Overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

/* Modal Content */
.modal-content {
    position: relative;
    background: var(--shadow-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-3xl);
    z-index: 10000;
    animation: slideUpFadeIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(254, 76, 16, 0.1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-orange);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    margin-bottom: var(--spacing-2xl);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--cyber-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.modal-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-input,
.form-select {
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition-base);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--neon-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(254, 76, 16, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input.error {
    border-color: #ef4444;
}

.form-error {
    font-size: 0.875rem;
    color: #ef4444;
    display: none;
}

.form-error.visible {
    display: block;
}

/* Checkbox */
.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.form-checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--neon-orange);
}

.form-checkbox-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    cursor: pointer;
}

/* Form Actions */
.form-actions {
    margin-top: var(--spacing-md);
}

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

.btn-block.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-block.loading svg {
    animation: spin 1s linear infinite;
}

/* Form Messages */
.form-message {
    display: none;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
}

.form-message.visible {
    display: flex;
}

.form-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message strong {
    display: block;
    margin-bottom: var(--spacing-xs);
}

.form-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Modal Footer */
.modal-footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal {
        padding: var(--spacing-md);
    }

    .modal-content {
        padding: var(--spacing-xl);
        max-height: 95vh;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 1rem;
    }
}

