:root {
  --bg:       #F8FAFC;
  --ink:      #0F172A;
  --brand:    #0D9488;
  --brand-lt: #CCFBF1;
  --indigo:   #4F46E5;
  --text:     #475569;
  --card:     #FFFFFF;
  --border:   #E2E8F0;
  --subtle:   #94A3B8;
  --red:      #DC2626;
  --orange:   #EA580C;
  --yellow:   #D97706;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

::selection { background: var(--brand); color: #fff; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 0 2.5rem; min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.93);
  border-bottom: 1px solid var(--border);
}

.logo {
  grid-column: 1;
  justify-self: start;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-shield {
  width: 26px; height: 26px;
  background: var(--brand);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: #fff; font-weight: 800;
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links > a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--brand); font-weight: 600; }

#nav-cta {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-nav-outline {
  font-size: 0.8rem; font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-nav-outline:hover { border-color: var(--brand); background: var(--brand-lt); }

.btn-nav-primary {
  font-size: 0.8rem; font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--brand);
  padding: 0.4rem 1.1rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-nav-primary:hover { background: #0f766e; }

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }

.nav-dropdown-trigger {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s;
  padding: 0;
}
.nav-dropdown-trigger:hover { color: var(--ink); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.12);
  padding: 0.65rem;
  z-index: 200;
}

.nav-dropdown.open .dropdown-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.dropdown-menu a {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-menu a:hover { background: var(--bg); }

.dropdown-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.dropdown-icon.teal  { background: #CCFBF1; }
.dropdown-icon.indigo { background: #EEF2FF; }

.dropdown-label { font-weight: 600; font-size: 0.8rem; }
.dropdown-sub   { font-size: 0.72rem; color: var(--text); margin-top: 0.05rem; }

/* ── HERO ── */
.hero {
  padding: 7rem 2.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

/* ── HERO SLIDESHOW ── */
.hero-slideshow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.slideshow-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: radial-gradient(ellipse at 55% 45%, rgba(13,148,136,0.22) 0%, rgba(79,70,229,0.12) 45%, transparent 70%);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
}

.slideshow-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 9px 9px 0 rgba(120,10,28,0.65), 0 24px 60px rgba(15,23,42,0.14);
  background: #fff;
  z-index: 1;
}

.browser-chrome {
  background: #F1F5F9;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #E2E8F0;
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: 3px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: #94A3B8;
  text-align: center;
}

.slide-progress {
  height: 4px;
  background: #E2E8F0;
}

.slide-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0D9488, #4F46E5);
  width: 0%;
}

.slide-track {
  position: relative;
  aspect-ratio: 16/9;
  background: #F8FAFC;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1);
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}

.slideshow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 2px;
  z-index: 1;
}

.slide-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.sdot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}

.sdot.active {
  background: var(--brand);
  width: 24px;
}

.slide-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.25);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}

.slide-chip::before {
  content: '●';
  font-size: 0.45rem;
  animation: pulse 1.5s infinite;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--brand); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem; font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(13,148,136,0.3);
}
.btn-primary:hover { background: #0f766e; box-shadow: 0 4px 16px rgba(13,148,136,0.4); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ink);
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-lt); }

/* live badge */
.live-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem; font-weight: 600;
  color: #15803D;
  margin-bottom: 1.25rem;
}
.live-dot { width: 6px; height: 6px; background: #22C55E; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto; }

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem;
  gap: 1rem;
}
.stat-item { text-align: center; padding: 1.25rem; }
.stat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 0.5rem; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--ink); }
.stat-value.teal { color: var(--brand); }
.stat-sub { font-size: 0.72rem; color: var(--subtle); margin-top: 0.25rem; }

/* ── PRODUCTS SECTION ── */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.section-header { margin-bottom: 2.5rem; }
.section-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-header h2 em { font-style: normal; color: var(--brand); }
.section-header p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 520px;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 5px 5px 0 rgba(120,10,28,0.65);
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.09);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.product-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.product-icon.teal   { background: #CCFBF1; }
.product-icon.indigo { background: #EEF2FF; }

.product-category {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 0.5rem;
}
.product-card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.product-card p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.product-tag {
  font-size: 0.68rem; font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.product-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: gap 0.15s;
}
.product-link:hover { gap: 0.55rem; }

/* ── GENERAL SECTION ── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}
.section h2 em { font-style: normal; color: var(--brand); }
.section p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  max-width: 640px;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 5px 5px 0 rgba(120,10,28,0.65);
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.82rem; color: var(--text); line-height: 1.6; }

/* ── SERVE TAGS ── */
.serve-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.serve-tag {
  font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── FOOTER ── */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}
footer p { font-size: 0.8rem; color: var(--subtle); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--subtle); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand); }
