/* ============================================
   Anonymixer Landing Page Styles
   Light Theme - Official Brand Colors
   White background + Navy blue accents
   ============================================ */

   :root {
    --color-bg: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-card: #ffffff;
    --color-primary: #1e3a5f;
    --color-primary-dark: #0f2744;
    --color-primary-light: #2d5a8a;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --color-success: #10b981;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-border-dark: #cbd5e1;
    
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.35);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

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

.logo-circle {
    animation: rotate 20s linear infinite;
    transform-origin: center;
}

.logo-cross {
    animation: pulse 2s ease-in-out infinite;
}

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

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

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

.hero-grid {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

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

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.mixing-animation {
    width: 100%;
    height: 100%;
}

.orbit {
    fill: none;
    transform-origin: center;
}

.orbit-1 { animation: rotate 15s linear infinite; }
.orbit-2 { animation: rotate 10s linear infinite reverse; }
.orbit-3 { animation: rotate 7s linear infinite; }

.particle {
    animation: float 3s ease-in-out infinite;
}

.particle-1 { animation-delay: 0s; }
.particle-2 { animation-delay: 0.5s; }
.particle-3 { animation-delay: 1s; }
.particle-4 { animation-delay: 1.5s; }

.core {
    animation: pulse 2s ease-in-out infinite;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-secondary);
}

.section-dark {
    background: var(--color-primary-dark);
    color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-light);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(30, 58, 95, 0.08);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Process Section */
.process-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 220px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.process-step.featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03), rgba(59, 130, 246, 0.03));
}

.step-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

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

.process-arrow {
    width: 60px;
    color: var(--color-border-dark);
}

/* Technology Section */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-content h2 {
    margin-bottom: 20px;
}

.tech-content > p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-feature {
    display: flex;
    gap: 16px;
}

.feature-marker {
    width: 4px;
    background: linear-gradient(180deg, var(--color-accent-light), var(--color-accent));
    border-radius: 2px;
    flex-shrink: 0;
}

.tech-feature h4 {
    margin-bottom: 4px;
    color: #ffffff;
}

.tech-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.network-svg {
    width: 100%;
    max-width: 400px;
}

.node {
    animation: float 3s ease-in-out infinite;
}

.node:nth-child(1) { animation-delay: 0s; }
.node:nth-child(2) { animation-delay: 0.3s; }
.node:nth-child(3) { animation-delay: 0.6s; }
.node:nth-child(4) { animation-delay: 0.9s; }
.node:nth-child(5) { animation-delay: 1.2s; }

.center-node {
    animation: pulse 2s ease-in-out infinite;
}

.network-lines line {
    animation: dash 2s linear infinite;
}

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

.feature-card {
    padding: 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(30, 58, 95, 0.06);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

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

/* Guide Section */
.guide-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.guide-content h2 {
    margin-bottom: 16px;
}

.guide-content > p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.guide-steps {
    list-style: none;
    counter-reset: steps;
}

.guide-steps li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.guide-steps li:last-child {
    border-bottom: none;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.08);
    border-radius: var(--radius-sm);
}

.step-info h4 {
    margin-bottom: 6px;
    color: var(--color-primary-dark);
}

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

.guide-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
}

.flow-svg {
    width: 100%;
    max-width: 300px;
}

.flow-line {
    animation: dash 1.5s linear infinite;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-actions .btn-primary {
    background: #ffffff;
    color: var(--color-primary-dark);
}

.cta-actions .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo {
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-brand .logo-icon {
    color: var(--color-accent-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

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

.footer-column h4 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-accent-light);
    font-weight: 500;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

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

@keyframes dash {
    to { stroke-dashoffset: -20; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .tech-grid,
    .guide-layout {
        grid-template-columns: 1fr;
    }
    
    .tech-visual,
    .guide-visual {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .process-visual {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .guide-steps li {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-number {
        width: auto;
        padding: 8px 16px;
    }
}