/* ============================================================
   GeekU.us — Synthwave Site Styles
   Palette: #04080f base | #00d4ff cyan | #ff2d78 magenta
            #ff6b00 orange | #f0e6c8 cream
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

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

:root {
  --base:    #04080f;
  --base2:   #080f1a;
  --cyan:    #00d4ff;
  --magenta: #ff2d78;
  --orange:  #ff6b00;
  --cream:   #f0e6c8;
  --muted:   #6a8aa0;
  --border:  rgba(0,212,255,.18);
  --glow:    0 0 18px rgba(0,212,255,.45);
  --font-d:  'Rajdhani', sans-serif;
  --font-m:  'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--base);
  color: var(--cream);
  font-family: var(--font-d);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -40px; left: 1rem;
  background: var(--cyan); color: var(--base);
  padding: .4rem .8rem; font-weight: 700;
  border-radius: 0 0 4px 4px; z-index: 999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4,8,15,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .8rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.nav-brand img {
  height: 44px; width: auto;
}
.nav-brand span {
  font-size: 1.4rem; font-weight: 700;
  color: var(--cream); letter-spacing: .04em;
}
.nav-brand span em {
  font-style: normal; color: var(--cyan);
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 1rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--cyan); }

.nav-cta {
  background: var(--magenta); color: #fff !important;
  padding: .45rem 1.1rem; border-radius: 3px;
  transition: background .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  background: #ff4d8a !important;
  box-shadow: 0 0 14px rgba(255,45,120,.5);
}

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 2rem 6rem;
}

/* Synthwave sun background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%,
      rgba(255,107,0,.18) 0%,
      rgba(255,45,120,.10) 45%,
      transparent 70%);
  pointer-events: none;
}

/* Cyan grid floor */
.hero-grid {
  position: absolute; bottom: 0; left: 0; right: 0; height: 260px;
  background-image:
    linear-gradient(rgba(0,212,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.25) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(400px) rotateX(55deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  pointer-events: none;
}

.hero-logo {
  width: min(340px, 80vw);
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 32px rgba(0,212,255,.35));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(0,212,255,.3)); }
  50%       { filter: drop-shadow(0 0 48px rgba(0,212,255,.6)); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700; line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.2rem;
  max-width: 720px;
}
.hero h1 .accent { color: var(--cyan); display: block; }

.hero-sub {
  font-family: var(--font-m);
  font-size: clamp(.85rem, 1.8vw, 1.05rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-d); font-weight: 700;
  font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .75rem 1.8rem; border-radius: 3px;
  transition: all .2s; border: 2px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--cyan); color: var(--base);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: transparent; color: var(--cyan);
  box-shadow: var(--glow);
}
.btn-outline {
  background: transparent; color: var(--cream);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan); color: var(--cyan);
}

/* ── SECTIONS ── */
.section {
  max-width: 1100px; margin: 0 auto; padding: 5rem 2rem;
}

.section-divider {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

.section-eyebrow {
  font-family: var(--font-m); font-size: .8rem;
  color: var(--magenta); letter-spacing: .14em;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  color: var(--cream); margin-bottom: 1.2rem;
}

.section-lead {
  font-size: 1.1rem; color: var(--muted);
  max-width: 620px; line-height: 1.7;
}

/* ── WHAT YOU GET (3-col) ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.pillar {
  background: var(--base2);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.pillar-icon {
  font-size: 2rem; margin-bottom: 1rem;
  display: block;
}
.pillar h3 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--cream); margin-bottom: .6rem;
}
.pillar p {
  font-size: .95rem; color: var(--muted); line-height: 1.6;
}

/* ── LABS STRIP ── */
.labs-strip {
  background: var(--base2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.labs-strip .section { padding: 4rem 2rem; }

.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}

.lab-card {
  border: 1px solid var(--border);
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--base);
  display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .2s, box-shadow .2s;
}
.lab-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0,212,255,.15);
}

.lab-badge {
  font-family: var(--font-m); font-size: .72rem;
  font-weight: 600; padding: .2rem .55rem;
  border-radius: 2px; display: inline-block; align-self: flex-start;
}
.badge-live { background: rgba(0,212,255,.15); color: var(--cyan); }
.badge-soon { background: rgba(255,45,120,.12); color: var(--magenta); }

.lab-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--cream);
}
.lab-card p {
  font-size: .9rem; color: var(--muted); flex: 1;
}
.lab-link {
  font-family: var(--font-m); font-size: .82rem;
  color: var(--cyan); text-decoration: none;
  margin-top: .25rem; display: inline-block;
  transition: opacity .2s;
}
.lab-link:hover { opacity: .75; }

/* ── CHEAT SHEETS PAGE ── */
.cs-intro {
  max-width: 640px;
}

.cs-filter {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-top: 2rem; margin-bottom: 2.5rem;
}
.cs-filter-btn {
  font-family: var(--font-m); font-size: .8rem;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); padding: .35rem .9rem;
  border-radius: 2px; cursor: pointer;
  transition: all .2s;
}
.cs-filter-btn:hover,
.cs-filter-btn.active {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,212,255,.07);
}

.cs-block {
  margin-bottom: 3rem;
}

.cs-block-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding-bottom: .6rem; margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.cs-block-title span {
  font-family: var(--font-m); font-size: .75rem;
  color: var(--magenta);
}

.cs-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-m);
}
.cs-table th {
  font-size: .75rem; font-weight: 600;
  color: var(--muted); text-align: left;
  padding: .4rem .75rem .4rem 0;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: .08em;
}
.cs-table td {
  padding: .55rem .75rem .55rem 0;
  border-bottom: 1px solid rgba(0,212,255,.06);
  vertical-align: top; font-size: .88rem;
}
.cs-table tr:last-child td { border-bottom: none; }
.cs-table td:first-child {
  color: var(--cyan); white-space: nowrap;
  width: 260px; padding-right: 1.5rem;
}
.cs-table td:last-child { color: var(--muted); }

.cs-tip {
  font-family: var(--font-m); font-size: .82rem;
  background: rgba(0,212,255,.06);
  border-left: 3px solid var(--cyan);
  padding: .6rem 1rem; margin-top: 1rem;
  color: var(--muted);
}
.cs-tip strong { color: var(--cyan); }

/* ── CONTACT PAGE ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}

.contact-info h2 {
  font-size: 2rem; font-weight: 700;
  color: var(--cream); margin-bottom: 1rem;
}
.contact-info p {
  color: var(--muted); font-size: 1rem; line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: .75rem;
}
.contact-item span:first-child {
  font-family: var(--font-m); font-size: .85rem;
  color: var(--muted); width: 90px; flex-shrink: 0;
}
.contact-item a {
  color: var(--cyan); text-decoration: none;
  font-family: var(--font-m); font-size: .85rem;
  transition: opacity .2s;
}
.contact-item a:hover { opacity: .75; }

.contact-form {
  background: var(--base2);
  border: 1px solid var(--border);
  padding: 2rem 2rem 2.5rem;
}
.contact-form h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--cream); margin-bottom: 1.75rem;
}

.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-family: var(--font-m); font-size: .78rem;
  color: var(--muted); margin-bottom: .45rem;
  letter-spacing: .06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--base);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--font-m); font-size: .88rem;
  padding: .65rem .85rem; border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
  outline: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0,212,255,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit {
  width: 100%; background: var(--magenta);
  color: #fff; border: none;
  font-family: var(--font-d); font-weight: 700;
  font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem; border-radius: 3px; cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.form-submit:hover {
  background: #ff4d8a;
  box-shadow: 0 0 20px rgba(255,45,120,.4);
}

.form-note {
  font-family: var(--font-m); font-size: .75rem;
  color: var(--muted); margin-top: 1rem; text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--base2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
footer p {
  font-family: var(--font-m); font-size: .8rem;
  color: var(--muted);
}
footer a {
  color: var(--cyan); text-decoration: none;
  transition: opacity .2s;
}
footer a:hover { opacity: .75; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: .7rem 1.25rem; gap: .5rem; }
  .nav-brand span { font-size: 1.1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .82rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 520px) {
  .nav-links .hide-mobile { display: none; }
  .hero h1 { font-size: 2rem; }
  .cs-table td:first-child { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
  * { transition-duration: 0s !important; }
}
