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

:root {
  --bg: #0A0A0A;
  --bg-surface: #141414;
  --bg-card: #1A1A1A;
  --border: #2A2A2A;
  --text: #F5F5F4;
  --text-secondary: #A8A29E;
  --text-tertiary: #78716C;
  --accent: #CA8A04;
  --accent-hover: #EAB308;
  --accent-bg: rgba(202, 138, 4, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: #E7E5E4; color: var(--bg); transform: translateY(-1px); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--text-tertiary); transform: translateY(-1px); }

.btn-icon {
  width: 22px;
  height: 22px;
}

.hero-screenshots {
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
}

.screenshot-phone {
  flex-shrink: 0;
  width: 200px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-card);
  opacity: 0.7;
  transform: scale(0.9);
  transition: transform 0.3s, opacity 0.3s;
}

.screenshot-phone-main {
  width: 240px;
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(202, 138, 4, 0.15);
}

.screenshot-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-phone:hover {
  opacity: 1;
  transform: scale(0.95);
}
.screenshot-phone-main:hover {
  transform: scale(1.02);
}

/* ── Section common ── */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

/* ── Features ── */
.features { background: var(--bg-surface); }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-bg);
  border: 1px solid rgba(202, 138, 4, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Step connector line */
.steps-grid .step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--border);
}

/* ── Pricing ── */
.pricing { background: var(--bg-surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(202, 138, 4, 0.08);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.price-amount span { font-size: 16px; color: var(--text-secondary); font-weight: 400; }

.price-period {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 24px;
}

.price-features { list-style: none; }
.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Disclaimer ── */
.disclaimer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.disclaimer p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.disclaimer strong { color: var(--text); }
.disclaimer a { color: var(--accent); }

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

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

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--accent); }

.footer-tagline {
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ── Mockup Placeholder ── */

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--accent); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-trigger:hover { color: var(--accent-hover); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Request Banner ── */
.request-banner {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.request-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}
.request-banner a {
  font-weight: 600;
}

/* ── Contact Form ── */
.contact { background: var(--bg-surface); }

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.form-status {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
  min-height: 20px;
}
.form-status.success { color: #22C55E; }
.form-status.error { color: #EF4444; }

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Legal Pages ── */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 720px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 14px;
  max-width: 720px;
}
.legal-content ul li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  padding: 3px 0 3px 20px;
  position: relative;
}
.legal-content ul li::before {
  content: '\2022';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}
.back-link:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-toggle { display: block; }

  .hero { padding: 110px 0 60px; }

  .hero-screenshots { gap: 14px; }
  .screenshot-phone { width: 140px; border-radius: 18px; }
  .screenshot-phone-main { width: 180px; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .steps-grid .step-card::after { display: none !important; }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-screenshots { gap: 10px; }
  .screenshot-phone { width: 100px; border-radius: 16px; }
  .screenshot-phone-main { width: 140px; }
}
