/* index.css — Landing page styles */

:root {
    --green: #1DB954;
    --green-dim: #17a349;
    --black: #080808;
    --border: rgba(255,255,255,0.07);
    --text: #f0f0f0;
    --muted: #666;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background: var(--black);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    /* overflow:hidden removed — landing page needs to scroll on small phones */
}

/* ── Responsive — mobile landing page ── */
@media (max-width: 600px) {
    /* Allow vertical scroll on small screens */
    html, body { overflow-y: auto; height: auto; }

    .site-header { padding: 20px 20px; }

    .hero { padding: 32px 20px 48px; }

    .hero-title { font-size: clamp(40px, 12vw, 72px); letter-spacing: -2px; }

    .hero-desc { font-size: 16px; }

    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { text-align: center; }

    .stats-strip { gap: 32px; flex-wrap: wrap; justify-content: center; margin-top: 48px; }

    /* Hide nav links on very small screens — just show the CTA button */
    .nav-links .btn-outline { display: none; }
}

/* ── Background effects ── */

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: drift 12s ease-in-out infinite alternate;
}

.bg-orb:nth-child(1) {
    width: 700px;
    height: 700px;
    background: #1DB954;
    top: -300px;
    left: -100px;
}

.bg-orb:nth-child(2) {
    width: 500px;
    height: 500px;
    background: #0d7a38;
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ── Page shell ── */

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Navigation ── */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
}

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

.btn-outline {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.3);
}

.btn-green {
    padding: 10px 22px;
    background: var(--green);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: background 0.2s;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
}

.btn-green:hover {
    background: var(--green-dim);
}

/* ── Hero ── */

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.hero-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.hero-title span {
    color: var(--green);
}

.hero-desc {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    animation: fadeUp 0.6s 0.2s ease both;
}

/* ── Stats strip ── */

.stats-strip {
    display: flex;
    gap: 60px;
    margin-top: 80px;
    animation: fadeUp 0.6s 0.3s ease both;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

/* ── Animations ── */

@keyframes drift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(40px,30px) scale(1.08); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
