/* =====================================================================
   Somewhere — Marketing site styles
   Matches the iOS app: dark gradient background, magenta accent gradient,
   glass cards (ultra-thin material vibe), continuous-corner radii.
   ===================================================================== */

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

:root {
    --bg: #0a0710;
    --bg-elev: #11091c;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-tertiary: rgba(255, 255, 255, 0.50);
    --accent: #f24493;
    --accent-soft: #a659f2;
    --hairline: rgba(255, 255, 255, 0.10);
    --hairline-strong: rgba(255, 255, 255, 0.18);
    --live: #4df289;
    --max-width: 1180px;
    --radius: 24px;
    --radius-sm: 14px;
}

html, body {
    background:
        radial-gradient(1200px 800px at 80% -10%, rgba(242, 68, 147, 0.18), transparent 60%),
        radial-gradient(900px 600px at 0% 30%, rgba(166, 89, 242, 0.12), transparent 60%),
        linear-gradient(180deg, #0a0710 0%, #11091c 50%, #0a0710 100%);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    min-height: 100vh;
}

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

/* ---------- Layout helpers ---------- */

.section {
    padding: 110px 24px;
    position: relative;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-inner.narrow {
    max-width: 720px;
}

.kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--accent);
    margin-bottom: 14px;
}

.title {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.body {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 32px;
}

.body.large { font-size: 19px; max-width: 760px; }

.gradient-text {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(10, 7, 16, 0.65);
    border-bottom: 1px solid var(--hairline);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-mark {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(120deg, var(--accent), var(--accent-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-logo {
    display: block;
    height: 28px;
    width: auto;
    /* The logo PNG is white/dark; bathe it in the accent gradient via a
       drop-shadow so it carries brand color even when the source is mono. */
    filter: drop-shadow(0 0 12px rgba(242, 68, 147, 0.45));
}

.footer-logo {
    display: block;
    height: 24px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(242, 68, 147, 0.30));
    margin-bottom: 4px;
}

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    user-select: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-soft));
    color: var(--text);
    box-shadow: 0 12px 30px rgba(242, 68, 147, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.30);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(242, 68, 147, 0.45); }

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--hairline-strong);
}
.btn-secondary:hover,
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 500px at 20% 0%, rgba(242, 68, 147, 0.20), transparent 60%),
        radial-gradient(600px 400px at 90% 30%, rgba(166, 89, 242, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242, 68, 147, 0.30), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.hero-icon {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(242, 68, 147, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.10) inset;
    animation: floaty 4.5s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-6px) scale(1.02); }
}

.display {
    font-size: clamp(44px, 7vw, 92px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.0;
    margin-bottom: 24px;
}

.lede {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-proof {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hairline-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-size: 13px;
    color: var(--text-secondary);
}

.proof-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 8px rgba(77, 242, 137, 0.7);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50%      { opacity: 1.0; transform: scale(1.0); }
}

/* ---------- Cards / grids ---------- */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 68, 147, 0.35);
}

.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 15px; }

/* ---------- How it works ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 32px 28px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.step-num {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(120deg, var(--accent), var(--accent-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 15px; }

/* ---------- Cities ---------- */

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.city-tile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.15s ease;
}
.city-tile:hover { border-color: rgba(242, 68, 147, 0.35); }

.city-name { font-weight: 700; font-size: 16px; }

.city-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--hairline);
}

.city-status.active     { background: rgba(77, 242, 137, 0.15); color: var(--live); border-color: rgba(77, 242, 137, 0.35); }
.city-status.soft_launch{ background: rgba(242, 68, 147, 0.20); color: var(--accent); border-color: rgba(242, 68, 147, 0.40); }
.city-status.waitlist   { background: rgba(255, 255, 255, 0.06); color: var(--text-tertiary); }

.city-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-tertiary);
    padding: 32px 0;
}

/* ---------- Waitlist ---------- */

.waitlist-form {
    display: grid;
    grid-template-columns: 1fr 1.5fr auto;
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 720px) {
    .waitlist-form { grid-template-columns: 1fr; }
}

.waitlist-form select,
.waitlist-form input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hairline-strong);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.waitlist-form select { appearance: none; cursor: pointer; }
.waitlist-form select:focus,
.waitlist-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 68, 147, 0.15);
}

.waitlist-form button {
    border: none;
    cursor: pointer;
    padding: 14px 22px;
}

.form-message {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}
.form-message.success { color: var(--live); }
.form-message.error   { color: #ff6b9a; }

/* ---------- Footer ---------- */

.footer {
    border-top: 1px solid var(--hairline);
    padding: 60px 24px 80px;
    margin-top: 60px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.footer-tag { color: var(--text-tertiary); font-size: 14px; margin-top: 4px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

.footer-meta { color: var(--text-tertiary); font-size: 13px; align-self: end; }
