/* =============================================
   ZION AUTOMATION — Shared Design System
   zion.css · linked by all pages
   ============================================= */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900&display=swap');

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

/* DESIGN TOKENS */
:root {
  --bg:         #0a0f1e;
  --bg2:        #111827;
  --bg3:        #1e2a3a;
  --accent:     #38bdf8;
  --accent2:    #0ea5e9;
  --purple:     #a78bfa;
  --purple-dim: rgba(167,139,250,0.12);
  --text:       #e2e8f0;
  --muted:      #94a3b8;
  --border:     #1e3a5f;
  --success:    #34d399;
}

/* BASE */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ANIMATIONS */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0    rgba(56,189,248,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(56,189,248,0);   }
  100% { box-shadow: 0 0 0 0    rgba(56,189,248,0);   }
}
@keyframes float-orb {
  0%, 100% { transform: translateY(0)     scale(1);    opacity: 0.7; }
  50%       { transform: translateY(-30px) scale(1.08); opacity: 1;   }
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,15,30,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-size: 1.1rem; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: -0.01em; }
.nav-links  { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #0a0f1e; padding: 0.5rem 1.25rem;
  border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: #7dd3fc; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent); color: #0a0f1e;
  padding: 0.9rem 2rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 0 30px rgba(56,189,248,0.3);
}
.btn-primary:hover { background: #7dd3fc; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text);
  padding: 0.9rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid var(--border); transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTION HEADINGS ────────────────────────── */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; text-align: center;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; text-align: center;
  background: linear-gradient(135deg, #fff 20%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub {
  color: var(--muted); font-size: 1.05rem; max-width: 600px;
  margin-bottom: 3rem; text-align: center; margin-inline: auto;
}

/* Gradient heading utility — apply to any heading element */
.gradient-heading {
  background: linear-gradient(135deg, #fff 20%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 2.5rem 2rem; text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact {
  display: flex; justify-content: center; align-items: center;
  gap: 0.5rem; flex-wrap: wrap;
  color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem;
}
.footer-contact a { color: var(--text); text-decoration: none; white-space: nowrap; }
.footer-contact a:hover { color: var(--accent); }
.footer-sep        { color: #334155; }
.footer-disclaimer { color: var(--muted); font-size: 0.75rem; max-width: 700px; margin: 0 auto 1rem; line-height: 1.6; }
.footer-copy       { color: #475569; font-size: 0.8rem; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
}
