@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --amber:      #F5A623;
  --amber-dark: #B47200;
  --amber-glow: rgba(245,166,35,0.18);
  --ink:        #1A1D29;
  --ink-2:      rgba(26,29,41,0.6);
  --ink-3:      rgba(26,29,41,0.38);
  --bg:         #ffffff;
  --bg-alt:     #F5F6F8;
  --border:     rgba(26,29,41,0.10);
  --radius:     16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ──────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }
.hidden { display: none !important; }
.c-ink   { color: var(--ink); }
.c-amber { color: var(--amber-dark); }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,166,35,0.5); }
.btn-primary:active { transform: scale(0.97); }
.btn-full { width: 100%; text-align: center; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo-box {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--amber); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
  flex-shrink: 0;
}
.nav-logo-box-sm { width: 32px; height: 32px; border-radius: 8px; }
.nav-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-lang {
  background: none; border: 1.5px solid var(--border);
  border-radius: 50px; padding: 6px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--ink-2); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-lang:hover { border-color: var(--amber); color: var(--ink); }
.btn-nav-install {
  background: var(--ink); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 8px 20px; border-radius: 50px; border: none;
  cursor: pointer; transition: background 0.15s;
}
.btn-nav-install:hover { background: #2d3145; }
.btn-nav-login {
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--ink-2); padding: 8px 16px; border-radius: 50px;
  transition: color 0.15s;
}
.btn-nav-login:hover { color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  padding: 80px 0 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .hero { padding: 56px 0 48px; }
}

.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--amber);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(245,166,35,0.3);
}
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.btn-hero {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px; font-weight: 700;
  padding: 16px 36px; border-radius: 50px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.45); }
.btn-hero-outline {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600;
  padding: 15px 32px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color 0.15s, color 0.15s;
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,0.7); color: #fff; }
.hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  margin-top: 4px;
}

/* Phone mockup */
.hero-graphic { display: flex; justify-content: center; }
.phone-mock {
  width: 220px; height: 380px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 6px rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 20px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.phone-screen { display: flex; flex-direction: column; gap: 10px; }
.mock-header { display: flex; align-items: center; justify-content: space-between; }
.mock-logo-row { display: flex; align-items: center; gap: 6px; }
.mock-logo-box {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.mock-card {
  background: #F5F6F8; border-radius: 14px; padding: 14px;
}
.mock-label { font-size: 10px; color: var(--ink-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.mock-amount { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.mock-amount span { font-size: 16px; }
.mock-sub { font-size: 10px; color: var(--ink-2); margin: 4px 0 10px; }
.mock-bar-row { height: 4px; background: var(--border); border-radius: 2px; }
.mock-bar { height: 100%; background: var(--amber); border-radius: 2px; }
.mock-row { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-chip {
  background: #F5F6F8; border-radius: 8px;
  padding: 6px 10px; font-size: 9px; font-weight: 600; color: var(--ink);
}
.mock-chip-amber { background: rgba(245,166,35,0.15); color: var(--amber-dark); }
.mock-divider { height: 1px; background: var(--border); margin: 4px 0; }
.mock-ticket-list { display: flex; flex-direction: column; gap: 4px; }
.mock-ticket-item {
  display: flex; justify-content: space-between; align-items: center;
  background: #F5F6F8; border-radius: 8px; padding: 7px 9px;
}
.mock-ticket-num { font-size: 9px; font-weight: 700; color: var(--ink); }
.mock-ticket-meta { font-size: 8px; color: var(--ink-2); margin-top: 1px; }
.mock-ticket-amt { font-size: 10px; font-weight: 800; color: var(--ink); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}
.section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-row {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px;
}
.stat-card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 28px 40px; text-align: center;
  flex: 1; min-width: 160px; max-width: 220px;
}
.stat-val { font-size: 36px; font-weight: 800; color: var(--amber-dark); letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ── Features Grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.65; color: var(--ink-2); }

/* ── Steps ──────────────────────────────────────────────── */
.steps-row {
  display: flex; gap: 16px; align-items: flex-start; justify-content: center;
  flex-wrap: wrap; margin-top: 48px;
}
.step-card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  flex: 1; min-width: 220px; max-width: 280px;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(245,166,35,0.4);
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.step-arrow {
  font-size: 24px; color: var(--ink-3);
  align-self: center; padding-top: 0;
  display: flex; align-items: center;
}
@media (max-width: 600px) { .step-arrow { display: none; } }

/* ── Reviews ────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
  min-height: 40px;
}
.reviews-empty { color: var(--ink-3); font-size: 15px; text-align: center; grid-column: 1/-1; padding: 32px 0; }
.review-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.review-stars { color: var(--amber); font-size: 18px; margin-bottom: 10px; letter-spacing: 2px; }
.review-body { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-bottom: 14px; }
.review-name { font-size: 13px; font-weight: 700; color: var(--ink); }

/* Star picker */
.star-picker { display: flex; gap: 8px; margin-top: 6px; }
.star {
  font-size: 28px; color: var(--border); cursor: pointer;
  transition: color 0.1s, transform 0.1s;
  user-select: none;
  filter: grayscale(1);
}
.star.active, .star.hover { color: var(--amber); filter: grayscale(0); transform: scale(1.15); }

/* ── Forms ──────────────────────────────────────────────── */
.form-card {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 600px) { .form-card { padding: 24px 20px; } }
.form-card-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 12px; font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--ink); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow); }
.form-input::placeholder { color: var(--ink-3); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-msg {
  padding: 12px 16px; border-radius: 10px;
  font-size: 14px; margin-bottom: 16px; text-align: center;
}
.form-msg.success { background: rgba(34,197,94,0.1); color: #15803d; }
.form-msg.error   { background: rgba(220,38,38,0.08); color: #dc2626; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 60px 24px;
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-name { font-size: 20px; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 15px; margin-bottom: 28px; }
.btn-footer-install {
  display: inline-block;
  background: var(--amber); color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700;
  padding: 13px 32px; border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(245,166,35,0.35);
  margin-bottom: 32px;
  transition: transform 0.15s;
}
.btn-footer-install:hover { transform: translateY(-2px); }
.footer-links {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.faq-q { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.faq-a { font-size: 15px; color: var(--text-2); line-height: 1.6; margin: 0; }

/* ── Feature card highlight ──────────────────────────────── */
.feature-card-highlight { border-color: var(--amber); background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, var(--card) 100%); }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 40px auto 0;
}
.plan-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.plan-card-pro {
  border-color: var(--amber);
  box-shadow: 0 8px 32px rgba(245,166,35,0.18);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink);
  font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 50px;
  white-space: nowrap;
}
.plan-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.plan-price {
  font-size: 40px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1;
  margin: 8px 0 16px;
}
.plan-price span { font-size: 16px; font-weight: 500; color: var(--ink-2); }
.plan-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan-features li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--ink); }
.plan-features li:last-child { border-bottom: none; }
.plan-promo { font-size: 13px; font-weight: 600; color: var(--amber-dark); text-align: center; margin-bottom: 8px; }
.btn-plan-outline {
  display: block; text-align: center;
  background: transparent; color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700;
  padding: 13px 24px; border-radius: 50px;
  border: 1.5px solid var(--ink); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-plan-outline:hover { background: var(--ink); color: #fff; }

/* ── Install Modal ───────────────────────────────────────── */
.site-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.site-modal.hidden { display: none; }
.site-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,29,41,0.6);
  backdrop-filter: blur(4px);
}
.site-modal-box {
  position: relative; z-index: 1;
  background: #fff; border-radius: 24px;
  padding: 36px 32px; max-width: 480px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.site-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 18px;
  color: var(--ink-2); cursor: pointer; line-height: 1;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s;
}
.site-modal-close:hover { background: var(--bg-alt); }
.site-modal-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--ink); }
.install-step {
  border: 1.5px solid var(--border); border-radius: 16px;
  padding: 20px; margin-bottom: 16px;
}
.install-step:last-of-type { margin-bottom: 0; }
.install-os { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.install-step p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 12px; }
.btn-install-open {
  display: inline-block;
  background: var(--amber); color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700;
  padding: 10px 20px; border-radius: 50px;
  box-shadow: 0 4px 14px rgba(245,166,35,0.4);
  transition: transform 0.15s;
}
.btn-install-open:hover { transform: translateY(-1px); }

/* ── Responsive tweaks ──────────────────────────────────── */
@media (max-width: 520px) {
  .btn-nav-login { display: none; }
  .btn-lang { padding: 5px 10px; font-size: 12px; }
  .nav-actions { gap: 8px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 8px; margin-top: 32px; flex-wrap: nowrap; }
  .stat-card { padding: 12px 16px; min-width: 0; max-width: none; }
  .stat-val { font-size: 22px; }
  .stat-label { font-size: 11px; }
  .nav-name { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .site-modal-box { padding: 28px 20px; }
}
