/* ===================== Font ===================== */
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===================== Reset / base ===================== */
:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --line: rgba(255, 255, 255, 0.1);
  --ink: #f5f5f3;
  --ink-dim: rgba(245, 245, 243, 0.64);
  --ink-faint: rgba(245, 245, 243, 0.38);
  --accent: #f5f5f3;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 120px 0; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--ink-dim);
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 16px;
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-word {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:not(.nav-cta) {
  color: var(--ink-dim);
  transition: color 0.15s ease;
}
.site-nav a:not(.nav-cta):hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.88; }

/* ===================== Hero ===================== */
.hero {
  padding-top: 170px;
  padding-bottom: 100px;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(255,255,255,0.08), transparent 70%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 22px;
}

.hero-copy h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

.hero-sub {
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 460px;
  margin: 24px 0 32px;
}

/* ===================== Email form ===================== */
.email-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
}

.email-form-center { margin: 36px auto 0; }

.email-input {
  flex: 1;
  min-width: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  padding: 15px 18px;
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
}
.email-input::placeholder { color: var(--ink-faint); }
.email-input:focus { border-color: rgba(255,255,255,0.4); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.88; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  margin-top: 28px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }

.email-status {
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 0;
  color: var(--ink-dim);
}
.email-status.is-success { color: #7CDB8A; }
.email-status.is-error { color: #E8746B; }
.email-form-center + .email-status { text-align: center; }

/* ===================== Phone frames ===================== */
.hero-phones {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  width: 250px;
  aspect-ratio: 9 / 19.5;
  background: #050505;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #050505;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-raised);
  position: relative;
}

.screen-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.screen-media-invert {
  filter: invert(1);
}

.hero-phones .phone-front {
  position: relative;
  z-index: 2;
  transform: rotate(-4deg) translateY(10px);
}

.hero-phones .phone-back {
  position: absolute;
  z-index: 1;
  transform: rotate(9deg) translate(96px, -34px);
  opacity: 0.88;
}

.phone-sm {
  width: 190px;
}

.phone-md {
  width: 220px;
}

/* ---- placeholder screen content (swap for real capture in landing/assets/screens/) ---- */
.screen-placeholder {
  position: absolute;
  inset: 0;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-topbar {
  height: 10px;
  width: 40%;
  border-radius: 6px;
  background: rgba(255,255,255,0.16);
  margin-bottom: 6px;
}

.s-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.s-grid-tight { gap: 6px; }

.s-card {
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
}
.s-card:nth-child(3n+1) { background: linear-gradient(155deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04)); }

.screen-detail {
  padding: 0;
}
.s-hero-media {
  height: 58%;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03) 70%);
}
.screen-detail .s-row {
  margin: 10px 14px 0;
}
.s-title-lg { height: 14px; width: 70%; border-radius: 6px; background: rgba(255,255,255,0.2); }
.s-title-sm { height: 10px; width: 45%; border-radius: 6px; background: rgba(255,255,255,0.1); }
.s-price {
  margin: 14px 14px 0;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.s-btn {
  margin: auto 14px 16px;
  height: 42px;
  border-radius: 999px;
  background: var(--ink);
}
.s-btn-alt { background: linear-gradient(90deg, #ffb703, #fb8500); }

.screen-raffle {
  align-items: stretch;
}
.s-raffle-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  background: #ffb703;
  padding: 5px 10px;
  border-radius: 999px;
}
.s-raffle-media {
  height: 42%;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,183,3,0.35), rgba(255,255,255,0.04) 75%);
}
.s-raffle-timer {
  display: flex;
  gap: 6px;
}
.s-raffle-timer span {
  flex: 1;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
}

/* ===================== Showcase ===================== */
.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.showcase-header .section-title,
.showcase-header .section-sub {
  text-align: left;
  margin: 0;
}
.showcase-header .section-sub { margin-top: 10px; }

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-bottom: 4px;
}
.scroll-hint svg { width: 15px; height: 15px; }

.showcase-track {
  display: flex;
  gap: 36px;
  overflow-x: auto;
  margin-top: 48px;
  padding: 48px 6px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.22) transparent;
}
.showcase-track:active { cursor: grabbing; }

.showcase-track::-webkit-scrollbar { height: 4px; }
.showcase-track::-webkit-scrollbar-track { background: transparent; }
.showcase-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 2px; }

.showcase-frame {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-frame .phone {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(0.86);
}
.showcase-frame:hover .phone {
  transform: scale(0.86) translateY(-4px);
}
.showcase-frame.is-active .phone {
  transform: scale(1.22);
  position: relative;
  z-index: 3;
}

.frame-dots {
  display: flex;
  gap: 5px;
  margin-top: 34px;
}
.frame-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.frame-dots .dot.active {
  width: 14px;
  background: var(--ink);
}

.showcase-caption {
  text-align: center;
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}

.upload-zone {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: 1.5px dashed rgba(255,255,255,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 0 20px;
  color: var(--ink-faint);
}
.upload-zone svg { width: 26px; height: 26px; }
.upload-zone span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-dim);
}
.upload-zone small {
  font-size: 11px;
  line-height: 1.4;
}

/* ===================== Features ===================== */
.features { background: var(--bg-raised); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--ink-dim);
  font-size: 14px;
  margin: 0;
}

/* ===================== Agent teaser ===================== */
.agent-teaser {
  background:
    radial-gradient(50% 60% at 15% 30%, rgba(255,255,255,0.06), transparent 70%),
    var(--bg);
}

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

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.agent-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.agent-copy p {
  color: var(--ink-dim);
  max-width: 440px;
  font-size: 16px;
}

.agent-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
}

.chat-bubble-in {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  border-bottom-left-radius: 4px;
}

.chat-bubble-out {
  align-self: flex-end;
  background: var(--ink);
  color: var(--bg);
  border-bottom-right-radius: 4px;
  font-weight: 700;
}

/* ===================== Auction teaser ===================== */
.auction-teaser {
  background:
    radial-gradient(50% 60% at 85% 30%, rgba(255,255,255,0.06), transparent 70%),
    var(--bg);
}

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

.auction-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.auction-copy p {
  color: var(--ink-dim);
  max-width: 440px;
  font-size: 16px;
}

.auction-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

/* ===================== Final CTA ===================== */
.final-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
}

/* ===================== Footer ===================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-footer .brand-mark { width: 20px; height: 20px; }
.brand-footer .brand-word { font-size: 15px; }
.footer-inner p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 13px;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .hero { padding-top: 140px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phones { height: 440px; margin-top: 20px; }
  .agent-inner { grid-template-columns: 1fr; }
  .agent-visual { order: -1; }
  .auction-inner { grid-template-columns: 1fr; }
  .auction-visual { order: -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { gap: 18px; }
}

@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .btn-primary { width: 100%; }
  .hero-copy h1 { font-size: 46px; }
  .phone { width: 210px; }
  .phone-sm { width: 170px; }
  .showcase-header { align-items: flex-start; }
  .showcase-track { gap: 20px; }
}
