:root {
  --bg: #ffffff;
  --bg-alt: #f4f8f9;
  --ink: #0f2330;
  --muted: #4a5d68;
  --brand: #0e8f8a;
  --brand-dark: #0a6e6a;
  --accent: #2b6cb0;
  --line: #e2ebec;
  --shadow: 0 18px 40px -18px rgba(14, 143, 138, 0.35);
  --radius: 16px;
}

* { 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;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

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

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.brand-name { color: var(--ink); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--brand); }

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

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: 0.95rem; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand);
  box-shadow: none;
}

/* Hero */
.hero {
  padding: 80px 0 90px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(43, 108, 176, 0.10), transparent),
    radial-gradient(700px 380px at 0% 10%, rgba(14, 143, 138, 0.10), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* Hero art */
.hero-art { position: relative; min-height: 320px; }
.orb {
  position: absolute;
  inset: 10% 10% 10% 10%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--brand), var(--accent), var(--brand));
  filter: blur(8px);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
.card-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.card-1 { top: 12%; left: 4%; }
.card-2 { top: 44%; right: 0%; animation-delay: 1.2s; }
.card-3 { bottom: 8%; left: 18%; animation-delay: 2.1s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: #22c55e; }
.dot.blue { background: var(--accent); }
.dot.teal { background: var(--brand); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
}
.section-title.left { text-align: left; margin-bottom: 20px; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.9rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* Integration */
.integration-grid, .about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.check-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; font-weight: 500; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: #fff; background: var(--brand);
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 0.7rem; display: grid; place-items: center;
}
.integration-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
}
.flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow-node {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.flow-node.accent { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; border: 0; }
.flow-arrow { color: var(--brand); font-weight: 700; font-size: 1.2rem; }
.flow-caption { text-align: center; color: var(--muted); margin-top: 18px; font-size: 0.92rem; }

/* About stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); }
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* Contact */
.contact-direct { margin-top: 16px; font-weight: 500; }
.contact-direct a { color: var(--brand-dark); text-decoration: underline; }
.contact-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 143, 138, 0.15);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; min-height: 1em; }
.form-note.ok { color: var(--brand-dark); }
.form-note.err { color: #c0392b; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { width: 100%; padding: 0 6%; }
  .nav-links li a { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .nav-links li:first-child a { border-top: 0; }
  .nav-links .btn { margin: 12px 0; }

  .hero-grid, .integration-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 240px; order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}
