:root {
  --primary: #2AA9B2;
  --secondary: #F48678;
  --dark: #13233f;
  --text: #1d2b43;
  --muted: #61708a;
  --bg: #f7fbfc;
  --surface: #ffffff;
  --soft: #eef8f9;
  --border: rgba(19, 35, 63, 0.08);
  --shadow: 0 20px 40px rgba(24, 39, 75, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand-logo { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--dark);
}

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 85% 15%, rgba(244,134,120,0.20), transparent 22%),
    radial-gradient(circle at 15% 80%, rgba(42,169,178,0.18), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
}

.hero-grid,
.split-layout,
.tech-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 42px;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(42,169,178,0.12);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag-light {
  background: rgba(255,255,255,0.12);
  color: #aef3f7;
}

.hero h1,
.section h2 {
  margin: 18px 0 16px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  max-width: 11ch;
}

.hero h1 span { color: var(--secondary); }
.hero p,
.section-header p,
.team-copy p,
.split-layout p,
.tech-grid p { color: var(--muted); font-size: 18px; }
.section-dark p { color: rgba(255,255,255,0.82); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 28px rgba(42,169,178,0.28);
}

.btn-secondary {
  background: rgba(244,134,120,0.14);
  color: var(--secondary);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.badge {
  width: 160px;
  border-radius: 16px;
  background: white;
  padding: 8px;
  box-shadow: var(--shadow);
}

.mini-stat {
  background: white;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mini-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--dark);
}

.mini-stat span {
  color: var(--muted);
  font-size: 14px;
}

.card-surface,
.feature-card,
.stat-card,
.team-panel,
.visual-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-visual {
  padding: 18px;
  background: linear-gradient(160deg, rgba(42,169,178,0.12), rgba(244,134,120,0.08));
}

.hero-app {
  width: 100%;
  border-radius: 26px;
}

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: white; }
.section-header { max-width: 760px; margin-bottom: 34px; }
.section-header.center { text-align: center; margin-inline: auto; }

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.info-item {
  padding: 18px 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.info-item strong {
  display: block;
  color: var(--dark);
  margin-bottom: 6px;
}

.info-item span { color: var(--muted); }

.coral-panel {
  background: linear-gradient(180deg, rgba(244,134,120,0.14), rgba(42,169,178,0.10));
  padding: 18px;
}

.illustration,
.team-app { border-radius: 24px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
}

.feature-card h3,
.stat-number,
.section h2,
.hero h1 { color: var(--dark); }

.feature-card h3 { margin: 0 0 10px; font-size: 22px; }
.feature-card p { margin: 0; color: var(--muted); }

.section-dark h2 { color: white; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pill-list span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}

.light-surface {
  background: rgba(255,255,255,0.96);
  padding: 26px;
}

.p4-diagram {
  width: min(100%, 360px);
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  padding: 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.accent-card {
  background: linear-gradient(180deg, rgba(42,169,178,0.12), rgba(244,134,120,0.16));
}

.team-panel { padding: 16px; }
.team-copy { max-width: 580px; }

.site-footer {
  background: #0f1c33;
  color: rgba(255,255,255,0.86);
  padding: 28px 0 34px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo { height: 36px; margin-bottom: 12px; }
.footer-copy { margin: 0; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a,
.footer-button {
  color: white;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}

.cookie-content {
  width: min(1120px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p { margin: 6px 0 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 51, 0.48);
  display: grid;
  place-items: center;
  z-index: 70;
  padding: 20px;
}

.cookie-dialog {
  width: min(560px, 100%);
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.cookie-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.close-button {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.cookie-option p { margin: 6px 0 0; color: var(--muted); }
.modal-actions { margin-top: 18px; }

.switch {
  position: relative;
  width: 54px;
  height: 32px;
  flex: 0 0 auto;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  inset: 0;
  background: #c5cfdb;
  border-radius: 999px;
  transition: 0.25s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: white;
  transition: 0.25s ease;
  box-shadow: 0 3px 8px rgba(15, 28, 51, 0.2);
}

.switch input:checked + .slider {
  background: var(--primary);
}

.switch input:checked + .slider::before {
  transform: translateX(22px);
}

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .tech-grid,
  .stats-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid,
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links.open { display: flex; }

  .hero-grid,
  .split-layout,
  .tech-grid,
  .stats-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .reverse-mobile > :first-child { order: 2; }
  .reverse-mobile > :last-child { order: 1; }

  .hero { padding-top: 48px; }
  .cookie-content,
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .section { padding: 76px 0; }
}
