/* ── Variables ── */
:root {
  --navy:       #0F2156;
  --navy-mid:   #1E3A8A;
  --blue:       #3B82F6;
  --blue-light: #60A5FA;
  --grey:       #6B7280;
  --grey-light: #9CA3AF;
  --grey-bg:    #F8FAFC;
  --dark-bg:    #08122A;
  --dark-card:  #0D1C3D;
  --white:      #FFFFFF;
  --text:       #1F2937;
  --text-light: #6B7280;
  --border:     #E5E7EB;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(15, 33, 86, 0.10);
  --shadow-lg:  0 8px 48px rgba(15, 33, 86, 0.16);
  --transition: 0.25s ease;

  --max-width:  1200px;
  --section-py: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Utilities ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 33, 86, 0.30);
}
.btn-ghost {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }
.btn-full svg { width: 18px; height: 18px; }
.btn--success { background: #059669 !important; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.header.scrolled .nav-links a { color: var(--text); }
.header.scrolled .nav-links a:hover { color: var(--navy); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .hamburger span { background: var(--navy); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 860px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}
.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 36px;
}
.hstat { padding: 0 32px 0 0; }
.hstat:first-child { padding-left: 0; }
.hstat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hstat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hstat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  margin: 0 28px;
}

/* ── Sections ── */
.section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.section--dark {
  background: var(--dark-bg);
  color: var(--white);
}
.section--grey { background: var(--grey-bg); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header--light h2,
.section-header--light p { color: var(--white); }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.10);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag--light {
  color: var(--blue-light);
  background: rgba(59,130,246,0.20);
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-header--light h2 { color: var(--white); }
.section-header p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}
.section-header--light p { color: rgba(255,255,255,0.60); }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,130,246,0.30);
}
.service-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: var(--white);
}
.service-card--featured:hover { border-color: transparent; }
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(15,33,86,0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 32px; height: 32px; }
.service-icon--light { background: rgba(255,255,255,0.15); }
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}
.service-card--featured h3 { color: var(--white); }
.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}
.service-card--featured p { color: rgba(255,255,255,0.70); }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.service-card--featured .service-list li { color: rgba(255,255,255,0.85); }
.service-card--featured .service-list li::before { background: var(--blue-light); }

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(59,130,246,0.25);
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.step-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.30), rgba(59,130,246,0.10));
  margin-top: 44px;
  flex-shrink: 0;
}

/* ── About ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-card {
  background: var(--grey-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.about-card-logo { margin-bottom: 32px; }
.about-card-logo img { margin: 0 auto; }
.about-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-metric { padding: 0 32px; text-align: center; }
.am-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.am-lbl { font-size: 13px; color: var(--text-light); }
.about-metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.about-content .section-tag { margin-bottom: 16px; }
.about-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 16px;
}
.values { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-dot {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.value strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 3px;
}
.value span { font-size: 14px; color: var(--text-light); }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 12px;
  color: var(--text-light);
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact-info > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-form-wrap {
  background: var(--grey-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.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: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }

/* ── Footer ── */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 280px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.70); }

/* ── Scroll animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}
.services-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.testimonials-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.steps [data-animate]:nth-child(3) { transition-delay: 0.1s; }
.steps [data-animate]:nth-child(5) { transition-delay: 0.2s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: 2; }
  .about-content { order: 1; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    font-size: 22px;
    color: var(--white) !important;
  }
  .nav-cta { display: none; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 24px; }
  .hstat-divider { display: none; }
  .hstat { padding: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-wrap { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr; }
}
