/* ===== Design tokens ===== */
:root {
  --navy-950: #060d22;
  --navy-900: #0b1533;
  --navy-800: #0f1c43;
  --navy-700: #162758;
  --navy-600: #1c3172;
  --blue-600: #1677ff;
  --blue-500: #3ea7ff;
  --blue-400: #63bdff;
  --blue-100: #e6f1ff;
  --blue-50:  #f3f8ff;
  --ink-900:  #0b1225;
  --ink-700:  #25324f;
  --ink-500:  #5a6a85;
  --ink-300:  #9aa7bd;
  --line:     #e2eaf4;
  --line-2:   #d5e0ef;
  --white:    #ffffff;
  --amber:    #f4b43a;
  --green:    #2ecc71;
  --purple:   #7c5cff;
  --pink:     #ff6b9a;
  --teal:     #1fc9c0;
  --shadow-sm: 0 2px 8px rgba(10,22,60,.06);
  --shadow-md: 0 10px 30px rgba(10,22,60,.10);
  --shadow-lg: 0 24px 60px rgba(10,22,60,.18);
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

/* ===== Utilities ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; position: relative; }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-lede { color: var(--ink-500); font-size: 17px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--blue-400); }
.eyebrow-on-blue { color: rgba(255,255,255,.85); }
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(62,167,255,.12);
  border: 1px solid rgba(62,167,255,.28);
  color: var(--blue-400);
  margin-bottom: 24px;
}
.eyebrow-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(62,167,255,.25); }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(22,119,255,.35), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(22,119,255,.45); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--blue-600); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,21,51,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.site-header.scrolled { background: rgba(11,21,51,.92); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark-img { display: block; height: 28px; width: auto; }
.brand-wordmark {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.brand-wordmark span {
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-400);
  margin-left: 4px;
  font-size: 13px;
}
.site-footer .brand-mark-img { height: 32px; }
.site-footer .brand-wordmark { font-size: 17px; }
.site-footer .brand-wordmark span { font-size: 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 420px) {
  .brand-wordmark span { display: none; }
}

.primary-nav { margin-left: auto; }
.nav-list {
  display: flex; gap: 6px; align-items: center;
}
.nav-list a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
}
.nav-list a:hover { color: #fff; background: rgba(255,255,255,.06); }
.header-cta { font-size: 14px; padding: 10px 16px; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  background: radial-gradient(1200px 600px at 70% -20%, rgba(62,167,255,.22), transparent 60%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  padding: 96px 0 160px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(62,167,255,.18), transparent 70%);
  filter: blur(10px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(900px 500px at 50% 30%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 30%, #000 40%, transparent 80%);
  opacity: .7;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, #63bdff, #3ea7ff 40%, #86ddff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(15px, 1.3vw, 18px); color: rgba(255,255,255,.78); max-width: 720px; margin: 0 auto 32px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.trust-pills {
  display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.trust-pills li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.trust-pills svg { color: var(--blue-400); }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  pointer-events: none;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 90px; display: block; }
.hero-wave path { fill: var(--blue-50); }

/* ===== Stats ===== */
.stats { background: var(--blue-50); padding: 36px 0 48px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.stat-item { padding: 12px 8px; }
.stat-num {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  color: var(--blue-600);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label { color: var(--ink-500); font-weight: 500; margin-top: 6px; font-size: 14px; }

/* ===== Services ===== */
.section-services { background: #fff; }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--ink-500); font-size: 14.5px; margin-bottom: 16px; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 18px;
}
.icon-blue   { background: linear-gradient(135deg, #3ea7ff, #1677ff); }
.icon-purple { background: linear-gradient(135deg, #a78bfa, #7c5cff); }
.icon-teal   { background: linear-gradient(135deg, #22d3c8, #1fc9c0); }
.icon-amber  { background: linear-gradient(135deg, #ffc85a, #f4a41a); }
.icon-pink   { background: linear-gradient(135deg, #ff90b1, #ff5a86); }
.icon-green  { background: linear-gradient(135deg, #52e3a1, #19bd6a); }
.card-link {
  display: inline-flex; gap: 6px; align-items: center;
  color: var(--blue-600); font-weight: 600; font-size: 14px;
}
.card-link:hover span { transform: translateX(3px); }
.card-link span { transition: transform .2s var(--ease); display: inline-block; }

/* ===== Products ===== */
.section-products { background: var(--blue-50); }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.product-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-900);
  display: flex; align-items: center; gap: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.product-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--blue-400); }
.tile-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-100); font-size: 18px;
}
.section-inline-cta { text-align: center; margin-top: 36px; }

/* ===== Reviews ===== */
.section-reviews { background: #fff; }
.stars-row { color: var(--amber); font-size: 24px; letter-spacing: 4px; margin-top: 6px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review-card {
  background: #fffbf1;
  border: 1px solid #f5e8c9;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-card .stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; }
.review-card blockquote { margin: 0; font-size: 14.5px; color: var(--ink-700); }
.review-card figcaption { display: flex; flex-direction: column; }
.review-card figcaption strong { color: var(--ink-900); font-size: 14.5px; }
.review-card figcaption span { color: var(--ink-500); font-size: 13px; margin-top: 2px; }

/* ===== Why EyeCam ===== */
.section-why {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: rgba(255,255,255,.88);
}
.section-why h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.section-why p { color: rgba(255,255,255,.72); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.check-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 22px 0 28px;
}
.check-list li {
  position: relative; padding-left: 30px; color: rgba(255,255,255,.88); font-size: 14.5px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 0 0 4px rgba(62,167,255,.12);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.call-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.call-card h3 { color: #fff; font-size: 22px; }
.call-sub { color: rgba(255,255,255,.6); margin-bottom: 18px; font-size: 14px; }
.phone-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.phone-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  gap: 12px;
}
.phone-label { color: var(--blue-400); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.phone-num { color: #fff; font-weight: 700; font-size: 16px; }
.phone-num:hover { color: var(--blue-400); }
.address-box {
  padding: 16px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}
.address-title {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-400); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px;
}
.address-box p { margin: 0; }

/* ===== FAQ ===== */
.section-faq { background: var(--blue-50); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--blue-600); font-weight: 700;
  transition: transform .2s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--ink-500); font-size: 14.5px; }

/* ===== CTA + Form ===== */
.section-cta {
  background: linear-gradient(135deg, #1677ff 0%, #3ea7ff 100%);
  color: #fff;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.cta-sub { color: rgba(255,255,255,.9); font-size: 17px; max-width: 460px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.quote-form {
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 500; color: var(--ink-900);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(62,167,255,.18);
}
.quote-form textarea { resize: vertical; min-height: 96px; }
.form-footnote { font-size: 12.5px; color: var(--ink-500); text-align: center; margin: 0; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; color: var(--green); text-align: center; min-height: 1.2em; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); margin: 16px 0 12px; max-width: 320px; }
.footer-stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; }
.footer-stars span { color: rgba(255,255,255,.6); font-size: 13px; margin-left: 8px; letter-spacing: 0; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-base p { margin: 0; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 120px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { display: none; }
  .primary-nav { margin-left: auto; }
  .nav-list {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(11,21,51,.98);
    padding: 14px 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .nav-list.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list a { padding: 12px 14px; font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
