/* ==========================================
   Marketing Kompass - Main Stylesheet
   ========================================== */

:root {
  --primary: #1a56db;
  --primary-dark: #1241a3;
  --primary-light: #e8f0fe;
  --secondary: #0e9f6e;
  --secondary-dark: #057a55;
  --accent: #ff6b35;
  --accent-dark: #e55a26;
  --dark: #111827;
  --dark-2: #1f2937;
  --dark-3: #374151;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --white: #ffffff;
  --bg: #f9fafb;
  --bg-2: #f3f4f6;
  --text: #1f2937;
  --text-light: #6b7280;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.2s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

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

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(1.875rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.9375rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--secondary); color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark); border-color: var(--secondary-dark);
  color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark); border-color: var(--accent-dark);
  color: var(--white); transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white); color: var(--primary);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 1.375rem; font-weight: 800;
  color: var(--dark); text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.125rem; font-weight: 900;
  flex-shrink: 0;
}
.logo span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--dark-3); border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary-light); color: var(--primary);
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed; inset: 0; top: 70px;
  background: var(--white);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  z-index: 999;
  flex-direction: column; gap: 0.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 0.875rem 1rem;
  color: var(--dark); font-weight: 500;
  border-radius: var(--radius); font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu .btn { text-align: center; margin-top: 1rem; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0f1f5c 0%, #1a56db 50%, #0e9f6e 100%);
  padding: 6rem 0 5rem;
  position: relative; overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px; padding: 0.375rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 .highlight { color: #7dd3fc; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px; margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat { color: var(--white); }
.hero-stat strong { display: block; font-size: 1.875rem; font-weight: 800; }
.hero-stat span { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.label, .section-header .label {
  display: inline-block;
  color: var(--primary); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.125rem; color: var(--text-light);
  max-width: 600px; margin: 0 auto;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  height: 100%;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }
.card p { font-size: 0.9375rem; color: var(--text-light); }
.card-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  color: var(--primary); font-weight: 600; font-size: 0.875rem;
  margin-top: 1rem;
}
.card-link:hover { gap: 0.625rem; }

/* ── Grid ── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Feature / Benefit Items ── */
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.feature-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.feature-item p { font-size: 0.875rem; color: var(--text-light); }

/* ── Problem/Solution ── */
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.problem-list { display: flex; flex-direction: column; gap: 0.75rem; }
.problem-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.875rem 1rem;
  background: #fff5f5; border: 1px solid #fecaca;
  border-radius: var(--radius); font-size: 0.9375rem;
}
.problem-item::before { content: '✗'; color: #dc2626; font-weight: 700; flex-shrink: 0; }
.solution-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.875rem 1rem;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius); font-size: 0.9375rem;
}
.solution-item::before { content: '✓'; color: var(--secondary); font-weight: 700; flex-shrink: 0; }

/* ── Lead Magnet / CTA Boxes ── */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem; text-align: center; color: var(--white);
}
.cta-box h2, .cta-box h3 { color: var(--white); margin-bottom: 1rem; }
.cta-box p { color: rgba(255,255,255,0.85); font-size: 1.0625rem; margin-bottom: 1.75rem; }

.trust-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
}
.trust-box p { font-size: 1.125rem; font-weight: 600; color: var(--dark); margin: 0; }

/* ── FAQ Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer; font-weight: 600; font-size: 0.9375rem;
  background: var(--white); color: var(--dark);
  border: none; width: 100%; text-align: left;
  transition: background var(--transition);
  gap: 1rem;
}
.faq-question:hover { background: var(--bg); }
.faq-question .faq-icon {
  font-size: 1.25rem; font-weight: 400; flex-shrink: 0;
  transition: transform 0.3s; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  background: var(--bg);
}
.faq-answer-inner { padding: 1.25rem 1.5rem; font-size: 0.9375rem; color: var(--text-light); }
.faq-item.open .faq-answer { max-height: 500px; }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.875rem; }
.testimonial-text { font-size: 0.9375rem; color: var(--text); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.0625rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--text-light); }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 500; font-size: 0.9rem;
  margin-bottom: 0.375rem; color: var(--dark);
}
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: inherit;
  font-size: 0.9375rem; color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 0.625rem; margin-top: 0.25rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.form-check label { font-size: 0.875rem; color: var(--text-light); cursor: pointer; }
.form-note { font-size: 0.8125rem; color: var(--text-light); margin-top: 0.375rem; }
.form-success {
  display: none; padding: 1rem 1.25rem;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius); color: #166534;
  font-weight: 500; margin-top: 1rem;
}
.form-error-msg { color: #dc2626; font-size: 0.8125rem; margin-top: 0.25rem; display: none; }
.form-control.error { border-color: #dc2626; }

/* ── Blog / Article Cards ── */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
  height: 100%;
}
.post-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem; flex-wrap: wrap;
}
.post-category {
  display: inline-block; padding: 0.25rem 0.625rem;
  background: var(--primary-light); color: var(--primary);
  border-radius: 100px; font-size: 0.75rem; font-weight: 600;
}
.post-date { font-size: 0.8125rem; color: var(--text-light); }
.post-read { font-size: 0.8125rem; color: var(--text-light); }
.post-card h3 { font-size: 1.0625rem; margin-bottom: 0.625rem; line-height: 1.35; }
.post-card p { font-size: 0.875rem; color: var(--text-light); flex: 1; }
.post-card-footer { padding: 0 1.5rem 1.5rem; }

/* ── Filter/Search ── */
.filter-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2rem; align-items: center;
}
.filter-btn {
  padding: 0.5rem 1rem; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 0.875rem; font-weight: 500; color: var(--text-light);
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary); background: var(--primary-light);
  color: var(--primary);
}
.search-bar {
  display: flex; gap: 0.5rem; margin-bottom: 2rem;
}
.search-input {
  flex: 1; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.9375rem; font-family: inherit;
}
.search-input:focus { outline: none; border-color: var(--primary); }

/* ── Glossar ── */
.glossary-letter { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }
.glossary-item { padding: 1rem 0; border-bottom: 1px solid var(--border-light); }
.glossary-term { font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; }
.glossary-def { font-size: 0.9375rem; color: var(--text-light); }

/* ── Checklists ── */
.checklist { display: flex; flex-direction: column; gap: 0.5rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg); border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
  user-select: none;
}
.check-item:hover { background: var(--border-light); }
.check-item input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; cursor: pointer; }
.check-item label { cursor: pointer; font-size: 0.9375rem; }
.check-item.checked label { text-decoration: line-through; color: var(--text-light); }

/* ── Progress bar ── */
.reading-progress {
  position: fixed; top: 70px; left: 0; right: 0;
  height: 3px; background: transparent; z-index: 999;
}
.reading-progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0; transition: width 0.1s;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Floating CTA ── */
.floating-cta {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 900; display: none;
}
@media (min-width: 1024px) { .floating-cta { display: block; } }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 4rem 0; color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.125rem; max-width: 680px; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.375rem;
  margin-bottom: 1.25rem; font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Article Content ── */
.article-content { max-width: 760px; }
.article-content h2 { margin: 2.5rem 0 1rem; font-size: 1.625rem; }
.article-content h3 { margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.article-content p { margin-bottom: 1.25rem; line-height: 1.8; }
.article-content ul, .article-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content .tip-box {
  background: var(--primary-light); border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.article-content .tip-box p { margin: 0; font-size: 0.9375rem; }

/* ── Sidebar ── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.sidebar-widget h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-links a { font-size: 0.875rem; color: var(--text-light); padding: 0.375rem 0; border-bottom: 1px solid var(--border); }
.sidebar-links a:hover { color: var(--primary); }

/* ── Service items ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.service-card .service-num {
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-light); font-size: 0.9375rem; }

/* ── Case Studies ── */
.case-study-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.case-study-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}
.case-study-badge {
  display: inline-block; padding: 0.25rem 0.625rem;
  background: rgba(255,255,255,0.2); border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 0.625rem;
}
.case-study-header h3 { color: var(--white); font-size: 1.125rem; }
.case-study-body { padding: 1.5rem; }
.result-stat {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}
.result-stat strong { color: var(--secondary); }

/* ── Screenpeex box ── */
.partner-box {
  background: linear-gradient(135deg, #0f1f5c, #1a56db);
  border-radius: var(--radius-xl);
  padding: 3rem; color: var(--white);
}
.partner-box h2, .partner-box h3 { color: var(--white); }
.partner-box p { color: rgba(255,255,255,0.8); }
.partner-badge {
  display: inline-block; padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px; font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,0.9); margin-bottom: 1rem;
}

/* ── Tags ── */
.tag {
  display: inline-block; padding: 0.25rem 0.75rem;
  background: var(--bg-2); border-radius: 100px;
  font-size: 0.8125rem; color: var(--text-light);
  margin: 0.25rem;
}

/* ── Stats / Numbers ── */
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 0.375rem; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-size: 0.9375rem; margin-bottom: 1.25rem; font-weight: 600; }
.footer-col ul li { margin-bottom: 0.625rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8125rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.5rem; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  transition: opacity 0.4s ease;
}
.cookie-banner p { font-size: 0.875rem; color: rgba(255,255,255,0.8); margin: 0; flex: 1; min-width: 200px; }
.cookie-banner a { color: rgba(255,255,255,0.6); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.d-none { display: none; }
.hidden { display: none; }
.highlight-text { color: var(--primary); }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-light); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.rounded { border-radius: var(--radius); }
.badge {
  display: inline-block; padding: 0.25rem 0.75rem;
  border-radius: 100px; font-size: 0.75rem; font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Icon List ── */
.icon-list { display: flex; flex-direction: column; gap: 0.625rem; }
.icon-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; }
.icon-list li::before { content: '→'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .problem-solution { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 2rem 1.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .back-to-top { bottom: 1.5rem; right: 1rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.375rem; }
  .filter-btn { font-size: 0.8125rem; padding: 0.375rem 0.75rem; }
}
