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

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:           #000000;
  --s0:           #0B0B0B;
  --s1:           #141414;
  --s2:           #1C1C1C;
  --s3:           #242424;
  --accent:       #FF6B3D;
  --accent-soft:  rgba(255,107,61,0.14);
  --accent-line:  rgba(255,107,61,0.30);
  --text:         #F4F2EE;
  --dim:          rgba(244,242,238,0.58);
  --faint:        rgba(244,242,238,0.34);
  --whisper:      rgba(244,242,238,0.20);
  --border:       rgba(255,255,255,0.07);
  --line-hi:      rgba(255,255,255,0.14);
  --violet:       #C9B6FF;
  --green:        #5BE38A;
  --blue:         #7CC6FF;
  --r:            12px;
  --r-lg:         20px;
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-center a {
  font-size: 14px;
  color: var(--dim);
  transition: color 0.15s;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { opacity: 0.82; }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: #0A0A0A; border-color: transparent; }
.btn-ghost   { background: transparent; color: var(--dim); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-hi); }

.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 14px; }
.btn-sm { padding: 7px 14px;  font-size: 13px; border-radius: 9px; }

.btn-full { width: 100%; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.06;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.2px;
}

/* ─── App mockup ─────────────────────────────────────────────────────────── */
.mockup-wrap {
  margin: 64px auto 0;
  max-width: 900px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(255,107,61,0.06), 0 40px 80px rgba(0,0,0,0.6);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  background: var(--s0);
  border-bottom: 1px solid var(--border);
}

.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #FF5247; }
.dot-y { background: #FFD60A; }
.dot-g { background: #5BE38A; }

.mockup-url {
  flex: 1;
  background: var(--s2);
  border-radius: 6px;
  height: 26px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--faint);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.2px;
}

.mockup-body {
  background: var(--s1);
  height: 400px;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.mockup-sidebar {
  background: var(--s0);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-nav-item {
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.mock-nav-item.active { background: var(--s2); }

.mock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--s3);
  flex-shrink: 0;
}

.mock-dot.accent { background: var(--accent); }

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--s3);
  flex: 1;
}

.mock-line.hi { background: var(--s3); opacity: 0.8; width: 60%; flex: none; }
.mock-line.faint { opacity: 0.5; }

.mockup-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-note {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-note-title {
  height: 10px;
  border-radius: 5px;
  background: var(--s3);
  width: 55%;
}

.mock-note-line {
  height: 7px;
  border-radius: 4px;
  background: var(--s3);
  opacity: 0.6;
}

.mock-note-line.w80 { width: 80%; }
.mock-note-line.w60 { width: 60%; }
.mock-note-line.w70 { width: 70%; }

.mock-tag {
  display: inline-block;
  height: 18px;
  width: 48px;
  border-radius: 5px;
  background: var(--accent-soft);
}

/* ─── Section base ───────────────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--text);
}

.section-sub {
  font-size: 16px;
  color: var(--dim);
  line-height: 1.65;
  max-width: 460px;
}

.section-head {
  margin-bottom: 52px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-sub {
  margin: 14px auto 0;
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.features {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: var(--line-hi);
  background: var(--s0);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--s2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.65;
}

/* ─── Pricing (landing teaser) ───────────────────────────────────────────── */
.pricing-teaser {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.pricing-cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.pricing-card {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pricing-card.pro {
  border-color: var(--accent-line);
  background: linear-gradient(160deg, #181208, var(--s1));
}

.plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0A0A0A;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 4px 13px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 4px;
  line-height: 1;
}

.plan-price .curr { font-size: 20px; font-weight: 600; color: var(--dim); padding-bottom: 5px; }
.plan-price .amt  { font-size: 52px; font-weight: 700; letter-spacing: -2.5px; color: var(--text); }
.plan-price .per  { font-size: 14px; color: var(--faint); padding-bottom: 7px; }

.plan-yearly {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 24px;
  min-height: 18px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.4;
}

.plan-features li .check {
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-features li .dash {
  color: var(--faint);
  font-size: 14px;
  flex-shrink: 0;
}

.plan-features li.muted { color: var(--faint); }

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: var(--dim);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-size: 16px; font-weight: 700; color: var(--text); }
.footer-copy { font-size: 12px; color: var(--whisper); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--faint);
  transition: color 0.15s;
}

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

/* ─── Pricing page ───────────────────────────────────────────────────────── */
.pricing-page-hero {
  text-align: center;
  padding: 80px 0 56px;
}

.pricing-page-hero h1 {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 14px;
}

.pricing-page-hero p {
  font-size: 17px;
  color: var(--dim);
  max-width: 400px;
  margin: 0 auto 44px;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 56px;
}

.toggle-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--faint);
  transition: all 0.18s;
}

.toggle-btn.active {
  background: var(--s3);
  color: var(--text);
}

.save-chip {
  display: inline-flex;
  padding: 2px 8px;
  background: var(--green);
  color: #000;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 56px 0 96px;
  font-size: 14px;
}

.compare-table th {
  padding: 14px 16px;
  text-align: left;
  color: var(--faint);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.compare-table th:not(:first-child) { text-align: center; }

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--dim);
}

.compare-table td:not(:first-child) { text-align: center; }

.compare-table tr:last-child td { border-bottom: none; }

.compare-table .check-cell { color: var(--green); font-size: 16px; }
.compare-table .dash-cell  { color: var(--faint); }

.faq {
  padding: 0 0 100px;
  border-top: 1px solid var(--border);
  padding-top: 80px;
}

.faq h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 36px;
  text-align: center;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-trigger:hover .faq-question { color: var(--text); }

.faq-question {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: -0.3px;
  transition: color 0.15s;
  line-height: 1.4;
}

.faq-item.open .faq-question { color: var(--text); }

.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--s2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  transition: transform 0.25s ease, background 0.15s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--s3);
  color: var(--text);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-body {
  max-height: 300px;
}

.faq-body p {
  font-size: 14.5px;
  color: var(--dim);
  line-height: 1.78;
  padding-bottom: 22px;
}

/* ─── Legal pages ─────────────────────────────────────────────────────────── */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 28px 120px;
}

.legal-wrap h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.legal-date {
  font-size: 12.5px;
  color: var(--faint);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.3px;
  margin-bottom: 52px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.78;
}

.legal-section a { color: var(--accent); }
.legal-section a:hover { opacity: 0.8; }

.legal-section ul {
  padding-left: 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.75;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Support / Contact form ─────────────────────────────────────────────── */
.support-hero {
  text-align: center;
  padding: 80px 0 56px;
}

.support-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.8px;
  margin-bottom: 14px;
}

.support-hero p {
  font-size: 17px;
  color: var(--dim);
  max-width: 420px;
  margin: 0 auto;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  padding-bottom: 100px;
}

.contact-form {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--s0);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  transition: border-color 0.15s;
  outline: none;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--whisper);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-line);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(244,242,238,0.34)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
  color: var(--text);
}

.form-group select option {
  background: var(--s2);
  color: var(--text);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.form-success.visible { display: flex; }

.success-icon {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #000;
}

.form-success h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.form-success p {
  font-size: 14px;
  color: var(--dim);
}

.support-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 80px;
}

.support-card {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}

.support-card-icon {
  font-size: 22px;
  margin-bottom: 12px;
}

.support-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.support-card p {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.support-card a {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 500;
}

.support-card a:hover { opacity: 0.8; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-center     { display: none; }
  .mockup-body    { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .hero           { padding: 64px 0 48px; }
  .features, .pricing-teaser, .cta-section { padding: 64px 0; }
  .pricing-cards  { flex-direction: column; align-items: center; }
  .pricing-card   { width: 100%; max-width: 340px; }
  .footer-inner   { flex-direction: column; align-items: flex-start; }
  .compare-table  { font-size: 13px; }
  .support-layout { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .support-sidebar { position: static; }
}
