/* ========================================
   AuraEcho Landing — QQ-Inspired Dark
   Single-screen download focus
   ======================================== */

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

:root {
    --bg-primary: #08080d;
    --bg-elevated: #111118;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.045);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.14);

    --text-primary: #f0f0f5;
    --text-secondary: #b0b0be;
    --text-tertiary: #72727d;
    --text-disabled: #4a4a55;

    --accent: #8b7cf0;
    --accent-hover: #9d8ff5;
    --accent-dim: rgba(109, 70, 220, 0.15);
    --accent-glow: rgba(109, 70, 220, 0.3);

    --font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-primary);
}

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

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

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 60px;
    background: rgba(8, 8, 13, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled {
    background: rgba(8, 8, 13, 0.92);
    border-bottom-color: var(--border-card);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    transition: opacity 0.15s ease;
}

.logo:hover { opacity: 0.8; }

.logo-img {
    display: block;
    border-radius: 5px;
}

.nav-github {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: color 0.15s ease;
}

.nav-github:hover {
    color: var(--text-primary);
}

/* ========================================
   Download Button — Dark Purple
   ======================================== */
.btn-download-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 8px;

    /* Solid dark purple */
    background: #1c1236;
    border: 1px solid rgba(124, 92, 240, 0.35);
    color: #c4b5fd;

    transition: all 0.2s ease;
}

.btn-download-hero:hover {
    background: #261b44;
    border-color: rgba(139, 110, 245, 0.5);
    color: #ddd6f5;
    box-shadow: 0 4px 20px rgba(109, 70, 220, 0.25);
    transform: translateY(-1px);
}

.btn-download-hero:active {
    transform: translateY(0);
    background: #1c1236;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated background orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.4;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: rgba(124, 92, 240, 0.10);
    top: -200px;
    right: -150px;
    animation: orb-float-1 8s ease-in-out infinite;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(109, 70, 220, 0.10);
    bottom: -100px;
    left: -100px;
    animation: orb-float-2 10s ease-in-out infinite;
}

.hero-orb--3 {
    width: 300px;
    height: 300px;
    background: rgba(167, 139, 250, 0.07);
    top: 40%;
    left: 50%;
    animation: orb-float-3 12s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.05); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, -20px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.1); }
}

/* Subtle grid pattern */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 680px;
}

.hero-logo {
    display: block;
    margin: 0 auto 32px;
    border-radius: 8px;
    filter: drop-shadow(0 4px 16px rgba(109, 70, 220, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 100px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.hero-title-gradient {
    background: linear-gradient(135deg, #8b7cf0 0%, #a78bfa 40%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.text-highlight {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 0;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 32px;
    background: linear-gradient(to top, rgba(8, 8, 13, 0.95), rgba(8, 8, 13, 0));
}

.footer-copyright,
.footer-icp {
    font-size: 12px;
    color: var(--text-disabled);
    transition: color 0.15s ease;
}

.footer-icp:hover {
    color: var(--text-tertiary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-description br {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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