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

:root {
  --navy:       #0f1f3d;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-dark:  #1d4ed8;
  --accent:     #f59e0b;
  --green:      #10b981;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --white:      #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title em { font-style: normal; color: var(--blue); }

.section-title-sm {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 28px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 48px;
  max-width: 560px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 12px 24px;
  font-size: .95rem;
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-nav {
  background: var(--blue);
  color: var(--white);
  padding: 9px 20px;
  font-size: .875rem;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.btn-nav:hover { background: var(--blue-dark); }

.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 14px; }

.btn-full { width: 100%; }

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

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--gray-100);
  background: white;
}
.mobile-menu a {
  padding: 10px 12px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  font-size: .95rem;
}
.mobile-menu a:hover { background: var(--gray-50); color: var(--blue); }
.mobile-menu .btn { margin-top: 8px; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(37,99,235,.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  z-index: -1;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.15);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge::before { content: '📍'; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-600);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.proof-icon {
  width: 18px;
  height: 18px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Problems ── */
.problems {
  padding: 96px 0;
  background: var(--white);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.problem-card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.problem-number {
  font-size: .75rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.problem-icon { font-size: 2.2rem; margin-bottom: 16px; }

.problem-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.problem-desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.problem-fix {
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.fix-label {
  display: block;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── How It Works ── */
.how-it-works {
  padding: 96px 0;
  background: var(--gray-50);
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 8px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.step:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-content p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), rgba(37,99,235,.3));
  align-self: center;
  flex-shrink: 0;
  margin-top: -20px;
}

/* ── Services ── */
.services {
  padding: 96px 0;
  background: var(--white);
}

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

.service-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
.service-card--featured:hover {
  border-color: var(--blue-light);
  transform: translateY(-3px);
}
.service-card--featured h3 { color: #ffffff !important; }
.service-card--featured p { color: #cbd5e1 !important; }
.service-card--featured .service-list li { color: #cbd5e1 !important; }
.service-card--featured .service-list li::before { color: #60a5fa !important; }

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.service-icon { font-size: 2.4rem; margin-bottom: 20px; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-list { display: flex; flex-direction: column; gap: 8px; }

.service-list li {
  font-size: .875rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Industries ── */
.industries {
  padding: 64px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.industry-tags span {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}
.industry-tags span:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,.04);
  cursor: default;
}

/* ── Testimonials ── */
.testimonials {
  padding: 96px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,.2);
  transform: translateY(-2px);
}

.stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: .925rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .9rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: .78rem;
  color: var(--gray-400);
}

/* ── Guarantee ── */
.guarantee {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3460 100%);
}

.guarantee-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-icon { font-size: 4rem; flex-shrink: 0; }

.guarantee-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.guarantee-text > p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.guarantee-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.g-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 24px 28px;
  flex: 1;
  min-width: 200px;
  transition: background var(--transition), border-color var(--transition);
}
.g-badge:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
}

.g-badge-icon {
  font-size: 2rem;
  line-height: 1;
}

.g-badge span:last-child {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.g-badge strong {
  display: block;
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
}

/* ── Contact ── */
.contact {
  padding: 96px 0;
  background: var(--gray-50);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-cta .section-sub { margin-bottom: 36px; }

.btn-xl {
  padding: 18px 48px;
  font-size: 1.2rem;
  border-radius: 16px;
  letter-spacing: .01em;
  box-shadow: 0 6px 24px rgba(37,99,235,.4);
  margin-bottom: 40px;
}
.btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,99,235,.5);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.trust-item {
  font-size: .9rem;
  color: var(--gray-600);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: white; }

.footer-bottom {
  padding: 20px 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .problems-grid,
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 24px; margin: 0; align-self: center; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .mobile-menu.open { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero-proof { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero-proof { align-items: center; }

  .problems-grid,
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .steps { gap: 8px; }
  .step-connector { display: none; }

  .guarantee-inner { flex-direction: column; gap: 24px; }
  .guarantee-icon { font-size: 2.8rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .section-sub { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
  .g-badge { min-width: 100%; }
  .guarantee-badges { flex-direction: column; }
}
