:root {
  --bg: #070b12;
  --bg-2: #0c1220;
  --card: #121a2b;
  --card-2: #172235;
  --text: #eef3f8;
  --muted: #9aa8b8;
  --faint: #6d7c8d;
  --line: rgba(255, 255, 255, 0.08);
  --green: #2d9a6a;
  --green-2: #1f7a52;
  --green-soft: rgba(45, 154, 106, 0.14);
  --gold: #d4b56a;
  --gold-soft: rgba(212, 181, 106, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1120px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.6em; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: #fff; padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.pattern {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='none' stroke='%232d9a6a' stroke-width='0.6' d='M36 4 L68 36 L36 68 L4 36 Z M36 20 L52 36 L36 52 L20 36 Z'/%3E%3C/svg%3E");
}
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; position: relative; z-index: 1; }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 18, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.logo svg { width: 34px; height: 34px; }
.logo span { font-family: var(--display); font-size: 1.45rem; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 0.45rem 0.7rem; font: inherit;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.25rem; border-radius: 12px; text-decoration: none; font-weight: 700;
  font-size: 0.95rem; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 0.7rem; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.lede { font-size: 1.15rem; max-width: 38rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 1.8rem; }
.chip {
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.82rem; color: var(--muted);
}
.phone {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 28px; padding: 1.1rem;
  box-shadow: var(--shadow); min-height: 420px;
}
.phone-bar { height: 10px; width: 86px; background: #2a3548; border-radius: 99px; margin: 0 auto 1rem; }
.bubble { max-width: 92%; padding: 0.85rem 1rem; border-radius: 16px; margin-bottom: 0.7rem; font-size: 0.92rem; }
.bubble p { margin: 0; color: inherit; }
.me { background: #243044; margin-left: auto; border-bottom-right-radius: 6px; }
.bot { background: var(--green-soft); border: 1px solid rgba(45,154,106,0.25); border-bottom-left-radius: 6px; }
.bot strong { color: var(--gold); display: block; font-size: 0.75rem; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.ayah { font-family: var(--display); font-size: 1.2rem; color: var(--text); margin-top: 0.35rem !important; }

section { padding: 4.2rem 0; position: relative; z-index: 1; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.kicker { color: var(--green); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}
.card h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 0.9rem; font-size: 1.2rem;
}

.bento { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feature-list li {
  padding: 0.55rem 0 0.55rem 1.6rem; position: relative; color: var(--muted);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--display); font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 0.4rem;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--faint); }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price-card { padding: 1.8rem; }
.price-card.featured { border-color: rgba(212,181,106,0.45); background: linear-gradient(180deg, rgba(212,181,106,0.08), var(--card)); }
.price { font-family: var(--display); font-size: 2.6rem; color: var(--text); margin: 0.3rem 0 0.8rem; }
.price small { font-size: 1rem; color: var(--muted); font-family: var(--font); }

.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.2rem 1rem;
  margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: 0.9rem; }
.faq details[open] summary { color: var(--gold); }

.cta-band {
  background: linear-gradient(135deg, #163528, #0c1220 55%, #2a2314);
  border: 1px solid var(--line); border-radius: 28px; padding: 2.6rem 2rem; text-align: center;
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { max-width: 36rem; margin: 0 auto 1.4rem; }

footer { border-top: 1px solid var(--line); padding: 2.4rem 0 2.8rem; position: relative; z-index: 1; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.foot h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.foot a { color: var(--muted); text-decoration: none; display: block; margin: 0.35rem 0; }
.foot a:hover { color: var(--text); }
.legal-page a { color: var(--gold); }
table tr:last-child td { border-bottom: 0; }
.price-card .btn { margin-top: 1rem; }
.legal-note { color: var(--faint); font-size: 0.85rem; margin-top: 1.6rem; }

.legal-page { padding: 3rem 0 4rem; max-width: 46rem; }
.legal-page h1 { font-size: 2.6rem; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal-page ul { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .bento, .grid-3, .grid-2, .steps, .pricing, .foot { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0c1220; border-bottom: 1px solid var(--line); padding: 0.6rem 1.2rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; }
  .hero { padding-top: 2.4rem; }
}
