/* ==========================================================================
   SOFTMAD.EU - MODERN STATIC WEB DESIGN SYSTEM
   Ultra-fast, semantic, responsive, dark-mode digital agency aesthetic.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Design Tokens --- */
/* Dark Mode (Default Theme - Obsidian Digital Agency Aesthetic) */
:root,
[data-theme="dark"] {
  --theme-name: 'dark';

  --bg-dark: #07090e;
  --bg-primary: #0a0d14;
  --bg-secondary: #0f1420;
  --bg-surface: #141a29;
  --bg-surface-elevated: #1a2236;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(24, 32, 50, 0.85);
  --bg-section-alt: rgba(15, 20, 32, 0.4);
  --bg-glass: rgba(10, 13, 20, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(56, 189, 248, 0.35);

  --cyan-400: #38bdf8;
  --cyan-500: #0ea5e9;
  --cyan-600: #0284c7;
  --cyan-glow: rgba(56, 189, 248, 0.18);
  --cyan-tag-bg: rgba(56, 189, 248, 0.08);

  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-glow: rgba(168, 85, 247, 0.18);
  --purple-tag-bg: rgba(168, 85, 247, 0.08);

  --indigo-500: #6366f1;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.15);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 10px 30px rgba(56, 189, 248, 0.2);
  --shadow-purple: 0 10px 30px rgba(168, 85, 247, 0.2);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --theme-name: 'light';

  --bg-dark: #0b0f19;
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-section-alt: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-glow: rgba(2, 132, 199, 0.25);

  --cyan-400: #0284c7;
  --cyan-500: #0ea5e9;
  --cyan-600: #0369a1;
  --cyan-glow: rgba(2, 132, 199, 0.12);
  --cyan-tag-bg: rgba(2, 132, 199, 0.08);

  --purple-400: #7c3aed;
  --purple-500: #9333ea;
  --purple-600: #6d28d9;
  --purple-glow: rgba(124, 58, 237, 0.12);
  --purple-tag-bg: rgba(124, 58, 237, 0.08);

  --indigo-500: #6366f1;
  --emerald-400: #059669;
  --emerald-500: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.12);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 10px 20px -5px rgba(15, 23, 42, 0.05);
  --shadow-cyan: 0 10px 25px -5px rgba(2, 132, 199, 0.18);
  --shadow-purple: 0 10px 25px -5px rgba(124, 58, 237, 0.18);
}

/* --- Base Reset & Setup --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Ambient Background Glow */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(168, 85, 247, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] body::before {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(168, 85, 247, 0.06) 50%, transparent 70%);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan-400); font-weight: 700; }

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.section-spacing {
  padding-top: clamp(4rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  position: relative;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.section-tag.tag-cyan {
  color: var(--cyan-400);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

.section-tag.tag-purple {
  color: var(--purple-400);
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.08);
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Gradient Text Utilities */
.gradient-text,
.gradient-text-cyan,
.gradient-text-purple,
.gradient-text-dual {
  display: inline-block;
  padding-right: 0.12em;
  padding-bottom: 0.04em;
  margin-right: -0.04em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background-image: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background-image: linear-gradient(135deg, #ffffff 20%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-purple {
  background-image: linear-gradient(135deg, #ffffff 20%, var(--purple-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dual {
  background-image: linear-gradient(135deg, var(--cyan-400) 0%, var(--purple-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light Theme Overrides for Gradient Text */
[data-theme="light"] .gradient-text {
  background-image: linear-gradient(135deg, #0f172a 30%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .gradient-text-cyan {
  background-image: linear-gradient(135deg, var(--cyan-600) 0%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .gradient-text-purple {
  background-image: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .gradient-text-dual {
  background-image: linear-gradient(135deg, var(--cyan-600) 0%, var(--purple-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Alternate Background Class */
.section-alt {
  background: var(--bg-section-alt);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}

.btn-responsive {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-400) 0%, var(--cyan-500) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cyan-glow);
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-400) 100%);
  color: #ffffff;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--cyan-400) 0%, var(--cyan-500) 100%);
  color: #040d1a;
  box-shadow: var(--shadow-cyan);
}

[data-theme="dark"] .btn-primary:hover {
  color: #040d1a;
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-400) 100%);
  box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-400) 0%, var(--purple-500) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--purple-glow);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--purple-glow);
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-400) 100%);
  color: #ffffff;
}

[data-theme="dark"] .btn-purple {
  background: linear-gradient(135deg, var(--purple-400) 0%, var(--purple-500) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-purple);
}

[data-theme="dark"] .btn-purple:hover {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-400) 100%);
  box-shadow: 0 8px 30px var(--purple-glow);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-medium);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-outline-cyan {
  background: transparent;
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}

.btn-outline-cyan:hover {
  background: var(--cyan-tag-bg);
  border-color: var(--cyan-400);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: padding var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
  padding: 1.15rem 0;
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* Light / Dark Logo Switcher (Dark Mode is Default) */
.brand-logo img.logo-light {
  display: none;
  height: 32px;
  width: auto;
}

.brand-logo img.logo-dark {
  display: block;
  height: 32px;
  width: auto;
}

[data-theme="light"] .brand-logo img.logo-light {
  display: block;
}

[data-theme="light"] .brand-logo img.logo-dark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.15vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.885rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-400);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 0.15rem 0.25rem;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--cyan-400);
}

.lang-btn.active {
  color: var(--cyan-400);
  cursor: default;
}

.lang-divider {
  color: var(--border-medium);
  font-size: 0.75rem;
  user-select: none;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.theme-toggle:hover svg {
  transform: rotate(20deg);
}

/* Dark mode default: show sun icon (to switch to light), hide moon */
.theme-toggle .sun-icon {
  display: block;
}
.theme-toggle .moon-icon {
  display: none;
}

/* Light mode override: show moon icon (to switch to dark), hide sun */
[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}
[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 102;
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   HERO SECTION - DUAL PILLAR ARCHITECTURE
   ========================================================================== */
.hero-section {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
  display: inline-block;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Pillars Cards */
.hero-pillars-grid,
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  text-align: left;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0.8;
}

.pillar-card.pillar-web {
  border-color: rgba(56, 189, 248, 0.2);
}

.pillar-card.pillar-web::before {
  background: linear-gradient(90deg, var(--cyan-400), #2563eb);
}

.pillar-card.pillar-web:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

.pillar-card.pillar-auto {
  border-color: rgba(168, 85, 247, 0.2);
}

.pillar-card.pillar-auto::before {
  background: linear-gradient(90deg, var(--purple-400), #ec4899);
}

.pillar-card.pillar-auto:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.pillar-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-web .pillar-icon-wrap {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan-400);
}

.pillar-auto .pillar-icon-wrap {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple-400);
}

.pillar-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.pillar-web .pillar-badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-400);
}

.pillar-auto .pillar-badge {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-400);
}

.pillar-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.pillar-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.pillar-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pillar-web .pillar-features li svg { color: var(--cyan-400); }
.pillar-auto .pillar-features li svg { color: var(--purple-400); }

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.pillar-web .pillar-link { color: var(--cyan-400); }
.pillar-auto .pillar-link { color: var(--purple-400); }

.pillar-link:hover {
  text-decoration: underline;
  gap: 0.75rem;
}

/* Trust Bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  text-align: left !important;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.85rem;
  min-width: 0;
  text-align: left !important;
}

.trust-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--cyan-tag-bg);
  color: var(--cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-text {
  min-width: 0;
  text-align: left !important;
}

.trust-item-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
  white-space: nowrap;
  line-height: 1.25;
  text-align: left !important;
}

.trust-item-text span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.35;
  text-align: left !important;
}

/* ==========================================================================
   SYNERGY SECTION (STALE STRONY + AUTOMATYZACJE)
   ========================================================================== */
.synergy-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .synergy-card {
  background: linear-gradient(135deg, rgba(20, 26, 42, 0.8) 0%, rgba(14, 18, 28, 0.9) 100%);
  border-color: var(--border-medium);
}

.synergy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.synergy-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.synergy-step-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.synergy-step-item:hover {
  transform: translateX(6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cyan-400);
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   PRICING / PACKAGES (SUBSCRIPTION & SERVICES)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: rgba(2, 132, 199, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-cyan);
}

[data-theme="dark"] .pricing-card.featured {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(180deg, rgba(24, 34, 52, 0.85) 0%, rgba(14, 19, 30, 0.85) 100%);
  box-shadow: var(--shadow-cyan);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--cyan-400), var(--purple-400));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.35rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pricing-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.75rem;
}

.pricing-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 42px;
}

.pricing-price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-contract {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan-400);
  background: var(--cyan-tag-bg);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--cyan-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-note {
  margin-top: 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.pricing-note-text h4 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pricing-note-text p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* ==========================================================================
   AUTOMATION SOLUTIONS SECTION
   ========================================================================== */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.automation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.automation-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-purple);
}

.automation-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.automation-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.automation-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auto-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.auto-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.auto-benefit-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-3px);
}

.auto-benefit-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple-400);
  margin-bottom: 0.5rem;
}

.auto-benefit-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.auto-benefit-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow-md);
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.03);
}

.portfolio-body {
  padding: 2.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.portfolio-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.portfolio-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.portfolio-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cyan-400);
}

.portfolio-link-btn:hover {
  text-decoration: underline;
  gap: 0.75rem;
}

/* ==========================================================================
   PROCESS ROADMAP (7 STEPS)
   ========================================================================== */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.roadmap-timeline-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.roadmap-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-fast);
}

.roadmap-step:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan-400);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.roadmap-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.roadmap-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--cyan-400);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT & FORMS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
}

.contact-info-card h3 {
  margin-bottom: 0.5rem;
}

.contact-info-desc {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-details span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.channel-details a, .channel-details strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.channel-details a:hover {
  color: var(--cyan-400);
}

/* Contact working hours card */
.contact-hours-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--cyan-tag-bg);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  margin-top: auto;
}

.hours-icon {
  color: var(--cyan-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.hours-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.hours-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.contact-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guarantee-item svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-400);
  flex-shrink: 0;
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form-card form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px var(--cyan-glow);
  background: var(--bg-surface);
}

[data-theme="dark"] .form-control {
  background: rgba(10, 14, 22, 0.8);
  color: #ffffff;
}

[data-theme="dark"] .form-control:focus {
  background: rgba(10, 14, 22, 0.95);
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-control::placeholder {
  color: var(--text-dim);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-500);
  color: var(--emerald-400);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* ==========================================================================
   BLOG & KNOWLEDGE BASE
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.blog-thumb-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-thumb-wrap img {
  transform: scale(1.05);
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.blog-category {
  color: var(--cyan-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-title a:hover {
  color: var(--cyan-400);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan-400);
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   ARTICLE / POST PAGE STYLING
   ========================================================================== */
.article-header {
  padding-top: clamp(8rem, 12vw, 10rem);
  padding-bottom: 3rem;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.article-hero-img {
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.article-body ul, .article-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.75rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--cyan-400);
  background: rgba(56, 189, 248, 0.06);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: 5rem;
  position: relative;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.925rem;
  max-width: 340px;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: #38bdf8;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 90;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--cyan-400);
  color: #040d1a;
  transform: translateY(-3px);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 440px;
  background: rgba(18, 24, 38, 0.92);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: none;
}

.cookie-banner.active {
  display: block;
  animation: slideUpFade 0.3s ease-out;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1140px) {
  .site-header {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    white-space: normal;
  }
  [data-theme="light"] .nav-links {
    background: #ffffff !important;
  }
  [data-theme="dark"] .nav-links {
    background: #141a29 !important;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    font-size: 1.05rem;
    padding: 0.4rem 0;
    white-space: normal;
  }
  .nav-actions .btn-sm {
    display: none;
  }
  .hero-pillars-grid,
  .pillars-grid,
  .services-grid-3 {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
  .automation-grid {
    grid-template-columns: 1fr;
  }
  .auto-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-timeline, .roadmap-timeline-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }
  .btn-lg {
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .trust-bar {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
    max-width: 360px;
    width: 100%;
    margin: 2.5rem auto 0 auto;
    text-align: left !important;
  }
  .trust-item {
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .trust-item-text,
  .trust-item-text strong,
  .trust-item-text span {
    text-align: left !important;
  }
  .synergy-grid {
    grid-template-columns: 1fr;
  }
  .synergy-card {
    padding: 2rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-timeline, .roadmap-timeline-bottom {
    grid-template-columns: 1fr;
  }
  .auto-benefits-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   WHATSAPP INTEGRATION & FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff !important;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-online-dot {
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1.25rem;
    left: 1.25rem;
    padding: 0;
    width: 48px;
    height: 48px;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float span,
  .whatsapp-online-dot {
    display: none;
  }

  .back-to-top {
    bottom: 1.25rem !important;
    right: 1.25rem !important;
  }
}



