/* ============================
   FLOWORK — styles.css
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- Custom Properties ---- */
:root {
  --blue-900: #0d2167;
  --blue-800: #0f2980;
  --blue-700: #1e3a8a;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-100: #d1fae5;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --font: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(13,33,103,.12);
  --shadow-lg: 0 12px 40px rgba(13,33,103,.18);
  --shadow-glow: 0 0 40px rgba(16,185,129,.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-500);
  background: var(--green-100);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 56px;
}
.text-green { color: var(--green-500); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(16,185,129,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,.5);
}
.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border: 2px solid var(--blue-700);
}
.btn-outline:hover {
  background: var(--blue-900);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-lg {
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,.8);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.navbar__logo { display: flex; align-items: center; }
.navbar__logo img { height: 36px; width: auto; }
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border: none;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  color: var(--gray-600);
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.navbar__cta {
  font-size: .9rem;
  padding: 10px 22px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-lang { justify-content: flex-start; }


/* ============================
   HERO
   ============================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #020b2e 0%, var(--blue-900) 35%, var(--blue-700) 65%, #0e3d6e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .35;
}
.hero__bg-orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--green-500), transparent);
  top: -200px; right: -200px;
}
.hero__bg-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2563eb, transparent);
  bottom: -150px; left: -150px;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 8px 20px;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.07;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 820px;
}
.hero__title .hl {
  background: linear-gradient(90deg, var(--green-400), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.3);
  border-bottom: 2px solid rgba(255,255,255,.3);
  transform: rotate(45deg);
  animation: bounceDown 1.6s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================
   LOGOS STRIP
   ============================ */
.logos-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 24px;
  text-align: center;
}
.logos-strip p {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.logos-strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  align-items: center;
}
.logos-strip__item {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .04em;
  opacity: .7;
}

/* ============================
   PROBLEM SECTION
   ============================ */
.section-problem {
  padding: 100px 24px;
  background: var(--white);
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 12px;
}
.problem-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
}
.problem-card:hover {
  border-color: var(--blue-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.problem-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.problem-card__icon svg { width: 26px; height: 26px; color: var(--blue-700); }
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}
.problem-card p { font-size: .95rem; color: var(--gray-600); line-height: 1.65; }

/* ============================
   SOLUTION SECTION
   ============================ */
.section-solution {
  padding: 100px 24px;
  background: linear-gradient(170deg, #f0f7ff 0%, #eefdf6 100%);
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solution-visual {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.solution-visual__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.solution-visual__logo {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.solution-visual__logo-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.solution-visual__logo img { height: 48px; width: auto; display: block; }
.solution-stat {
  position: relative;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
}
.solution-stat:last-child { margin-bottom: 0; }
.solution-stat__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-400);
  line-height: 1;
}
.solution-stat__label {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
}
.solution-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.solution-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.solution-point__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(16,185,129,.3);
}
.solution-point__icon svg { width: 22px; height: 22px; color: white; }
.solution-point h4 { font-size: 1rem; font-weight: 700; color: var(--blue-900); margin-bottom: 4px; }
.solution-point p { font-size: .9rem; color: var(--gray-600); }

/* ============================
   FEATURES SECTION
   ============================ */
.section-features {
  padding: 100px 24px;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}
.feature-icon svg { width: 30px; height: 30px; color: white; }
.feature-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--blue-900); margin-bottom: 12px; }
.feature-card p { font-size: .95rem; color: var(--gray-600); line-height: 1.65; }
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green-500);
}
.feature-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

/* ============================
   DIFFERENTIATION SECTION
   ============================ */
.section-diff {
  padding: 100px 24px;
  background: linear-gradient(150deg, var(--blue-900) 0%, #0e3d6e 100%);
  position: relative;
  overflow: hidden;
}
.section-diff__bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section-diff__orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.2), transparent 70%);
  right: -200px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.diff-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.diff-text .section-title { color: var(--white); }
.diff-text .section-sub { color: rgba(255,255,255,.7); max-width: 100%; }
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
}
.diff-item:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(52,211,153,.4);
}
.diff-item__check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.diff-item__check svg { width: 14px; height: 14px; color: white; }
.diff-item h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.diff-item p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.5; }

/* ============================
   FINAL CTA SECTION
   ============================ */
.section-finalcta {
  padding: 120px 24px;
  background: var(--gray-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.finalcta-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.finalcta-card__bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.finalcta-card__orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,.3), transparent 70%);
  top: -150px; right: -150px;
  border-radius: 50%;
  pointer-events: none;
}
.finalcta-card h2 {
  position: relative;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.finalcta-card p {
  position: relative;
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
}
.finalcta-card .btn { position: relative; }
.finalcta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   CONTACT SECTION
   ============================ */
.section-contact {
  padding: 100px 24px;
  background: var(--white);
  text-align: center;
}
.contact-card {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 32px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 60px;
  justify-content: center;
  margin-top: 8px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.contact-item__icon svg { width: 24px; height: 24px; color: white; }
.contact-item__info { text-align: left; }
.contact-item__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.contact-item__val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  transition: color var(--transition);
}
.contact-item a:hover .contact-item__val { color: var(--green-500); }

/* ============================
   ABOUT / FOUNDER SECTION
   ============================ */
.section-about {
  padding: 100px 24px;
  background: linear-gradient(170deg, #f0f7ff 0%, #eefdf6 100%);
}
.about-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 72px 56px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-card__accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green-500), var(--green-400));
  border-radius: 4px 0 0 4px;
}
.about-card__quote-mark {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--green-100);
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.about-card__body {
  position: relative;
}
.about-card__text {
  font-size: 1.08rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 680px;
}
.about-card__text:last-of-type {
  margin-bottom: 36px;
}
.about-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-card__author-dot {
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  border-radius: 2px;
  flex-shrink: 0;
}
.about-card__author-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-900);
}
.about-card__author-role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .about-card {
    padding: 44px 24px 36px;
  }
  .about-card__quote-mark {
    font-size: 5rem;
    right: 12px;
    top: 12px;
  }
  .about-card__text {
    font-size: 1rem;
  }
  .about-card__author-name {
    font-size: .95rem;
  }
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--gray-900);
  padding: 48px 24px 36px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo { height: 40px; width: auto; display: block; }
.footer-tagline {
  font-size: .95rem;
  color: rgba(255,255,255,.45);
  max-width: 380px;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal__link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
  padding: 4px 2px;
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.footer-legal__link:hover {
  color: var(--green-400);
  text-decoration-color: var(--green-400);
}
.footer-legal__sep {
  color: rgba(255,255,255,.2);
  font-size: .85rem;
  pointer-events: none;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  margin-top: 4px;
}

/* ============================
   LEGAL MODALS (Privacy & Terms)
   ============================ */
.legal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,50,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.legal-overlay.open {
  display: flex;
  animation: modalFadeIn .22s ease forwards;
}

.legal-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 100px rgba(13,33,103,.32);
  animation: modalSlideUp .28s cubic-bezier(0.34,1.56,0.64,1) forwards;
  overflow: hidden;
}

/* Sticky header */
.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.legal-modal__header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.legal-modal__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 14px rgba(16,185,129,.3);
}
.legal-modal__icon--blue {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  box-shadow: 0 4px 14px rgba(13,33,103,.3);
}
.legal-modal__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.2;
  margin: 0;
}
.legal-modal__date {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 3px;
  font-weight: 500;
}
.legal-modal__close {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
}
.legal-modal__close:hover { background: var(--gray-200); color: var(--blue-900); }

/* Scrollable content */
.legal-modal__body {
  overflow-y: auto;
  padding: 32px 32px 40px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.legal-modal__body::-webkit-scrollbar { width: 6px; }
.legal-modal__body::-webkit-scrollbar-track { background: var(--gray-50); }
.legal-modal__body::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 3px;
}
.legal-modal__body::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

.legal-intro {
  font-size: .98rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}
.legal-intro a {
  color: var(--green-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-intro a:hover { color: var(--blue-700); }

.legal-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}
.legal-section--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.legal-section__num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 900;
}
.legal-section p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section__note {
  margin-top: 12px !important;
  background: var(--gray-50);
  border-left: 3px solid var(--green-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px !important;
  font-size: .88rem !important;
}
.legal-section__note a {
  color: var(--green-500);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-list {
  margin: 10px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 4px;
}
.legal-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  margin-top: 8px;
}

.legal-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.legal-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--blue-900);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
  width: fit-content;
}
.legal-contact__item svg { color: var(--green-500); flex-shrink: 0; }
.legal-contact__item:hover {
  background: var(--green-100);
  border-color: var(--green-500);
  color: var(--green-500);
  transform: translateX(4px);
}

/* Legal modal responsive */
@media (max-width: 640px) {
  .legal-overlay { padding: 0; align-items: flex-end; }
  .legal-modal {
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
  }
  .legal-modal__header { padding: 18px 20px; }
  .legal-modal__title { font-size: 1.05rem; }
  .legal-modal__icon { width: 38px; height: 38px; border-radius: 10px; }
  .legal-modal__body { padding: 24px 20px 36px; }
  .legal-intro { font-size: .92rem; }
  .legal-section__title { font-size: .95rem; }
  .legal-contact__item { width: 100%; }
}

@media (max-width: 400px) {
  .legal-modal__header { padding: 14px 16px; gap: 10px; }
  .legal-modal__body { padding: 20px 16px 32px; }
  .legal-modal__icon { display: none; }
}


/* ============================
   SCROLL REVEAL
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .solution-grid, .diff-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Show solution visual on tablet but smaller */
  .solution-visual {
    display: block;
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .navbar__cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 20px 70px; }
  .hero__title { letter-spacing: -1px; }
  .contact-card { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .finalcta-card { padding: 52px 28px; border-radius: var(--radius-lg); }
  /* Section vertical spacing */
  .section-problem, .section-solution, .section-features,
  .section-diff, .section-contact, .section-about { padding: 72px 16px; }
  .section-finalcta { padding: 72px 16px; }
  /* About card on tablet */
  .about-card { padding: 52px 40px 44px; }
}

@media (max-width: 600px) {
  /* Hide solution visual on phone — show only stats text side */
  .solution-visual { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .finalcta-actions { flex-direction: column; align-items: center; }
  .finalcta-actions .btn { width: 100%; justify-content: center; }
  /* Contact card full width on mobile */
  .contact-card { width: 100%; padding: 28px 20px; }
  .contact-item { width: 100%; }
  /* Features grid single col */
  .features-grid { grid-template-columns: 1fr; }
  .problem-cards { grid-template-columns: 1fr; }
}

/* ============================
   LEAD CAPTURE MODAL
   ============================ */
.lead-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 50, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lead-modal-overlay.open {
  display: flex;
  animation: modalFadeIn .25s ease forwards;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lead-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 48px 44px;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(13,33,103,.28);
  animation: modalSlideUp .3s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes modalSlideUp {
  from { transform: translateY(32px) scale(.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.lead-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
}
.lead-modal__close:hover { background: var(--gray-200); color: var(--blue-900); }

.lead-modal__header {
  text-align: center;
  margin-bottom: 32px;
}
.lead-modal__icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(16,185,129,.35);
  color: white;
}
.lead-modal__title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.lead-modal__sub {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Form */
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-form__field label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: .04em;
}
.lead-form__field label span {
  color: var(--green-500);
}
.lead-form__field input,
.lead-form__field textarea {
  font-family: var(--font);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
  outline: none;
  width: 100%;
}
.lead-form__field input:focus,
.lead-form__field textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
  background: var(--white);
}
.lead-form__field.error input,
.lead-form__field.error textarea {
  border-color: #ef4444;
}
.lead-form__field { margin-bottom: 16px; }
.lead-form__row .lead-form__field { margin-bottom: 0; }

.lead-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1rem;
  padding: 15px;
  border-radius: var(--radius-md);
  gap: 10px;
  border: none;
  cursor: pointer;
}
.lead-form__submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none !important;
}

.lead-form__success,
.lead-form__error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
}
.lead-form__success {
  background: var(--green-100);
  color: #065f46;
}
.lead-form__error {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 640px) {
  .lead-modal-overlay { padding: 12px; align-items: flex-end; }
  .lead-modal {
    padding: 36px 20px 28px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 95vh;
    margin-bottom: 0;
  }
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-modal__title { font-size: 1.3rem; }
  .lead-modal__icon { width: 50px; height: 50px; }
  .lead-form__field input,
  .lead-form__field textarea { font-size: 16px; /* prevent iOS zoom */ }
}

@media (max-width: 400px) {
  .lead-modal { padding: 28px 16px 24px; }
  .lead-modal__header { margin-bottom: 20px; }
}
