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

:root {
    --bg:         #0b0b12;
    --bg-card:    #13131f;
    --bg-card-hover: #1a1a2e;
    --border:     #1e1e32;
    --accent:     #e94560;
    --accent-dim: #a02f43;
    --gold:       #c9a84c;
    --text:       #f0f0f0;
    --text-muted: #888899;
    --text-dim:   #555566;
    --radius:     10px;
    --max-width:  900px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

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

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

section { padding: 72px 0; }

/* ─── Nav ───────────────────────────────────────────────────────────────────── */
nav {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(11, 11, 18, 0.92);
    backdrop-filter: blur(8px);
    z-index: 100;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand .brand-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
}

.nav-brand .brand-sub {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Apps ──────────────────────────────────────────────────────────────────── */
.section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: background 0.2s, border-color 0.2s;
}

.app-card:hover {
    background: var(--bg-card-hover);
    border-color: #2a2a46;
}

.app-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.app-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-category {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.app-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.app-badge:hover { background: var(--accent-dim); text-decoration: none; }

.app-badge-coming {
    display: inline-block;
    font-size: 12px;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 6px;
    cursor: default;
}

/* ─── About ─────────────────────────────────────────────────────────────────── */
.about {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text p:last-child { margin-bottom: 0; }

.about-latin {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.about-latin .latin {
    font-size: 22px;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.about-latin .translation {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ─── Contact ───────────────────────────────────────────────────────────────── */
.contact { text-align: center; }

.contact p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

.contact-email {
    display: inline-block;
    font-size: 16px;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    padding: 12px 28px;
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-email:hover {
    background: rgba(233, 69, 96, 0.08);
    text-decoration: none;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 13px;
}

.footer-links a:hover { color: var(--text-muted); }

.footer-copy {
    font-size: 12px;
    color: var(--text-dim);
}

/* ─── Privacy page ──────────────────────────────────────────────────────────── */
.privacy-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 72px 24px;
}

.privacy-content h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.privacy-content .meta {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 48px;
}

.privacy-content h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 36px 0 10px;
    color: var(--text);
}

.privacy-content p, .privacy-content li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-content ul { padding-left: 20px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.back-link:hover { color: var(--text); text-decoration: none; }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .about-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 20px; }
    section { padding: 48px 0; }
    .hero { padding: 64px 0 48px; }
}
