/* ─── FONTS ─────────────────────────────────────────── */
@font-face {
  font-family: 'Google Sans Flex';
  src: url('../Google_Sans_Flex/GoogleSansFlex-VariableFont_GRAD,ROND,opsz,slnt,wdth,wght.ttf')
       format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg:       #000000;
  --surface:  #0f0f0f;
  --border:   rgba(255,255,255,0.09);
  --text:     #ffffff;
  --muted:    rgba(255,255,255,0.48);
  --green:    #11FF00;
  --font:     'Google Sans Flex', 'Google Sans', system-ui, sans-serif;
  --max-w:    760px;
  --pad:      28px;
  --radius:   14px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; padding: 0; margin: 0; }

/* ─── FADE-IN ON SCROLL ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CENTERED SECTION WRAPPER ───────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad);
}

.section-heading {
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 14px;
}

.section-body.emphasis {
  color: var(--text);
  font-weight: 600;
}

/* ─── PROMO TICKER ───────────────────────────────────── */
.ticker-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #000;
  height: 54px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: #EAEAEA;
  white-space: nowrap;
  padding: 0 36px;
  letter-spacing: 0.02em;
}

.ticker-ks-logo {
  height: 42px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

/* ─── NAVIGATION ─────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 54px; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: top 0.35s ease, background 0.2s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-img {
  height: 20px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 12px;
  color: #EAEAEA;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-link:hover  { color: var(--text); }
.nav-link.active { color: var(--green); }

.nav-cart {
  display: flex;
  align-items: center;
}
.nav-cart svg {
  width: 16px; height: 16px;
  stroke: #EAEAEA;
  transition: stroke 0.2s;
  vertical-align: middle;
}
.nav-cart:hover svg { stroke: var(--text); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  padding-top: 154px;
  padding-bottom: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-lockup {
  padding: 0 var(--pad) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-logo-icon {
  height: 52px;
  width: auto;
}

.hero-logo-wordmark {
  height: 38px;
  width: auto;
}

.hero-tagline {
  font-size: 16px;
  font-weight: 400;
  color: #ACACAC;
  line-height: 1.25;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 60%, #000000 100%);
  pointer-events: none;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85%;
  height: 80%;
  background: radial-gradient(ellipse at bottom left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.75) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-product-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
}

/* ─── WAITLIST FORM ──────────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}

.waitlist-form button {
  padding: 11px 22px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}
.waitlist-form button:hover  { opacity: 0.85; transform: translateY(-1px); }
.waitlist-form button:active { transform: translateY(0); }
.waitlist-form button:disabled { opacity: 0.5; cursor: default; }

.thank-you {
  display: none;
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.thank-you.visible { display: block; }

/* ─── HOW IT WORKS ───────────────────────────────────── */
.how-it-works .section-heading { margin-bottom: 24px; }

.accordion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  text-align: left;
}

.accordion-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.step-label {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}

.accordion-arrow {
  width: 17px; height: 17px;
  stroke: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.35s ease, stroke 0.2s;
}

.accordion-trigger[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
  stroke: var(--text);
}

.accordion-trigger:hover .step-label { opacity: 0.85; }

/* Smooth open/close via grid trick */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s ease;
}
.accordion-content.open { grid-template-rows: 1fr; }

.accordion-media {
  overflow: hidden;
  padding: 0 22px;
}
.accordion-content.open .accordion-media { padding-bottom: 22px; }

.accordion-media img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  display: block;
}

/* ─── APP SECTION ────────────────────────────────────── */
.app-section { padding-top: 0; }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.app-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.app-label {
  font-size: 14px;
  color: var(--green);
  font-weight: 100;
  text-align: center;
  line-height: 18px;
}

.app-card-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.app-card-body {
  font-size: 14px;
  color: #959595;
  font-weight: 300;
  line-height: 18px;
  text-align: center;
}


.app-card-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin-top: auto;
}

.app-card--large {
  background: #0D0D0D;
  position: relative;
}

.app-card--large::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, #0D0D0D 100%);
  pointer-events: none;
  z-index: 1;
}

.app-card--large {
  flex: 1;
}

.app-card--large .app-card-img {
  margin-top: 28px;
  margin-left: 40px;
  margin-right: -24px;
  margin-bottom: -24px;
  width: calc(100% - 16px);
  object-fit: contain;
  object-position: right bottom;
  flex: 1;
  min-height: 0;
  transform: scale(1.12);
  transform-origin: right bottom;
}

.app-card--sm {
  flex: 1;
}

.app-card--sm .app-card-img {
  margin-top: auto;
  margin-left: -24px;
  margin-right: -24px;
  margin-bottom: -24px;
  width: calc(100% + 48px);
  object-fit: cover;
}

.app-card--sm .app-device-img {
  object-fit: contain;
  object-position: center bottom;
  width: calc(100% + 48px);
  margin-left: -24px;
  margin-right: -24px;
  margin-bottom: -24px;
  transform: translateX(20px);
}

/* ─── INTENTIONS UI ─────────────────────────────────── */
.intentions-ui {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.intentions-scroll-wrap {
  height: 118px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
}

.intentions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  animation: int-scroll 9s linear infinite;
}

@keyframes int-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.int-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: rgba(206,206,206,0.12);
  border-radius: 14px;
  position: relative;
}

.int-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #C1C1C1;
}

.int-label {
  font-size: 0.56rem;
  color: #DBDBDB;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.int-pill.int-active {
  border: 1.5px solid transparent;
  background:
    rgba(206,206,206,0.12) padding-box,
    conic-gradient(from 0deg, #ff3b30, #ff9500, #ffcc00, #34c759, #5ac8fa, #5e5ce6, #ff375f, #ff3b30) border-box;
  padding: 5.5px 8px;
}

.int-check-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #11FF00;
  border-radius: 50%;
  top: 3px;
  left: 3px;
}

.int-custom {
  padding: 7px 12px;
  background: rgba(206,206,206,0.12);
  border-radius: 14px;
  font-size: 0.56rem;
  color: #727272;
  font-weight: 400;
  font-family: var(--font);
  border: none;
  outline: none;
  width: 100%;
  cursor: text;
}

.int-custom::placeholder { color: #727272; }
.int-custom:focus { color: #DBDBDB; }

/* ─── WHERE TO PLACE PYRA ────────────────────────────── */
.placement-section .section-heading {
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.placement-subheading {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 8px;
}

.placement-section .section-body {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}

.placement-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 24px 0 40px;
}

.placement-text {
  flex: 1;
}

.placement-bullets {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}

.placement-bullets ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.placement-bullets li {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  padding-left: 14px;
  position: relative;
}

.placement-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.7);
}

/* GIF with frost vignette */
.placement-gif-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.placement-gif {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.placement-frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  /* Radial vignette from centre */
  background: radial-gradient(
    ellipse 85% 85% at 50% 50%,
    transparent 42%,
    rgba(0,0,0,0.6) 72%,
    rgba(0,0,0,0.93) 100%
  );
  /* Extra edge frost */
  box-shadow:
    inset 40px  0   56px rgba(0,0,0,0.8),
    inset -40px 0   56px rgba(0,0,0,0.8),
    inset 0  40px   56px rgba(0,0,0,0.5),
    inset 0  -40px  56px rgba(0,0,0,0.85);
}

.placement-gif-wrapper:hover .placement-gif {
  transform: scale(1.025);
  filter: brightness(1.08) saturate(1.08);
}

/* ─── FOOTER WAITLIST ────────────────────────────────── */
.wl-heading {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* ─── RETURN TO TOP ──────────────────────────────────── */
.return-top-wrap {
  text-align: center;
  padding: 20px var(--pad) 40px;
}

.return-top {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.return-top:hover { color: var(--text); }

/* ─── SITE FOOTER ────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.instagram-link {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s;
}
.instagram-link:hover { color: var(--text); }

.instagram-icon {
  width: 17px; height: 17px;
}

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

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --pad: 20px; }

  .placement-row {
    flex-direction: column;
    gap: 24px;
  }

  .placement-bullets {
    gap: 32px;
  }

  .app-card--sm .app-card-img { max-height: 120px; }

  /* Ticker: smaller logo + bar on mobile */
  .ticker-wrap { height: 32px; }
  .ticker-ks-logo { height: 18px; }
  .ticker-item { font-size: 10px; padding: 0 24px; }
  .ticker-track { animation-duration: 80s; }
  .navbar { top: 32px; }
  .hero { padding-top: 122px; }
}
