:root {
  --bg: #ffffff;
  --fg: #123646;
  --muted: #5a7885;
  --primary: #0b5a7d;
  --primary-dark: #073f5b;
  --primary-soft: #dff3f9;
  --feature: #eef8fb;
  --card: #ffffff;
  --line: #d7e7ee;
  --field: #f8fcfd;
  --header: rgba(255, 255, 255, .82);
  --hero-glow-one: #d6f2fb;
  --hero-glow-two: #b7dfec;
  --body-gradient: linear-gradient(180deg, #ffffff 0%, #f6fbfd 58%, #ffffff 100%);
  --shadow: 0 24px 70px rgba(7, 63, 91, .16);
  --radius: 24px;
}

body:has(#theme-toggle:checked) {
  --bg: #061722;
  --fg: #eaf8fc;
  --muted: #9eb9c4;
  --primary: #55c7e8;
  --primary-dark: #2aa3ca;
  --primary-soft: rgba(85, 199, 232, .14);
  --feature: #0b2230;
  --card: #0d2635;
  --line: rgba(176, 224, 238, .17);
  --field: #081c28;
  --header: rgba(6, 23, 34, .82);
  --hero-glow-one: rgba(85, 199, 232, .22);
  --hero-glow-two: rgba(10, 112, 149, .24);
  --body-gradient: linear-gradient(180deg, #061722 0%, #08202d 56%, #061722 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 10%, rgba(11, 90, 125, .13), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(57, 181, 210, .16), transparent 24rem),
    var(--body-gradient);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(16px, calc((100vw - 1160px) / 2));
  background: var(--header);
  border-bottom: 1px solid rgba(215, 231, 238, .8);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; color: var(--primary); letter-spacing: -.04em; }
.brand img { width: 46px; height: 46px; object-fit: cover; object-position: left center; border-radius: 12px; border: 1px solid var(--line); }
.brand span { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.08rem; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 800; padding: 10px 13px; border-radius: 999px; transition: .2s ease; }
.main-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.main-nav .nav-cta { background: var(--primary); color: white; box-shadow: 0 12px 28px rgba(11, 90, 125, .22); }
.main-nav .nav-cta:hover { background: var(--primary-dark); color: white; }
.theme-switch { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; font-weight: 900; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: .2s ease; }
.theme-switch:hover { color: var(--primary); background: var(--primary-soft); }
.theme-switch span { width: 34px; height: 20px; border-radius: 999px; background: var(--primary-soft); border: 1px solid var(--line); position: relative; }
.theme-switch span::before { content: ""; position: absolute; width: 14px; height: 14px; left: 2px; top: 2px; border-radius: 50%; background: var(--primary); transition: transform .2s ease; }
.theme-switch b, .theme-switch em { font-style: normal; }
.theme-switch em { display: none; }
.theme-toggle:checked ~ .site-header .theme-switch b { display: none; }
.theme-toggle:checked ~ .site-header .theme-switch em { display: inline; }
.theme-toggle:checked ~ .site-header .theme-switch span::before { transform: translateX(14px); }
.nav-toggle, .theme-toggle { position: fixed; opacity: 0; pointer-events: none; }
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; place-items: center; cursor: pointer; }
.hamburger span { width: 18px; height: 2px; background: var(--primary); display: block; margin: 3px 0; }

.hero { position: relative; overflow: hidden; padding: 92px 0 64px; }
.hero-bg { position: absolute; border-radius: 999px; filter: blur(8px); opacity: .5; z-index: -1; }
.hero-bg-one { width: 420px; height: 420px; background: var(--hero-glow-one); right: -120px; top: 80px; }
.hero-bg-two { width: 280px; height: 280px; background: var(--hero-glow-two); left: -80px; bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.eyebrow span { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 7px rgba(11, 90, 125, .12); }
h1, h2, h3 { font-family: "Plus Jakarta Sans", sans-serif; line-height: 1.02; letter-spacing: -.055em; margin: 0; }
h1 { font-size: clamp(3.1rem, 7.6vw, 6.9rem); max-width: 850px; }
h2 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
h3 { font-size: 1.55rem; }
.hero-copy p, .section-copy p, .section-center p, .contact-copy p { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 18px 34px rgba(11, 90, 125, .24); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; color: var(--primary); border: 1px solid var(--line); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.hero-proof div { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: color-mix(in srgb, var(--card) 76%, transparent); }
.hero-proof strong { display: block; font-size: 1.3rem; color: var(--primary); }
.hero-proof span { color: var(--muted); font-size: .83rem; font-weight: 700; }
.hero-card { background: color-mix(in srgb, var(--card) 90%, transparent); border: 1px solid var(--line); border-radius: 34px; padding: 22px; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-logo { border-radius: 24px; border: 1px solid var(--line); margin-bottom: 18px; }
.mini-dashboard { background: linear-gradient(145deg, #073f5b, #0b5a7d); color: white; border-radius: 24px; padding: 20px; }
.dash-head, .dash-row, .analytics-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dash-head span, .dash-row span { color: rgba(255,255,255,.72); }
.dash-head strong { color: #bfefff; font-size: 1.8rem; }
.bars { height: 150px; display: flex; align-items: end; gap: 10px; margin: 24px 0; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.08); }
.bars i { flex: 1; border-radius: 99px 99px 8px 8px; background: linear-gradient(180deg, #dff8ff, #52bdd9); }
.dash-row { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); }

.ticker { overflow: hidden; background: var(--primary); color: white; padding: 14px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { padding: 0 30px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

section { padding: 92px 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.data-section, .benefits, .contact { background: var(--feature); }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--fg); font-weight: 800; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: white; font-size: .8rem; }
.analytics-card { border-radius: 34px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); padding: 24px; }
.analytics-top span { display: block; color: var(--muted); font-weight: 800; }
.analytics-top strong { font-size: 1.65rem; color: var(--primary); }
.analytics-top b { background: #e4f8ee; color: #18724a; padding: 7px 12px; border-radius: 999px; }
.chart-grid { position: relative; height: 320px; margin: 26px 0; border-radius: 24px; background: linear-gradient(180deg, var(--field), var(--feature)); overflow: hidden; border: 1px solid var(--line); }
.chart-grid span { display: block; height: 25%; border-bottom: 1px solid #dcecf2; }
.chart-line { position: absolute; left: 7%; right: 8%; top: 42%; height: 5px; background: linear-gradient(90deg, var(--primary), #50bdd8); transform: rotate(-14deg); border-radius: 999px; box-shadow: 0 10px 20px rgba(11,90,125,.24); }
.chart-grid i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 4px solid white; box-shadow: 0 6px 18px rgba(11,90,125,.26); }
.analytics-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.analytics-metrics div { background: var(--feature); border-radius: 18px; padding: 14px; }
.analytics-metrics span { color: var(--muted); display: block; font-size: .8rem; font-weight: 800; }
.analytics-metrics strong { color: var(--primary); font-size: 1.45rem; }

.section-center { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.section-center .section-kicker { justify-content: center; }
.section-center p { margin-left: auto; margin-right: auto; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card, .benefit, .case-card, details, .contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 16px 42px rgba(7,63,91,.08); }
.solution-card.featured { background: linear-gradient(145deg, var(--primary), var(--primary-dark)); color: white; transform: translateY(-10px); }
.solution-card p, .benefit p, .case-card p, details p, .contact-form p { color: var(--muted); }
.solution-card.featured p, .solution-card.featured li { color: rgba(255,255,255,.8); }
.icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-weight: 900; margin-bottom: 18px; }
.featured .icon { background: rgba(255,255,255,.16); color: #dff8ff; }
.solution-card ul { padding-left: 19px; margin: 20px 0; color: var(--muted); font-weight: 700; }
.solution-card a, .case-link { color: var(--primary); font-weight: 900; text-decoration: none; }
.featured a { color: white; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit span { display: inline-flex; color: var(--primary); font-weight: 900; margin-bottom: 14px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { position: relative; overflow: hidden; min-height: 285px; display: flex; flex-direction: column; text-decoration: none; color: var(--fg); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.case-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--primary); }
.case-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -62px; top: -62px; border-radius: 50%; background: var(--primary-soft); opacity: .75; transition: transform .22s ease, opacity .22s ease; }
.case-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--primary) 48%, var(--line)); box-shadow: 0 28px 70px rgba(7,63,91,.16); }
.case-card:hover::after { transform: scale(1.18); opacity: 1; }
.case-primary { grid-column: span 2; background: linear-gradient(145deg, #073f5b, #0b5a7d); color: white; }
.case-primary:hover { box-shadow: 0 30px 80px rgba(7,63,91,.32); }
.case-primary p, .case-primary .case-tag { color: rgba(255,255,255,.77); }
.case-primary .case-link { color: white; }
.highlight { background: linear-gradient(145deg, var(--card), var(--feature)); border-color: #b9dfea; }
.case-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.case-logo { width: 66px; height: 66px; object-fit: contain; border-radius: 18px; padding: 10px; background: color-mix(in srgb, var(--card) 78%, white); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(7,63,91,.12); }
.case-primary .case-logo { background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.28); }
.case-open { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--primary); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; background: var(--primary-soft); }
.case-primary .case-open { color: #dff8ff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.12); }
.case-tag { color: var(--primary); font-weight: 900; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.case-card h3, .case-card p, .case-card .case-tag, .case-card .case-meta, .case-link { position: relative; z-index: 1; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 18px; padding-top: 16px; }
.case-meta span { border: 1px solid rgba(11,90,125,.18); background: rgba(11,90,125,.06); color: var(--primary); border-radius: 999px; padding: 6px 10px; font-size: .76rem; font-weight: 900; }
.case-primary .case-meta span { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.1); color: #dff8ff; }
.case-link { color: var(--primary); font-weight: 900; }
.case-card:hover .case-link { text-decoration: underline; text-underline-offset: 4px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
summary { cursor: pointer; font-weight: 900; color: var(--fg); }
details p { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a, .contact-list p { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; color: var(--fg); text-decoration: none; font-weight: 800; }
.contact-list span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--primary); color: white; border-radius: 12px; font-size: .82rem; }
.contact-form { display: grid; gap: 14px; }
.contact-form h3 { font-size: 2rem; }
label { display: grid; gap: 7px; font-weight: 900; color: var(--fg); }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--field); color: var(--fg); padding: 13px 14px; font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(11,90,125,.1); }
textarea { resize: vertical; }

.footer { padding: 28px 0; background: #06364d; color: white; }
.footer-grid { display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.footer p { margin: 4px 0 0; color: rgba(255,255,255,.7); }
.footer strong { font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; }

.reveal { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hamburger { display: grid; }
  .main-nav { position: fixed; left: 16px; right: 16px; top: 76px; display: grid; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); transform: translateY(-16px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .nav-toggle:checked ~ .site-header .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .solution-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .case-primary { grid-column: span 1; }
}

@media (max-width: 640px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .brand span { font-size: .95rem; }
  .hero { padding-top: 56px; }
  .hero-grid { gap: 28px; }
  .hero-proof, .analytics-metrics, .solution-grid, .case-grid, .benefit-grid, .faq-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero-card { transform: none; padding: 14px; border-radius: 24px; }
  .hero-logo, .mini-dashboard, .chart-grid { border-radius: 18px; }
  .footer-grid { display: grid; }
}
