/* ========================================
   PulseAssist Landing Page - Style System
   ======================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-glass: rgba(22, 22, 31, 0.7);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #6b6b80;

    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --accent-yellow: #eab308;
    --accent-violet: #7c3aed;

    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(6, 182, 212, 0.05) 100%);
    --gradient-card: linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);

    --border-color: rgba(139, 92, 246, 0.12);
    --border-color-hover: rgba(139, 92, 246, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* --- Gradient Text --- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.12);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.1);
    top: 20%;
    right: -5%;
    animation-delay: 2.5s;
}

.hero-glow-3 {
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.08);
    bottom: -10%;
    left: 30%;
    animation-delay: 5s;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--accent-purple-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* --- Section Common --- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-purple-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.063rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Features Section --- */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.feature-icon-blue { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.feature-icon-green { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.feature-icon-orange { background: rgba(245, 158, 11, 0.12); color: var(--accent-orange); }
.feature-icon-pink { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }
.feature-icon-yellow { background: rgba(234, 179, 8, 0.12); color: var(--accent-yellow); }
.feature-icon-violet { background: rgba(124, 58, 237, 0.12); color: var(--accent-violet); }

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-purple-light);
    font-family: var(--font-mono);
}

/* --- Screenshots Section --- */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.screenshot-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all var(--transition-normal);
}

.screenshot-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-color-hover);
}

.screenshot-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.screenshot-card img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

.screenshot-label {
    padding: 16px 20px;
    position: relative;
    z-index: 2;
}

.screenshot-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.screenshot-label p {
    font-size: 0.813rem;
    color: var(--text-secondary);
}

/* --- How It Works --- */
.how-it-works {
    background: var(--bg-secondary);
}

.architecture-flow {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.flow-step {
    width: 100%;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-normal);
}

.flow-step:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
}

.flow-number {
    position: absolute;
    top: -14px;
    left: 24px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-mono);
}

.flow-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.flow-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.flow-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    color: var(--text-muted);
}

.flow-step-split {
    padding: 32px;
}

.flow-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.flow-branch {
    padding: 20px;
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.flow-branch .flow-icon {
    margin: 0 auto 12px;
}

.flow-icon-online { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.flow-icon-offline { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); }

.flow-branch h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.flow-branch p {
    font-size: 0.813rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.branch-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.688rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.branch-tag.online { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.2); }
.branch-tag.offline { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); border: 1px solid rgba(245, 158, 11, 0.2); }

/* --- AI Models --- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.model-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.model-card:hover::after {
    opacity: 1;
}

.model-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.model-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-icon-primary { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.model-icon-vision { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }
.model-icon-audio { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }

.model-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.688rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.model-badge-primary { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple-light); border: 1px solid rgba(139, 92, 246, 0.2); }
.model-badge-vision { background: rgba(236, 72, 153, 0.1); color: var(--accent-pink); border: 1px solid rgba(236, 72, 153, 0.2); }
.model-badge-audio { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.2); }

.model-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-mono);
}

.model-role {
    font-size: 0.875rem;
    color: var(--accent-purple-light);
    font-weight: 600;
    margin-bottom: 12px;
}

.model-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Tech Stack --- */
.tech-stack {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.tech-item:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tech-icon-wrapper {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.tech-flutter { background: rgba(2, 86, 155, 0.15); color: #02569B; }
.tech-dart { background: rgba(1, 117, 194, 0.15); color: #0175C2; }
.tech-ai { background: rgba(245, 158, 11, 0.12); }
.tech-db { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.tech-provider { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.tech-di { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.tech-test { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }

.tech-item span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* --- Local Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

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

.service-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.813rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Privacy Section --- */
.privacy {
    background: var(--bg-secondary);
}

.privacy-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.privacy-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.privacy-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.privacy-content > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.privacy-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.privacy-feature svg {
    color: var(--accent-green);
    min-width: 20px;
}

/* --- CTA Section --- */
.cta {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.063rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-license {
    font-size: 0.813rem !important;
    color: var(--text-muted) !important;
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

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

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

.footer-divider {
    color: var(--text-muted);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-copyright a {
    color: var(--accent-purple-light);
    transition: color var(--transition-fast);
}

.footer-copyright a:hover {
    color: var(--accent-purple);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .screenshots-grid .screenshot-card:last-child {
        grid-column: span 2;
        max-width: 480px;
        margin: 0 auto;
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .models-grid .model-card:last-child {
        grid-column: span 2;
        max-width: 480px;
        margin: 0 auto;
    }

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

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

    .privacy-card {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        padding: calc(var(--nav-height) + 40px) 24px 24px;
        gap: 8px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .nav-actions {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: calc(var(--nav-height) + 40px) 24px 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 2.25rem;
        letter-spacing: -0.02em;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

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

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    .stat-divider {
        display: none;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 100%;
        margin: 0;
    }

    .screenshots-grid .screenshot-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .flow-branches {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .flow-branch {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 16px;
    }

    .flow-branch .flow-icon {
        margin: 0;
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .flow-branch p {
        margin-bottom: 0;
    }

    .branch-tag {
        display: none;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .models-grid .model-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .privacy-card {
        padding: 40px 24px;
        text-align: center;
    }

    .privacy-content .section-title {
        text-align: center;
    }

    .privacy-features {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 320px;
        margin: 0 auto;
    }
}

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

    .section-header {
        margin-bottom: 40px;
    }

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

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

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .flow-step {
        padding: 24px;
    }

    .flow-content {
        gap: 12px;
    }

    .flow-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
}
