/* globals */
:root {
  --bg: #000000;
  --text: #e8f1ff;
  --muted: #9db7d9;
  --blue: #1e90ff;
  --blue-20: rgba(30, 144, 255, 0.2);
  --blue-40: rgba(30, 144, 255, 0.4);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6) 40%, rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}

.logo { font-weight: 700; color: var(--text); letter-spacing: 0.5px; }

.nav a { margin-left: 20px; }

.nav a.ghost { color: var(--muted); }

/* layout */
.section { padding: clamp(72px, 14vw, 160px) 0; opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.section.visible { opacity: 1; transform: translateY(0); }

.container { width: min(100% - 40px, var(--maxw)); margin: 0 auto; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }

.narrow { max-width: 800px; text-align: center; }

/* features */
.features { padding-top: clamp(40px, 8vw, 96px); }
.features .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
.features .feature { border: 1px dashed rgba(30,144,255,0.35); border-radius: 14px; padding: clamp(16px, 3vw, 28px); background: rgba(255,255,255,0.01); transition: background 200ms ease, box-shadow 200ms ease, transform 120ms ease; }
.features .feature:hover { background: rgba(30,144,255,0.08); box-shadow: 0 0 0 4px rgba(30,144,255,0.15); transform: translateY(-2px); }
.features .feature img { width: 44px; height: 44px; margin-bottom: 12px; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
.features .feature h3 { font-size: clamp(14px, 1.9vw, 18px); margin: 0; color: var(--text); font-weight: 700; }

/* hero */
.hero .headline { font-size: clamp(28px, 6vw, 56px); font-weight: 700; margin: 0 0 16px 0; letter-spacing: 0.5px; }
.hero .subheadline { font-size: clamp(14px, 2.2vw, 18px); color: var(--muted); margin: 0 0 28px 0; }
.hero { position: relative; overflow: clip; }
.hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero .bg-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(60%); }

.cta-row { display: flex; gap: 16px; align-items: center; justify-content: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; transition: box-shadow 250ms ease, background 250ms ease, transform 120ms ease; }
.btn-primary { background: var(--blue); color: #00142a; font-weight: 700; }
.btn-primary:hover { box-shadow: 0 0 0 6px var(--blue-20), 0 8px 24px -8px var(--blue-40); transform: translateY(-1px); }

/* about */
.about .copy p { margin: 0; font-size: clamp(14px, 2.1vw, 18px); color: var(--muted); }

/* why */
.why h2 { margin: 0 0 12px 0; font-size: clamp(20px, 3.6vw, 32px); font-weight: 700; }
.why p { margin: 0; color: var(--muted); }
.why { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./top_back.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }

/* testimonials */
.testimonials .quotes { text-align: center; margin-bottom: 28px; }
.testimonials blockquote { margin: 0; font-size: clamp(16px, 2.4vw, 22px); color: var(--text); }
.testimonials .author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testimonials .author-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(30,144,255,0.5); box-shadow: 0 0 0 4px rgba(30,144,255,0.15); }
.testimonials .author-meta { display: flex; flex-direction: column; text-align: left; }
.testimonials .author-name { font-weight: 700; color: var(--text); }
.testimonials .author-title { color: var(--muted); font-size: 14px; }

/* closing */
.closing h2 { margin: 0 0 16px 0; font-size: clamp(22px, 4vw, 36px); }

/* footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-nav a { margin-right: 16px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 2px; }
.footer-inner .copyright { color: #69b3ff; font-size: 12px; }

/* responsive */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .features .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features .features-grid { grid-template-columns: 1fr; }
  .nav a { margin-left: 12px; }
} 