:root {
  --bg: #ffffff;
  --bg-alt: #eef5fa;
  --panel: #ffffff;
  --panel-2: #f5f9fc;
  --text: #0f2c45;
  --heading: #0c2438;
  --muted: #56708a;
  --line: rgba(15, 60, 95, 0.14);
  --brand-navy: #0f3d5f;
  --brand-navy-2: #12496f;
  --brand-teal: #1fa89a;
  --brand-teal-2: #23b5a5;
  --brand-coral: #f2694b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(15, 60, 95, 0.45);
  --shadow-sm: 0 6px 18px -10px rgba(15, 60, 95, 0.35);
  --maxw: 1140px;
  --grad: linear-gradient(120deg, var(--brand-teal), var(--brand-navy));
  --grad-warm: linear-gradient(120deg, var(--brand-coral), var(--brand-teal));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.15; color: var(--heading); }

a { color: inherit; text-decoration: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 0.9rem;
}

/* Buttons */
.btn {
  --pad-y: 0.7rem; --pad-x: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--grad); color: #ffffff;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px -10px rgba(31, 168, 154, 0.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15, 61, 95, 0.6); }
.btn-lg { --pad-y: 0.95rem; --pad-x: 1.7rem; font-size: 1rem; }
.btn-sm { --pad-y: 0.5rem; --pad-x: 1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; color: var(--brand-navy);
  border-color: var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--brand-teal); background: rgba(31, 168, 154, 0.08); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 132px; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { height: 116px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--muted); font-weight: 600; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--brand-navy); }
.nav-links a.btn { color: #ffffff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brand-navy); border-radius: 2px; transition: 0.25s; }

/* Hero */
.hero { position: relative; padding: clamp(1rem, 2.5vw, 1.75rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 30% auto -10%; height: 620px;
  background: radial-gradient(600px 320px at 30% 20%, rgba(31,168,154,0.18), transparent 70%),
              radial-gradient(500px 300px at 70% 10%, rgba(242,105,75,0.16), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); margin: 1.2rem 0 1.8rem; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.4rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Sora", sans-serif; font-size: 1.6rem; color: var(--brand-navy); }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

/* Hero chat card */
.hero-card { justify-self: end; width: 100%; max-width: 400px; }
.chat {
  background: #ffffff;
  border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.chat-head { display: flex; align-items: center; gap: 6px; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.chat-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd6e2; }
.chat-head .dot:nth-child(1){ background:#f87171;} .chat-head .dot:nth-child(2){ background:#fbbf24;} .chat-head .dot:nth-child(3){ background:#34d399;}
.chat-head em { margin-left: auto; font-style: normal; font-size: 0.8rem; color: var(--muted); }
.bubble { padding: 0.7rem 0.95rem; border-radius: 14px; margin-bottom: 0.7rem; font-size: 0.92rem; max-width: 85%; }
.bubble.bot { background: rgba(31,168,154,0.1); border: 1px solid rgba(31,168,154,0.22); color: var(--heading); border-bottom-left-radius: 4px; }
.bubble.user { background: var(--grad); color: #ffffff; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.typing { display: inline-flex; gap: 4px; padding: 0.7rem 0.95rem; background: rgba(31,168,154,0.1); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-teal); animation: blink 1.4s infinite both; }
.typing span:nth-child(2){ animation-delay: 0.2s; } .typing span:nth-child(3){ animation-delay: 0.4s; }

@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@keyframes blink { 0%,80%,100%{ opacity: 0.3; } 40%{ opacity: 1; } }

/* Trust bar */
.trust { border-block: 1px solid var(--line); background: var(--bg-alt); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem,4vw,3rem); padding: 1rem 0; }
.trust-inner span { color: var(--muted); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 0.8rem; }

.grid { display: grid; gap: 1.2rem; }
.cards { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(31,168,154,0.5); box-shadow: var(--shadow); }
.card-icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgba(31,168,154,0.12); border: 1px solid var(--line); margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.split-media { display: grid; gap: 1.2rem; }
.stat-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.stat-tile strong { font-family: "Sora", sans-serif; font-size: 1.8rem; display: block; margin-bottom: 0.4rem; }
.stat-tile p { color: var(--muted); }
.split-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.split-copy > p { color: var(--muted); margin: 0.8rem 0 1.4rem; }
.checks { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #ffffff; font-size: 0.8rem; font-weight: 700; }

/* Steps */
.steps { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step-num { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 800; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 0.4rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Pills */
.pills { grid-template-columns: repeat(4, 1fr); }
.pill { text-align: center; padding: 1rem; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); font-weight: 600; color: var(--brand-navy); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, border-color 0.2s ease; }
.pill:hover { transform: translateY(-4px); border-color: rgba(242,105,75,0.55); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.contact-copy > p { color: var(--muted); margin: 0.8rem 0 1.4rem; }
.contact-list { list-style: none; display: grid; gap: 0.7rem; }
.contact-list a { color: var(--brand-teal); font-weight: 600; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  background: #f7fafc; border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(31,168,154,0.18); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 0.8rem; font-size: 0.9rem; min-height: 1.2rem; }
.form-note.ok { color: #0f9d78; }
.form-note.err { color: #dc4a3d; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 2.2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-logo { height: 120px; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: var(--brand-navy); }
.copyright { color: var(--muted); font-size: 0.85rem; width: 100%; text-align: center; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 0.4rem; }

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

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { justify-self: center; margin-top: 1rem; }
  .cards, .steps, .pills { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-inner { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 132px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--line);
    padding: 0.5rem 6%; transform: translateY(-130%); transition: transform 0.3s ease; height: auto;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin: 0.8rem 0; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg);} 
  .nav-toggle.open span:nth-child(2){ opacity: 0;} 
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);} 
}
@media (max-width: 540px) {
  .cards, .steps, .pills { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .brand-logo { height: 84px; }
}
