/* ===== Gentronics — landing page styles ===== */

:root {
  --bg: #0A0D14;
  --bg-alt: #0C1019;
  --surface: #12161F;
  --surface-2: #161C28;
  --border: #232C3D;
  --border-soft: #1B2230;
  --text: #F4F6FB;
  --text-dim: #9DA8BD;
  --text-mute: #6B7689;
  --accent: #22D3EE;
  --accent-2: #5B8DEF;
  --accent-grad: linear-gradient(135deg, #22D3EE 0%, #5B8DEF 100%);
  --accent-soft: rgba(34, 211, 238, 0.12);
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1180px;
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

/* line-style icons (everything except the phone illustration and brand mark) */
svg:not(.phone):not(.mark) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #06121A;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

.btn-primary {
  background: var(--accent-grad);
  color: #06121A;
  box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(34, 211, 238, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(10, 13, 20, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
}
.brand .mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-name {
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color .18s ease;
}
.nav-links > li > a:hover { color: var(--text); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.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); }

/* ===== Section primitives ===== */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.eyebrow-accent {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}
.eyebrow-accent::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head .eyebrow-accent { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.section-lead {
  color: var(--text-dim);
  font-size: 1.08rem;
  margin-top: 16px;
}
h2 + .section-lead { margin-top: 18px; }

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Hero ===== */
.hero {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(56px, 8vw, 104px);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  margin-bottom: 22px;
}
.hero-copy .lead {
  color: var(--text-dim);
  font-size: 1.14rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 30px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  color: var(--text-dim);
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  stroke-width: 2.4;
  flex-shrink: 0;
}

/* hero illustration */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art .glow {
  position: absolute;
  width: 78%;
  height: 78%;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.32), transparent 65%);
  filter: blur(46px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: clamp(230px, 30vw, 310px);
  height: auto;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.55));
}
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  background: rgba(19, 24, 34, 0.82);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.7);
  font-size: 0.86rem;
  font-weight: 500;
}
.chip svg { width: 19px; height: 19px; color: var(--accent); stroke-width: 2; flex-shrink: 0; }
.chip-1 { top: 14%; right: -2%; }
.chip-2 { bottom: 16%; left: -4%; }

/* ===== Trust strip ===== */
.trust {
  border-block: 1px solid var(--border-soft);
  background: var(--bg-alt);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  padding-block: 30px;
}
.trust-label {
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-family: var(--font-head);
  font-weight: 600;
}
.trust-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 38px;
}
.trust-brands li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  transition: color .2s ease;
}
.trust-brands li:hover { color: var(--text); }
.trust-brands .trust-more {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mute);
}

/* ===== Vision ===== */
.vision-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.vision-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.vision-copy .section-lead { margin-bottom: 16px; }
.vision-copy > p:last-child { color: var(--text-dim); }
.vision-stats { display: grid; gap: 18px; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.stat-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.stat-card p { color: var(--text-dim); font-size: 0.97rem; }

.stat-icon, .card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.stat-icon svg, .card-icon svg { width: 26px; height: 26px; }

/* ===== Grid + cards ===== */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  background: var(--surface-2);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

/* ===== Warranty band ===== */
.warranty-band {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, 0.14), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
}
.warranty-art {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 26px;
  background: var(--accent-grad);
  color: #06121A;
  box-shadow: 0 18px 40px -12px rgba(34, 211, 238, 0.5);
}
.warranty-art svg { width: 54px; height: 54px; stroke-width: 1.9; }
.warranty-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.warranty-copy p { color: var(--text-dim); max-width: 620px; }

/* ===== CTA section ===== */
.cta-section { background: var(--bg-alt); }
.cta-box {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 68px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box .eyebrow-accent { justify-content: center; }
.cta-box h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-actions { justify-content: center; margin-top: 30px; }
.cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.cta-contact svg { width: 19px; height: 19px; color: var(--accent); }
.cta-contact a { color: var(--text); border-bottom: 1px solid var(--border); }
.cta-contact a:hover { color: var(--accent); border-color: var(--accent); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .mark { width: 30px; height: 30px; color: var(--accent); }
.footer-brand .brand-name { font-size: 1.18rem; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 360px;
}
.site-footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.footer-nav ul, .footer-contact ul { display: grid; gap: 11px; }
.footer-nav a, .footer-contact a {
  color: var(--text-dim);
  font-size: 0.96rem;
  transition: color .18s ease;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-mute);
  font-size: 0.85rem;
}

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(10, 13, 20, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .3s ease;
  }
  .nav.open { clip-path: inset(0 0 0 0); }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
  }
  .nav-links a { padding: 12px 4px; font-size: 1.05rem; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-cta-mobile a { display: flex; padding: 14px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy { text-align: center; }
  .hero-actions, .hero-points { justify-content: center; }
  .vision-inner { grid-template-columns: 1fr; }
  .warranty-band { flex-direction: column; text-align: center; }
  .warranty-copy .eyebrow-accent { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .container { padding-inline: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .chip-1 { right: 2%; }
  .chip-2 { left: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
