/* ═══════════════════════════════════════════════════════════════
   E2 Innovations LLC — Shared Stylesheet
   All pages import this file
═══════════════════════════════════════════════════════════════ */

:root {
  --midnight: #0A0F1E;
  --navy:     #0F2044;
  --ink:      #1A2340;
  --teal:     #0D8C8C;
  --teal2:    #0ABFBF;
  --gold:     #C9A84C;
  --gold2:    #E8C96A;
  --cream:    #F7F4EE;
  --paper:    #FDFCF9;
  --mist:     #EEF2F5;
  --slate:    #4A5568;
  --border:   #DDD8CE;
  --white:    #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; flex-direction: column; text-decoration: none; }
.nav-logo-main { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--white); }
.nav-logo-sub { font-size: 10px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-family: 'DM Mono', monospace; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13px;
  font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--midnight) !important; font-weight: 600 !important; border-radius: 20px !important; }
.nav-cta:hover { background: var(--gold2) !important; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--midnight);
  padding: 120px 40px 60px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,140,140,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0A0F1E 0%, #0F1A35 60%, #0A1520 100%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.page-tag {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.page-tag::before { content: ''; width: 20px; height: 2px; background: var(--gold); }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); color: var(--white); font-weight: 900; margin-bottom: 14px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 640px; line-height: 1.75; }

/* ── SECTION BASE ── */
.page-content { max-width: 1200px; margin: 0 auto; padding: 80px 40px; }
.section-tag {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--teal); }
h2.section-title { font-size: clamp(24px, 3.5vw, 38px); color: var(--ink); margin-bottom: 14px; }
h2.section-title.light { color: var(--white); }
.section-desc { font-size: 15px; color: var(--slate); line-height: 1.75; max-width: 680px; margin-bottom: 44px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--teal); color: var(--white); padding: 12px 26px;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--teal2); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--ink); padding: 12px 26px;
  border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 14px;
  border: 1.5px solid var(--border); transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-product {
  background: var(--ink); color: var(--white); padding: 8px 16px;
  border-radius: 6px; text-decoration: none; font-size: 12px; font-weight: 600;
  transition: all 0.2s; display: inline-block;
}
.btn-product:hover { background: var(--teal); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; transition: all 0.2s;
}
.card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.07); transform: translateY(-3px); }

/* ── FOOTER ── */
footer {
  background: #060A14;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand { font-family: 'Playfair Display', serif; color: var(--white); font-size: 16px; font-weight: 700; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-since { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--gold); margin-top: 4px; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal2); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ── PRODUCT BADGE ── */
.badge {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px;
  border-radius: 20px; font-family: 'DM Mono', monospace;
}
.badge-blue   { background: #EFF6FF; color: #1D4ED8; }
.badge-green  { background: #F0FDF4; color: #166534; }
.badge-purple { background: #F5F3FF; color: #6D28D9; }
.badge-amber  { background: #FFFBEB; color: #92400E; }
.badge-teal   { background: #F0FDFA; color: #0D8C8C; }
.badge-gray   { background: #F3F4F6; color: #374151; }
.badge-red    { background: #FEF2F2; color: #B91C1C; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 100px 20px 50px; }
  .page-content { padding: 50px 20px; }
}
