/* ================================================
   benu — Public Site CSS (Apple-inspired)
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --bg-3: #FBFBFD;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --text-3: #AEAEB2;
  --accent: #0066CC;
  --accent-dark: #004EA8;
  --accent-light: #E8F0FB;
  --success: #34C759;
  --border: rgba(0,0,0,0.08);
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ──────────────────────────────── */
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.5;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,102,204,0.35); }
.btn-secondary {
  background: var(--bg-2);
  color: var(--text);
  padding: 14px 28px;
  font-size: 15px;
}
.btn-secondary:hover { background: var(--bg-3); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 14px 28px;
  font-size: 15px;
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-light); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; }
.w-full { width: 100%; display: flex; }

/* ── HEADER ──────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover { color: var(--text); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #FBFBFD 0%, #FFFFFF 100%);
}
.hero-bg {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,102,204,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.0;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-accent { color: var(--accent); }
.hero-strike {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  color: var(--text-3);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.hero-trust span::before { content: ''; }

/* ── SECTION ─────────────────────────────────── */
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--bg-2); }

/* ── HOW IT WORKS ────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 16px;
}
.step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  margin-top: 60px;
  color: var(--text-3);
  font-size: 24px;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.step-icon { font-size: 36px; margin-bottom: 16px; }
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* ── EXAMPLES ────────────────────────────────── */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.example-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.example-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.example-auto { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.example-dental { background: linear-gradient(135deg, #0f3460, #533483); }
.example-beauty { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.example-mockup {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  backdrop-filter: blur(4px);
}
.mockup-header { color: white; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.mockup-line { height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; margin-bottom: 6px; }
.mockup-line.short { width: 60%; }
.mockup-services { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.mockup-services span { background: rgba(255,255,255,0.2); color: white; padding: 3px 8px; border-radius: 4px; font-size: 11px; }
.example-info { padding: 16px 20px; background: var(--bg); }
.example-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.example-sub { font-size: 13px; color: var(--text-2); }

/* ── PRICING ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  position: relative;
}
.pricing-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,102,204,0.1);
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.pricing-price { font-size: 44px; font-weight: 900; letter-spacing: -2px; color: var(--text); margin-bottom: 24px; }
.pricing-period { font-size: 16px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 14px; color: var(--text-2); }
.pricing-features li:first-of-type { color: var(--text); font-weight: 500; }

/* ── FAQ ─────────────────────────────────────── */
.faq-container { max-width: 700px; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: 20px; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding: 0 0 20px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ── CONTACT FORM ────────────────────────────── */
.contact { background: var(--bg-2); }
.contact-container { max-width: 680px; text-align: center; }
.contact-form {
  background: var(--bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: left;
  margin-top: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-group input, .form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }
.form-msg {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}
.form-msg.success { background: rgba(52,199,89,0.1); color: #1E7E34; }
.form-msg.error { background: rgba(255,59,48,0.1); color: #C0392B; }
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 12px;
}

/* ── FOOTER ──────────────────────────────────── */
.footer { background: var(--text); color: white; padding: 48px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 40px;
}
.footer .logo { color: white; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .examples-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-popular { transform: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .hero { padding: 100px 0 60px; }
  .hero-actions { flex-direction: column; }
  .btn-xl { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
