:root {
  --primary: #ff6839;
  /* --primary: #ff6839; */
  --primary-dark: #e85528;
  --primary-soft: #fff3ee;
  --text: #1a1a1a;
  --text-muted: #5c6670;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --border: #e8edf2;
  --shadow: 0 24px 60px rgba(26, 26, 26, 0.08);
  --radius: 20px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(232, 237, 242, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  background: #111;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.hero-banner {
  width: min(100%, 540px);
  margin-inline: auto;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #ff9a6c);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 104, 57, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 104, 57, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(255, 104, 57, 0.12), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.phone-card {
  position: relative;
  padding: 1.5rem;
}

.phone-shell {
  margin-inline: auto;
  width: min(100%, 320px);
  aspect-ratio: 9 / 18;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(160deg, #222, #444);
  box-shadow: var(--shadow);
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 38%, #f6f8fa 100%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.phone-search {
  height: 42px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  flex: 1;
}

.phone-item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phone-item .thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd9c8, #fff0ea);
}

.phone-item span {
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  padding: 4.5rem 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.04);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.download-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.download-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.download-card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 210px;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.store-btn.ios {
  background: #000;
}

.store-btn small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.78;
  font-weight: 500;
}

.store-btn strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.qr-box {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  text-align: center;
  padding: 1.25rem 1rem;
}

.step-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary);
}

.legal-page {
  padding: 3rem 0 4rem;
  background: var(--bg-soft);
  min-height: calc(100vh - 76px - 120px);
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.04);
}

.legal-card h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.legal-back:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .features,
  .download-panel,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    order: -1;
  }
}
