/* ============================================================
   Get the Canary — Coming Soon
   Modern dark UI built on the brand palette
   ============================================================ */

:root {
  /* Brand palette */
  --canary:        #F5D000;
  --canary-dim:    #d4b500;
  --bg:            #1E1E1E;
  --surface:       #2B2B2B;
  --surface-2:     #333333;
  --text:          #F5F5F5;
  --text-muted:    #B5B5B5;
  --success:       #2EAF5D;
  --warning:       #E8A317;
  --alert:         #D94141;

  /* Derived */
  --border:        rgba(255, 255, 255, 0.08);
  --canary-glow:   rgba(245, 208, 0, 0.18);
  --radius:        16px;
  --radius-sm:     10px;
  --maxw:          1100px;
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-head:     'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono:     'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body); /* Inter — Body, Regular 400 */
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Ambient background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px circle at 78% 12%, var(--canary-glow), transparent 60%),
    radial-gradient(540px circle at 12% 88%, rgba(245,208,0,0.06), transparent 55%);
}

/* Subtle grid texture */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head); /* Logo — Manrope SemiBold 600 */
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--surface);
  padding: 4px;
  border: 1px solid var(--border);
}

.brand .accent { color: var(--canary); }

.nav .badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--canary);
  background: rgba(245, 208, 0, 0.1);
  border: 1px solid rgba(245, 208, 0, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(46, 175, 93, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 175, 93, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(46, 175, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 175, 93, 0); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 0 40px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 28px;
  filter: drop-shadow(0 12px 40px rgba(245, 208, 0, 0.25));
  animation: float 5.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

h1 {
  font-family: var(--font-head); /* H1 — Manrope Bold 700 */
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 16ch;
}

h1 .hl {
  color: var(--canary);
  position: relative;
}

.subtitle {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 38px;
}

.subtitle strong { color: var(--text); font-weight: 600; }

/* ---------- Signup form ---------- */
.signup {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 100px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.signup:focus-within {
  border-color: rgba(245, 208, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(245, 208, 0, 0.1), 0 20px 50px rgba(0,0,0,0.4);
}

.signup input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  padding: 0 20px;
  min-width: 0;
}

.signup input::placeholder { color: var(--text-muted); }

.btn {
  font-family: var(--font-body); /* Buttons — Inter Medium 500 */
  font-weight: 500;
  font-size: 0.97rem;
  cursor: pointer;
  border: none;
  border-radius: 100px;
  padding: 14px 26px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-primary {
  background: var(--canary);
  color: #1a1a1a;
}

.btn-primary:hover { background: #ffe21f; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-note.success { color: var(--success); font-weight: 600; }

/* Code / IDs — JetBrains Mono Regular 400 */
code, .mono, kbd, samp {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.92em;
}

/* ============================================================
   Status / countdown row
   ============================================================ */
.countdown {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 50px 0 10px;
  flex-wrap: wrap;
}

.count-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  min-width: 92px;
  text-align: center;
}

.count-box .num {
  font-family: var(--font-body); /* Device Data — Inter Medium 500, tabular */
  font-size: 2rem;
  font-weight: 500;
  color: var(--canary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}

.count-box .lbl {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* ============================================================
   Feature cards
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 70px 0 90px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 208, 0, 0.3);
  background: var(--surface-2);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.icon.yellow { background: rgba(245, 208, 0, 0.12); }
.icon.green  { background: rgba(46, 175, 93, 0.14); }
.icon.amber  { background: rgba(232, 163, 23, 0.14); }

.card h3 {
  font-family: var(--font-head); /* H3 — Manrope Medium 500 */
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer a:hover { color: var(--canary); }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
}
.socials a:hover { border-color: rgba(245,208,0,0.4); background: var(--surface-2); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}

@media (max-width: 520px) {
  .signup { flex-direction: column; border-radius: var(--radius); padding: 14px; }
  .signup input { padding: 10px 14px; }
  .btn { width: 100%; }
  .nav .badge { display: none; }
  .count-box { min-width: 74px; padding: 14px; }
}