/* ═══════════════════════════════════════
   FOUNTZ — Diverse Ventures
   fountz.com · Shared Styles
═══════════════════════════════════════ */

:root {
  --teal:       #00B4D8;
  --green:      #00C49A;
  --grad:       linear-gradient(135deg, #00B4D8, #00C49A);
  --grad-text:  linear-gradient(135deg, #00C8E8, #00E0A8);
  --bg:         #080C0E;
  --bg2:        #0D1215;
  --bg3:        #111719;
  --surface:    #141A1D;
  --surface2:   #1A2226;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.12);
  --text:       #E8EDF0;
  --muted:      rgba(232,237,240,0.45);
  --muted2:     rgba(232,237,240,0.25);
  --white:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ── GRADIENT TEXT UTILITY ── */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(8,12,14,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 36px; width: auto;
  filter: brightness(1.1);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links li a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--text); }
.nav-cta {
  background: transparent !important;
  border: 1px solid var(--border2) !important;
  color: var(--text) !important;
  border-radius: 4px !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--text); transition: all 0.25s;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0,180,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ph-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.5rem;
}
.ph-tag::before {
  content: ''; width: 24px; height: 1px; background: var(--teal); display: block;
}
.page-hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600; line-height: 1.15;
  color: var(--text); margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1rem; color: var(--muted);
  max-width: 540px; line-height: 1.8;
}

/* ── SECTION ANATOMY ── */
.section { padding: 110px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: ''; width: 20px; height: 1px; background: var(--teal); display: block;
}
.section-h {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.2;
  color: var(--text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted);
  line-height: 1.8; max-width: 560px;
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-decoration: none;
  padding: 13px 28px; border-radius: 3px;
  transition: all 0.22s; cursor: pointer; border: none;
}
.btn-grad {
  background: var(--grad); color: #051012;
}
.btn-grad:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ── FOOTER ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 20px; filter: brightness(0.9); }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 260px; }
.footer-col h5 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted2);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted2);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: var(--muted2); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }

/* ── RESPONSIVE ── */
@media(max-width: 900px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media(max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(8,12,14,0.98); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 16px 24px 24px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 10px 0; border-radius: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 72px 0; }
}
