/* ============================================================
   VELYNTIC — Shared Stylesheet
   ============================================================ */

/* TOKENS */
:root {
  --navy:          #0B1628;
  --navy-raised:   #111f38;
  --navy-card:     rgba(17,31,56,0.6);
  --amber:         #F59E0B;
  --amber-pale:    #FCD34D;
  --white:         #FFFFFF;
  --text-primary:  #F0F4FA;
  --text-muted:    #94A3B8;
  --text-dim:      #5A6A82;
  --border-amber:  rgba(245,158,11,0.18);
  --border-subtle: rgba(255,255,255,0.06);
  --grid-line:     rgba(245,158,11,0.045);
  --radius:        6px;
  --radius-lg:     10px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
p { line-height: 1.75; }
em { font-style: normal; color: var(--amber); }
a { color: inherit; }

/* LAYOUT */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.sep { height: 1px; background: linear-gradient(90deg, transparent, rgba(245,158,11,0.2), transparent); position: relative; z-index: 1; }

/* UTILITIES */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: inline-block; width: 20px;
  height: 1px; background: var(--amber); flex-shrink: 0;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800; font-stretch: expanded;
  margin-bottom: 18px; max-width: 680px;
}
.section-body {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.8; max-width: 580px;
}

/* BUTTONS */
.btn {
  display: inline-block; padding: 13px 26px;
  border-radius: var(--radius); font-weight: 600;
  font-size: 15px; text-decoration: none;
  transition: all 0.18s; line-height: 1;
  cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
}
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-pale); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border-amber); color: var(--amber); background: transparent; }
.btn-outline:hover { border-color: var(--amber); background: rgba(245,158,11,0.06); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,22,40,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: color 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links .nav-cta {
  background: var(--amber); color: var(--navy);
  font-weight: 600; padding: 7px 18px; border-radius: var(--radius);
  transition: background 0.18s;
}
.nav-links .nav-cta:hover { background: var(--amber-pale); color: var(--navy); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; }
.nav-drawer {
  display: none; position: fixed; inset: 64px 0 0;
  background: rgba(11,22,40,0.97); backdrop-filter: blur(16px);
  z-index: 190; padding: 32px 28px; flex-direction: column; gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 18px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle); transition: color 0.18s;
}
.nav-drawer a:hover { color: var(--amber); }

/* ============================================================
   PAGE HERO (used on inner pages)
   ============================================================ */
.page-hero { padding: 80px 0 72px; border-bottom: 1px solid var(--border-subtle); }
.page-hero .section-label { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 780px; margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 580px; line-height: 1.8; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border-subtle); position: relative; z-index: 1; }
.footer-main {
  max-width: 1160px; margin: 0 auto; padding: 32px 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { text-decoration: none; display: flex; align-items: center; }
.footer-logo img { height: 26px; width: auto; display: block; }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.18s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-credit {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 28px; text-align: center;
}
.footer-credit-inner {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim); letter-spacing: 0.02em;
}
.footer-credit-inner img { height: 16px; width: auto; display: block; }
.footer-credit-inner strong { color: var(--text-muted); letter-spacing: 0.06em; font-size: 11px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.svc-card {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(245,158,11,0.2));
  opacity: 0; transition: opacity 0.2s;
}
.svc-card:hover { border-color: var(--border-amber); background: rgba(17,31,56,0.9); }
.svc-card:hover::after { opacity: 1; }
.svc-badge {
  display: inline-flex; background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.22); color: var(--amber);
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 3px;
  margin-bottom: 12px; width: fit-content;
}
.svc-type { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.svc-card h3 { font-size: 20px; font-weight: 700; font-stretch: expanded; margin-bottom: 12px; }
.svc-card > p { font-size: 14px; color: var(--text-muted); line-height: 1.75; flex: 1; margin-bottom: 24px; }
.svc-price { border-top: 1px solid var(--border-subtle); padding-top: 18px; margin-top: auto; }
.svc-price-value { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: expanded; font-size: 18px; color: var(--white); }
.svc-price-note { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden;
}
.pillar { background: var(--navy); padding: 32px 28px; transition: background 0.18s; }
.pillar:hover { background: var(--navy-raised); }
.pillar-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 14px; }
.pillar h3 { font-size: 17px; font-weight: 700; font-stretch: expanded; margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   ADDEE STAGES
   ============================================================ */
.addee-stages { display: flex; flex-direction: column; }
.stage-row { display: flex; gap: 20px; padding-bottom: 32px; }
.stage-row:last-child { padding-bottom: 0; }
.stage-line-col { display: flex; flex-direction: column; align-items: center; width: 28px; flex-shrink: 0; }
.stage-node { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }
.stage-connector { flex: 1; width: 1px; background: rgba(245,158,11,0.18); margin: 6px 0 0; }
.stage-row:last-child .stage-connector { display: none; }
.stage-body { flex: 1; }
.stage-letter { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; margin-bottom: 5px; }
.stage-body h4 { font-size: 17px; font-weight: 700; font-stretch: expanded; margin-bottom: 6px; }
.stage-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials { display: flex; flex-direction: column; gap: 14px; }
.credential { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border-subtle); border-radius: var(--radius); background: rgba(255,255,255,0.02); transition: border-color 0.18s; }
.credential:hover { border-color: var(--border-amber); }
.cred-icon { width: 34px; height: 34px; background: rgba(245,158,11,0.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--amber); flex-shrink: 0; font-size: 12px; font-weight: 700; font-family: 'Archivo', sans-serif; }
.credential h4 { font-size: 14px; font-weight: 600; font-stretch: normal; letter-spacing: 0; margin-bottom: 3px; }
.credential p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 40px; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.02em; }
input, select, textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius); padding: 11px 14px; color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 15px; outline: none; transition: border-color 0.18s; -webkit-appearance: none; appearance: none; }
input::placeholder, textarea::placeholder { color: var(--text-dim); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6A82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select option { background: #111f38; color: var(--text-primary); }
input:focus, select:focus, textarea:focus { border-color: rgba(245,158,11,0.45); background: rgba(245,158,11,0.03); }
textarea { min-height: 110px; resize: vertical; }
.form-submit { background: var(--amber); color: var(--navy); border: none; padding: 13px 28px; border-radius: var(--radius); font-weight: 700; font-size: 15px; font-family: 'Inter', sans-serif; cursor: pointer; transition: background 0.18s, transform 0.18s; width: 100%; }
.form-submit:hover { background: var(--amber-pale); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--text-dim); text-align: center; }
.basin-hp { display: none !important; }

/* ============================================================
   SIGNAL BOX
   ============================================================ */
.signal-box {
  background: rgba(245,158,11,0.04); border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg); padding: 72px 64px;
  position: relative; overflow: hidden;
}
.signal-box::before {
  content: 'SIGNAL'; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  font-family: 'Archivo', sans-serif; font-weight: 900; font-stretch: expanded;
  font-size: 160px; color: rgba(245,158,11,0.035); letter-spacing: -0.05em;
  pointer-events: none; user-select: none; line-height: 1;
}
.signal-stats { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border-subtle); }
.stat-val { font-family: 'Archivo', sans-serif; font-weight: 900; font-stretch: expanded; font-size: 36px; color: var(--amber); letter-spacing: -0.03em; line-height: 1; }
.stat-lbl { font-size: 13px; color: var(--text-muted); margin-top: 5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .contact-form { padding: 28px 22px; }
  .signal-box { padding: 40px 28px; }
  .signal-box::before { display: none; }
}
@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
