/* ─── Reset & tokens ─────────────────────────────────── */
:root {
  --bg: #faf9ff;
  --surface: #ffffff;
  --surface-soft: #f0eeff;
  --surface-warm: #fff8f6;
  --text: #1e1b2e;
  --muted: #64748b;
  --accent: #f06a54;
  --accent-dark: #d9503b;
  --accent-light: #fff2ef;
  --green: #22c55e;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --teal: #14b8a6;
  --border: #e8e5f0;
  --shadow: 0 2px 16px rgba(30,27,46,0.07);
  --shadow-md: 0 8px 32px rgba(30,27,46,0.10);
  --shadow-lg: 0 20px 60px rgba(30,27,46,0.13);
  --radius: 22px;
  --radius-sm: 12px;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

/* ─── Nav ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.site-nav .inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--accent-light); color: var(--accent-dark); }
.nav-cta {
  background: var(--accent);
  color: white !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: white !important; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 16px rgba(240,106,84,0.35); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgba(240,106,84,0.45); }
.btn-secondary { background: white; color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 72px;
  background: linear-gradient(145deg, #fff2ef 0%, #f0eeff 55%, #e8f4ff 100%);
  overflow: hidden;
}
.hero .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.badge-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ─── Phone/Tablet frames ─────────────────────────────── */
.device-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: -20px;
}
.phone-wrap {
  position: relative;
  z-index: 2;
}
.tablet-wrap {
  position: relative;
  z-index: 1;
  margin-left: -30px;
  opacity: 0.9;
}
.device-frame {
  background: #1c1c1e;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.device-frame.tablet { border-radius: 32px; padding: 14px; }
.device-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #f0f0f5;
  min-height: 120px;
}
.device-frame.tablet .device-screen { border-radius: 20px; }
.device-frame img { border-radius: 32px; }
.device-frame.tablet img { border-radius: 18px; }

/* Single screenshot fallback */
.screenshot-single {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.screenshot-single img { border-radius: 18px; }

/* ─── Sections ────────────────────────────────────────── */
.section { padding: 72px 24px; }
.section.alt { background: var(--surface); }
.section.soft { background: linear-gradient(180deg, #f0eeff 0%, #fff2ef 100%); }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ─── Feature grid ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }

/* ─── Split feature row ───────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-copy { }
.split-copy .section-label { display: block; }
.split-copy h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.split-copy p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.split-copy ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.split-copy ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.split-copy ul li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.split-visual {
  display: flex;
  justify-content: center;
}

/* ─── Themes strip ────────────────────────────────────── */
.themes-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.theme-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.theme-swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Badges strip ────────────────────────────────────── */
.badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.badge-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
  min-width: 90px;
  box-shadow: var(--shadow);
}
.badge-card .b-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.badge-card .b-name { font-size: 0.75rem; font-weight: 700; color: var(--muted); line-height: 1.3; }

/* ─── CTA banner ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #f06a54 0%, #8b5cf6 100%);
  padding: 72px 24px;
  text-align: center;
  color: white;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-banner p { opacity: 0.85; font-size: 1.05rem; margin-bottom: 32px; }
.cta-banner .btn-primary { background: white; color: var(--accent-dark); }
.cta-banner .btn-primary:hover { background: #fff5f3; }

/* ─── Page header (inner pages) ──────────────────────── */
.page-hero {
  padding: 56px 24px 48px;
  background: linear-gradient(145deg, #fff2ef 0%, #f0eeff 100%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── Accordion (FAQ / Help) ──────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 10px; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] summary::after { content: "−"; }
.accordion-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}
.accordion-body p + p { margin-top: 10px; }
.accordion-body ul { margin: 10px 0 0 16px; }
.accordion-body ul li { margin-bottom: 6px; }
.accordion-body a { color: var(--accent); }

/* ─── Help steps ─────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  display: flex;
  gap: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h4 { font-weight: 700; margin-bottom: 4px; }
.step-body p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }

/* ─── Help category tabs ──────────────────────────────── */
.help-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.help-nav a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: white;
  transition: all 0.15s;
}
.help-nav a:hover,
.help-nav a.active { background: var(--accent); border-color: var(--accent); color: white; }

/* ─── Support form ────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }
.contact-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-card + .contact-card { margin-top: 16px; }
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 700; font-size: 0.88rem; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

/* ─── Info boxes ─────────────────────────────────────── */
.info-box {
  background: var(--surface-soft);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}
.info-box.tip { border-color: var(--green); background: #f0fdf4; }
.info-box.warn { border-color: var(--accent); background: var(--accent-light); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 36px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { }
.footer-brand .brand { color: white; margin-bottom: 10px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 { color: white; font-weight: 700; font-size: 0.88rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .inner,
  .split,
  .support-grid,
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .device-showcase { flex-direction: column; align-items: center; }
  .tablet-wrap { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-nav .nav-links { display: none; }
  h1 { font-size: 2rem; }
}
