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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Theme: Light (Modern Slate & Indigo) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #4f46e5;
  --accent-rgb: 79, 70, 229;
  --accent-hover: #4338ca;
  --accent-light: #e0e7ff;
  
  --border-color: #e2e8f0;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(79, 70, 229, 0.06);
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(79, 70, 229, 0.02);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  
  --pill-bg: #e0e7ff;
  --pill-text: #4338ca;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 6rem;
  
  /* Utilities */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme: Dark (Deep Night & Glowing Indigo) */
[data-theme="dark"] {
  --bg-primary: #030712;
  --bg-secondary: #080c16;
  --bg-tertiary: #0f172a;
  --text-primary: #f9fafb;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent-rgb: 99, 102, 241;
  --accent-hover: #818cf8;
  --accent-light: #1e1b4b;
  
  --border-color: #1f2937;
  --card-bg: rgba(8, 12, 22, 0.75);
  --card-border: rgba(99, 102, 241, 0.12);
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.05);
  --glass-bg: rgba(3, 7, 18, 0.75);
  --glass-border: rgba(255, 255, 255, 0.03);
  
  --pill-bg: #1e1b4b;
  --pill-text: #c7d2fe;
}

/* --- LANGUAGE TOGGLE DISPLAY RULES --- */
html[data-lang="en"] .lang-de {
  display: none !important;
}

html:not([data-lang="en"]) .lang-en {
  display: none !important;
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

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

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

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- TYPOGRAPHY UTILITIES --- */
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--text-muted);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-padding {
  padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--space-lg) 0;
  }
}

/* --- NAVIGATION & HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height); /* Original height (80px) */
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px); /* Original glassmorphic blur */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: rotate(5deg) scale(1.05);
}

.controls-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding: 0.4rem 0;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

/* Control Buttons (Theme & Language) */
.btn-control {
  cursor: pointer;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.btn-control:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.theme-toggle {
  width: 36px;
  padding: 0;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

.lang-toggle {
  min-width: 36px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

.burger-line {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-md));
  padding-bottom: var(--space-lg);
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-lg);
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background-color: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  border: 1px solid var(--border-color);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle {
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--accent-rgb), 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-circle 8s infinite alternate ease-in-out;
}

@keyframes pulse-circle {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-md));
    padding-bottom: var(--space-lg);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-illustration {
    order: -1; /* Place image on top on mobile */
  }

  .hero-image-frame {
    width: 280px;
    height: 280px;
  }

  .hero-circle {
    width: 320px;
    height: 320px;
  }
}

/* --- SERVICES CENTERPIECE & TOP OF PAGE --- */
.top-services {
  padding-top: calc(var(--header-height) + var(--space-md));
  padding-bottom: var(--space-lg);
  background-color: var(--bg-primary);
}

.top-services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg) auto;
}

.top-services-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .top-services-header h1 {
    font-size: 2.25rem;
  }
}

/* The vertical pillars container */
.pillars-container {
  display: flex;
  gap: var(--space-md);
  min-height: 520px;
  perspective: 1000px;
}

.pillar {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg) var(--space-md);
  transition: flex var(--transition-slow), transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  z-index: 1;
}

/* Background image handling for pillars */
.pillar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Keep user's head visible */
  z-index: -2;
  transition: transform var(--transition-slow), filter var(--transition-normal);
  filter: brightness(0.9) contrast(1.05); /* Brighter default filters */
}

.pillar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%);
  z-index: -1;
  transition: opacity var(--transition-normal);
}

/* Hover expansion logic */
.pillar:hover {
  flex: 1.2;
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.15);
  z-index: 2;
}

.pillar.pillar-main {
  flex: 1.25;
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 15px 35px -10px rgba(var(--accent-rgb), 0.15), var(--card-shadow);
  z-index: 2;
}

.pillar.pillar-main:hover {
  flex: 1.4;
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 25px 55px -12px rgba(var(--accent-rgb), 0.25), 0 0 0 1px var(--accent);
}

.pillar:hover .pillar-bg {
  transform: scale(1.03);
  filter: brightness(1.0) contrast(1.0);
}

/* Pillar Content Elements */
.pillar-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  margin-bottom: auto;
  align-self: flex-start;
  transition: color var(--transition-normal), transform var(--transition-normal);
}

.pillar:hover .pillar-number {
  color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
}

.pillar-content {
  color: #ffffff;
}

.pillar-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.9);
  margin-bottom: var(--space-md);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--transition-slow), opacity var(--transition-normal);
}

/* Show details on hover */
.pillar:hover .pillar-desc {
  max-height: 120px;
  opacity: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}

.pillar-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.pillar:hover .pillar-link {
  border-bottom-color: #ffffff;
}

.pillar:hover .pillar-link svg {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .pillars-container {
    flex-direction: column;
    min-height: auto;
    gap: var(--space-md);
  }
  .pillar {
    min-height: 440px; /* Taller on mobile to avoid cutting off images */
    flex: none !important;
    padding: var(--space-md);
  }
  .pillar-desc {
    max-height: 100px;
    opacity: 1;
  }
}

/* --- DETAILED PROBLEMS / VALUE SECTION --- */
.value-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.value-header {
  max-width: 540px;
}

.value-header .section-subtitle {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.value-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.value-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.problems-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.problem-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  transition: transform var(--transition-fast);
}

.problem-card:hover {
  transform: translateX(4px);
}

.problem-num {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
}

.problem-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.problem-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .value-header {
    text-align: center;
    margin: 0 auto;
  }
}

/* --- COMPACT HERO HEADER --- */
.hero-compact {
  text-align: center;
  padding: var(--space-md) 0;
  background-color: var(--bg-primary);
}

.hero-compact-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-compact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background-color: var(--pill-bg);
  color: var(--pill-text);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  border: 1px solid var(--border-color);
}

.hero-compact h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(var(--accent-rgb), 0.3);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

/* --- SUBPAGE TEMPLATE LAYOUT --- */
.subpage-hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-md);
}

.subpage-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.subpage-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.subpage-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature-card {
  padding: var(--space-md);
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .subpage-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .subpage-img {
    height: 280px;
  }
  .subpage-features {
    grid-template-columns: 1fr;
  }
}

/* --- CONTACT SECTION --- */
.contact-section {
  position: relative;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-lg);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.contact-method:hover .contact-icon {
  transform: scale(1.05);
  border-color: var(--accent);
  background-color: var(--accent-light);
  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-details h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details p {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Form Styling */
.contact-card {
  padding: var(--space-lg);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

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

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
  font-size: 0.95rem;
}

.form-status.success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

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

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .contact-info {
    text-align: center;
  }
  .contact-method {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* --- FOOTER --- */
.footer {
  padding: var(--space-lg) 0;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 576px) {
  .footer-container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- SCROLL ANIMATIONS & EFFECTS --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: bottom var(--transition-normal);
}

.cookie-banner.active {
  bottom: var(--space-md);
}

.cookie-content {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cookie-content a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-btn-accept {
  background-color: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-hover);
}

.cookie-btn-decline {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.cookie-btn-decline:hover {
  background-color: var(--accent-light);
}

@media (max-width: 576px) {
  .cookie-banner {
    width: 95%;
    padding: 1rem;
  }
  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .cookie-btn {
    width: 100%;
  }
}

/* --- SERVICE CORNER HIGHLIGHT BADGE --- */
.pillar-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.4rem 0.8rem;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.25);
  animation: pulse 4s ease-in-out infinite;
}

/* --- Q&A ACCORDION --- */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--card-shadow);
}

.faq-item.active .faq-question {
  color: var(--accent);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  stroke: var(--accent);
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding-bottom: 1.25rem;
}

/* --- STEP-BY-STEP PROCESS TIMELINE --- */
.process-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-lg);
}

.process-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.process-step {
  width: 44px;
  height: 44px;
  background-color: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.15rem;
}

.process-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Hero Image Circular Frame */
.hero-image-frame {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-primary);
  outline: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), outline-color var(--transition-fast);
}

.hero-image-frame:hover {
  transform: scale(1.02);
  outline-color: var(--accent);
}

/* --- USE CASES SECTION --- */
.use-cases-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-lg);
}

.use-case-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.use-case-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .use-case-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.use-case-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.use-case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.use-case-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}




