/* ============================================================
   Quantum Core Logic LLC — site styles
   Palette: electric blue + chrome/silver on near-black
   Plain CSS, no build step. Easy to extend later.
   ============================================================ */

:root {
  --bg:            #05060a;
  --bg-2:          #0a0d15;
  --surface:       #10131d;
  --surface-2:     #161b28;
  --border:        #232a3a;
  --border-glow:   #2e7bff;

  --text:          #e7ebf5;
  --text-dim:      #9aa4bd;
  --text-faint:    #6b7488;

  --blue:          #2e7bff;
  --blue-bright:   #4d9bff;
  --blue-glow:     #00c2ff;

  --chrome-1:      #f4f7ff;
  --chrome-2:      #aeb7cc;
  --chrome-3:      #7f8aa3;

  --maxw:          1120px;
  --pad:           clamp(1.25rem, 4vw, 2rem);
  --radius:        14px;
  --radius-sm:     10px;

  --font-head: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mark: "Orbitron", "Rajdhani", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: .9rem;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-dim); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text); max-width: 60ch; }

.chrome-text {
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 55%, var(--chrome-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blue-text { color: var(--blue-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #04101f;
  box-shadow: 0 0 0 1px rgba(77,155,255,.4), 0 8px 30px -8px rgba(46,123,255,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(77,155,255,.6), 0 12px 38px -8px rgba(46,123,255,.9); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: #fff; box-shadow: 0 0 24px -6px rgba(46,123,255,.5); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,6,10,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 30px; height: 30px; flex: none; border-radius: 7px;
  position: relative;
  background: radial-gradient(circle at 50% 45%, #0b2a5c, #05060a 70%);
  border: 1px solid #2b3550;
  box-shadow: inset 0 0 10px rgba(0,194,255,.35);
}
.brand-mark::before,
.brand-mark::after {
  content: ""; position: absolute; inset: 4px;
  border: 1.5px solid var(--chrome-2);
  border-radius: 50%;
  opacity: .85;
}
.brand-mark::before { transform: rotate(35deg) scaleY(.5); }
.brand-mark::after  { transform: rotate(-35deg) scaleY(.5); }
.brand-mark span {
  position: absolute; inset: 0; margin: auto;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 10px 2px var(--blue-glow);
}
.brand-text {
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--chrome-1);
  display: flex; align-items: baseline; gap: .4rem;
}
.brand-llc { font-size: .62rem; color: var(--blue-bright); letter-spacing: .18em; }

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { color: #fff; }
.site-nav a.nav-cta {
  color: var(--blue-bright);
  border: 1px solid var(--border);
  margin-left: .5rem;
}
.site-nav a.nav-cta:hover { border-color: var(--blue); background: rgba(46,123,255,.1); color: #fff; }

.nav-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--chrome-1); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 12vw, 8rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(46,123,255,.18), transparent 60%),
    radial-gradient(700px 500px at 12% 90%, rgba(0,194,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* orbit visual */
.orbit-visual { position: relative; aspect-ratio: 1; width: min(420px, 80vw); margin-inline: auto; }
.orbit-visual .orbit {
  position: absolute; inset: 0; margin: auto;
  border: 1.5px solid var(--chrome-3);
  border-radius: 50%;
  box-shadow: 0 0 30px -10px rgba(46,123,255,.5);
}
.orbit-visual .orbit-1 { transform: rotate(30deg) scaleY(.42); animation: spin 18s linear infinite; }
.orbit-visual .orbit-2 { transform: rotate(-30deg) scaleY(.42); animation: spin 24s linear infinite reverse; border-color: var(--chrome-2); }
.orbit-visual .orbit-3 { inset: 14%; border-color: rgba(46,123,255,.5); animation: spin 30s linear infinite; }
.orbit-visual .core {
  position: absolute; inset: 0; margin: auto;
  width: 26%; height: 26%;
  background: linear-gradient(145deg, #dfe8ff, #6ea8ff 45%, #123a7a);
  border-radius: 8px;
  transform: rotate(45deg);
  box-shadow: 0 0 40px 6px rgba(0,194,255,.65), inset 0 0 20px rgba(255,255,255,.6);
}
.orbit-visual .core::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 40%; height: 40%; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 30px 8px rgba(0,194,255,.9);
}
@keyframes spin { to { transform: rotate(360deg) scaleY(.42); } }
@keyframes spin3 { to { transform: rotate(360deg); } }

/* ---------- generic sections ---------- */
.section-head { max-width: 62ch; margin-bottom: 2.8rem; }
.section-head p { margin-top: .8rem; }

.bg-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }

/* card grid */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 20px 50px -20px rgba(46,123,255,.5); }
.card .card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(46,123,255,.12);
  border: 1px solid rgba(46,123,255,.35);
  margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 22px; height: 22px; stroke: var(--blue-bright); fill: none; stroke-width: 1.8; }
.card h3 { color: var(--chrome-1); margin-bottom: .5rem; }
.card p { font-size: .96rem; }
.card ul.tick { margin-top: 1rem; display: grid; gap: .5rem; }
.card ul.tick li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--text-dim); }
.card ul.tick li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-glow); box-shadow: 0 0 8px var(--blue-glow);
}

/* feature rows */
.feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature .item h3 { color: var(--chrome-1); font-size: 1.1rem; margin-bottom: .4rem; }
.feature .item .num { font-family: var(--font-mark); color: var(--blue); font-size: .85rem; letter-spacing: .2em; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .inner {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(46,123,255,.2), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 7vw, 4.5rem);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- services detail ---------- */
.svc { border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 6vw, 4rem); }
.svc:first-of-type { border-top: none; }
.svc-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
.svc h2 { color: var(--chrome-1); }
.svc .svc-tag { font-family: var(--font-mark); color: var(--blue); letter-spacing: .18em; font-size: .8rem; }
.svc ul.deliverables { display: grid; gap: .7rem; margin-top: 1.2rem; }
.svc ul.deliverables li { position: relative; padding-left: 1.6rem; color: var(--text-dim); }
.svc ul.deliverables li::before {
  content: "▸"; position: absolute; left: 0; color: var(--blue-bright);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.contact-card .big-mail {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--blue-bright);
  word-break: break-all;
  display: inline-block;
  margin: .6rem 0 1.2rem;
}
.contact-card .big-mail:hover { text-decoration: underline; }

form .field { margin-bottom: 1.1rem; }
form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: .4rem;
}
form input, form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .98rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,123,255,.2);
}
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--text-faint); margin-top: .8rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #000; padding-block: 2.75rem; }
.footer-inner { display: grid; gap: .6rem; text-align: center; justify-items: center; }
.footer-logo {
  width: min(380px, 82vw);
  height: auto;
  margin-bottom: .1rem;
  /* logo art is on a black field — screen blend melts that into the footer */
  mix-blend-mode: screen;
}
.footer-brand { font-family: var(--font-mark); font-weight: 700; letter-spacing: .08em; color: var(--chrome-1); text-transform: uppercase; font-size: .95rem; }
.footer-tag { color: var(--text-faint); font-size: .9rem; margin-top: -.2rem; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; margin-block: .8rem; }
.footer-nav a { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--text-dim); }
.footer-nav a:hover { color: #fff; }
.footer-legal { color: var(--text-faint); font-size: .82rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(3rem, 8vw, 5rem); border-bottom: 1px solid var(--border); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 320px at 20% 20%, rgba(46,123,255,.15), transparent 65%), linear-gradient(180deg, var(--bg), var(--bg-2));
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 60ch; }

/* ---------- prose ---------- */
.prose p { margin-bottom: 1.1rem; max-width: 68ch; }
.prose h2 { margin: 2.4rem 0 1rem; color: var(--chrome-1); }
.prose ul.tick { display: grid; gap: .7rem; margin: 1rem 0 1.5rem; }
.prose ul.tick li { position: relative; padding-left: 1.5rem; color: var(--text-dim); max-width: 66ch; }
.prose ul.tick li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-glow); box-shadow: 0 0 8px var(--blue-glow);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit-visual { order: -1; width: min(320px, 70vw); opacity: .9; }
  .grid-3, .feature { grid-template-columns: 1fr 1fr; }
  .svc-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: .6rem var(--pad) 1.1rem;
    gap: .2rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem .4rem; }
  .site-nav a.nav-cta { margin-left: 0; text-align: center; margin-top: .4rem; }
  .grid-3, .grid-2, .feature { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
