/* ---------- Base ---------- */
:root {
  --navy: #0f1f3d;
  --navy-2: #1b2f57;
  --ink: #1d2433;
  --muted: #5b6577;
  --bg: #fbf9f5;
  --surface: #ffffff;
  --line: #e7e2d9;
  --accent: #ff6b4a;
  --accent-dark: #e8502e;
  --accent-soft: #fff0eb;
  --green: #1fae7a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 61, 0.16);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 32px); }

section { padding: clamp(64px, 9vw, 110px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.8em;
}
.eyebrow.light { color: #ffb4a3; }

.highlight { color: var(--accent); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.3);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-small { padding: 10px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 31, 61, 0.05); }

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

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.logo strong { color: var(--accent); font-weight: 800; }
.logo-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--accent-dark); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

.hero-visual { position: relative; min-height: 420px; }
.browser {
  position: absolute; inset: 20px 40px 40px 0;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f3f0ea; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd5c8; }
.browser-bar i:first-child { background: #ff8a70; }
.browser-bar span { margin-left: 12px; font-size: 0.75rem; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 999px; }
.browser-body { padding: 18px; }
.mock-nav { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.mock-nav b { width: 60px; height: 12px; background: var(--navy); border-radius: 4px; margin-right: auto; }
.mock-nav span { width: 34px; height: 8px; background: var(--line); border-radius: 4px; }
.mock-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: 10px; padding: 28px 22px; margin-bottom: 16px; }
.mock-hero .mock-line { background: rgba(255, 255, 255, 0.85); }
.mock-line { height: 12px; border-radius: 6px; background: var(--line); margin-bottom: 10px; }
.w70 { width: 70%; } .w50 { width: 50%; }
.mock-btn { width: 90px; height: 26px; border-radius: 999px; background: var(--accent); margin-top: 16px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 70px; border-radius: 8px; background: var(--accent-soft); border: 1px solid #ffd9cf; }

.phone {
  position: absolute; right: 0; bottom: 0;
  width: 150px; height: 290px;
  background: var(--surface);
  border: 6px solid var(--navy);
  border-radius: 26px;
  padding: 26px 12px 12px;
  box-shadow: var(--shadow-lg);
}
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 50px; height: 8px; background: var(--navy); border-radius: 999px; }
.phone .mock-btn { width: 70px; height: 20px; margin-bottom: 14px; }
.mock-block { height: 110px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-soft), #ffe1d8); }

.float-card {
  position: absolute;
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}
.float-1 { top: 0; right: 10px; }
.float-2 { bottom: 60px; left: -10px; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Cards ---------- */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 14px; margin-bottom: 18px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}
.price-card.featured { background: var(--navy); border-color: var(--navy); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price-desc, .price-card.featured li { color: #c9d3e6; }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.price-desc { color: var(--muted); }
.price { font-size: 3rem; font-weight: 800; color: var(--navy); margin: 4px 0 18px; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: 1.5rem; vertical-align: top; margin-right: 2px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-card li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); font-size: 0.95rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.care-plan {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 40px;
  background: var(--accent-soft);
  border: 1px solid #ffd9cf;
  border-radius: 20px;
  padding: 32px 36px;
}
.care-plan h3 { font-size: 1.5rem; }
.care-plan p:last-child { color: var(--muted); margin: 0; max-width: 640px; }
.care-plan .btn { flex-shrink: 0; }

/* ---------- Process ---------- */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px;
}

/* ---------- About ---------- */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about p { color: var(--muted); font-size: 1.05rem; }
.about-points { list-style: none; padding: 0; margin: 24px 0 0; }
.about-points li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); }
.about-points li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- FAQ ---------- */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #c9d3e6; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-form { background: var(--surface); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.15); }
.field .invalid { border-color: #d93a3a; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1630; color: #8e9bb5; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: var(--accent); }
.site-footer p { margin: 0; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card.featured { transform: none; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    box-shadow: 0 12px 24px rgba(15, 31, 61, 0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }

  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 340px; }
  .care-plan { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

@media (max-width: 560px) {
  .why-grid, .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .browser { inset: 20px 30px 40px 0; }
  .phone { width: 120px; height: 230px; }
  .float-2 { left: 0; }
  .contact-form { padding: 24px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
