/* =====================================================
   UCC Fight — Landing Page CSS
   Design tokens: dark theme, accent #c47a10
   ===================================================== */

:root {
    --accent:      #c47a10;
    --accent-dark: #a3650d;
    --bg:          #0a0a0a;
    --surface:     #141414;
    --surface2:    #1c1c1c;
    --border:      #2a2a2a;
    --text:        #ffffff;
    --text-muted:  #999999;
    --green:       #16a34a;
    --red:         #E53935;
}

/* ─── Reset & Base ─────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

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

/* ─── Top bar (logo + language switcher) ──────────── */

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 10;
}

.lang-switcher {
    display: inline-flex;
    align-items: stretch;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-switcher-item {
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    line-height: 1.2;
}

.lang-switcher-item:hover {
    color: var(--text);
    text-decoration: none;
}

.lang-switcher-item.is-active {
    background: var(--accent, #e11d48);
    color: #fff;
    cursor: default;
}

.lang-switcher-item.is-active:hover {
    color: #fff;
}

/* ─── Hero ─────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(196, 122, 16, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 380px;
    height: auto;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-store-badges {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 2.25rem;
    border-radius: 999px;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

.hero-cta:hover {
    background: var(--accent-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-waitlist-count {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-waitlist-count strong {
    color: var(--text);
}

/* ─── Features ─────────────────────────────────────── */

.features {
    padding: 5rem 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.section-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(196, 122, 16, 0.45);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ─── Waitlist Section ─────────────────────────────── */

.waitlist {
    padding: 5rem 1.5rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.waitlist-inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-inner .section-title {
    margin-bottom: 0.75rem;
}

.waitlist-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* ── Platform toggle pills ── */
.platform-toggle {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.platform-pill {
    flex: 1;
    cursor: pointer;
}

.platform-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.platform-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface2);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
    user-select: none;
}

.platform-pill span svg {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
}

.platform-pill input:checked + span {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface2));
    color: var(--accent);
}

.platform-pill input:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.platform-pill:hover span {
    border-color: var(--accent);
    color: var(--text);
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form input[type="text"]::placeholder,
.waitlist-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.waitlist-form input[type="text"]:focus,
.waitlist-form input[type="email"]:focus {
    border-color: var(--accent);
}

.waitlist-form button {
    width: 100%;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

.waitlist-form button:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.form-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

.form-message.success {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: #4ade80;
}

.form-message.error {
    background: rgba(229, 57, 53, 0.12);
    border: 1px solid rgba(229, 57, 53, 0.35);
    color: #f87171;
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-consent {
    text-align: center;
}

.form-consent a {
    color: var(--text-muted);
    text-decoration: underline;
}

.form-consent a:hover {
    color: var(--text);
}

/* ─── App Store Badges ─────────────────────────────── */

.app-store {
    padding: 5rem 1.5rem;
    text-align: center;
}

.app-store .section-title {
    margin-bottom: 0.75rem;
}

.app-store-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.badge-wrap {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.badge-btn:hover {
    border-color: var(--accent, #e11d48);
    transform: translateY(-2px);
    text-decoration: none;
}

.badge-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

.badge-btn .badge-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    line-height: 1;
}

.badge-btn .badge-main {
    display: block;
    line-height: 1.2;
}

/* ─── Android badge ─────────────────────────────────── */

.badge-android-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.badge-beta-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ─── Footer ────────────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Responsive ────────────────────────────────────── */

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: 280px;
    }

    .features,
    .waitlist,
    .app-store {
        padding: 3.5rem 1.25rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .badge-wrap {
        flex-direction: column;
        align-items: center;
    }
}
