/* ── I Like AI — Shared Design Layer ──────────────────────────────────────── */
/* Layered on top of page-specific CSS. Font, typography, component refinements. */

/* Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Base ────────────────────────────────────────────────────────────────── */
*, body, input, textarea, select, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1 {
  letter-spacing: -0.04em !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}
h2 {
  letter-spacing: -0.03em !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}
h3 {
  letter-spacing: -0.02em !important;
  font-weight: 600 !important;
}

/* Logo always bold */
.logo, .site-logo, .nav-logo {
  letter-spacing: -0.04em !important;
  font-weight: 800 !important;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-secondary {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #818cf8) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 16px rgba(56, 189, 248, 0.2) !important;
}
.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.35) !important;
  opacity: 0.95 !important;
}

.btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #e2e8f0 !important;
}
.btn-secondary:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  background: rgba(56, 189, 248, 0.06) !important;
  transform: translateY(-1px) !important;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  border-radius: 20px !important;
}
.card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
}

.usecase-card {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  border-radius: 24px !important;
}
.usecase-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
}

/* ── Navigation links ────────────────────────────────────────────────────── */
nav a, .nav-links a, .site-header nav a {
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s !important;
}

/* ── Section headings ────────────────────────────────────────────────────── */
.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}
.section-title p {
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── Section spacing ─────────────────────────────────────────────────────── */
section {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}
#hero, #metrics {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#hero {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* ── Article / Blog typography ───────────────────────────────────────────── */
.article-container p,
.article-container li,
.prose p,
.prose li {
  font-size: 1.0625rem !important;
  line-height: 1.8 !important;
  color: #cbd5e1 !important;
}

.article-container h1,
.prose h1 {
  font-size: clamp(1.875rem, 5vw, 3rem) !important;
  letter-spacing: -0.04em !important;
}
.article-container h2,
.prose h2 {
  font-size: clamp(1.25rem, 3vw, 1.625rem) !important;
  letter-spacing: -0.03em !important;
  margin-top: 3rem !important;
}
.article-container h3,
.prose h3 {
  letter-spacing: -0.02em !important;
}

/* ── Coaching / Beratung / Agenten page refinements ─────────────────────── */
.hero-section h1,
.page-hero h1,
.hero-left h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
}

/* ── Process steps ───────────────────────────────────────────────────────── */
.process-item h3,
.process-step h3 {
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

/* ── Badge / tag refinements ─────────────────────────────────────────────── */
.badge, .live-badge {
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
}

/* ── Footer / small text ──────────────────────────────────────────────────── */
footer p, footer a, footer small {
  font-size: 0.875rem !important;
  letter-spacing: -0.01em !important;
}

/* ── Link hover in articles ─────────────────────────────────────────────── */
.article-container a:not(.btn),
.prose a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(56, 189, 248, 0.4);
  transition: text-decoration-color 0.2s;
}
.article-container a:not(.btn):hover,
.prose a:not(.btn):hover {
  text-decoration-color: #38bdf8;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  #hero {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}
