/* ============================================================
   AI Content Ops — Main Stylesheet v2
   aicontentops.online
   ============================================================ */

:root {
  --ink: #1a1f2e;
  --blue: #3b6fd4;
  --blue-dark: #2d3a5e;
  --blue-light: #eef2fb;
  --rule: #d4dae8;
  --muted: #6b7494;
  --white: #ffffff;
  --cream: #f8f9fc;
  --accent: #1a3fa0;
  --fs-hero: clamp(2.6rem, 5.5vw, 4.2rem);
  --fs-h2: clamp(1.8rem, 3.2vw, 2.6rem);
  --radius: 8px;
  --shadow: 0 2px 20px rgba(30,50,120,0.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
p { color: #3a4060; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
  display: block;
}

section { padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 5rem); }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo img { width: 200px; display: block; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links .nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 0.45rem 1.2rem; border-radius: var(--radius);
  font-weight: 600; transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--accent); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  border-radius: var(--radius); font-weight: 600;
  text-decoration: none; font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--accent); border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,111,212,0.35);
}
.btn-ghost {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-light); transform: translateY(-2px); }

/* ── TAGS ────────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.tag {
  background: var(--blue-light); color: var(--blue);
  font-size: 0.74rem; font-weight: 500;
  padding: 0.2rem 0.65rem; border-radius: 99px;
}

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%, #e8f0ff 100%);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-h2);
  line-height: 1.2; max-width: 700px;
  margin-bottom: 0.75rem;
}
.page-hero p { color: var(--muted); max-width: 580px; margin-bottom: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--blue-dark);
  padding: 2rem clamp(1.5rem, 6vw, 5rem);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
footer .footer-logo { width: 160px; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-right { text-align: right; }
.footer-links { display: flex; gap: 1.5rem; margin-bottom: 0.4rem; justify-content: flex-end; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-right p { color: rgba(255,255,255,0.35); font-size: 0.78rem; margin: 0; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }

.scroll-fade {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-fade.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-logo img { width: 150px; }
}
@media (max-width: 600px) {
  .nav-links li:not(:last-child) { display: none; }
}
