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

:root {
    --teal:        #4A9EA0;
    --teal-dark:   #3E707C;
    --teal-deeper: #2a5560;
    --teal-light:  #e6f4f4;
    --teal-bg:     #f0fafa;
    --text:        #1a1a1a;
    --muted:       #556066;
    --border:      #cce3e4;
    --white:       #ffffff;
    --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius:      10px;
    --max-w:       1080px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout helpers ────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal-dark);
    letter-spacing: -0.3px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(160deg, var(--teal-bg) 0%, var(--white) 100%);
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--teal-deeper);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 420px;
}

.platform-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
}

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

.hero-screenshot {
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(58,85,96,0.18);
    width: 100%;
}

/* ── Placeholders (shown when screenshots aren't present) ─────────────────── */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    background: var(--teal-bg);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
}

/* ── Features ──────────────────────────────────────────────────────────────── */
.features {
    padding: 72px 0;
}

.features h2,
.screenshots h2,
.privacy h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--teal-deeper);
    letter-spacing: -0.3px;
    margin-bottom: 40px;
    text-align: center;
}

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

.feature-card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 20px rgba(74,158,160,0.12);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--teal);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Screenshots ───────────────────────────────────────────────────────────── */
.screenshots {
    padding: 72px 0;
    background: var(--teal-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.screenshot-grid figure {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.screenshot-img {
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(58,85,96,0.14);
    width: 100%;
}

.screenshot-grid .placeholder {
    aspect-ratio: 16 / 10;
}

.screenshot-grid figcaption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ── Community / Discord ───────────────────────────────────────────────────── */
.community {
    padding: 72px 0;
    background: var(--teal-deeper);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.community-inner {
    max-width: 560px;
}

.community h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.community p {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 32px;
    line-height: 1.7;
}

.community-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.community-icon svg {
    width: 32px;
    height: 32px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 8px;
    background: #5865F2;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.discord-btn:hover {
    background: #4752C4;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Privacy ───────────────────────────────────────────────────────────────── */
.privacy {
    padding: 64px 0;
}

.privacy-inner {
    max-width: 680px;
}

.privacy-inner p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.7;
}

.privacy-inner p:last-child { margin-bottom: 0; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    background: var(--white);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}

.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--teal-dark); }

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
    .hero { padding: 48px 0; }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-text h1 { text-align: center; }
    .hero-desc { text-align: center; max-width: none; }
    .platform-badges { justify-content: center; }

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

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

    .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
    .footer-links { flex-direction: column; gap: 6px; }
}
