:root {
  --brand: #f59e0b;
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --surface: #f8fafc;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}
a.link {
  color: var(--brand);
  text-underline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 8px;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.site-header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0;
}
.site-logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo {
  width: 45px;
  height: 45px;
}
.site-logo-text h1 {
  font-size: 1.5rem;
  color: #333;
}
.site-logo-text p {
  font-size: 0.9rem;
  color: #777;
}
/* ---------- NAV ---------- */
.site-nav-links {
  display: flex;
  gap: 50px;
  align-items: center;
}
.site-nav-links a {
  text-decoration: none;
  color: #777;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.site-nav-links a i {
  font-size: 16px;
  transition: color 0.2s ease;
}
/* Hover effect */
.site-nav-links a:hover {
  color: #0f172a;
}
.site-nav-links a:hover i {
  color: #0f172a;
}
/* Active link (Home) */
.site-nav-links a.site-btn-primary {
  background: none;
  font-weight: 600;
  color: transparent;
  background-image: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.site-nav-links a.site-btn-primary i {
  color: #f59e0b;
}
/* ---------- HAMBURGER MENU ---------- */
.site-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.site-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}
/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .site-menu-toggle {
    display: flex;
  }
  .site-nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  .site-nav-links.active {
    display: flex;
  }
}
/* Hero */
.hero {
  padding: 4rem 1rem 2rem;
  text-align: center;
}
.hero-logo {
  width: 200px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}
.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
}
.highlight {
  color: var(--brand);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  margin: 0 auto;
  max-width: 48rem;
}

/* Main */
.main {
  padding: 2rem 0 3rem;
}

/* Step sections */
.step {
  padding: 2rem 0;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.step-num {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.step-title {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  margin: 0;
}

.list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}
.list li {
  margin: 0.4rem 0;
  color: #475569;
}

/* Platform cards and store buttons */
.platform-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1rem 0 0.5rem;
}
.platform-card {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.android-video {
  background: #fff;
}
.android-video p {
  color: #334155;
  font-size: 0.95rem;
}
.platform-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.store-col {
  display: grid;
  gap: 0.75rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  background: var(--fg);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-btn .small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.85;
}
.store-btn .large {
  display: block;
  font-size: 0.95rem;
}
.store-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Notes */
.note {
  background: #fff7ed; /* brand on warm surface */
  border-left: 4px solid var(--brand);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 0.75rem 0;
}
.note p {
  margin: 0;
  color: #92400e;
}

/* Video placeholder */
.video {
  background: var(--surface);
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.video-ph {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 0.75rem;
  background: #000;
}

.video-ph iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* Screenshot placeholders */
.shot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1rem;
}

.shot {
  padding: 1rem;
  text-align: center;
  color: #64748b;
  background: var(--surface);
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shot img {
  width: 300px;
  height: 500px;
  margin-top: 8px;
  object-fit: contain;
  border-radius: 25px;
}

/* Controls */
.sub {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}
.control-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.control {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 1rem;
}
.control h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.control p {
  margin: 0;
  color: var(--muted);
}

/* Survey */
.survey {
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 0.5rem;
}
.survey h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}
.survey p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.survey-btn {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.survey-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

/* To top */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 50;
  background: var(--brand);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.to-top.show {
  opacity: 1;
  transform: scale(1);
}

/* Responsive tweaks */
@media (min-width: 640px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-btn,
  .survey-btn,
  .to-top {
    transition: none;
  }
}
