:root {
  --navy: #0A2540;
  --navy-2: #0E3356;
  --cyan: #00B4D8;
  --orange: #FF7A00;
  --orange-dark: #E56E00;
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --text: #0A2540;
  --muted: #4A6075;
  --line: #E2E9F0;
  --chip-bg: rgba(255, 255, 255, 0.08);
  --shadow: 0 1px 2px rgba(10, 37, 64, 0.06), 0 8px 24px rgba(10, 37, 64, 0.08);
  --radius: 16px;
}

:root[data-theme="dark"] {
  --bg: #0B1C2E;
  --surface: #10263C;
  --text: #EAF2F8;
  --muted: #9FB3C4;
  --line: #1E3A54;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand { display: flex; align-items: center; }
.logo { height: 42px; width: auto; }

@media (max-width: 480px) {
  .logo { height: 36px; }
}
.logo-light { display: none; }

[data-theme="dark"] .logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: block; }

.theme-toggle {
  margin-left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 720px) {
  .theme-toggle { margin-left: 8px; }
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--cyan); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 11px 18px 13px;
  white-space: nowrap;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: #FFFFFF;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 60%, #10406B 100%);
  color: #FFFFFF;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-chips { justify-content: center; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 16px;
}

.hero .lead {
  font-size: 1.1rem;
  color: #C7D6E4;
  max-width: 52ch;
}

.brand-anim { font-weight: 600; white-space: normal; }

.brand-anim span {
  opacity: 0;
  animation:
    brand-type 0.3s forwards,
    brand-wave 5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 70ms), calc(0.3s + var(--i) * 70ms);
}

@keyframes brand-type {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes brand-wave {
  0%, 100% { color: #FFFFFF; }
  35% { color: var(--cyan); }
  70% { color: var(--orange); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-anim span { opacity: 1; animation: none; color: var(--cyan); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-chips li {
  background: var(--chip-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: #C7D6E4;
}

/* Chat mockup */
.chat-card {
  background: var(--surface);
  color: var(--text);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-width: 380px;
  margin-left: auto;
  transform: rotate(1.5deg);
}

@media (max-width: 880px) {
  .chat-card { margin: 0 auto; transform: none; }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--navy);
  color: #FFFFFF;
}

.chat-head img { width: 36px; height: 36px; border-radius: 10px; }
.chat-head strong { display: block; font-family: "Poppins", sans-serif; font-size: 0.95rem; }
.chat-head span { font-size: 0.75rem; color: #7FDBEA; }

.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }

.msg {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 85%;
}

.msg.in {
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.msg.out {
  background: var(--cyan);
  color: #04293A;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

[data-theme="dark"] .section-alt { background: #0E2238; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--muted);
  max-width: 68ch;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* Product */
.product-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
}

[data-theme="dark"] .product-card { background: var(--surface); }

@media (max-width: 880px) {
  .product-card { grid-template-columns: 1fr; padding: 28px; }
}

.pill {
  display: inline-block;
  background: rgba(0, 180, 216, 0.12);
  color: var(--cyan);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}

.product-copy h3 { font-size: 1.8rem; }
.product-copy p { color: var(--muted); max-width: 56ch; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.feature-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 11.2 3.3 8l-1 1 4.2 4.3 7.2-7.2-1-1z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 11.2 3.3 8l-1 1 4.2 4.3 7.2-7.2-1-1z"/></svg>') center / contain no-repeat;
}

.product-copy > .btn { display: flex; width: max-content; margin: 0 auto; }

.product-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}

[data-theme="dark"] .stat { background: #0B1C2E; }

.stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  color: var(--orange);
}

.stat span { color: var(--muted); font-size: 0.9rem; }

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(10, 37, 64, 0.08), 0 16px 40px rgba(10, 37, 64, 0.14);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon svg { width: 28px; height: 28px; }

.card p { color: var(--muted); font-size: 0.95rem; }

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Steps */
.steps { margin-top: 56px; }

.steps-title { margin-bottom: 24px; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps-row li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}

.steps-row li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.steps-row strong {
  display: block;
  font-family: "Poppins", sans-serif;
  margin-bottom: 6px;
}

.steps-row span { color: var(--muted); font-size: 0.9rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.contact-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

[data-theme="dark"] .contact-card { background: var(--surface); }

a.contact-card:hover { border-color: var(--cyan); transform: translateY(-2px); }

.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-value {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #C7D6E4;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }

.footer-tag {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--cyan);
}

.footer-legal p { margin: 0 0 6px; font-size: 0.92rem; }
.footer-legal p:first-child { font-family: "Poppins", sans-serif; font-weight: 600; color: #FFFFFF; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  padding-bottom: 24px;
}

.footer-bottom p { margin: 0; font-size: 0.85rem; color: #8DA4B8; }
