/* ============================
   NetTek · Global Stylesheet
   ============================ */

:root {
  --ink:          #0a0d14;
  --ink-mid:      #2a2f3d;
  --ink-soft:     #5a6275;
  --paper:        #f5f4f0;
  --white:        #ffffff;
  --accent:       #00c8a0;
  --accent-dark:  #009d7e;
  --accent-faint: rgba(0,200,160,0.10);
  --grid:         rgba(0,200,160,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --max-w:        1140px;
  --radius:       4px;
}

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

/* ─── Layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }

/* ─── Header / Nav ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,13,20,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  color: var(--white);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 72% 50%, rgba(0,200,160,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 18% 80%, rgba(0,200,160,0.08) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}
.hero-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ─── About ─── */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 120px 1fr 220px;
  gap: 3rem;
  align-items: start;
}
.about-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.6rem;
}
.about-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.about-body p { color: var(--ink-mid); margin-bottom: 1rem; }
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 2px solid var(--accent-faint);
  padding-left: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.stat-l {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Services ─── */
.services { background: var(--paper); }
.section-header { margin-bottom: 3rem; }
.section-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,200,160,0.1);
}
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.9rem; color: var(--ink-mid); }
.service-card a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ─── CTA ─── */
.cta-section { background: var(--ink); color: var(--white); }
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.cta-inner p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }

/* ─── Footer ─── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  align-items: start;
}
.footer-brand .logo { margin-bottom: 0.75rem; display: inline-flex; }
.site-footer .logo img { height: 38px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.82rem; }
.footer-nav a { transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

/* ─── Interior page hero ─── */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 9rem 0 4.5rem;
}
.page-hero .page-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -2px;
  line-height: 1.05;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ─── Prose (Privacy / T&Cs) ─── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  margin: 2.5rem 0 0.75rem;
  color: var(--ink);
}
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink-mid); margin-bottom: 0.9rem; font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); }
.prose .updated {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 2.5rem;
  display: block;
}

/* ─── Umpire App ─── */
.app-hero {
  background: var(--ink);
  color: var(--white);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,200,160,0.13) 0%, transparent 70%);
}
.app-hero .container { position: relative; z-index: 2; }
.app-hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}
.app-hero .page-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.app-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.app-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.app-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
}
.badge-teal {
  background: var(--accent-faint);
  border-color: var(--accent);
  color: var(--ink);
}

.watch-mockup { display: flex; justify-content: center; }
.watch-face {
  width: 180px;
  height: 215px;
  background: #111;
  border-radius: 50px;
  border: 4px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 0 60px rgba(0,200,160,0.22), inset 0 0 30px rgba(0,0,0,0.6);
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.65rem;
  text-align: center;
  padding: 1rem;
  position: relative;
}
.watch-face::before {
  content: '';
  position: absolute;
  top: -8px; right: -12px;
  width: 10px; height: 38px;
  background: #3a3a3a;
  border-radius: 3px;
}
.watch-score {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 1;
}
.watch-label { color: rgba(255,255,255,0.45); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.12em; }
.watch-row { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.watch-cell { display: flex; flex-direction: column; align-items: center; }
.watch-cell span:first-child { font-size: 1.15rem; font-weight: 700; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,200,160,0.08);
}
.feature-card .icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.9rem; color: var(--ink-mid); }
.feature-card a { color: var(--accent); border-bottom: 1px solid currentColor; }

code {
  background: #eeecea;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.88em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-label { display: none; }
  .about-stats {
    flex-direction: row;
    border-left: none;
    border-top: 2px solid var(--accent-faint);
    padding-left: 0;
    padding-top: 1.5rem;
    flex-wrap: wrap;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .app-hero-grid { grid-template-columns: 1fr; }
  .watch-mockup { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--ink);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 1.25rem;
  }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
