/* ============================================
   AI SOLUTION — SHARED STYLES
   Used by: services, about, pricing, case-studies, contact
   Home page (index.html) keeps its own inline styles
   ============================================ */

:root {
  --bg: #F4F1EA;
  --bg-alt: #EBE6D9;
  --fg: #0A0A0A;
  --fg-soft: #2A2A2A;
  --muted: #7A7568;
  --accent: #FF3D00;
  --accent-2: #DBFF00;
  --line: rgba(10, 10, 10, 0.12);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Instrument Serif', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
}

::selection { background: var(--accent); color: var(--bg); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  animation: pulse 2.4s ease-in-out infinite;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--bg);
  border-radius: 50%;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 10px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.nav-cta:hover {
  transform: scale(1.05);
  background: var(--fg);
}

/* === PAGE HERO (Simpler than home) === */
.page-hero {
  padding: 200px 40px 100px;
  position: relative;
  overflow: hidden;
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.page-hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  max-width: 640px;
  color: var(--fg-soft);
  font-weight: 500;
}

.accent-text {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

/* === SECTION === */
.section {
  padding: 100px 40px;
  position: relative;
}

.section-dark {
  background: var(--fg);
  color: var(--bg);
}

.section-accent {
  background: var(--accent);
  color: var(--bg);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-dark .section-label { color: var(--bg-alt); }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 1000px;
  margin-bottom: 60px;
}

/* === BUTTON === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fg);
  color: var(--bg);
  padding: 20px 36px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 0.3s, background 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.btn .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  transition: background 0.3s;
}

.btn:hover .dot { background: var(--bg); }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}

.btn-outline:hover {
  background: var(--fg);
  color: var(--bg);
}

/* === CTA SECTION === */
.cta {
  padding: 160px 40px;
  text-align: center;
  background: var(--bg);
}

.cta-greeting {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--muted);
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

/* === FOOTER === */
footer {
  background: var(--fg);
  color: var(--bg);
  padding: 80px 40px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.footer-brand .accent-text { color: var(--accent); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-col a, .footer-col p {
  color: var(--bg-alt);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  display: block;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }

  .page-hero,
  .section,
  .cta { padding-left: 24px; padding-right: 24px; }

  .page-hero { padding-top: 140px; padding-bottom: 60px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .cta { padding-top: 100px; padding-bottom: 100px; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}