/* GeoQ Cloud Native — Marketing Site Styles */
:root {
  --bg:        #07091a;
  --bg2:       #0d1230;
  --bg3:       #111827;
  --card:      #0f1729;
  --border:    #1e2d50;
  --cyan:      #00d4ff;
  --green:     #00e887;
  --purple:    #a855f7;
  --orange:    #f97316;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --heading:   #f8fafc;
  --radius:    12px;
  --radius-lg: 20px;
  --font:      ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:      ui-monospace, "Cascadia Code", Consolas, monospace;
  --shadow:    0 4px 32px rgba(0,212,255,.10);
  --glow-c:    0 0 40px rgba(0,212,255,.18);
  --glow-g:    0 0 40px rgba(0,232,135,.15);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2rem;
  background: rgba(7,9,26,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { font-size: 1.25rem; font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: .5rem; }
.nav-brand span { color: var(--cyan); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--cyan); text-decoration: none; }
.nav-sep { display: inline-block; width: 1px; height: 16px; background: var(--border); margin: 0 .4rem; align-self: center; }
.nav-cta { background: var(--cyan); color: #07091a; padding: .45rem 1.1rem; border-radius: 8px; font-weight: 700; font-size: .85rem; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; text-decoration: none; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative; text-align: center; padding: 6rem 2rem 5rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,212,255,.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 100%, rgba(168,85,247,.10) 0%, transparent 70%),
              var(--bg);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px),
                    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px);
  pointer-events: none;
}
.hero-badge { display: inline-block; background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.3); color: var(--cyan); padding: .3rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: .05em; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; color: var(--heading); line-height: 1.15; margin-bottom: 1.25rem; max-width: 820px; margin-inline: auto; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--cyan); color: #07091a; padding: .75rem 2rem; border-radius: 10px; font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .2s; box-shadow: var(--glow-c); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(0,212,255,.35); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text); padding: .75rem 2rem; border-radius: 10px; font-weight: 600; font-size: 1rem; border: 1px solid var(--border); transition: border-color .2s, color .2s; }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }

/* ── TERMINAL MOCKUP ─────────────────────────────────── */
.terminal { background: #010409; border: 1px solid #1e2d50; border-radius: 14px; padding: 1.25rem 1.5rem; max-width: 760px; margin: 3rem auto 0; text-align: left; font-family: var(--mono); font-size: .82rem; line-height: 1.75; box-shadow: 0 8px 48px rgba(0,0,0,.6), var(--glow-c); }
.terminal-bar { display: flex; gap: .45rem; margin-bottom: 1rem; }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.r { background: #ff5f57; } .t-dot.y { background: #febc2e; } .t-dot.g { background: #28c840; }
.t-prompt { color: var(--green); } .t-cmd { color: var(--text); } .t-flag { color: var(--cyan); } .t-out { color: var(--muted); } .t-val { color: var(--orange); }

/* ── SECTIONS ────────────────────────────────────────── */
section { padding: 5rem 2rem; }
.section-label { color: var(--cyan); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--heading); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-bottom: 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }


/* ── FEATURE GRID ────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,212,255,.35); }
.fc-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.fc-title { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin-bottom: .6rem; }
.fc-desc { color: var(--muted); font-size: .93rem; line-height: 1.6; margin-bottom: 1.2rem; }
.fc-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.2); color: var(--cyan); padding: .18rem .55rem; border-radius: 6px; font-size: .75rem; font-weight: 600; }
.tag.green { background: rgba(0,232,135,.1); border-color: rgba(0,232,135,.2); color: var(--green); }
.tag.purple { background: rgba(168,85,247,.1); border-color: rgba(168,85,247,.25); color: var(--purple); }
.tag.orange { background: rgba(249,115,22,.1); border-color: rgba(249,115,22,.2); color: var(--orange); }
.fc-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--cyan); font-size: .88rem; font-weight: 600; margin-top: 1rem; transition: gap .2s; }
.fc-link:hover { gap: .6rem; text-decoration: none; }

/* ── ARCH FLOW ───────────────────────────────────────── */
.arch-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin: 3rem 0; }
.arch-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; min-width: 150px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.arch-box:hover { border-color: var(--cyan); box-shadow: var(--glow-c); }
.arch-box .icon { font-size: 1.6rem; margin-bottom: .4rem; display: block; }
.arch-box .label { font-size: .8rem; font-weight: 700; color: var(--heading); }
.arch-box .sub { font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.arch-arrow { color: var(--cyan); font-size: 1.4rem; padding: 0 .5rem; opacity: .6; }

/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem 4rem; padding: 3.5rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stat { text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.stat-lbl { font-size: .82rem; color: var(--muted); font-weight: 500; margin-top: .3rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── TECH STACK ──────────────────────────────────────── */
.tech-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.tech-badge { display: flex; align-items: center; gap: .45rem; padding: .5rem 1rem; background: var(--card); border: 1px solid var(--border); border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--text); transition: border-color .2s; }
.tech-badge:hover { border-color: var(--cyan); text-decoration: none; }
.tech-badge .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-cyan { background: var(--cyan); } .dot-green { background: var(--green); }
.dot-purple { background: var(--purple); } .dot-orange { background: var(--orange); }
.dot-blue { background: #3b82f6; } .dot-red { background: #ef4444; } .dot-yellow { background: #eab308; }

/* ── FEATURE HERO (inner pages) ──────────────────────── */
.feat-hero { padding: 5rem 2rem 4rem; text-align: center; background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0,212,255,.1) 0%, transparent 65%), var(--bg); }
.feat-hero.green-glow { background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0,232,135,.09) 0%, transparent 65%), var(--bg); }
.feat-hero.purple-glow { background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(168,85,247,.10) 0%, transparent 65%), var(--bg); }
.feat-hero.orange-glow { background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(249,115,22,.09) 0%, transparent 65%), var(--bg); }
.feat-icon-large { font-size: 4rem; margin-bottom: 1.25rem; display: block; filter: drop-shadow(0 0 24px rgba(0,212,255,.4)); }
.feat-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; color: var(--heading); margin-bottom: 1rem; max-width: 700px; margin-inline: auto; }
.feat-hero p { font-size: 1.1rem; color: var(--muted); max-width: 580px; margin: 0 auto 2rem; }

/* ── CAPABILITY LIST ─────────────────────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.cap-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.cap-item .ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.cap-item .ci-title { font-weight: 700; color: var(--heading); margin-bottom: .3rem; font-size: .95rem; }
.cap-item .ci-desc { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* ── CODE BLOCK ──────────────────────────────────────── */
.code-section { background: var(--bg2); padding: 4rem 2rem; }
.code-block { background: #010409; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; font-family: var(--mono); font-size: .82rem; line-height: 1.8; overflow-x: auto; }
.code-block .kw { color: #c678dd; } .code-block .str { color: #98c379; }
.code-block .comment { color: #5c6370; font-style: italic; } .code-block .fn { color: #61aeee; }
.code-block .num { color: #d19a66; } .code-block .flag { color: var(--cyan); }

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, rgba(0,212,255,.08) 0%, rgba(168,85,247,.08) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; padding: 4.5rem 2rem; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--heading); margin-bottom: 1rem; }
.cta-band p { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto 2rem; }

/* ── FOOTER ──────────────────────────────────────────── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer-brand { font-weight: 700; font-size: 1.1rem; color: var(--heading); }
.footer-brand span { color: var(--cyan); }
.footer-brand p { color: var(--muted); font-size: .85rem; margin-top: .4rem; max-width: 260px; }
.footer-links h4 { font-size: .85rem; font-weight: 700; color: var(--heading); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); text-decoration: none; }
.footer-copy { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 700px) {
  nav { padding: .75rem 1rem; } .nav-links { display: none; }
  .hero { padding: 4rem 1.25rem 3.5rem; } section { padding: 3.5rem 1.25rem; }
  .arch-arrow { display: none; } .footer-inner { flex-direction: column; }
}
