/* ============================================================
   NectiqSENSE Marketing Website — Shared Styles
   Brand: Charleston #212529 · Sunray #E0C051 · Beige #F3E7BD
   Fonts: Oxanium (display) · DM Sans (body) · DM Mono (data)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@300;400;500&display=swap');

:root {
  --black:   #0d0f11;
  --dark:    #16191e;
  --surface: #1c2026;
  --card:    #212529;
  --card2:   #262b31;
  --border:  rgba(243,231,189,0.07);
  --bord-md: rgba(243,231,189,0.13);
  --bord-hi: rgba(224,192,81,0.35);

  --text1: #F0EAD6;
  --text2: #9E9478;
  --text3: #5e5748;
  --text4: #504c41;

  --gold:     #E0C051;
  --gold-lt:  #F0D878;
  --gold-d:   rgba(224,192,81,0.12);
  --gold-g:   rgba(224,192,81,0.06);
  --beige:    #F3E7BD;
  --green:    #6DBF8A;
  --red:      #D95F3B;
  --blue:     #7BAED4;

  --ui:   'DM Sans', sans-serif;
  --head: 'Oxanium', sans-serif;
  --mono: 'DM Mono', monospace;

  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --nav-h: 68px;
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: var(--ui);
  background: var(--black);
  color: var(--text1);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Noise texture overlay ─────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
}

/* ── NAV ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 48px;
  background: rgba(13,15,17,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-logo {
  font-family: var(--head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--text1);
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-spacer { flex: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  letter-spacing: .02em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text1); background: var(--gold-g); }
.nav-cta {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--head);
  letter-spacing: .04em;
  color: var(--dark);
  background: var(--gold);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  margin-left: 12px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all .25s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  color: var(--text2);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all .15s;
}
.mobile-menu a:hover { color: var(--text1); background: var(--gold-g); }
.mobile-menu .nav-cta {
  margin: 8px 0 0;
  text-align: center;
  padding: 12px;
}

/* ── LAYOUT ────────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: '— '; color: var(--text3); }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; }
.display {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--text1);
}
.display .accent { color: var(--gold); }
.display .dim { color: var(--text3); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text1);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}
p { color: var(--text2); line-height: 1.8; }

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(224,192,81,.25); }
.btn-outline {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--bord-md);
}
.btn-outline:hover { border-color: var(--bord-hi); color: var(--text1); background: var(--gold-g); }

/* ── CARDS ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--bord-md);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* ── DIVIDER ───────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text1);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: var(--text3); margin-bottom: 20px; }
.footer-col-title {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--text2); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text4);
}

/* ── PAGE HERO ─────────────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(224,192,81,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media(max-width:900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:600px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── ANIMATIONS ────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-up  { animation: fadeUp .7s cubic-bezier(.4,0,.2,1) both; }
.anim-in  { animation: fadeIn .7s cubic-bezier(.4,0,.2,1) both; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .2s; }
.delay-3  { animation-delay: .3s; }
.delay-4  { animation-delay: .4s; }
.delay-5  { animation-delay: .5s; }
