@import url('fonts.css');


:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  --primary: #4f46e5; 
  --secondary: #0ea5e9; 
  --gradient: linear-gradient(135deg, #4f46e5, #0ea5e9);
  --gradient-text: linear-gradient(135deg, #4338ca, #0284c7);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border: rgba(15,23,42,0.08);
  --border-accent: rgba(79,70,229,0.25);

  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --shadow-card: 0 2px 10px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 10px 25px rgba(79,70,229,0.1);
  --shadow-glow: 0 0 20px rgba(79,70,229,0.2);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --section-pad: 4.5rem; 
  --bg-subtle: rgba(79, 70, 229, 0.03); /* New subtle background tint */
}

@media (max-width: 768px) {
  :root {
    --section-pad: 2.5rem; 
  }
  html { font-size: 15px; } 
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }


body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}


h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.03em; }
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--section-pad) 0; position: relative; z-index: 1; }
.section-subtle { background-color: var(--bg-subtle); }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,0.3);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.btn-secondary:hover {
  border-color: var(--border-accent);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }


.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  position: relative;
  z-index: 1001;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.9rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.25rem; cursor: pointer; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card-hover);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.dropdown-menu a:hover { background: var(--bg-secondary); color: var(--primary); }
.dropdown-menu svg { width: 16px; height: 16px; stroke: var(--primary); }
.nav-cta { margin-left: 0.5rem; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); transform-origin: center; }

/* Hamburger Active State */
.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 {
  padding: 7rem 0 3rem;
  position: relative;
}
.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 50vh;
  background: radial-gradient(ellipse, rgba(79,70,229,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem;
}
.hero-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }


.trust-bar {
  padding: 2rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.trust-bar-overflow { overflow: hidden; width: 100%; }
.trust-bar-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.trust-scroll {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3rem;
  align-items: center;
  animation: scroll-left 30s linear infinite;
  width: max-content;
  will-change: transform;
}
.trust-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.trust-item img, .trust-item svg {
  height: 26px;
  width: auto;
  max-width: 90px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: block;
  object-fit: contain;
}
.trust-item:hover img, .trust-item:hover svg {
  transform: scale(1.08);
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95rem;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}
.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79,70,229,0.08);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.25rem; }
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.service-link:hover svg { transform: translateX(3px); }


.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; }


.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 20px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.step-item { text-align: center; padding: 0.5rem; }
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
  margin: 0 auto 0.75rem;
  box-shadow: 0 0 15px rgba(79,70,229,0.1);
  position: relative; z-index: 1;
}
.step-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.step-item p { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.4; }


.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.stars { color: #eab308; display: flex; gap: 0.2rem; margin-bottom: 0.75rem; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.testimonial-card blockquote {
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.6rem; }
.author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(79,70,229,0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.8rem;
}
.author-name { font-weight: 600; font-size: 0.85rem; }
.author-role { color: var(--text-muted); font-size: 0.75rem; }


/* ── GUARANTEE SECTION ─────────────────────────────────────────────── */
.guarantee-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.guarantee-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 0.4rem 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.guarantee-badge svg { 
  width: 14px !important; 
  height: 14px !important; 
  flex-shrink: 0;
  display: inline-block;
}
.guarantee-hero h3 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.guarantee-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.guarantee-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.guarantee-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.guarantee-card:hover::before { opacity: 1; }
.guarantee-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(79,70,229,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.guarantee-icon svg { width: 22px; height: 22px; }
.guarantee-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-primary); }
.guarantee-card p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; margin: 0; }


.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card-hover);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(79,70,229,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.cta-box p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }
.cta-note { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.75rem; }


.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-item.active { border-color: var(--border-accent); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; font-size: 0.9rem;
}
.faq-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: transform 0.3s;
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 1.25rem 1rem; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }


.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 0.75rem; line-height: 1.5; }
.footer-col h5 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }


.fade-up { opacity: 0; transform: translateY(15px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.05s; }
.fade-up-delay-2 { transition-delay: 0.1s; }
.fade-up-delay-3 { transition-delay: 0.15s; }


.hero-content-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.hero-text { flex: 1.1; text-align: left; }
.hero-text .hero-badge { margin: 0 0 1.5rem 0; }
.hero-text .hero-buttons { justify-content: flex-start; }
.hero-graphic { flex: 0.9; position: relative; width: 100%; min-height: 450px; }

.hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 50%; 
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hub-node:hover { 
  transform: translate(-50%, -50%) scale(1.1); 
  box-shadow: 0 10px 30px rgba(14,165,233,0.15); 
  z-index: 3; 
}
.hub-node img, .hub-node svg { width: 30px; height: 30px; }

.hub-center {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 0 0 1px rgba(14,165,233,0.05), 0 15px 35px rgba(14,165,233,0.1);
}
.hub-center img, .hub-center svg { width: 36px; height: 36px; color: var(--primary); }

.hero-graphic::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px; 
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}

.hub-lines {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
}
.base-line { stroke: #e2e8f0; stroke-width: 1.5; opacity: 0.6; }
.flow-line { 
  stroke: var(--primary); 
  stroke-width: 2.5; 
  stroke-dasharray: 4 200; 
  animation: dash-flow 3s linear infinite; 
  opacity: 0.8;
}
.flow-line.reverse { 
  animation-direction: reverse; 
}

@keyframes dash-flow {
  from { stroke-dashoffset: 204; }
  to { stroke-dashoffset: 0; }
}

.hub-label {
  position: absolute;
  top: 115%;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  pointer-events: none;
}

.converging-wrapper { position: relative; width: 100%; max-width: 800px; height: 400px; margin: 3rem auto; }

.desktop-how-it-works { display: block; }
.mobile-how-it-works { display: none; }


.tabs-wrapper {
  display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem; margin-bottom: 2rem;
  scrollbar-width: none; 
}
.tabs-wrapper::-webkit-scrollbar { display: none; } 
.tab-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 500; font-size: 0.95rem;
  cursor: pointer; white-space: nowrap; transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--primary); color: var(--text-primary); }
.tab-btn.active {
  background: #f0f9ff;
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}

.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

.stepper {
  display: flex; flex-direction: column; position: relative; padding-left: 20px;
}
.stepper::before {
  content: ''; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 2px;
  background: #f1f5f9; z-index: 0;
}
.step {
  display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; position: relative; z-index: 1;
}
.step:last-child { margin-bottom: 0; }
.step-icon {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-shrink: 0;
}
.step-icon svg { width: 20px; height: 20px; }
.step-text h4 { margin: 0 0 0.25rem 0; font-size: 1.1rem; color: var(--text-primary); font-weight: 600; }
.step-text p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }


@media (max-width: 900px) {
  .hero-graphic { display: none !important; }
  .desktop-how-it-works { display: none !important; }
  .mobile-how-it-works { display: block !important; }
  .hero-content-wrapper { flex-direction: column; text-align: center; }
  .hero-text { text-align: center; }
  .hero-text .hero-badge { margin: 0 auto 1.5rem; }
  .hero-text .hero-buttons { justify-content: center; }
  .converging-wrapper { height: 300px; display: none; }
}

@media (max-width: 768px) {
  body.menu-open { overflow: hidden; }
  
  .nav-links { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0;
    right: 0;
    height: calc(100vh - 65px);
    height: calc(100dvh - 65px);
    padding-bottom: 2rem;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.5rem; 
    border-radius: 0;
    box-shadow: none;
    border: none;
    gap: 1rem; 
    z-index: 999; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    align-items: center;
  }
  .nav-links.open { 
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li { 
    width: 100%; 
    text-align: center; 
    opacity: 0; 
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.open li {
    opacity: 1; 
    transform: translateY(0);
  }
  .nav-links.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.25s; }

  .nav-links a { 
    font-size: 1.25rem; 
    font-weight: 600; 
    color: var(--text-primary); 
    width: 100%; 
    display: inline-block; 
    padding: 0.75rem 0; 
    border: none; 
    border-radius: 0; 
    transition: color 0.2s ease;
  }
  .nav-links a:hover { background: transparent; color: var(--primary); }
  
  .nav-dropdown > a { justify-content: center; display: flex; align-items: center; }
  .nav-dropdown > a svg { margin-left: 0.5rem; width: 14px; height: 14px; opacity: 0.7; }
  
  /* Mobile dropdown — hidden by default, shown when parent .nav-dropdown has .open class */
  .dropdown-menu { 
    position: static; 
    transform: none; 
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none; 
    border: none; 
    background: rgba(79,70,229,0.03); 
    padding: 0 1rem; 
    border-radius: var(--radius-lg);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: opacity 0.25s ease, max-height 0.35s ease, padding 0.25s ease, margin 0.25s ease;
  }
  .nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 1rem;
    margin: 0.5rem 0 1rem 0;
  }
  .dropdown-menu a { 
    font-size: 1.05rem; 
    border: none; 
    padding: 0.5rem; 
    color: var(--text-secondary); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 0.75rem; 
  }
  .dropdown-menu svg { display: block; width: 18px; height: 18px; stroke: var(--primary); opacity: 0.8; } 
  
  .nav-cta { 
    margin-top: auto; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    padding-top: 2rem; 
  }
  .nav-cta .btn { 
    width: 100%; 
    max-width: 300px;
    padding: 1rem 1.5rem; 
    font-size: 1.05rem; 
    border-radius: var(--radius-md); 
  }
  
  .hamburger { display: flex; position: relative; }
  .hamburger.active span { background: var(--text-primary); }
  .hero { padding: 5rem 0 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(even) { border-right: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Desktop hover rule does NOT apply on mobile — handled by JS .open class */
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.nav-cta .btn { padding: 0.6rem 1.5rem; font-weight: 700; font-size: 0.95rem; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3); border-radius: var(--radius-md); color: #ffffff !important; }

/* Contact form global styles */
.form-section { padding: 4rem 0; background: var(--bg-secondary); }
.form-wrapper { max-width: 550px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-accent); border-radius: var(--radius-xl); padding: 2.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow-card-hover); }
.form-wrapper h2 { font-size: 1.5rem; text-align: center; margin-bottom: 0.5rem; }
.form-wrapper .sub { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem; transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; padding: 0.85rem; font-size: 0.95rem; margin-top: 0.5rem; }
.form-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }

.form-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); border-radius: var(--radius-sm); padding: 1rem; text-align: center; color: #059669; font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.9rem; }
.hidden { display: none !important; }

@media (max-width: 768px) {
  .form-wrapper { padding: 1.75rem 1.25rem; }
}
