/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Security/Identity Theme - Black & Red */
    --primary-color: #dc2626;
    --primary-dark: #991b1b;
    --primary-light: #ef4444;
    --secondary-color: #1f2937;
    --accent-color: #dc2626;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --background: #000000;
    --background-alt: #111827;
    --background-dark: #000000;
    --border-color: #374151;
    --border-light: #1f2937;
    
    /* Security Gradients */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-secondary: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --gradient-accent: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    padding: var(--space-4) 0;
    transition: var(--transition-normal);
    will-change: transform;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.logo {
    font-size: var(--font-size-2xl);
    display: flex;
    align-items: center;
}

.logo svg {
    color: var(--primary-color);
    fill: var(--primary-color);
    vertical-align: middle;
    transform: translateY(-1px);
}

.brand-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: var(--transition-fast);
}

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

.nav-links a:hover::before {
    width: 100%;
}

.cta-link {
    background: var(--gradient-primary);
    color: white !important;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.cta-link:hover {
    box-shadow: var(--shadow-md);
}



/* Burger Menu */
.burger-menu {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: var(--text-primary);
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .burger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: auto;
        min-width: 200px;
        max-width: 33.33vw;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-4);
        margin: 0;
        align-items: flex-end;
        border-top: 1px solid var(--border-color);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6);
        z-index: 999;
        list-style: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: auto;
        text-align: right;
        margin: 0;
        padding: 0;
    }
    
    .nav-links a {
        display: inline-block;
        padding: var(--space-2) 10px var(--space-2) 0;
        color: var(--text-primary);
        text-decoration: none;
        text-align: right;
        font-weight: 500;
        font-size: var(--font-size-base);
        transition: var(--transition-fast);
        position: relative;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        top: calc(100% - 6px);
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: var(--transition-fast);
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }
    
    .nav-links a:hover {
        background: var(--surface-hover);
    }
    
    .nav-links .cta-link {
        background: var(--accent-gradient);
        color: var(--text-inverse);
        font-weight: 600;
    }
    
    .nav-links .cta-link:hover {
        background: var(--accent-gradient-hover);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--background);
    overflow: hidden;
    padding: var(--space-12) 0 var(--space-4) 0;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    min-height: calc(60vh - 80px);
    align-items: center;
}

.hero-left {
    max-width: 600px;
    margin-right: var(--space-12);
    text-align: left;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: var(--space-12);
    min-height: 100%;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-16) 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
        min-height: auto;
    }
    
    .hero-left {
        max-width: none;
        margin: 0;
    }
    
    .hero-right {
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--space-8) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-2xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.badge-icon {
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
}

.badge-icon svg {
    color: var(--primary-color);
    stroke: var(--primary-color);
    vertical-align: middle;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: var(--space-2);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    width: 100%;
    max-width: 500px;
}

.browser-mockup {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.browser-header {
    background: #f8f9fa;
    padding: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.browser-controls {
    display: flex;
    gap: var(--space-2);
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f57; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #28ca42; }

.address-bar {
    flex: 1;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
}

.lock-icon, .dogtag-icon {
    opacity: 0.7;
}

.lock-icon svg {
    color: #28a745;
    stroke: #28a745;
}

.url {
    color: #000000;
    font-weight: 500;
}

.browser-content {
    padding: var(--space-8);
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-prompt h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2);
}

.auth-prompt p {
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.auth-prompt {
    position: relative;
}

.auth-icon {
    font-size: var(--font-size-4xl);
    position: absolute;
    top: calc(100% - 30px);
    left: 50%;
    transform: translate(calc(-50% + 5px), -25%);
    z-index: 10;
    margin: 0;
    pointer-events: none;
}

.auth-animation {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

.ripple:nth-child(2) { animation-delay: 0.7s; }
.ripple:nth-child(3) { animation-delay: 1.4s; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn.large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.btn-icon {
    font-size: var(--font-size-lg);
}

.btn-icon svg {
    color: currentColor;
    stroke: currentColor;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--space-12) 0;
    background: var(--background-alt);
    color: var(--text-primary);
    min-height: 600px;
    display: block;
    visibility: visible;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--background);
    border: 2px solid var(--border-color);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    color: var(--text-primary);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
    color: var(--primary-color);
}

.feature-icon svg {
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.demo-icon svg {
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.stat-icon svg {
    color: white;
    stroke: white;
}

.feature-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

/* Technology Section */
.technology {
    padding: var(--space-12) 0;
    background: var(--background-dark);
    color: white;
}

.technology .section-header h2 {
    color: white;
}

.technology .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.tech-category {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    color: white;
}

.tech-category:hover {
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3), var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.tech-category h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.tech-item strong {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-1);
}

.tech-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.architecture-diagram {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.architecture-diagram h3 {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-8);
}

.diagram-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.arch-layer {
    background: #000000;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-color);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.layer-title {
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
    font-size: var(--font-size-lg);
}

.arch-components {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    max-width: 100%;
}

.component {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.arch-arrow {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    font-weight: bold;
}

/* Demo Section */
.demo {
    padding: var(--space-12) 0;
    background: var(--background-alt);
    color: var(--text-primary);
    min-height: 800px;
    display: block;
    visibility: visible;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.demo-card {
    background: var(--background);
    border: 2px solid var(--border-color);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    text-align: center;
    color: var(--text-primary);
}

.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.demo-card.primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.demo-card.primary .demo-features .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.demo-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
}

.demo-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.demo-card p {
    margin-bottom: var(--space-6);
    line-height: 1.7;
    opacity: 0.9;
}

.demo-features {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-2xl);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.demo-flow {
    background: var(--background);
    border: 2px solid var(--border-color);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.demo-flow h3 {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-4);
}

.step-content h4 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

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

.flow-arrow {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    font-weight: bold;
}

/* Download Section */
.download {
    padding: var(--space-12) 0;
    background: var(--background);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.download-info h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.download-info > p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.requirements {
    margin-bottom: var(--space-8);
}

.requirements h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

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

.requirements li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    padding-left: var(--space-4);
}

.requirements li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-left: calc(-1 * var(--space-4));
}

.download-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.stat-card {
    background: #1a0505;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateX(4px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3), var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon {
    font-size: var(--font-size-3xl);
}

.stat-info {
    text-align: left;
}

.stat-card .stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-1);
}

.stat-card .stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--space-12);
    margin-bottom: var(--space-8);
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.footer-brand .logo {
    font-size: var(--font-size-2xl);
    display: flex;
    align-items: center;
}

.footer-brand .logo svg {
    color: white;
    fill: white;
    vertical-align: middle;
}

.footer-brand .brand-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.footer-brand a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-brand a:hover {
    text-decoration: underline;
}

.footer-brand a[href="https://fido3.ai"] {
    color: #ffffff;
}

.footer-brand a[href="https://fido3.ai"]:hover {
    color: #ffffff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.link-group h4 {
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: white;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--space-2);
    transition: var(--transition-fast);
}

.link-group a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .flow-steps {
        flex-direction: column;
        gap: var(--space-8);
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .section-header h2 {
        font-size: var(--font-size-3xl);
    }
    
    .features-grid,
    .tech-grid,
    .demo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .nav-container {
        padding: 0 var(--space-4);
    }
    
    .hero-content {
        padding: var(--space-16) var(--space-4);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-actions {
        flex-direction: column;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Ensure content is visible by default (fallback for JS animations) */
.feature-card,
.tech-category,
.demo-card,
.stat-card,
.section-header {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Only apply animation hiding if JS is enabled and animations are supported */
.js-animations-enabled .feature-card:not(.fade-in-up),
.js-animations-enabled .tech-category:not(.fade-in-up),
.js-animations-enabled .demo-card:not(.fade-in-up),
.js-animations-enabled .stat-card:not(.fade-in-up),
.js-animations-enabled .section-header:not(.fade-in-up) {
    opacity: 0;
    transform: translateY(30px);
}

/* Smooth scrolling for anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #666666;
    }
}

/* Debug styles removed - sections now working properly */

/* Browser Showcase Section */
.browser-showcase {
    padding: var(--space-12) 0 var(--space-20) 0;
    margin-top: calc(-var(--space-8) - 85px);
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.browser-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.showcase-content {
    position: relative;
    z-index: 2;
}

.screenshot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
}

.browser-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 
                0 10px 20px -5px rgba(220, 38, 38, 0.2);
    transition: var(--transition-slow);
    border: 2px solid var(--border-color);
}

.browser-screenshot:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.9), 
                0 15px 30px -5px rgba(220, 38, 38, 0.3);
}

/* Responsive adjustments for browser showcase */
@media (max-width: 768px) {
    .browser-showcase {
        padding: var(--space-12) 0 var(--space-16) 0;
        margin-top: -25px;
    }
    
    .browser-showcase .section-header h2 {
        font-size: var(--font-size-3xl);
    }
    
    .browser-showcase .section-header p {
        font-size: var(--font-size-lg);
    }
    
    .screenshot-container {
        padding: 0 var(--space-2);
    }
} 