/* ── Shelfd Brand Tokens ─────────────────────────── */
:root {
  --coral: #F43F5E;
  --coral-dark: #E11D48;
  --coral-tint: #FFF1F2;
  --coral-glow: #FDA4AF;
  --slate: #1E293B;
  --slate-mid: #475569;
  --slate-light: #F1F5F9;
  --white: #FFFFFF;
  --bg: #FBF7F7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --max-w: 1080px;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--coral); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; display: block; }

/* ── Utilities ──────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Nav ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid #F3E8E8;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-weight: 800; font-size: 24px; color: var(--coral);
  letter-spacing: -0.5px; text-decoration: none;
}
.nav-logo:hover { opacity: 1; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--slate-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--coral); opacity: 1; }
.nav-cta {
  background: var(--coral); color: white !important;
  padding: 9px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-1px); opacity: 1; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--slate); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-bottom: 1px solid #F3E8E8;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid #F8F0F0; width: 100%; }
  .nav-cta { margin: 12px 24px; text-align: center; display: block; }
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  text-align: center; padding: 80px 24px 60px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.hero-badge {
  display: inline-block; background: var(--coral-tint); color: var(--coral);
  font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px;
  color: var(--slate);
}
.hero h1 span { color: var(--coral); }
.hero p {
  font-size: clamp(16px, 2.5vw, 20px); color: var(--slate-mid);
  max-width: 540px; margin: 0 auto 32px; line-height: 1.5;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: white; font-size: 17px; font-weight: 600;
  padding: 16px 36px; border-radius: 14px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(244,63,94,0.3);
  font-family: inherit; text-decoration: none;
}
.hero-cta:hover {
  background: var(--coral-dark); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244,63,94,0.4); color: white; opacity: 1;
}
.hero-phones {
  margin-top: 48px; display: flex; justify-content: center; gap: 20px;
  perspective: 1000px;
}
.hero-phone {
  width: 220px; height: 440px; background: var(--white);
  border-radius: 28px; box-shadow: var(--shadow-lg);
  border: 6px solid #1E293B; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--slate-mid);
}
@media (max-width: 600px) {
  .hero { padding: 48px 20px 40px; }
  .hero-phones { gap: 12px; }
  .hero-phone { width: 150px; height: 300px; border-width: 4px; border-radius: 20px; }
}

/* ── Features ──────────────────────────────────── */
.features { padding: 80px 24px; }
.features-title {
  text-align: center; font-size: clamp(24px, 4vw, 36px);
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 48px;
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: var(--max-w); margin: 0 auto;
}
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--slate-mid); line-height: 1.5; }

/* ── How it works ──────────────────────────────── */
.how-it-works {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--slate) 0%, #0F172A 100%);
  color: white;
}
.how-it-works .features-title { color: white; }
.steps {
  display: flex; gap: 32px; max-width: var(--max-w); margin: 0 auto;
  justify-content: center; flex-wrap: wrap;
}
.step {
  text-align: center; flex: 1; min-width: 200px; max-width: 260px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); color: white;
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ── CTA banner ────────────────────────────────── */
.cta-banner {
  padding: 64px 24px; text-align: center;
  background: linear-gradient(135deg, var(--coral), #FB7185);
}
.cta-banner h2 {
  font-size: clamp(22px, 4vw, 32px); font-weight: 800;
  color: white; margin-bottom: 12px;
}
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-banner-btn {
  display: inline-block; background: white; color: var(--coral);
  font-size: 16px; font-weight: 700; padding: 14px 32px;
  border-radius: 12px; transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cta-banner-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); opacity: 1; }

/* ── Footer ────────────────────────────────────── */
.footer {
  background: var(--slate); color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-brand .nav-logo { font-size: 22px; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 280px; }
.footer h4 {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer a:hover { color: white; }
.footer-bottom {
  max-width: var(--max-w); margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); margin-left: 16px; }

@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Legal pages ───────────────────────────────── */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.legal .last-updated { font-size: 13px; color: var(--slate-mid); margin-bottom: 32px; }
.legal h2 { font-size: 18px; font-weight: 700; margin-top: 32px; margin-bottom: 12px; }
.legal p, .legal li { font-size: 15px; color: var(--slate-mid); line-height: 1.7; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--coral); text-decoration: underline; }

/* ── Contact page ──────────────────────────────── */
.contact-page { max-width: 560px; margin: 0 auto; padding: 48px 24px 80px; }
.contact-page h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.contact-page .subtitle { font-size: 15px; color: var(--slate-mid); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--slate); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm); font-size: 15px;
  font-family: inherit; transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--coral);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--coral); color: white; border: none;
  padding: 14px 28px; border-radius: 12px; font-size: 15px;
  font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--coral-dark); transform: translateY(-1px); }
.form-success {
  background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius);
  padding: 16px 20px; text-align: center; color: #059669; font-weight: 600;
  display: none;
}
