/* ============================================================
   EvenCore Technology — Light Professional Theme
   Sage green + Charcoal + Warm off-white
   Work Sans + IBM Plex Sans
   ============================================================ */

:root {
  /* Deep black with teal accent theme */
  --bg:         transparent;
  --bg-mid:     rgba(255,255,255,0.03);
  --bg-card:    rgba(255,255,255,0.05);
  --surface:    rgba(255,255,255,0.07);

  /* Text — light on black */
  --ink:        #e6f1ec;   /* near-white with green hint */
  --body:       #93a8a1;   /* warm gray-green */
  --muted:      #6b8278;   /* muted sage-gray */

  /* Brand accent — signature teal */
  --teal:       #39d6bd;   /* bright teal */
  --teal-mid:   #4fe8d0;   /* lighter teal hover */
  --teal-light: rgba(57,214,189,0.12);
  --teal-glow:  rgba(57,214,189,0.22);

  /* Borders */
  --line:       rgba(255,255,255,0.08);
  --line-mid:   rgba(57,214,189,0.18);

  --max:    1200px;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 21.8px;
  line-height: 1.75;
  color: var(--body);
  background: transparent;
  min-height: 100vh;
}

img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.16rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

/* ============================================================
   HEX BACKGROUND CANVAS
   ============================================================ */
#gradient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#hex-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

/* All content sits above canvas */
.site-header, main, .site-footer, .modal { position: relative; z-index: 2; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(7,17,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark { width: 34px; height: 34px; }
.brand-mark svg { width: 100%; height: 100%; }

.brand-name {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

/* Dropdown menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover {
  color: #ffffff;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 12px;
  background: rgba(7,17,15,0.98);
  border: 1px solid rgba(57,214,189,0.2);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.nav-dropdown-menu.active {
  display: flex;
}

.nav-dropdown-menu a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-dropdown-menu a:hover {
  color: var(--teal);
}

.nav-shopify {
  white-space: nowrap;
}

.verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  color: #0a0e1a;
  font-size: 10px;
  font-weight: 900;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
  box-shadow: 0 0 8px rgba(57,214,189,0.40);
}

.header-cta {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  flex-shrink: 0;
}

.header-cta:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7,17,15,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 24px 32px;
    gap: 20px;
    z-index: 99;
  }

  .site-header.menu-open .header-cta {
    display: block;
    margin: 0 32px 24px;
    text-align: center;
  }

  /* Mobile dropdown */
  .nav-dropdown-menu {
    position: static;
    background: rgba(57,214,189,0.08);
    border: 1px solid rgba(57,214,189,0.15);
    margin: 12px 0 0 0;
    padding: 12px 0;
  }

  .site-header.menu-open .nav-dropdown-menu.active {
    display: flex;
  }

  .nav-dropdown-menu a {
    padding: 8px 0;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57,214,189,0.30);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal-light);
  text-decoration: none;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 100px 32px; }

.sec-light { background: transparent; }
.sec-mid   { background: rgba(255,255,255,0.04); }

.section-heading { max-width: 680px; margin-bottom: 56px; }
.section-heading.centered { text-align: center; max-width: 600px; margin: 0 auto 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal);
  margin-bottom: 16px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.section-heading h2 { margin-bottom: 14px; }

.section-sub {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 110px 32px 100px;
  background: transparent;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.hero-content .eyebrow { color: var(--muted); }
.hero-content h1 { margin-bottom: 22px; }
.hero-copy {
  font-size: 23.8px;
  color: var(--body);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signal panel */
.hero-aside {
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-top: 20px;
}

.signal-panel { display: flex; flex-direction: column; gap: 28px; }

.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.signal-label {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.signal-dots { display: flex; gap: 5px; }
.signal-dots i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.metric-row { display: flex; gap: 18px; align-items: flex-start; }

.metric-row strong {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  min-width: 36px;
}

.metric-title {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.metric-desc {
  display: block;
  font-size: 16.5px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-aside { display: none; }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  will-change: transform;
  transform: perspective(800px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 32px rgba(26, 107, 90, 0.1);
}

.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 11px;
  border-radius: 4px;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 14px;
  border: 1px solid var(--line-mid);
}

.service-card h3 { color: var(--ink); margin-bottom: 10px; }
.service-card p  { color: var(--body); font-size: 19.3px; line-height: 1.7; }

@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .service-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WORK LIST
   ============================================================ */
.work-list { display: flex; flex-direction: column; gap: 12px; }

.work-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}

.work-item:hover { box-shadow: 0 8px 28px rgba(26, 107, 90, 0.09); }

.work-num {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 27.5px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  padding-top: 2px;
}

.work-body h3 { color: var(--ink); margin-bottom: 6px; }
.work-body p  { color: var(--body); font-size: 19.3px; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  transform: perspective(800px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}

.industry-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 28px rgba(26, 107, 90, 0.1);
}

.industry-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 14px;
  border: 1px solid var(--line-mid);
}

.industry-card h3 { color: var(--ink); margin-bottom: 8px; font-size: 16.5px; }
.industry-card p  { color: var(--body); font-size: 18.8px; line-height: 1.7; margin-bottom: 12px; }

.compliance-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.ctag {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--line-mid);
}

/* 5-card layout: 3 on top row, 2 centered below */
.industries-grid:has(.industry-card:nth-child(5):last-child) {
  grid-template-columns: repeat(6, 1fr);
}
.industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card          { grid-column: span 2; }
.industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card:nth-child(4) { grid-column: 2 / span 2; }
.industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card:nth-child(5) { grid-column: 4 / span 2; }

.industries-footer {
  background: var(--teal-light);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
}

.industries-footer p            { color: var(--body); font-size: 25px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.industries-footer p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .industries-grid,
  .industries-grid:has(.industry-card:nth-child(5):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid .industry-card,
  .industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card,
  .industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card:nth-child(4),
  .industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .industries-grid,
  .industries-grid:has(.industry-card:nth-child(5):last-child) {
    grid-template-columns: 1fr;
  }
  .industries-grid .industry-card,
  .industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card,
  .industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card:nth-child(4),
  .industries-grid:has(.industry-card:nth-child(5):last-child) .industry-card:nth-child(5) {
    grid-column: span 1;
  }
}

/* ============================================================
   WHY EVENCORE
   ============================================================ */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-left h2  { margin-bottom: 16px; }
.why-copy { font-size: 21.8px; color: var(--body); line-height: 1.85; }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 18.8px;
  color: var(--body);
  line-height: 1.5;
}

.why-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid var(--line-mid);
  color: var(--teal);
  font-size: 13.8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

@media (max-width: 860px) {
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.contact-left .eyebrow { margin-bottom: 16px; }
.contact-left h2 { margin-bottom: 20px; }
.contact-left .section-sub { font-size: 19px; line-height: 1.7; color: var(--body); margin: 0; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}

.contact-label {
  display: block;
  font-size: 13.8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-email {
  display: block;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 23.8px;
  font-weight: 600;
  color: var(--teal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.contact-email:hover { color: var(--teal-mid); text-decoration: underline; }

.contact-card p { color: var(--muted); font-size: 19.3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(7,17,15,0.75);
  padding: 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fbadge {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}

.fdivider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
}

.footer-copy {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 18.2px;
  color: var(--muted);
}

.footer-copy a { color: var(--teal); }
.footer-copy a:hover { color: var(--teal-mid); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 38, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-box {
  background: #0a1614;
  border: 1px solid rgba(57,214,189,0.22);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32.5px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--ink); }

.modal-head { margin-bottom: 24px; }
.modal-head .contact-label { color: var(--teal); }
.modal-head h2 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.modal-head p  { font-size: 18.8px; color: var(--muted); }

/* ============================================================
   FORMS
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field { display: flex; flex-direction: column; gap: 5px; }

.form-field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 17.5px;
  color: var(--ink);
  background: rgba(255,255,255,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(57,214,189,0.15);
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-submit { margin-top: 4px; }

.form-status {
  font-size: 16.2px;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  min-height: 28px;
}

.form-status.success { color: var(--teal); background: var(--teal-light); }
.form-status.error   { color: #c0392b; background: rgba(192, 57, 43, 0.08); }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 24px; }
}

/* ============================================================
   CARD TILT — CSS custom properties driven by JS
   ============================================================ */
.tilt {
  transform: perspective(800px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.12s ease-out, box-shadow 0.18s ease;
}

.tilt-soft {
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.12s ease-out, box-shadow 0.18s ease;
}

/* body scroll lock when modal open */
body.modal-open { overflow: hidden; }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.sec-products {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.products-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.products-left {
  padding-right: 40px;
}

.products-left .eyebrow {
  opacity: 0.7;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.products-left h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--ink);
}

.products-copy {
  font-size: 18px;
  line-height: 1.8;
  color: var(--body);
  margin: 0;
}

.btn-waitlist {
  background: #2563eb;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.24);
}

.btn-waitlist:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
}

.btn-waitlist:active {
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 72px 20px; }
  .hero    { padding: 80px 20px; }
  .container { padding: 0 20px; }

  .products-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .products-left {
    padding-right: 0;
  }

  .products-left h2 {
    font-size: 2rem;
  }

  .products-copy {
    font-size: 16px;
  }
}

/* ============================================================
   CINEMATIC ANIMATIONS
   ============================================================ */

/* --- Scroll Reveal: elements start hidden, animate in --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger children — each card/item delays slightly */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* --- Slide from left --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Slide from right --- */
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Scale up reveal --- */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Cinematic text reveal: words clip-path in --- */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.text-reveal.is-visible > * {
  transform: translateY(0);
}

/* --- Hero-specific cinematic entrance --- */
.hero-content .eyebrow {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-content h1 {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-content .hero-copy {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-aside {
  opacity: 0;
  transform: translateX(60px);
  animation: heroSlideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Parallax depth layer (JS sets --parallax-y) --- */
.parallax-slow {
  transform: translateY(calc(var(--parallax-y, 0) * 0.3));
  transition: transform 0.1s linear;
  will-change: transform;
}

.parallax-medium {
  transform: translateY(calc(var(--parallax-y, 0) * 0.5));
  transition: transform 0.1s linear;
  will-change: transform;
}

/* --- Glow pulse on section headings --- */
.section-heading h2 {
  text-shadow: 0 0 0 transparent;
  transition: text-shadow 1.2s ease;
}

.section-heading h2.is-visible {
  text-shadow: 0 0 40px rgba(57,214,189,0.15);
}

/* --- Subtle line draw animation for dividers --- */
.reveal-line {
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

.reveal-line.is-visible {
  width: 80px;
}

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > *, .text-reveal > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-copy,
  .hero-content .hero-actions,
  .hero-aside {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
