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

:root {
  --blue-900: #1e3a5f;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --amber:    #f59e0b;
  --amber-dk: #d97706;
  --slate-900:#1e293b;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --white:    #ffffff;
  --radius:   12px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:0 8px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--slate-500); }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 6px 20px rgba(37,99,235,.45); }

.btn-amber {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-amber:hover { background: var(--amber-dk); }

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-200, #bfdbfe);
}
.btn-outline:hover { background: var(--blue-50); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ── Nav ──────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo span { color: var(--blue-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-500);
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue-600); }

.nav-cta { margin-left: auto; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ─────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, #3b6fd4 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: #bfdbfe;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.2);
}

#hero h1 { color: var(--white); margin-bottom: 20px; }
#hero h1 em { font-style: normal; color: #93c5fd; }

#hero .subtitle {
  font-size: 1.15rem;
  color: #bfdbfe;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-trust {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #93c5fd;
  font-size: .85rem;
  font-weight: 500;
}
.trust-item svg { opacity: .8; }

/* ── Section base ─────────────────────────────── */
section { padding: 88px 0; }
.section-label {
  display: inline-block;
  color: var(--blue-600);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; max-width: 520px; margin-bottom: 52px; line-height: 1.7; }

/* ── Services ─────────────────────────────────── */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--blue-100);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .9rem; line-height: 1.65; }

/* ── Why us ───────────────────────────────────── */
#why { background: var(--blue-50); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
}
.why-item h3 { font-size: 1.05rem; }
.why-item p { font-size: .88rem; line-height: 1.65; }

/* ── Pricing ──────────────────────────────────── */
#pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow .2s;
}
.plan:hover { box-shadow: var(--shadow-md); }

.plan.featured {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100), var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sup { font-size: 1.2rem; vertical-align: super; font-weight: 700; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--slate-500); }
.plan-desc { font-size: .87rem; color: var(--slate-500); margin-bottom: 24px; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--slate-700);
}
.plan-features li::before {
  content: '✓';
  color: var(--blue-600);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-features li.na {
  color: var(--slate-200);
  text-decoration: line-through;
}
.plan-features li.na::before { content: '—'; color: var(--slate-200); }

.plan .btn { width: 100%; justify-content: center; }

/* ── Contact ──────────────────────────────────── */
#contact { background: var(--slate-100); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; font-size: 1rem; line-height: 1.75; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--slate-700);
  font-weight: 500;
}
.contact-detail span { font-size: 1.2rem; }
.contact-detail a { color: var(--blue-600); font-weight: 600; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--slate-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--slate-900);
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: #16a34a;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ── Footer ───────────────────────────────────── */
footer {
  background: var(--slate-900);
  color: #94a3b8;
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand p { font-size: .87rem; line-height: 1.7; max-width: 240px; }

.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .87rem; transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .83rem; }
.footer-bottom a { color: var(--blue-500); }
.footer-bottom a:hover { color: var(--blue-300, #93c5fd); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--slate-200);
    gap: 20px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-cta.open { display: flex; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
