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

:root {
  --bg:           #faf9f7;
  --bg2:          #ffffff;
  --card:         #ffffff;
  --border:       #ede8e1;
  --border2:      #d6cfc6;
  --accent:       #1a56db;
  --accent2:      #1345b5;
  --accent-light: #eef3ff;
  --text:         #1c1f26;
  --muted:        #6b7280;
  --green:        #059669;
  --orange:       #d97706;
  --hero-bg:      #0f172a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.1rem; }

a { color: inherit; text-decoration: none; }

/* ── Layout ─────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 8px; font-weight: 600; font-size: .92rem;
  cursor: pointer; border: none; transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,102,204,.2); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── Pill badge ─────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--accent-light); border: 1px solid rgba(0,102,204,.2);
  color: var(--accent); font-size: .78rem; font-weight: 700;
  padding: .28rem .85rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase;
}

/* ── Nav ────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,247,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.05rem;
  color: var(--text);
}
.nav-logo .mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; font-weight: 800;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

/* ── Hero ───────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 64px;
  background: var(--hero-bg);
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero-content .pill {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2);
  color: #c7d9f5;
  margin-bottom: 1.5rem;
}
.hero-content h1 { color: #ffffff; margin-bottom: 1.25rem; }
.hero-content h1 span {
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p { font-size: 1.05rem; color: #94afd4; max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn-outline {
  border-color: rgba(255,255,255,.3); color: #ffffff; background: transparent;
}
.hero-actions .btn-outline:hover { border-color: #60a5fa; color: #60a5fa; background: rgba(96,165,250,.08); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat .num { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 800; color: #60a5fa; }
.hero-stat .label { font-size: .8rem; color: #94afd4; }

/* ── Section headers ────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .pill { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--muted); max-width: 540px; margin: 0 auto; font-size: .95rem; }

/* ── Services ───────────────────────────────── */
#services { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,102,204,.08);
  transform: translateY(-2px);
}
.service-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-light); border: 1px solid rgba(0,102,204,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: .4rem; font-size: .98rem; color: var(--text); }
.service-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

/* ── Why us ─────────────────────────────────── */
#why-us { background: var(--bg); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  display: flex; gap: 1.25rem;
  transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.why-card .icon {
  font-size: 1.5rem; flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--accent-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.why-card h3 { margin-bottom: .35rem; font-size: 1rem; color: var(--text); }
.why-card p { color: var(--muted); font-size: .88rem; }

/* ── Pricing ────────────────────────────────── */
#pricing { background: var(--bg2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.pricing-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
  position: relative; transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #eff6ff, #ffffff);
  box-shadow: 0 4px 24px rgba(0,102,204,.12);
}
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .85rem; border-radius: 999px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .08em;
}
.pricing-card .plan { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: .5rem; }
.pricing-card .price {
  font-family: 'Inter', sans-serif; font-size: 2.1rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: .15rem;
}
.pricing-card .price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.pricing-card .setup { font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-card hr { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.pricing-card ul li { display: flex; gap: .6rem; font-size: .86rem; color: var(--muted); }
.pricing-card ul li::before { content: '✓'; color: var(--green); flex-shrink: 0; font-weight: 700; }
.pricing-card ul li.no { color: #c4cdd9; }
.pricing-card ul li.no::before { content: '×'; color: #c4cdd9; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── FAQ ────────────────────────────────────── */
#faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .65rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.4rem;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-family: 'Inter', sans-serif;
  font-size: .92rem; font-weight: 600; text-align: left;
}
.faq-q .chevron { transition: transform .25s; flex-shrink: 0; color: var(--muted); }
.faq-item.open .chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  color: var(--muted); font-size: .88rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 1.4rem 1.15rem; }

/* ── Contact ────────────────────────────────── */
#contact { background: var(--bg2); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; font-size: .95rem; }
.contact-links { display: flex; flex-direction: column; gap: .85rem; }
.contact-link {
  display: flex; align-items: center; gap: .85rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: .9rem 1.1rem;
  transition: border-color .2s;
}
.contact-link:hover { border-color: var(--accent); }
.contact-link .icon { font-size: 1.2rem; }
.contact-link .label { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.contact-link .val { font-weight: 600; font-size: .88rem; color: var(--text); }
.contact-form {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--card); border: 1.5px solid var(--border);
  border-radius: 8px; padding: .7rem 1rem;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: .9rem;
  transition: border-color .2s; resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,102,204,.08); }
.form-group textarea { height: 110px; }
.form-group select option { background: #fff; }
.form-notice { font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.form-msg { padding: .75rem 1rem; border-radius: 8px; font-size: .88rem; margin-bottom: 1rem; display: none; }
.form-msg.success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; display: block; }
.form-msg.error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; display: block; }

/* ── Footer ─────────────────────────────────── */
footer {
  background: #1c1f26;
  color: #e2e8f0;
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { color: #fff; }
.footer-brand p { color: #94a3b8; font-size: .88rem; margin-top: .75rem; max-width: 300px; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .86rem; color: #94a3b8; transition: color .2s; }
.footer-col ul li a:hover { color: #60a5fa; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  font-size: .8rem; color: #64748b;
}
.footer-bottom a { color: #64748b; transition: color .2s; }
.footer-bottom a:hover { color: #60a5fa; }

/* ── Mobile nav overlay ─────────────────────── */
#nav-mobile {
  display: none; position: fixed; inset: 64px 0 0 0;
  background: rgba(250,249,247,.97); backdrop-filter: blur(12px);
  z-index: 99; flex-direction: column; padding: 2rem 1.5rem; gap: 1.5rem;
  border-top: 1px solid var(--border);
}
#nav-mobile.open { display: flex; }
#nav-mobile a { font-size: 1rem; font-weight: 600; color: var(--muted); padding: .5rem 0; border-bottom: 1px solid var(--border); }
#nav-mobile a:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}
