@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

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

:root {
  --bg: #fafbfc;
  --bg-section: #f3f5f7;
  --dark: #0d1117;
  --text: #0f1a2e;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #12c4fd;
  --accent-dark: #0ea5d4;
  --white: #ffffff;
  --font: 'DM Sans', -apple-system, sans-serif;
  --radius: 8px;
  --max: 1200px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,251,252,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav__logo img { height: 32px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text); text-decoration: none; border-radius: 6px; transition: color .2s, background .2s;
  position: relative;
}
.nav__links a:hover { color: var(--accent); background: rgba(18,196,253,0.07); }
.nav__links a.active { color: var(--accent); }
.nav__links .has-sub { position: relative; }
.nav__links .has-sub > a::after { content: ' ↓'; font-size: 11px; opacity: 0.6; }
.nav__sub {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10); padding: 6px; min-width: 150px;
}
.nav__sub a { display: block; padding: 9px 14px; font-size: 14px; color: var(--text); text-decoration: none; border-radius: 5px; transition: background .15s, color .15s; }
.nav__sub a:hover { background: rgba(18,196,253,0.08); color: var(--accent); }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { display: block; }
.nav__cta {
  background: var(--accent); color: var(--dark); font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 6px; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .15s; display: block;
}
.nav__cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ── LAYOUT ── */
.section { padding: 100px 40px; }
.section--sm { padding: 64px 40px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--grey { background: var(--bg-section); }
.section--white { background: var(--white); }
.container { max-width: var(--max); margin: 0 auto; }
.container--narrow { max-width: 800px; margin: 0 auto; }
.container--mid { max-width: 960px; margin: 0 auto; }

/* ── TYPOGRAPHY ── */
.label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: block;
}
.section--dark .label { color: var(--accent); }
h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 300; line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 16px; font-weight: 600; }
p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
strong { font-weight: 600; color: var(--text); }
.section--dark strong { color: var(--white); }
.section--dark li { color: rgba(255,255,255,0.65); }
.section--dark .text-muted { color: rgba(255,255,255,0.45); }

.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: 7px; text-decoration: none;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(18,196,253,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { border-color: var(--white); background: var(--white); color: var(--dark); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── DIVIDER ── */
hr { border: none; border-top: 1px solid var(--border); }
.section--dark hr { border-color: rgba(255,255,255,0.1); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 80px 40px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.45;
}
.hero .container { position: relative; z-index: 1; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(18,196,253,0.1); border: 1px solid rgba(18,196,253,0.25);
  color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: 100px; margin-bottom: 32px; letter-spacing: 0.02em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 560px; margin: 24px 0 40px; line-height: 1.65; }
.hero__img {
  margin-top: 80px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
}
.hero__img img { width: 100%; display: block; }
/* browser chrome bar */
.browser-bar {
  background: #f1f3f5; padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 4px 12px; font-size: 12px; color: var(--muted);
}

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.stat {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-size: clamp(36px, 4vw, 56px); font-weight: 300; line-height: 1;
  color: var(--white); letter-spacing: -0.03em; margin-bottom: 10px;
}
.stat__num span { color: var(--accent); }
.stat__label { font-size: 14px; color: rgba(255,255,255,0.55); }

/* ── CARDS ── */
.card-grid { display: grid; gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 36px; transition: box-shadow .25s, transform .25s; position: relative; overflow: hidden;
}
.card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.09); transform: translateY(-3px); }
.card--dark { background: #141b27; border-color: rgba(255,255,255,0.08); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.55); }
.card--dark:hover { box-shadow: 0 12px 48px rgba(18,196,253,0.12); }

.card__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 20px; }
.card__link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.card__link:hover { text-decoration: underline; }
.card__image { width: 100%; height: 200px; object-fit: cover; display: block; border-radius: 8px; margin-bottom: 24px; }
.card__quote {
  font-size: 14px; font-style: italic; color: rgba(255,255,255,0.5);
  border-left: 2px solid var(--accent); padding-left: 14px; margin-bottom: 20px;
  line-height: 1.6;
}

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: 0 16px 56px rgba(0,0,0,0.1); transform: translateY(-4px); }
.product-card__img { width: 100%; height: 260px; object-fit: cover; display: block; }
.product-card__body { padding: 36px; }
.product-card__tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 10px; display: block; }
.product-card h3 { font-size: 26px; margin-bottom: 12px; }
.product-card p { font-size: 15px; margin-bottom: 24px; }
.product-card__link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.product-card__link:hover { gap: 10px; }

/* ── FEATURES ── */
.feature-list { display: grid; gap: 16px; }
.feature-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 10px;
}
.feature-icon {
  width: 40px; height: 40px; background: rgba(18,196,253,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-item h4 { margin-bottom: 4px; }
.feature-item p { font-size: 14px; }

/* ── CASE PAGE ── */
.case-hero {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border);
}
.case-kpi-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0; background: var(--dark); border-radius: 12px; overflow: hidden;
}
.case-kpi {
  padding: 40px 36px; border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.case-kpi:last-child { border-right: none; }
.case-kpi__num { font-size: 48px; font-weight: 300; color: var(--white); letter-spacing: -0.03em; margin-bottom: 6px; }
.case-kpi__num span { color: var(--accent); }
.case-kpi__label { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ── QUOTE BLOCK ── */
.blockquote {
  border-left: 3px solid var(--accent);
  padding: 28px 32px;
  background: var(--bg-section);
  border-radius: 0 10px 10px 0;
  font-size: 18px; font-style: italic; color: var(--text);
  line-height: 1.65;
}

/* ── PARTNERS ── */
.partner-item {
  display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.partner-item:last-child { border-bottom: none; }
.partner-logo { width: 140px; height: 80px; object-fit: contain; filter: grayscale(30%); }
.partner-section-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

/* ── ACCORDION ── */
.accordion { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; background: none; border: none; padding: 22px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); font-size: 17px; font-weight: 500;
  color: var(--text); cursor: pointer; text-align: left; transition: background .15s;
}
.accordion-btn:hover { background: var(--bg-section); }
.accordion-btn .acc-icon { font-size: 20px; font-weight: 300; color: var(--accent); transition: transform .25s; }
.accordion-btn.open .acc-icon { transform: rotate(45deg); }
.accordion-content {
  display: none; padding: 0 28px 24px; font-size: 15px; color: var(--muted); line-height: 1.7;
}
.accordion-content.open { display: block; }
.accordion-content strong { color: var(--text); font-weight: 600; }

/* Accordion on dark backgrounds */
.section--dark .accordion { border-color: rgba(255,255,255,0.1); }
.section--dark .accordion-item { border-color: rgba(255,255,255,0.1); }
.section--dark .accordion-btn { color: var(--white); }
.section--dark .accordion-btn:hover { background: rgba(255,255,255,0.05); }
.section--dark .accordion-content { color: rgba(255,255,255,0.6); }
.section--dark .accordion-content strong { color: var(--white); }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid--full { grid-column: 1/-1; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--text);
  background: var(--white); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 13px 16px; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,196,253,0.12); }
.form-textarea { resize: vertical; min-height: 140px; }

/* ── OFFICES ── */
.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.office-item h4 { margin-bottom: 8px; font-size: 15px; }
.office-item p { font-size: 14px; line-height: 1.65; }
.office-item a { color: var(--text); }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.6);
  padding: 60px 40px 40px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo img { height: 28px; opacity: 0.85; margin-bottom: 12px; }
.footer-logo p { font-size: 14px; line-height: 1.65; max-width: 240px; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── PAGE HEADER ── */
.page-header {
  padding: 80px 40px 64px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.page-header p { font-size: 18px; max-width: 620px; }

/* ── COVER HERO (product pages) ── */
.cover-hero {
  height: 55vh; min-height: 380px; position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.cover-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.cover-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.85) 0%, rgba(13,17,23,0.35) 60%, transparent 100%);
}
.cover-hero__content {
  position: relative; z-index: 1; padding: 48px 40px;
  max-width: var(--max); width: 100%;  margin: 0 auto;
}
.cover-hero__content h1 { color: var(--white); font-size: clamp(32px, 4vw, 52px); max-width: 600px; margin-bottom: 12px; }
.cover-hero__content p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 520px; }

/* ── UTILITY ── */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.flex { display: flex; }
.gap-16 { gap: 16px; }

/* ── FADE IN ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.consent-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 1200;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.consent-banner--visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.consent-banner__inner {
  max-width: 1120px; margin: 0 auto; padding: 22px 24px;
  border-radius: 18px; background: rgba(9,17,28,0.96); color: #f5f7fb;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
}
.consent-banner__copy strong {
  display: block; font-size: 15px; margin-bottom: 8px;
}
.consent-banner__copy p {
  color: rgba(245,247,251,0.82); font-size: 14px; line-height: 1.7; margin: 0;
}
.consent-banner__copy a {
  color: #8fdfff; text-decoration: underline;
}
.consent-banner__actions {
  display: flex; gap: 12px; flex-shrink: 0;
}
.consent-banner__button {
  min-width: 132px; justify-content: center;
}
.consent-manage {
  position: fixed; right: 20px; bottom: 20px; z-index: 1190;
  border: 1px solid rgba(9,17,28,0.14); background: var(--white); color: var(--text);
  border-radius: 999px; padding: 12px 16px; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12); cursor: pointer;
}
.consent-manage:hover {
  border-color: rgba(18,196,253,0.45); color: var(--accent);
}

/* ── VIDEO BLOCK ── */
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── TWO COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col--40-60 { grid-template-columns: 2fr 3fr; }
.two-col--60-40 { grid-template-columns: 3fr 2fr; }
@media (max-width: 860px) {
  .two-col, .two-col--40-60, .two-col--60-40 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .partner-item { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav__links, .nav__cta { display: none; }
}
@media (max-width: 600px) {
  .section, .hero { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 36px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .consent-banner { left: 12px; right: 12px; bottom: 12px; }
  .consent-banner__inner { padding: 18px; flex-direction: column; align-items: stretch; }
  .consent-banner__actions { flex-direction: column; }
  .consent-banner__button { width: 100%; }
  .consent-manage { right: 12px; bottom: 12px; }
}
