/* Ayla Calm — Serene Liquid Glass */

:root {
    --bg-primary: #050614;
    --bg-secondary: #0a0e1a;
    --text-primary: #C9D1E3;
    --text-secondary: #8A95A9;
    --text-muted: #5a6478;
    --accent: #7C6DAF;
    --accent-light: #9D8FCC;
    --accent-dark: #5B4E8A;
    --calm-blue: #1E3A5F;
    --ocean: #2196F3;
    --sage: #4CAF50;
    --glass-bg: rgba(255,255,255,0.025);
    --glass-bg-hover: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.06);
    --glass-border-hover: rgba(124,109,175,0.25);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Stars */
.stars-container { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stars, .stars2 {
    position: absolute; inset: 0;
    background-image: radial-gradient(1px 1px at 50px 60px, #C9D1E3 0.5px, transparent 0),
        radial-gradient(1px 1px at 150px 150px, #8A95A9 0.5px, transparent 0),
        radial-gradient(1px 1px at 300px 80px, #C9D1E3 0.3px, transparent 0),
        radial-gradient(1px 1px at 400px 200px, #7C6DAF 0.4px, transparent 0),
        radial-gradient(1px 1px at 500px 120px, #C9D1E3 0.5px, transparent 0);
    background-size: 550px 350px;
    animation: drift 80s linear infinite;
    opacity: 0.4;
}
.stars2 { background-size: 700px 500px; animation-duration: 120s; opacity: 0.25; }
@keyframes drift { to { transform: translateY(-350px); } }

/* Blobs — slow, muted */
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}
.blob-1 { width: 300px; height: 300px; background: #1E3A5F; opacity: 0.15; top: 10%; left: 15%; }
.blob-2 { width: 250px; height: 250px; background: #7C6DAF; opacity: 0.12; top: 40%; right: 10%; animation-delay: -7s; }
.blob-3 { width: 200px; height: 200px; background: #2196F3; opacity: 0.10; bottom: 15%; left: 40%; animation-delay: -14s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Glass */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 40px rgba(124,109,175,0.08);
}

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    background: rgba(5,6,20,0.7); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.logo-icon { font-size: 1.6rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.lang-toggle {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary); padding: 6px 14px; border-radius: 8px;
    cursor: pointer; font-size: 0.85rem; transition: all 0.2s;
}
.lang-toggle:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

/* Hero */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-label {
    display: inline-block; font-size: 0.85rem; font-weight: 500; color: var(--accent-light);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
    line-height: 1.15; margin-bottom: 20px; color: #fff;
}
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }

.btn-primary {
    display: inline-block; padding: 14px 32px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--calm-blue));
    color: #fff; text-decoration: none; font-weight: 500; font-size: 1rem;
    transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,109,175,0.3); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-ghost {
    display: inline-block; padding: 14px 32px; border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12); color: var(--text-primary);
    text-decoration: none; font-weight: 500; transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(124,109,175,0.08); }

.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--accent-light); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Breathing circle */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.breathing-circle { position: relative; width: 320px; height: 320px; display: flex; justify-content: center; align-items: center; }
.breathing-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(124,109,175,0.2);
    animation: breathe 8s ease-in-out infinite;
}
.breathing-ring:nth-child(1) { width: 100%; height: 100%; }
.ring-2 { width: 75%; height: 75%; animation-delay: -2s; border-color: rgba(30,58,95,0.3); }
.ring-3 { width: 50%; height: 50%; animation-delay: -4s; border-color: rgba(33,150,243,0.2); }
@keyframes breathe {
    0%, 100% { transform: scale(0.85); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
}
.breathing-text {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 300;
    color: var(--accent-light); opacity: 0.7;
    animation: fadeText 8s ease-in-out infinite;
}
@keyframes fadeText { 0%,100% { opacity: 0.4; } 50% { opacity: 0.9; } }

/* Sections */
.section-title {
    font-family: var(--font-display); font-size: 2.5rem; font-weight: 400;
    text-align: center; margin-bottom: 12px; color: #fff;
}
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 48px; font-size: 1.05rem; }

/* Features */
.features { position: relative; z-index: 1; padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 32px 28px; }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #fff; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* How it works */
.how-section { position: relative; z-index: 1; padding: 100px 0; }
.steps { display: flex; flex-direction: column; gap: 32px; max-width: 600px; margin: 0 auto; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-number {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--calm-blue));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 6px; color: #fff; }
.step-content p { font-size: 0.9rem; color: var(--text-secondary); }

/* Categories */
.sounds-section { position: relative; z-index: 1; padding: 100px 0; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
    padding: 24px; text-align: center; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.category-card:hover { border-color: var(--cat-color, var(--accent)); box-shadow: 0 0 30px color-mix(in srgb, var(--cat-color) 15%, transparent); }
.cat-icon { font-size: 2rem; }
.category-card span:last-child { font-size: 0.9rem; color: var(--text-secondary); }

/* Ecosystem */
.ecosystem { position: relative; z-index: 1; padding: 80px 0; }
.ecosystem-card { padding: 48px; text-align: center; }
.ecosystem-card h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; color: #fff; }
.ecosystem-card > p { color: var(--text-secondary); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.eco-apps { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.eco-app {
    display: flex; align-items: center; gap: 12px; padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02); min-width: 220px;
}
.eco-app.active { border-color: var(--accent); background: rgba(124,109,175,0.08); }
.eco-icon { font-size: 1.8rem; }
.eco-app strong { display: block; font-size: 1rem; color: #fff; }
.eco-app span { font-size: 0.8rem; color: var(--text-secondary); }

/* CTA */
.cta { position: relative; z-index: 1; padding: 100px 0; text-align: center; }
.cta h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: #fff; margin-bottom: 16px; }
.cta p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.05rem; }

/* Footer */
.footer {
    position: relative; z-index: 1; padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.2rem; flex-wrap: wrap; justify-content: center; }
.footer-brand p { width: 100%; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-body); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Mobile */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .breathing-circle { width: 220px; height: 220px; }
    .features-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .section-title { font-size: 2rem; }
    .ecosystem-card { padding: 32px 20px; }
}
