/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:           #0d0d0d;
  --bg-card:      #161616;
  --bg-nav:       #0a0a0aee;
  --accent:       #C89B3C;
  --accent-dim:   #a07830;
  --text:         #e8e8e8;
  --text-muted:   #8a8a8a;
  --text-faint:   #555;
  --border:       #2a2a2a;
  --radius:       12px;
  --radius-lg:    20px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:        1140px;
  --transition:   0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #e0b850; }
ul { list-style: none; }

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--sm { padding: 64px 0; }

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.navbar__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.navbar__brand:hover { color: var(--text); }
.navbar__links { display: flex; gap: 24px; font-size: 0.9rem; }
.navbar__links a { color: var(--text-muted); }
.navbar__links a:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 0;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero__title span { color: var(--accent); }
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero__stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.hero__stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__screenshot {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: #0d0d0d;
}
.btn--primary:hover {
  background: #e0b850;
  color: #0d0d0d;
  box-shadow: 0 8px 24px rgba(200,155,60,0.4);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

/* Google Play badge */
.play-badge {
  height: 52px;
  width: auto;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.play-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,155,60,0.3);
}

/* ── Feature Cards ──────────────────────────────────────────────────────────── */
.features { background: var(--bg); }
.features__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}
.features__sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
}
.features__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.feature-card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(200,155,60,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ── Screenshots Carousel ───────────────────────────────────────────────────── */
.carousel-section { background: #0a0a0a; }
.carousel-section .section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.carousel-section .section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 48px;
}
.carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.carousel__track {
  display: grid;
}
.carousel__slide {
  grid-area: 1 / 1;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.carousel__slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  z-index: 10;
}
.carousel__btn:hover { border-color: var(--accent); background: rgba(200,155,60,0.1); }
.carousel__btn--prev { left: -60px; }
.carousel__btn--next { right: -60px; }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── Feature Detail Rows ────────────────────────────────────────────────────── */
.details { background: var(--bg); }
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-row--reverse .detail-row__img { order: 2; }
.detail-row--reverse .detail-row__text { order: 1; }
.detail-row__img {
  display: flex;
  justify-content: center;
}
.detail-row__img img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.detail-row__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.detail-row__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.detail-row__desc { color: var(--text-muted); margin-bottom: 24px; }
.detail-row__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-row__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.detail-row__list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 3px;
  opacity: 0.8;
}

/* ── Download CTA ───────────────────────────────────────────────────────────── */
.download {
  background: linear-gradient(135deg, #141208 0%, #0d0d0d 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.download__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}
.download__sub { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.download__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.download__note { font-size: 0.85rem; color: var(--text-faint); }
.download__note span { margin: 0 8px; color: var(--text-faint); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer__brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  opacity: 0.7;
}
.footer__links { display: flex; gap: 20px; font-size: 0.875rem; }
.footer__links a { color: var(--text-muted); }
.footer__links a:hover { color: var(--text); }
.footer__attr {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 16px;
}

/* ── Privacy page specific ──────────────────────────────────────────────────── */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.privacy-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}
.privacy-content .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
}
.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 12px;
}
.privacy-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 24px;
  margin-bottom: 8px;
}
.privacy-content p { color: var(--text-muted); margin-bottom: 16px; }
.privacy-content ul { margin-left: 24px; margin-bottom: 16px; list-style: disc; }
.privacy-content ul li { color: var(--text-muted); margin-bottom: 6px; }
.privacy-content strong { color: var(--text); }
.privacy-content code {
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.875em;
}

/* ── Section helpers ────────────────────────────────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

/* ── Responsive — 768px breakpoint ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .section    { padding: 64px 0; }
  .section--sm { padding: 48px 0; }

  /* Navbar */
  .navbar__links { gap: 16px; }

  /* Hero */
  .hero { padding: 56px 0 0; }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__sub { max-width: 100%; }
  .hero__stats { justify-content: center; }
  .hero__cta { justify-content: center; }
  .hero__image { margin-top: 0; }
  .hero__screenshot { max-width: 240px; }

  /* Feature cards: 3 → 2 columns */
  .features__grid .feature-card { flex: 0 0 calc(50% - 10px); }

  /* Carousel */
  .carousel__slide img { max-height: 400px; }
  .carousel__btn--prev { left: -10px; }
  .carousel__btn--next { right: -10px; }

  /* Detail rows */
  .detail-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0;
  }
  .detail-row--reverse .detail-row__img { order: 0; }
  .detail-row--reverse .detail-row__text { order: 0; }
  .detail-row__img { order: -1; }
  .detail-row__img img { max-height: 400px; }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  /* Feature cards: 2 → 1 column */
  .features__grid .feature-card { flex: 0 0 100%; }

  /* Carousel */
  .carousel__slide img { max-height: 340px; }
}

/* ── Plug & Play Section ────────────────────────────────────────────────────── */
.plug-play { background: #0a0a0a; }
.plug-play__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.plug-play__heading span { color: var(--accent); }
.plug-play__desc {
  color: var(--text-muted);
  margin: 20px 0 32px;
  font-size: 1.05rem;
  max-width: 440px;
}
.plug-play__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pp-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pp-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,155,60,0.12);
  border: 1px solid rgba(200,155,60,0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pp-step__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-top: 4px;
}

/* Demo area */
.plug-play__demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pp-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Device frame */
.pp-device {
  position: relative;
  width: 380px;
  height: 240px;
  border-radius: 20px;
  border: 3px solid #2e2e2e;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  animation: pp-device-glow 7s ease-in-out infinite;
}

/* USB-C port notch */
.pp-port {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 5px;
  background: #0a0a0a;
  border-radius: 3px 3px 0 0;
  z-index: 10;
}

/* Home screen (before) */
.pp-home {
  position: absolute;
  inset: 0;
  background: #080810;
  display: flex;
  flex-direction: column;
  padding: 6px 10px 10px;
  animation: pp-home-hide 7s ease-in-out infinite;
}
.pp-home__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pp-home__time {
  font-size: 0.6rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.05em;
}
.pp-home__status-icons { display: flex; gap: 3px; align-items: center; }
.pp-home__status-icons span { width: 4px; height: 4px; border-radius: 50%; background: #555; }
.pp-home__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pp-home__clock {
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.pp-home__date {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.pp-home__apps {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 0 4px;
}
.pp-home__apps span { aspect-ratio: 1; border-radius: 8px; }
.pp-home__apps span:nth-child(1) { background: #1c3d5e; }
.pp-home__apps span:nth-child(2) { background: #3b1c1c; }
.pp-home__apps span:nth-child(3) { background: #1c3b1c; }
.pp-home__apps span:nth-child(4) { background: #3b361c; }
.pp-home__apps span:nth-child(5) { background: #1c1c3b; }
.pp-home__apps span:nth-child(6) { background: #3b1c3b; }
.pp-home__apps span:nth-child(7) { background: #1c3b3b; }
.pp-home__apps span:nth-child(8) { background: #3d2a1c; }

/* App screen (after) */
.pp-app {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: pp-app-show 7s ease-in-out infinite;
}
.pp-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Cable */
.pp-cable-wrap {
  transform: translateY(72px);
  opacity: 0;
  animation: pp-cable-rise 7s ease-in-out infinite;
}
.pp-cable-svg { width: 44px; height: 108px; display: block; }

/* Caption */
.pp-caption {
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  font-style: italic;
  text-align: center;
}

/* ── Plug & Play Keyframes ── */
@keyframes pp-home-hide {
  0%, 35%   { opacity: 1; }
  45%, 100% { opacity: 0; }
}
@keyframes pp-app-show {
  0%, 43%   { opacity: 0; }
  53%, 88%  { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes pp-cable-rise {
  0%, 8%    { transform: translateY(72px); opacity: 0; }
  16%       { opacity: 1; }
  33%, 100% { transform: translateY(0px);  opacity: 1; }
}
@keyframes pp-device-glow {
  0%, 50%  { box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04); border-color: #2e2e2e; }
  58%, 72% { box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 2px var(--accent), 0 0 32px rgba(200,155,60,0.35); border-color: var(--accent); }
  84%, 100%{ box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04); border-color: #2e2e2e; }
}

/* Plug & Play responsive */
@media (max-width: 900px) {
  .pp-device { width: 320px; height: 200px; }
  .pp-home__clock { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  .plug-play__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .plug-play__desc { max-width: 100%; }
  .pp-step { text-align: left; }
  .pp-device { width: 300px; height: 190px; }
  .pp-home__clock { font-size: 2rem; }
  .pp-home__apps { gap: 4px; }
}
