/* =============================================
   ITworx Solutions AT GmbH – Stylesheet
   Futuristic / Modern Redesign
   ============================================= */

/* ── VARIABLES ─────────────────────────────── */
:root {
  --brand:        #338BA2;
  --brand-dark:   #236d82;
  --brand-light:  #4abdd4;
  --accent:       #5de8ff;          /* bright cyan highlight */
  --brand-glow:   rgba(51,139,162,0.35);
  --accent-glow:  rgba(93,232,255,0.2);

  --bg:           #f6f9fb;
  --dark:         #060c14;
  --dark-2:       #0b1520;
  --dark-3:       #111e2d;
  --dark-card:    rgba(255,255,255,0.04);
  --dark-border:  rgba(255,255,255,0.07);
  --dark-border-h:rgba(51,139,162,0.4);

  --text-dark:    #18273a;
  --text-grey:    #5a6d80;
  --light-bg:     #eef4f8;
  --white:        #ffffff;
  --border:       #dce8f0;

  --shadow:       0 4px 32px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 48px rgba(51,139,162,0.22);
  --shadow-dark:  0 8px 40px rgba(0,0,0,0.5);
  --radius:       14px;
  --radius-lg:    20px;
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }
a { color: var(--brand); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-light); }
img { max-width: 100%; display: block; }

/* =============================================
   ACCESSIBILITY
   ============================================= */

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Focus visible – global ring */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Stronger focus on dark backgrounds (navbar, footer) */
.navbar :focus-visible,
.footer :focus-visible {
  outline-color: var(--accent);
  outline-offset: 4px;
}

/* Focus on buttons */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* main – no visible outline when focused via skip link */
main:focus { outline: none; }

/* 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;
  }
  .animate { opacity: 1 !important; transform: none !important; }
  .hero::before, .hero::after { animation: none !important; }
  .hero-scan::after { animation: none !important; opacity: 0 !important; }
  .hero-canvas { opacity: 0.5 !important; }
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── GRADIENT TEXT UTILITY ──────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6, 12, 20, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.4;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* PNG has dark elements – invert to white for the dark navbar */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

/* legacy – kept for fallback, unused */
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px var(--brand-glow);
}
.nav-logo-icon i { color: #fff; font-size: 1rem; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--brand-light); }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li > a {
  color: rgba(255,255,255,0.65); font-size: 0.875rem; font-weight: 500;
  padding: 7px 13px; border-radius: 8px; transition: var(--transition);
  display: flex; align-items: center; gap: 5px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active {
  color: #fff; background: rgba(255,255,255,0.07);
}
.nav-menu > li > a.active { color: var(--brand-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── LANGUAGE DROPDOWN ─────────────────────── */
.lang-dropdown { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.lang-current:hover {
  background: rgba(255,255,255,0.1); color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.lang-current .arrow { font-size: 0.55rem; opacity: 0.6; transition: transform 0.22s ease; }
.lang-dropdown:hover .lang-current .arrow { transform: rotate(180deg); opacity: 1; }
.lang-options {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: rgba(8, 16, 28, 0.96);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 6px; min-width: 140px;
  opacity: 0; visibility: hidden;
  transform: translateY(6px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 300;
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(51,139,162,0.1);
}
.lang-dropdown:hover .lang-options {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.lang-option {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
  color: rgba(255,255,255,0.62); font-size: 0.82rem; font-weight: 500;
  transition: var(--transition);
}
.lang-option:hover { background: rgba(255,255,255,0.07); color: #fff; }
.lang-option.active {
  color: var(--accent); background: rgba(51,139,162,0.12);
}
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.nav-cta {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff !important; border-radius: 9px; font-weight: 600; font-size: 0.875rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px var(--brand-glow);
  transition: var(--transition);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand)) !important;
  box-shadow: 0 0 32px var(--brand-glow), 0 4px 16px rgba(0,0,0,0.3) !important;
  transform: translateY(-1px);
}

/* ── DROPDOWN ──────────────────────────────── */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .dropdown-toggle { display: flex; align-items: center; gap: 5px; }
.nav-menu .dropdown-toggle .arrow { font-size: 0.6rem; transition: transform 0.22s ease; opacity: 0.5; }
.has-dropdown:hover .dropdown-toggle .arrow { transform: rotate(180deg); opacity: 1; }

.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: -12px;
  background: rgba(8, 16, 28, 0.96);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(51,139,162,0.1);
}
.has-dropdown:hover .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.dropdown-panel a.dropdown-overview {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: rgba(255,255,255,0.9);
  background: linear-gradient(135deg, rgba(51,139,162,0.18), rgba(51,139,162,0.08));
  font-weight: 600; font-size: 0.85rem;
  border: 1px solid rgba(51,139,162,0.2);
  margin-bottom: 6px;
}
.dropdown-panel a.dropdown-overview:hover {
  background: linear-gradient(135deg, rgba(51,139,162,0.3), rgba(51,139,162,0.15));
  color: #fff; box-shadow: 0 0 16px rgba(51,139,162,0.2);
}
.dropdown-panel a.dropdown-overview i.ov-icon { color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }
.dropdown-panel a.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 9px;
  color: rgba(255,255,255,0.62);
  font-size: 0.85rem; font-weight: 500;
  transition: var(--transition);
}
.dropdown-panel a.dropdown-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.dropdown-item-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: rgba(51,139,162,0.12); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
  border: 1px solid rgba(51,139,162,0.15);
}
.dropdown-item-icon i { color: var(--brand-light); font-size: 0.78rem; }
.dropdown-panel a.dropdown-item:hover .dropdown-item-icon {
  background: rgba(51,139,162,0.25); border-color: rgba(51,139,162,0.4);
}

/* ── COMPANY DROPDOWN ──────────────────────── */
.company-panel { min-width: 210px; }

/* right-align Unternehmen dropdown (last nav item) to prevent overflow */
.has-dropdown:last-child .dropdown-panel {
  left: auto; right: -12px;
}

/* ── HAMBURGER ─────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 12px; background: none; border: none;
}
.hamburger span {
  width: 22px; height: 2px; background: rgba(255,255,255,0.8);
  border-radius: 2px; transition: var(--transition); display: block;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #040a14 0%, #071628 55%, #040e1e 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}

/* Canvas particle network */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  display: block;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute; top: -20%; left: 40%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(51,139,162,0.22) 0%, rgba(51,139,162,0.06) 45%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute; bottom: -10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(93,232,255,0.1) 0%, transparent 65%);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, -20px) scale(1.08); }
}

/* Circuit-board line grid with dot intersections */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(51,139,162,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51,139,162,0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(51,139,162,0.28) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 64px 64px;
  background-position: 0 0, 0 0, 0 0;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, black 20%, transparent 100%);
}

/* Animated scan line */
.hero-scan {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.hero-scan::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -4px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(93,232,255,0.0) 10%,
    rgba(93,232,255,0.55) 50%,
    rgba(93,232,255,0.0) 90%,
    transparent 100%
  );
  box-shadow: 0 0 20px 5px rgba(93,232,255,0.15), 0 0 5px 1px rgba(93,232,255,0.3);
  animation: scanLine 10s linear infinite;
  animation-delay: 1.5s;
}
@keyframes scanLine {
  0%   { top: -4px; opacity: 0; }
  3%   { opacity: 1; }
  93%  { opacity: 0.75; }
  100% { top: 100%; opacity: 0; }
}

/* ── Scan radar pings ─────────────────────────────── */
.scan-ping {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  transform: translateY(-50%);
  padding: 4px 10px 4px 7px;
  background: rgba(4, 10, 20, 0.78);
  border-left: 2px solid currentColor;
  backdrop-filter: blur(8px);
  font-family: 'Courier New', Courier, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 0 3px 3px 0;
  animation: scanPingIn 2.8s ease-out forwards;
}
.scan-ping--high   { color: #ff4d4f; box-shadow: 0 0 14px rgba(255,77,79,0.22); }
.scan-ping--medium { color: #ffa940; box-shadow: 0 0 14px rgba(255,169,64,0.22); }
.scan-ping--ok     { color: #52c41a; box-shadow: 0 0 14px rgba(82,196,26,0.22); }

.scan-ping-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px 2px currentColor;
  flex-shrink: 0;
  animation: scanDotPop 0.5s cubic-bezier(.36,1.6,.58,1) forwards;
}

@keyframes scanPingIn {
  0%   { opacity: 0; transform: translateY(-50%) translateX(-12px); }
  10%  { opacity: 1; transform: translateY(-50%) translateX(0); }
  65%  { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(6px); }
}
@keyframes scanDotPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.7); }
  100% { transform: scale(1); }
}

.hero .container {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding-top: 48px; padding-bottom: 48px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(51,139,162,0.1);
  border: 1px solid rgba(51,139,162,0.3);
  color: var(--accent); padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 22px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 20px rgba(51,139,162,0.15);
}
.hero-badge i { font-size: 0.72rem; }

.hero-title {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  color: #fff; margin-bottom: 22px; line-height: 1.13;
  letter-spacing: -0.03em;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  margin-bottom: 38px; max-width: 480px; line-height: 1.78;
}
.hero-typed-wrap {
  display: block;
  font-size: 0.68em;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  letter-spacing: 0.01em;
}
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: cursor-blink 0.75s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .typing-cursor { animation: none; }
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer; border: none;
  font-family: inherit; letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 0 24px var(--brand-glow), 0 4px 16px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 0 40px var(--brand-glow), 0 8px 24px rgba(0,0,0,0.25);
}
.btn-outline {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.09); color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-sm  { padding: 9px 18px; font-size: 0.84rem; }
.btn-lg  { padding: 15px 32px; font-size: 0.95rem; }
.btn-white {
  background: rgba(255,255,255,0.95); color: var(--brand);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: #fff; color: var(--brand-dark);
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.btn-outline-white {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); color: #fff;
}

/* ── HERO STATS ─────────────────────────────── */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-stats  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius); padding: 26px 20px;
  text-align: center; backdrop-filter: blur(12px);
  transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(51,139,162,0.06), transparent);
  opacity: 0; transition: var(--transition);
}
.stat-card:hover {
  border-color: rgba(51,139,162,0.45);
  box-shadow: 0 0 30px rgba(51,139,162,0.12), inset 0 0 30px rgba(51,139,162,0.03);
  transform: translateY(-3px);
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-size: 2.2rem; font-weight: 800; display: block; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 5px; letter-spacing: 0.02em; }

/* =============================================
   SECTION FOUNDATIONS
   ============================================= */
section { padding: 90px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--brand-light); margin-bottom: 12px;
}
.section-tag::before {
  content: ''; width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--text-dark);
  margin-bottom: 14px; letter-spacing: -0.025em;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-grey); max-width: 560px; line-height: 1.78;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.service-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(51,139,162,0.04) 100%);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 34px;
  transition: var(--transition); position: relative; overflow: hidden;
}
/* Gradient top line */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.55; transition: var(--transition); border-radius: 0;
}
/* Radial glow corner */
.service-card::after {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(51,139,162,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.service-card:hover {
  background: linear-gradient(145deg, rgba(51,139,162,0.12) 0%, rgba(51,139,162,0.06) 100%);
  border-color: rgba(51,139,162,0.4);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(51,139,162,0.2);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 13px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; transition: var(--transition);
  box-shadow: 0 4px 16px var(--brand-glow), 0 0 0 6px rgba(51,139,162,0.08);
}
.service-card:hover .service-icon {
  box-shadow: 0 6px 24px var(--brand-glow), 0 0 0 8px rgba(51,139,162,0.14);
}
.service-icon i { font-size: 1.3rem; color: #fff; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; letter-spacing: -0.015em; color: #fff; }
.service-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.52); line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: 0.85rem; font-weight: 600;
  margin-top: 18px; transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--brand-light); }

/* =============================================
   WHY US
   ============================================= */
.why-us {
  background: var(--dark-2);
  position: relative; overflow: hidden;
}
.why-us::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(51,139,162,0.12) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.5;
}
.why-us .section-title { color: #fff; }
.why-us .section-subtitle { color: rgba(255,255,255,0.5); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.why-features { display: flex; flex-direction: column; gap: 22px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px var(--brand-glow);
}
.why-feature-icon i { color: #fff; font-size: 0.95rem; }
.why-feature-content h4 { font-size: 0.97rem; margin-bottom: 4px; color: rgba(255,255,255,0.9); }
.why-feature-content p  { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

.why-visual {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 36px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.why-visual-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.why-visual-item:last-child { border-bottom: none; }
.why-visual-item i { color: var(--brand-light); font-size: 1rem; width: 20px; flex-shrink: 0; }
.why-visual-item span { color: rgba(255,255,255,0.72); font-size: 0.9rem; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--dark);
  padding: 88px 0;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(51,139,162,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 0%, rgba(93,232,255,0.06) 0%, transparent 60%);
}
.cta-section::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--accent), var(--brand), transparent);
}
.cta-content { text-align: center; color: #fff; position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-content p { font-size: 1rem; color: rgba(255,255,255,0.55); margin-bottom: 38px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.78; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--dark);
  padding: 120px 0 64px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(51,139,162,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(93,232,255,0.05) 0%, transparent 60%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border-h), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 22px; font-size: 0.8rem; color: rgba(255,255,255,0.38);
}
.breadcrumb a { color: rgba(255,255,255,0.38); transition: var(--transition); }
.breadcrumb a:hover { color: var(--brand-light); }
.breadcrumb i { font-size: 0.6rem; }
.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.9rem); color: #fff; margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.page-hero p  { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 560px; line-height: 1.78; }

/* ── Page-hero two-column layout (for pages with illustration) ── */
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero-text { /* text stays left-aligned */ }
.page-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-hero-svg,
.cloud-hero-svg,
.infra-hero-svg,
.ps-hero-svg {
  width: 100%; max-width: 420px; height: auto;
  filter: drop-shadow(0 0 48px rgba(51,139,162,0.22));
}
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-visual { display: none; }
}

/* =============================================
   DETAIL SECTIONS
   ============================================= */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-grid.reverse .detail-visual { order: -1; }

.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.feature-list-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-list-item i {
  color: var(--brand-light); font-size: 0.85rem; margin-top: 3px;
  min-width: 16px; flex-shrink: 0;
}
.feature-list-item span { font-size: 0.92rem; color: var(--text-grey); line-height: 1.65; }

/* Dark visual box */
.detail-visual {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 38px;
  position: relative; overflow: hidden;
}
.detail-visual::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(51,139,162,0.14) 0%, transparent 70%);
}
.detail-visual-content { position: relative; z-index: 1; }
.detail-visual-title {
  font-size: 0.7rem; font-weight: 700; color: var(--brand-light);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 22px;
}
.detail-visual-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.detail-visual-item:last-child { border-bottom: none; }
.detail-visual-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: linear-gradient(135deg, rgba(51,139,162,0.2), rgba(51,139,162,0.08));
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(51,139,162,0.2);
}
.detail-visual-icon i { color: var(--brand-light); font-size: 0.9rem; }
.detail-visual-text { color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 500; }
.detail-visual-sub  { color: rgba(255,255,255,0.36); font-size: 0.78rem; margin-top: 2px; }

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

/* ── Light card (default) ── */
.card {
  background: #fff;
  border: 1px solid rgba(51,139,162,0.14);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  /* Subtle inner gradient tint */
  background: linear-gradient(145deg, #fff 60%, rgba(51,139,162,0.04) 100%);
}
/* Always-visible top accent line */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.6; transition: opacity 0.25s ease;
}
/* Radial glow in card corner */
.card::after {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(51,139,162,0.07) 0%, transparent 70%);
  transition: var(--transition); pointer-events: none;
}
.card:hover {
  border-color: rgba(51,139,162,0.35);
  box-shadow: 0 8px 40px rgba(51,139,162,0.14), 0 2px 12px rgba(0,0,0,0.06);
  transform: translateY(-5px);
}
.card:hover::before { opacity: 1; }
.card:hover::after {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(51,139,162,0.11) 0%, transparent 70%);
}

.card-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px var(--brand-glow), 0 0 0 6px rgba(51,139,162,0.08);
  transition: var(--transition);
}
.card:hover .card-icon {
  box-shadow: 0 6px 24px var(--brand-glow), 0 0 0 8px rgba(51,139,162,0.12);
  transform: scale(1.07);
}
.card-icon i { color: #fff; font-size: 1.2rem; }
.card h3 {
  font-size: 1.03rem; margin-bottom: 9px; letter-spacing: -0.01em;
  color: var(--text-dark);
}
.card p { font-size: 0.88rem; color: var(--text-grey); line-height: 1.7; }

/* ── Dark section ── */
.dark-section {
  background: var(--dark-2);
  position: relative; overflow: hidden;
}
.dark-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(51,139,162,0.1) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none; opacity: 0.7;
}
/* Glow orb */
.dark-section::after {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(51,139,162,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.dark-section .container { position: relative; z-index: 1; }
.dark-section .section-title  { color: #fff; }
.dark-section .section-subtitle { color: rgba(255,255,255,0.5); }
.dark-section .feature-list-item span { color: rgba(255,255,255,0.65); }
.dark-section .tech-badge { background: rgba(255,255,255,0.05); border-color: var(--dark-border); color: rgba(255,255,255,0.75); }
.dark-section .tech-badge i { color: var(--brand-light); }
.dark-section .tech-badge:hover { border-color: var(--brand); color: #fff; }

.dark-section .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(51,139,162,0.04) 100%);
}
.dark-section .card::after {
  background: radial-gradient(circle, rgba(51,139,162,0.12) 0%, transparent 70%);
}
.dark-section .card:hover {
  background: linear-gradient(145deg, rgba(51,139,162,0.12) 0%, rgba(51,139,162,0.06) 100%);
  border-color: rgba(51,139,162,0.4);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(51,139,162,0.2);
}
.dark-section .card h3 { color: #fff; }
.dark-section .card p  { color: rgba(255,255,255,0.52); }

/* ── Mesh-bg section (alternating mid-tone) ── */
.mesh-section {
  background: var(--dark-3);
  position: relative; overflow: hidden;
}
.mesh-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(51,139,162,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(93,232,255,0.07) 0%, transparent 55%),
    radial-gradient(circle, rgba(51,139,162,0.07) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px;
  pointer-events: none;
}
.mesh-section .container { position: relative; z-index: 1; }
.mesh-section .section-title  { color: #fff; }
.mesh-section .section-subtitle { color: rgba(255,255,255,0.5); }
.mesh-section .section-subtitle + * { color: rgba(255,255,255,0.7); }
.mesh-section .feature-list-item span { color: rgba(255,255,255,0.72); }
.mesh-section .feature-list-item i { color: var(--accent); }
.mesh-section .tech-badge { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.mesh-section .tech-badge i { color: var(--brand-light); }
/* Text in detail-grid left column */
.mesh-section h2 { color: #fff; }
.mesh-section p  { color: rgba(255,255,255,0.6); }
.mesh-section .card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(51,139,162,0.05) 100%);
  border-color: rgba(255,255,255,0.08);
}
.mesh-section .card::after {
  background: radial-gradient(circle, rgba(93,232,255,0.1) 0%, transparent 70%);
}
.mesh-section .card:hover {
  background: linear-gradient(145deg, rgba(51,139,162,0.15) 0%, rgba(93,232,255,0.06) 100%);
  border-color: rgba(93,232,255,0.3);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 20px rgba(93,232,255,0.08);
}
.mesh-section .card h3 { color: #fff; }
.mesh-section .card p  { color: rgba(255,255,255,0.52); }
.mesh-section .card-icon {
  box-shadow: 0 4px 16px rgba(93,232,255,0.2), 0 0 0 6px rgba(93,232,255,0.06);
}
.mesh-section .card:hover .card-icon {
  box-shadow: 0 6px 24px rgba(93,232,255,0.3), 0 0 0 8px rgba(93,232,255,0.1);
}

/* =============================================
   SOLUTIONS OVERVIEW CARDS
   ============================================= */
.solutions-overview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.solution-overview-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(51,139,162,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px;
  transition: var(--transition); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
/* Gradient top line */
.solution-overview-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.55; transition: var(--transition);
}
/* Radial glow corner */
.solution-overview-card::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(93,232,255,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.solution-overview-card:hover {
  background: linear-gradient(145deg, rgba(51,139,162,0.14) 0%, rgba(93,232,255,0.06) 100%);
  border-color: rgba(93,232,255,0.28);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 20px rgba(93,232,255,0.07);
  transform: translateY(-4px);
}
.solution-overview-card:hover::before { opacity: 1; }

.sol-card-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.sol-card-icon {
  width: 58px; height: 58px; min-width: 58px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(93,232,255,0.2), 0 0 0 6px rgba(93,232,255,0.06);
}
.solution-overview-card:hover .sol-card-icon {
  box-shadow: 0 6px 24px rgba(93,232,255,0.3), 0 0 0 8px rgba(93,232,255,0.1);
}
.sol-card-icon i { font-size: 1.4rem; color: #fff; }
.sol-card-tag {
  font-size: 0.69rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 5px;
}
.sol-card-title { font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; }
.sol-card-desc  { font-size: 0.9rem; color: rgba(255,255,255,0.52); line-height: 1.72; margin-bottom: 20px; }
.sol-card-list  {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 28px; flex: 1;
}
.sol-card-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.55;
}
.sol-card-list li i { color: var(--accent); margin-top: 2px; min-width: 13px; font-size: 0.72rem; flex-shrink: 0; }
.sol-card-link { align-self: flex-start; }

/* =============================================
   TECH BADGES
   ============================================= */
.tech-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tech-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.84rem; font-weight: 600; color: var(--text-dark);
  box-shadow: var(--shadow); transition: var(--transition);
}
.tech-badge:hover {
  border-color: var(--brand); color: var(--brand);
  box-shadow: 0 0 14px var(--brand-glow);
}
.tech-badge i { color: var(--brand); }

/* INFO BOX */
.info-box {
  background: linear-gradient(135deg, rgba(51,139,162,0.07), rgba(93,232,255,0.03));
  border: 1px solid rgba(51,139,162,0.2);
  border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 20px 22px; margin-bottom: 20px;
}
.info-box h4 { color: var(--brand-dark); margin-bottom: 6px; font-size: 0.95rem; }
.info-box p  { color: var(--text-grey); font-size: 0.9rem; line-height: 1.68; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-info-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: linear-gradient(135deg, rgba(51,139,162,0.12), rgba(93,232,255,0.06));
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(51,139,162,0.15);
}
.contact-info-icon i { color: var(--brand-light); font-size: 1rem; }
.contact-info-content h4 { font-size: 0.87rem; font-weight: 600; margin-bottom: 4px; }
.contact-info-content p, .contact-info-content a { font-size: 0.92rem; color: var(--text-grey); line-height: 1.6; }
.contact-info-content a:hover { color: var(--brand); }

.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.07);
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}
.form-title { font-size: 1.3rem; margin-bottom: 24px; letter-spacing: -0.02em; }
.form-group  { margin-bottom: 18px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label {
  display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 0.9rem; color: var(--text-dark); background-color: var(--bg);
  transition: var(--transition); font-family: inherit;
}
.form-control:focus {
  outline: none; border-color: var(--brand); background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(51,139,162,0.1);
}
textarea.form-control { resize: vertical; min-height: 118px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235a6d80'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px;
}
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--brand); width: 18px; height: 18px; min-width: 18px; cursor: pointer; }
.form-check label { font-size: 0.84rem; color: var(--text-grey); cursor: pointer; line-height: 1.55; }
.form-check label a { color: var(--brand); }

.alert { padding: 13px 18px; border-radius: 9px; margin-bottom: 18px; font-size: 0.88rem; display: none; }
.alert-success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25); color: #065f46; }
.alert-error   { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.25);  color: #991b1b; }

/* Field validation states */
.form-control.is-invalid { border-color: #ef4444 !important; }
.form-control.is-valid   { border-color: #10b981 !important; }
.legal-section .form-control.is-invalid { box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.legal-section .form-control.is-valid   { box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.field-error {
  display: block;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 5px;
  line-height: 1.45;
}

/* =============================================
   MAP
   ============================================= */
.map-section {
  padding: 72px 0;
  background: var(--dark-3);
  position: relative; overflow: hidden;
}
.map-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(51,139,162,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.map-section .container { position: relative; z-index: 1; }
.map-header { text-align: center; margin-bottom: 36px; }
.map-section .section-title   { color: #fff; }
.map-section .section-subtitle { color: rgba(255,255,255,0.52); }
.map-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.map-wrapper iframe { display: block; }
.map-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 24px;
}

/* =============================================
   IMPRESSUM / LEGAL
   ============================================= */
.legal-section {
  padding: 72px 0;
  background: var(--dark-2);
  position: relative; overflow: hidden;
}
.legal-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(51,139,162,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.legal-section .container { position: relative; z-index: 1; }
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-size: 1.3rem; margin-top: 36px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--dark-border);
  letter-spacing: -0.02em; color: #fff;
}
.legal-content h3 { font-size: 1.02rem; margin-top: 22px; margin-bottom: 6px; color: rgba(255,255,255,0.85); }
.legal-content p  { color: rgba(255,255,255,0.55); margin-bottom: 10px; line-height: 1.78; font-size: 0.93rem; }
.legal-content a  { color: var(--accent); }
.legal-content a:hover { color: var(--brand-light); }
.legal-content ul li { color: rgba(255,255,255,0.55); }
.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.legal-table td { padding: 9px 14px; border: 1px solid var(--dark-border); font-size: 0.9rem; color: rgba(255,255,255,0.55); vertical-align: top; }
.legal-table td:first-child { font-weight: 600; color: rgba(255,255,255,0.85); width: 200px; white-space: nowrap; }

/* Contact section on dark background */
.legal-section .contact-info-content h4 { color: rgba(255,255,255,0.9); }
.legal-section .contact-info-content p,
.legal-section .contact-info-content a  { color: rgba(255,255,255,0.55); }
.legal-section .contact-info-content a:hover { color: var(--accent); }
.legal-section .contact-form {
  background: rgba(255,255,255,0.04); border-color: var(--dark-border);
  box-shadow: 0 8px 48px rgba(0,0,0,0.35);
}
.legal-section .form-title { color: #fff; }
.legal-section .form-group label { color: rgba(255,255,255,0.82); }
.legal-section .form-control {
  background-color: rgba(255,255,255,0.06); border-color: var(--dark-border);
  color: rgba(255,255,255,0.88);
}
.legal-section .form-control::placeholder { color: rgba(255,255,255,0.3); }
.legal-section .form-control:focus {
  background-color: rgba(255,255,255,0.09); border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(51,139,162,0.18);
}
.legal-section .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234abdd4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
}
.legal-section .form-select option {
  background-color: #0f1e2e;
  color: rgba(255,255,255,0.88);
}
.legal-section .form-select option:checked {
  background-color: #338BA2;
  color: #fff;
}
.legal-section .form-check label { color: rgba(255,255,255,0.52); }
.legal-section .form-check label a { color: var(--accent); }

/* Honeypot – für Menschen unsichtbar */
.hp-field { position: absolute; left: -9999px; visibility: hidden; pointer-events: none; }

/* CAPTCHA */
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-question {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: rgba(51,139,162,0.12); border: 1px solid rgba(51,139,162,0.25);
  border-radius: 9px; padding: 9px 16px;
}
.captcha-num {
  font-size: 1.25rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; min-width: 1.2ch; text-align: center;
}
.captcha-op { font-size: 1.1rem; color: rgba(255,255,255,0.45); font-weight: 500; }
.captcha-input { max-width: 90px; text-align: center; font-size: 1rem !important; font-weight: 600; }
.captcha-hint { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 5px; }
.legal-section .alert-success { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.legal-section .alert-error   { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3);  color: #fca5a5; }

/* =============================================
   DACH REGION STRIP
   ============================================= */
.dach-strip {
  background: var(--dark-3);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 20px 0;
  position: relative; overflow: hidden;
}
.dach-strip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(51,139,162,0.06) 0%, transparent 50%, rgba(93,232,255,0.04) 100%);
  pointer-events: none;
}
.dach-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  position: relative;
}
.dach-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--brand-light);
  white-space: nowrap; flex-shrink: 0;
}
.dach-label i { font-size: 1rem; }
.dach-regions {
  display: flex; align-items: center; gap: 0; flex: 1; flex-wrap: wrap;
}
.dach-region {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 20px;
}
.dach-flag { width: 28px; height: 19px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.dach-region-name { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.2; }
.dach-region-sub  { font-size: 0.67rem; color: rgba(255,255,255,0.38); margin-top: 1px; }
.dach-divider {
  width: 1px; height: 36px; background: var(--dark-border); flex-shrink: 0;
}
.dach-cta { white-space: nowrap; flex-shrink: 0; margin-left: auto; }

@media (max-width: 900px) {
  .dach-inner { gap: 16px; }
  .dach-cta { margin-left: 0; }
  .dach-divider { display: none; }
  .dach-region { padding: 4px 10px; }
}
@media (max-width: 600px) {
  .dach-regions { gap: 4px; }
  .dach-region { padding: 4px 6px; }
  .dach-flag { width: 22px; height: 15px; }
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  background: var(--dark-2);
  position: relative; overflow: hidden;
  padding: 0 0 40px;
}
.hero-slider::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(51,139,162,0.07) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none; opacity: 0.6;
}
.slider-wrapper {
  position: relative; overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%; min-width: 0;
  padding: 64px 0 32px;
}
.slide-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center;
}
.slide-layout-mobile {
  grid-template-columns: 1fr 1fr;
}
.slide-text .section-tag { margin-bottom: 16px; }
.slide-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: #fff; margin-bottom: 14px; letter-spacing: -0.025em; line-height: 1.3; }
.slide-text p  { color: rgba(255,255,255,0.55); line-height: 1.75; font-size: 0.95rem; margin-bottom: 24px; }
.slide-features { display: flex; flex-direction: column; gap: 9px; }
.slide-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: rgba(255,255,255,0.72);
}
.slide-feature i { color: var(--accent); font-size: 0.7rem; }

/* Prev/Next buttons */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--dark-border);
  color: rgba(255,255,255,0.7); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 10; font-size: 0.85rem;
}
.slider-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Dots */
.slider-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 8px 0 0;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease; padding: 0;
}
.slider-dot.is-active { width: 28px; background: var(--brand); border-radius: 4px; }

/* ── Browser mockup ── */
.mock-browser {
  background: #0d1117;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(51,139,162,0.15);
}
.mock-browser-bar {
  background: #161b22; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.mock-dot.red    { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green  { background: #28c840; }
.mock-url {
  flex: 1; background: rgba(255,255,255,0.05); border-radius: 5px;
  padding: 4px 10px; font-size: 0.68rem; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 5px; margin-left: 4px;
}

/* ── Mock screen shared ── */
.mock-screen {
  display: flex; height: 310px; overflow: hidden;
}

/* ── Sidebar ── */
.mock-sidebar {
  width: 48px; min-width: 48px; background: #0a0e14;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 0;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.mock-logo {
  width: 30px; height: 30px; background: var(--brand);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.72rem; margin-bottom: 10px;
}
.mock-nav-item {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 0.75rem; cursor: pointer;
  transition: background 0.15s;
}
.mock-nav-item.is-active { background: rgba(51,139,162,0.25); color: var(--brand-light); }

/* ── Mock main area ── */
.mock-main {
  flex: 1; padding: 12px 14px; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.mock-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-page-title { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.mock-topbar-right { display: flex; align-items: center; gap: 8px; }
.mock-badge { font-size: 0.6rem; padding: 2px 7px; border-radius: 20px; font-weight: 600; }
.mock-badge.is-green { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.mock-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 0.55rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mock-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.mock-stat-card {
  padding: 7px 8px; border-radius: 7px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.mock-stat-card.is-green  .mock-stat-num { color: #6ee7b7; }
.mock-stat-card.is-blue   .mock-stat-num { color: #7dd3fc; }
.mock-stat-card.is-orange .mock-stat-num { color: #fdba74; }
.mock-stat-card.is-brand  .mock-stat-num { color: var(--brand-light); }
.mock-stat-num { font-size: 1rem; font-weight: 700; line-height: 1; margin-bottom: 2px; }
.mock-stat-lbl { font-size: 0.56rem; color: rgba(255,255,255,0.38); white-space: nowrap; }
.mock-section-label { font-size: 0.62rem; font-weight: 600; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; }
.mock-call-list { display: flex; flex-direction: column; gap: 4px; }
.mock-call-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 7px; border-radius: 6px;
  background: rgba(255,255,255,0.03); font-size: 0.65rem;
}
.mock-call-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mock-call-dot.is-green  { background: #28c840; box-shadow: 0 0 6px #28c840; }
.mock-call-dot.is-orange { background: #febc2e; box-shadow: 0 0 6px #febc2e; }
/* alias with semantic names */
.mock-call-status { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mock-call-status.online  { background: #28c840; box-shadow: 0 0 5px #28c840; }
.mock-call-status.busy    { background: #febc2e; box-shadow: 0 0 5px #febc2e; }
.mock-call-status.offline { background: rgba(255,255,255,0.2); }
.mock-call-name { flex: 1; color: rgba(255,255,255,0.75); font-weight: 500; }
.mock-call-num  { color: rgba(255,255,255,0.3); min-width: 110px; }
.mock-call-dur  { color: rgba(255,255,255,0.45); font-variant-numeric: tabular-nums; }

/* ── Status colours for .mock-call-dur ── */
.mock-dur-ok   { color: #6ee7b7; }
.mock-dur-warn { color: #fdba74; }

/* ── Badge colour variants ── */
.mock-badge.is-blue   { background: rgba(125,211,252,0.15); color: #7dd3fc; }

/* ── Ticket list (Helpdesk Slide) ── */
.mock-badge.is-orange { background: rgba(253,186,116,0.18); color: #fdba74; }
.mock-ticket-list { display: flex; flex-direction: column; }
.mock-ticket-row {
  display: grid; grid-template-columns: 10px 1fr auto 22px;
  align-items: center; gap: 8px;
  padding: 6px 10px; font-size: 0.72rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-priority { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-priority.critical { background: #ff5f57; box-shadow: 0 0 5px #ff5f57; }
.mock-priority.high     { background: #febc2e; }
.mock-priority.medium   { background: var(--brand); }
.mock-priority.low      { background: rgba(255,255,255,0.2); }
.mock-ticket-name {
  color: rgba(255,255,255,0.75); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.mock-ticket-status {
  padding: 2px 7px; border-radius: 4px;
  font-size: 0.62rem; font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.mock-ticket-status.open     { background: rgba(254,188,46,0.15); color: #febc2e; }
.mock-ticket-status.progress { background: rgba(51,139,162,0.2);  color: var(--brand-light); }
.mock-ticket-status.done     { background: rgba(40,200,64,0.12);  color: #28c840; }
.mock-ticket-agent { color: rgba(255,255,255,0.3); font-size: 0.65rem; text-align: center; }

/* ── Security event icons (MSSP Slide) ── */
.mock-sec-icon {
  width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
}
.mock-sec-icon.ok   { background: rgba(40,200,64,0.15);  color: #28c840; }
.mock-sec-icon.warn { background: rgba(254,188,46,0.15); color: #febc2e; }

/* ── Managed Solutions – Tools strip ── */
.ms-tools-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 14px 0;
}
.ms-tools-inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ms-tools-label {
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  flex-shrink: 0; margin-right: 4px;
}
.ms-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--dark-border);
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.ms-tool i { color: var(--brand); font-size: 0.8rem; }
.ms-tool:hover {
  background: rgba(51,139,162,0.1); border-color: rgba(51,139,162,0.3); color: #fff;
}

/* ── Softphone layout ── */
.mock-softphone { gap: 0; }
.mock-sf-panel {
  width: 150px; min-width: 150px; background: #0a0e14;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.mock-sf-search {
  padding: 10px 10px 6px;
  font-size: 0.62rem; color: rgba(255,255,255,0.3);
  display: flex; align-items: center; gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-sf-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-sf-tabs span {
  flex: 1; text-align: center; font-size: 0.6rem; padding: 6px 4px;
  color: rgba(255,255,255,0.35); cursor: pointer;
}
.mock-sf-tabs span.is-active { color: var(--brand-light); border-bottom: 1.5px solid var(--brand); }
.mock-sf-list { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.mock-sf-item {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.6rem;
}
.mock-sf-item i { font-size: 0.65rem; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.mock-sf-item.is-missed i { color: #f87171; }
.mock-sf-name { color: rgba(255,255,255,0.72); line-height: 1.2; }
.mock-sf-time { color: rgba(255,255,255,0.3); font-size: 0.55rem; }
.mock-sf-dialer {
  flex: 1; padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.mock-sf-presence { font-size: 0.62rem; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 5px; align-self: flex-start; }
.mock-sf-display {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 7px; padding: 8px 12px; font-size: 0.85rem;
  color: rgba(255,255,255,0.85); letter-spacing: 1px; width: 100%; text-align: center;
  font-variant-numeric: tabular-nums;
}
.mock-sf-cursor { animation: blink 1s step-end infinite; color: var(--accent); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.mock-sf-keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%;
}
.mock-sf-key {
  height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.65); cursor: pointer;
}
.mock-sf-call-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #28c840; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 4px 14px rgba(40,200,64,0.35);
}

/* ── Mobile phone mockup ── */
.slide-visual-centered { display: flex; justify-content: center; align-items: center; }
.mock-phone {
  width: 220px; background: #0d1117;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(51,139,162,0.15),
              inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative; padding: 14px 10px 10px;
  display: flex; flex-direction: column; gap: 0;
}
.mock-phone-notch {
  width: 70px; height: 20px; background: #0d1117;
  border-radius: 0 0 14px 14px;
  border: 2px solid rgba(255,255,255,0.12); border-top: none;
  margin: 0 auto 10px; position: relative; z-index: 1;
}
.mock-phone-screen {
  background: #111827; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 380px;
}
.mock-app-header {
  background: #0a0e14; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-app-title { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.mock-app-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mock-app-tabs span {
  flex: 1; text-align: center; font-size: 0.58rem; padding: 7px 4px;
  color: rgba(255,255,255,0.35);
}
.mock-app-tabs span.is-active { color: var(--brand-light); border-bottom: 1.5px solid var(--brand); }
.mock-app-list { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.mock-app-call-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-app-call-item.is-missed .mock-app-call-name { color: #f87171; }
.mock-app-call-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
}
.mock-app-call-icon.is-missed  { background: rgba(248,113,113,0.15); color: #f87171; }
.mock-app-call-icon.is-out     { background: rgba(51,139,162,0.15);  color: var(--brand-light); }
.mock-app-call-icon.is-in      { background: rgba(40,200,64,0.13);   color: #6ee7b7; }
.mock-app-call-info { flex: 1; }
.mock-app-call-name { font-size: 0.67rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.mock-app-call-meta { font-size: 0.56rem; color: rgba(255,255,255,0.35); margin-top: 1px; }
.mock-app-recall    { color: var(--brand-light); font-size: 0.65rem; }
.mock-app-fab {
  position: absolute; bottom: 52px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #28c840; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; box-shadow: 0 4px 12px rgba(40,200,64,0.35);
}
.mock-app-nav {
  display: flex; background: #0a0e14;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 8px 0 6px;
}
.mock-app-nav > div {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.55rem; color: rgba(255,255,255,0.35);
}
.mock-app-nav > div i { font-size: 0.85rem; }
.mock-app-nav > div.is-active { color: var(--brand-light); }

@media (max-width: 900px) {
  .slide-layout, .slide-layout-mobile { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .slide-visual-centered { justify-content: flex-start; }
  .mock-phone { width: 200px; }
  .slider-btn { display: none; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 0;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--accent), var(--brand), transparent);
  opacity: 0.5;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-border);
}
.footer-brand p { font-size: 0.87rem; line-height: 1.78; margin-top: 14px; max-width: 270px; }
.footer-logo-text { font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.footer-logo-text span { color: var(--brand-light); }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.48); font-size: 0.87rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--brand-light); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.84rem; }
.footer-contact-item i { color: var(--brand-light); margin-top: 2px; min-width: 14px; font-size: 0.84rem; }
.footer-contact-item a { color: rgba(255,255,255,0.48); }
.footer-contact-item a:hover { color: var(--brand-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.38); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--brand-light); }

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom:  8px; }
.mb-24 { margin-bottom: 24px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--brand-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { max-width: 420px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid.reverse .detail-visual { order: 0; }
  .solutions-overview-grid { grid-template-columns: 1fr; }
  .dev-screenshot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 72px 0 40px; }
  .nav-menu {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(6,12,20,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px;
    border-bottom: 1px solid var(--dark-border);
    gap: 2px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 11px 14px; }
  .hamburger { display: flex; }
  .nav-remote-btn[data-tip]::before,
  .nav-remote-btn[data-tip]::after { display: none; }
  /* mobile dropdown */
  .dropdown-panel {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    background: rgba(255,255,255,0.03); border: none;
    border-radius: 9px; padding: 4px 0 4px 12px;
    margin: 2px 0 4px; display: none;
  }
  .has-dropdown.mobile-open .dropdown-panel { display: block; }
  .has-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
  section { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; align-items: center; }
  .footer-controls { justify-content: center; }
  .contact-form { padding: 24px; }
  .detail-visual { padding: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .solutions-overview-grid { grid-template-columns: 1fr; }
}
/* =============================================
   GLOSSAR
   ============================================= */
.glossar-section { padding-top: 48px; }

.glossar-controls {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin-bottom: 28px;
}
.glossar-search-wrap {
  flex: 1; min-width: 220px;
  position: relative; display: flex; align-items: center;
}
.glossar-search-wrap i {
  position: absolute; left: 14px; color: rgba(255,255,255,0.35); font-size: 0.82rem; pointer-events: none;
}
.glossar-search {
  width: 100%; padding: 11px 14px 11px 38px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: #fff; font-size: 0.9rem; font-family: inherit;
  transition: var(--transition);
}
.glossar-search::placeholder { color: rgba(255,255,255,0.32); }
.glossar-search:focus {
  outline: 3px solid var(--accent); border-color: var(--brand-light);
  background: rgba(255,255,255,0.07);
}
.glossar-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.glossar-filter-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: var(--transition);
}
.glossar-filter-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.glossar-filter-btn.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent; color: #fff;
  box-shadow: 0 0 14px var(--brand-glow);
}

.glossar-az {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 36px;
}
.glossar-az-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.5); font-size: 0.82rem; font-weight: 700;
  transition: var(--transition);
}
.glossar-az-link:hover {
  background: rgba(51,139,162,0.2); border-color: rgba(51,139,162,0.4);
  color: var(--accent);
}

.glossar-group { margin-bottom: 40px; scroll-margin-top: 100px; }
.glossar-letter {
  font-size: 1.5rem; font-weight: 800; color: var(--brand-light);
  border-bottom: 1px solid rgba(51,139,162,0.25);
  padding-bottom: 8px; margin-bottom: 16px; letter-spacing: -0.02em;
}

.glossar-entry {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 10px;
  transition: var(--transition);
}
.glossar-entry:hover { border-color: rgba(51,139,162,0.3); background: rgba(255,255,255,0.05); }

.glossar-entry-header {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px;
}
.glossar-entry-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: rgba(51,139,162,0.14); border: 1px solid rgba(51,139,162,0.2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--brand-light); font-size: 0.78rem; margin-top: 1px;
}
.glossar-term { font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.glossar-abbr { font-size: 0.76rem; color: var(--accent); opacity: 0.75; }
.glossar-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0; }

.glossar-cat-badge {
  margin-left: auto; white-space: nowrap; flex-shrink: 0;
  font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 20px;
  letter-spacing: 0.03em;
}
.cat-it  { background: rgba(51,139,162,0.18); color: var(--brand-light); border: 1px solid rgba(51,139,162,0.3); }
.cat-sip { background: rgba(93,232,255,0.1);  color: var(--accent);       border: 1px solid rgba(93,232,255,0.25); }

.glossar-no-results { color: rgba(255,255,255,0.45); font-size: 0.95rem; padding: 24px 0; }

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; max-width: 280px; }
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
}

/* =============================================
   TOOLBOX MODAL
   ============================================= */
.tb-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.tb-modal[hidden] { display: none; }

.tb-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 10, 20, 0.75);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s ease;
}
.tb-modal.is-open .tb-modal-backdrop { opacity: 1; }

.tb-modal-box {
  position: relative; z-index: 1;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%; max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(51,139,162,0.15);
  opacity: 0; transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tb-modal.is-open .tb-modal-box {
  opacity: 1; transform: translateY(0) scale(1);
}

.tb-modal-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.tb-modal-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
  box-shadow: 0 0 18px var(--brand-glow);
}
.tb-modal-title {
  flex: 1; font-size: 1.15rem; color: #fff; font-weight: 700;
}
.tb-modal-close {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55); cursor: pointer; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.tb-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.tb-modal-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; margin-bottom: 10px;
}
.tb-modal-row-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.45); white-space: nowrap;
}
.tb-modal-row-label i { color: var(--brand-light); font-size: 0.78rem; }
.tb-modal-row-value {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.tb-modal-row-value code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem; font-weight: 700; color: var(--accent);
  word-break: break-all;
}

.tb-copy-btn {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 7px;
  background: rgba(51,139,162,0.14); border: 1px solid rgba(51,139,162,0.25);
  color: var(--brand-light); cursor: pointer; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.tb-copy-btn:hover  { background: rgba(51,139,162,0.28); color: #fff; }
.tb-copy-btn.copied { background: rgba(51,199,102,0.2); border-color: rgba(51,199,102,0.4); color: #4cd964; }

.tb-modal-note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
  line-height: 1.55; margin: 16px 0 0;
}
.tb-modal-note i { color: var(--brand-light); margin-top: 2px; flex-shrink: 0; }

/* ══ Tool modal extensions ═══════════════════════════════════════════════ */
.tb-modal-box--tool {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Form elements */
.tb-form-group { margin-bottom: 14px; }
.tb-form-label {
  display: block; margin-bottom: 6px;
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: rgba(255,255,255,0.65);
}
.tb-input-row { display: flex; gap: 8px; }
.tb-input-row .tb-input { flex: 1; }
.tb-input,
.tb-select {
  width: 100%; padding: 9px 13px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(51,139,162,0.35);
  border-radius: 8px;
  color: #e4f0f6;                         /* explicit: light text on dark modal */
  font-size: 0.9rem; font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tb-input::placeholder { color: rgba(255,255,255,0.3); }
.tb-input:focus, .tb-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(51,139,162,0.18);
}
.tb-select { cursor: pointer; appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23338BA2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 12px;
}

.tb-run-btn {
  padding: 9px 20px;
  background: var(--gradient-brand, linear-gradient(135deg,#338ba2,#5de8ff));
  color: #fff; font-weight: 700; font-size: 0.88rem;
  border: none; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}
.tb-run-btn:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
.tb-run-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Terminal output */
.tb-terminal {
  margin-top: 14px; padding: 13px 15px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(51,139,162,0.2);
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem; line-height: 1.65; color: #a8d8b8;
  min-height: 80px; max-height: 280px; overflow-y: auto;
  white-space: pre-wrap; word-break: break-all;
}
.tb-terminal-placeholder { color: rgba(168,216,184,0.3); font-style: italic; }
.tb-terminal .t-ok     { color: #52c41a; }
.tb-terminal .t-err    { color: #ff4d4f; }
.tb-terminal .t-head   { color: #5de8ff; font-weight: bold; }
.tb-terminal .t-hop    { color: #ffa940; }

/* DNS record list */
.tb-dns-records { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.tb-dns-record {
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(51,139,162,0.18); border-radius: 8px;
}
.tb-dns-badge {
  display: inline-block; margin-bottom: 7px;
  padding: 2px 9px; border-radius: 100px;
  background: rgba(51,139,162,0.15); color: var(--accent);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
}
.tb-dns-kv { display: grid; grid-template-columns: 90px 1fr; gap: 3px 10px; }
.tb-dns-kv-k { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.55); }
.tb-dns-kv-v { font-size: 0.78rem; font-family: 'Courier New', monospace; color: #d4eaf4; word-break: break-all; }

/* Subnet result rows */
.tb-subnet-rows { margin-top: 14px; display: flex; flex-direction: column; }
.tb-subnet-row {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 8px 4px; gap: 6px;
  border-bottom: 1px solid rgba(51,139,162,0.1);
  font-size: 0.85rem;
}
.tb-subnet-row:last-child { border-bottom: none; }
.tb-subnet-row-k { color: rgba(255,255,255,0.62); font-weight: 600; }
.tb-subnet-row-v { font-family: 'Courier New', monospace; color: #d4eaf4; }

/* Inline alert inside modal */
.tb-alert {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 12px;
  padding: 10px 13px; border-radius: 8px; font-size: 0.84rem; line-height: 1.5;
}
.tb-alert--err  { background: rgba(255,77,79,0.08); border: 1px solid rgba(255,77,79,0.25); color: #ff7875; }
.tb-alert--info { background: rgba(51,139,162,0.08); border: 1px solid rgba(51,139,162,0.25); color: var(--accent); }
.tb-alert--ok   { background: rgba(82,196,26,0.08);  border: 1px solid rgba(82,196,26,0.25);  color: #73d13d; }

/* Spinner */
.tb-spinner {
  display: inline-block; width: 14px; height: 14px; margin-right: 5px;
  border: 2px solid rgba(255,255,255,0.28); border-top-color: #fff;
  border-radius: 50%; animation: tbSpin 0.65s linear infinite; vertical-align: middle;
}
@keyframes tbSpin { to { transform: rotate(360deg); } }

/* Server notice (ping/traceroute run from server, not client) */
.tb-server-notice {
  display: flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.4;
}
.tb-server-notice i { color: rgba(51,139,162,0.7); flex-shrink: 0; }

@media (max-width: 520px) {
  .tb-modal-box { padding: 22px; }
  .tb-modal-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── 404 PAGE ───────────────────────────────── */
.e404-section { min-height: calc(100vh - 80px); display: flex; align-items: center; }

.e404-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

/* SVG illustration */
.e404-illustration { display: flex; justify-content: center; }
.e404-svg {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 0 40px rgba(51,139,162,0.2));
  animation: float404 4s ease-in-out infinite;
}
@keyframes float404 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .e404-svg { animation: none; }
}

/* Content */
.e404-content { display: flex; flex-direction: column; gap: 20px; }

.e404-badge {
  display: inline-block;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.e404-content h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.e404-content > p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.e404-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Quick links */
.e404-suggestions {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 8px;
}
.e404-sugg-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-light);
  margin-bottom: 14px;
}
.e404-sugg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.e404-sugg-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--dark-border);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
  white-space: nowrap;
}
.e404-sugg-grid a:hover {
  background: rgba(51,139,162,0.14);
  border-color: rgba(51,139,162,0.35);
  color: var(--white);
}
.e404-sugg-grid a i { color: var(--brand); font-size: 0.8rem; }

@media (max-width: 900px) {
  .e404-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
    text-align: center;
  }
  .e404-illustration { order: -1; }
  .e404-svg { max-width: 280px; }
  .e404-links { justify-content: center; }
  .e404-sugg-grid { justify-content: center; }
  .e404-content .breadcrumb { justify-content: center; }
}
@media (max-width: 520px) {
  .e404-links { flex-direction: column; }
  .e404-svg { max-width: 240px; }
}

/* =============================================
   NAV REMOTE SUPPORT BUTTON (icon-only + tooltip)
   ============================================= */
.nav-remote-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: rgba(51,139,162,0.12); border: 1px solid rgba(51,139,162,0.3);
  color: var(--brand-light); font-size: 1rem;
  text-decoration: none; transition: var(--transition);
  position: relative;
}
.nav-remote-btn:hover {
  background: var(--brand); border-color: var(--brand);
  color: #fff; box-shadow: 0 4px 16px rgba(51,139,162,0.35);
}
/* Tooltip */
.nav-remote-btn[data-tip]::before,
.nav-remote-btn[data-tip]::after {
  position: absolute; left: 50%; pointer-events: none;
  opacity: 0; transition: opacity 0.18s ease, transform 0.18s ease; z-index: 300;
}
.nav-remote-btn[data-tip]::before {
  content: '';
  top: calc(100% + 5px);
  transform: translateX(-50%) translateY(-4px);
  border: 5px solid transparent;
  border-bottom-color: rgba(51,139,162,0.45);
}
.nav-remote-btn[data-tip]::after {
  content: attr(data-tip);
  top: calc(100% + 13px);
  transform: translateX(-50%) translateY(-4px);
  white-space: nowrap; padding: 5px 11px; border-radius: 7px;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em;
  color: #b8dde8;
  background: rgba(5,12,22,0.92);
  border: 1px solid rgba(51,139,162,0.38);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 1px rgba(93,232,255,0.06);
}
.nav-remote-btn[data-tip]:hover::before,
.nav-remote-btn[data-tip]:hover::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* =============================================
   FOOTER CONTROLS (lang + theme)
   ============================================= */
.footer-controls {
  display: flex; align-items: center; gap: 12px;
}

/* ── Lang dropdown opening upward ── */
.lang-dropdown--up .lang-options {
  top: auto; bottom: calc(100% + 8px);
  transform: translateY(-6px) scale(0.97);
}
.lang-dropdown--up:hover .lang-options,
.lang-dropdown--up .lang-options[style*="visible"] {
  transform: translateY(0) scale(1);
}

/* =============================================
   THEME TOGGLE SWITCH (footer)
   ============================================= */
.theme-switch {
  display: inline-flex; align-items: center; cursor: pointer;
  vertical-align: middle; flex-shrink: 0;
  position: relative;
}
.theme-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.theme-switch-track {
  position: relative;
  width: 40px; height: 22px; border-radius: 11px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.theme-switch-track::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-light);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.theme-switch input:checked ~ .theme-switch-track::after {
  transform: translateX(18px);
}
.theme-switch-icon--dark,
.theme-switch-icon--light {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 0.58rem; line-height: 1; pointer-events: none;
}
.theme-switch-icon--dark  { left: 5px;  color: rgba(255,255,255,0.5); }
.theme-switch-icon--light { right: 5px; color: rgba(255,255,255,0.3); }
.theme-switch:hover .theme-switch-track {
  border-color: rgba(51,139,162,0.4);
}
/* Tooltip (upward) */
.theme-switch[data-tip]::before,
.theme-switch[data-tip]::after {
  position: absolute; left: 50%; pointer-events: none;
  opacity: 0; transition: opacity 0.18s ease, transform 0.18s ease; z-index: 300;
}
.theme-switch[data-tip]::before {
  content: '';
  bottom: calc(100% + 5px);
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: rgba(51,139,162,0.45);
}
.theme-switch[data-tip]::after {
  content: attr(data-tip);
  bottom: calc(100% + 13px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap; padding: 5px 11px; border-radius: 7px;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em;
  color: #b8dde8;
  background: rgba(5,12,22,0.92);
  border: 1px solid rgba(51,139,162,0.38);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 1px rgba(93,232,255,0.06);
}
.theme-switch[data-tip]:hover::before,
.theme-switch[data-tip]:hover::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* =============================================
   LIGHT MODE  [data-theme="light"]
   ============================================= */

/* ── Variables ─────────────────────────────── */
[data-theme="light"] {
  --dark:          #f6f9fb;
  --dark-2:        #eef4f8;
  --dark-3:        #e4eef5;
  --dark-card:     rgba(255,255,255,0.95);
  --dark-border:   rgba(24,39,58,0.09);
  --dark-border-h: rgba(51,139,162,0.5);
  --shadow-dark:   0 8px 40px rgba(0,0,0,0.1);
  --bg:            #ffffff;
}

/* ── Body ──────────────────────────────────── */
[data-theme="light"] body { background: #fff; color: var(--text-dark); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--dark-2); }

/* ── Theme Toggle (light state) ────────────── */
[data-theme="light"] .nav-remote-btn {
  background: rgba(51,139,162,0.08); border-color: rgba(51,139,162,0.22);
  color: var(--brand);
}
[data-theme="light"] .nav-remote-btn:hover {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
[data-theme="light"] .nav-remote-btn[data-tip]::after {
  color: var(--text-dark); background: #fff;
  border-color: var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
[data-theme="light"] .nav-remote-btn[data-tip]::before {
  border-bottom-color: var(--border);
}
[data-theme="light"] .theme-switch-track {
  background: rgba(24,39,58,0.08);
  border-color: rgba(24,39,58,0.15);
}
[data-theme="light"] .theme-switch-track::after {
  background: var(--brand);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
[data-theme="light"] .theme-switch-icon--dark  { color: rgba(24,39,58,0.35); }
[data-theme="light"] .theme-switch-icon--light { color: rgba(24,39,58,0.5); }
[data-theme="light"] .theme-switch:hover .theme-switch-track {
  border-color: rgba(51,139,162,0.35);
}
[data-theme="light"] .theme-switch[data-tip]::after {
  color: var(--text-dark); background: #fff;
  border-color: var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
[data-theme="light"] .theme-switch[data-tip]::before {
  border-top-color: var(--border);
}

/* ── Navbar ─────────────────────────────────── */
[data-theme="light"] .navbar {
  background: rgba(255,255,255,0.92);
  border-bottom-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .nav-logo-img { filter: none; }
[data-theme="light"] .nav-menu > li > a { color: rgba(24,39,58,0.65); }
[data-theme="light"] .nav-menu > li > a:hover,
[data-theme="light"] .nav-menu > li > a.active {
  color: var(--brand); background: rgba(51,139,162,0.07);
}
[data-theme="light"] .hamburger span { background: rgba(24,39,58,0.75); }

/* ── Dropdowns ──────────────────────────────── */
[data-theme="light"] .dropdown-panel {
  background: rgba(255,255,255,0.98);
  border-color: rgba(24,39,58,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
}
[data-theme="light"] .dropdown-panel a.dropdown-overview {
  background: linear-gradient(135deg, rgba(51,139,162,0.09), rgba(51,139,162,0.04));
  border-color: rgba(51,139,162,0.2); color: var(--brand);
}
[data-theme="light"] .dropdown-panel a.dropdown-overview:hover {
  background: linear-gradient(135deg, rgba(51,139,162,0.16), rgba(51,139,162,0.07));
  color: var(--brand-dark);
}
[data-theme="light"] .dropdown-panel a.dropdown-item { color: var(--text-grey); }
[data-theme="light"] .dropdown-panel a.dropdown-item:hover {
  background: rgba(51,139,162,0.07); color: var(--brand);
}
[data-theme="light"] .dropdown-item-icon {
  background: rgba(51,139,162,0.09); border-color: rgba(51,139,162,0.12);
}

/* ── Language Dropdown ──────────────────────── */
[data-theme="light"] .lang-current {
  background: rgba(24,39,58,0.05); border-color: rgba(24,39,58,0.12); color: var(--text-dark);
}
[data-theme="light"] .lang-current:hover {
  background: rgba(51,139,162,0.09); color: var(--brand); border-color: rgba(51,139,162,0.3);
}
[data-theme="light"] .lang-options {
  background: rgba(255,255,255,0.98);
  border-color: rgba(24,39,58,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
}
[data-theme="light"] .lang-option { color: var(--text-grey); }
[data-theme="light"] .lang-option:hover { background: rgba(51,139,162,0.07); color: var(--brand); }
[data-theme="light"] .lang-option.active { color: var(--brand); background: rgba(51,139,162,0.1); }

/* ── Mobile Nav ─────────────────────────────── */
@media (max-width: 768px) {
  [data-theme="light"] .nav-menu {
    background: rgba(255,255,255,0.98);
    border-bottom-color: rgba(24,39,58,0.09);
  }
  [data-theme="light"] .dropdown-panel {
    background: rgba(51,139,162,0.04); border: none;
  }
}

/* ── Hero ───────────────────────────────────── */
[data-theme="light"] .hero {
  background: linear-gradient(135deg, #e8f1f6 0%, #f0f5f9 55%, #e4eff5 100%);
}
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(51,139,162,0.1) 0%, transparent 70%);
}
[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(93,232,255,0.06) 0%, transparent 65%);
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(51,139,162,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51,139,162,0.05) 1px, transparent 1px),
    radial-gradient(circle, rgba(51,139,162,0.14) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 64px 64px;
}
[data-theme="light"] .hero-scan::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(51,139,162,0.0) 10%,
    rgba(51,139,162,0.35) 50%,
    rgba(51,139,162,0.0) 90%,
    transparent 100%
  );
  box-shadow: 0 0 16px 4px rgba(51,139,162,0.1), 0 0 4px 1px rgba(51,139,162,0.2);
}
[data-theme="light"] .hero-title      { color: var(--text-dark); }
[data-theme="light"] .hero-subtitle   { color: var(--text-grey); }
[data-theme="light"] .hero-typed-wrap { color: var(--text-grey); }
[data-theme="light"] .hero-badge {
  background: rgba(51,139,162,0.08); border-color: rgba(51,139,162,0.22);
}

/* ── Stat Cards ─────────────────────────────── */
[data-theme="light"] .stat-card {
  background: #fff;
  border-color: rgba(51,139,162,0.14);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
[data-theme="light"] .stat-label { color: var(--text-grey); }

/* ── Buttons ────────────────────────────────── */
[data-theme="light"] .btn-outline {
  background: rgba(24,39,58,0.04); color: var(--text-dark);
  border-color: rgba(24,39,58,0.18);
}
[data-theme="light"] .btn-outline:hover {
  background: rgba(24,39,58,0.08); color: var(--text-dark);
  border-color: rgba(24,39,58,0.3);
}

/* ── DACH Strip ─────────────────────────────── */
[data-theme="light"] .dach-strip {
  background: #f6f9fb;
  border-color: rgba(24,39,58,0.09);
}
[data-theme="light"] .dach-region-name { color: var(--text-dark); }
[data-theme="light"] .dach-region-sub  { color: var(--text-grey); }
[data-theme="light"] .dach-divider     { background: rgba(24,39,58,0.1); }

/* ── Dark Section ───────────────────────────── */
[data-theme="light"] .dark-section {
  background: #f6f9fb;
}
[data-theme="light"] .dark-section::before { opacity: 0.35; }
[data-theme="light"] .dark-section .section-title    { color: var(--text-dark); }
[data-theme="light"] .dark-section .section-subtitle { color: var(--text-grey); }
[data-theme="light"] .dark-section .feature-list-item span { color: var(--text-grey); }

/* ── Service Cards ──────────────────────────── */
[data-theme="light"] .service-card {
  background: #fff; border-color: rgba(51,139,162,0.12);
}
[data-theme="light"] .service-card:hover {
  background: #fff; border-color: rgba(51,139,162,0.35);
  box-shadow: 0 8px 40px rgba(51,139,162,0.12), 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .service-card h3 { color: var(--text-dark); }
[data-theme="light"] .service-card p  { color: var(--text-grey); }
[data-theme="light"] .dark-section .card {
  background: #fff; border-color: rgba(51,139,162,0.12);
}
[data-theme="light"] .dark-section .card:hover {
  background: #fff; border-color: rgba(51,139,162,0.35);
  box-shadow: 0 8px 40px rgba(51,139,162,0.12), 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .dark-section .card h3 { color: var(--text-dark); }
[data-theme="light"] .dark-section .card p  { color: var(--text-grey); }

/* ── Why Us ─────────────────────────────────── */
[data-theme="light"] .why-us { background: #eef4f8; }
[data-theme="light"] .why-us .section-title    { color: var(--text-dark); }
[data-theme="light"] .why-us .section-subtitle { color: var(--text-grey); }
[data-theme="light"] .why-feature-content h4   { color: var(--text-dark); }
[data-theme="light"] .why-feature-content p    { color: var(--text-grey); }
[data-theme="light"] .why-visual {
  background: #fff; border-color: rgba(51,139,162,0.14);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .why-visual-item { border-bottom-color: rgba(24,39,58,0.07); }
[data-theme="light"] .why-visual-item span { color: var(--text-dark); }

/* ── CTA Section ────────────────────────────── */
/* Bleibt als Marken-Akzent, nur Background wird auf Brandfarbe gesetzt */
[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
}

/* ── Page Hero (Unterseiten) ────────────────── */
[data-theme="light"] .page-hero {
  background: linear-gradient(160deg, #eef4f8 0%, #f6f9fb 100%);
}
[data-theme="light"] .page-hero h1    { color: var(--text-dark); }
[data-theme="light"] .page-hero p     { color: var(--text-grey); }
[data-theme="light"] .breadcrumb      { color: var(--text-grey); }
[data-theme="light"] .breadcrumb a    { color: var(--text-grey); }

/* ── Detail Visual ──────────────────────────── */
[data-theme="light"] .detail-visual {
  background: #fff; border-color: var(--border);
}
[data-theme="light"] .detail-visual-text { color: var(--text-dark); }
[data-theme="light"] .detail-visual-sub  { color: var(--text-grey); }
[data-theme="light"] .detail-visual-item { border-bottom-color: rgba(24,39,58,0.07); }

/* ── Mesh Section ───────────────────────────── */
[data-theme="light"] .mesh-section { background: #f6f9fb; }
[data-theme="light"] .mesh-section .section-title    { color: var(--text-dark); }
[data-theme="light"] .mesh-section .section-subtitle { color: var(--text-grey); }
[data-theme="light"] .mesh-section h2 { color: var(--text-dark); }
[data-theme="light"] .mesh-section p  { color: var(--text-grey); }
[data-theme="light"] .mesh-section .feature-list-item span { color: var(--text-grey); }
[data-theme="light"] .mesh-section .card {
  background: #fff; border-color: rgba(51,139,162,0.12);
}
[data-theme="light"] .mesh-section .card h3 { color: var(--text-dark); }
[data-theme="light"] .mesh-section .card p  { color: var(--text-grey); }
[data-theme="light"] .mesh-section .card:hover {
  background: #fff; border-color: rgba(51,139,162,0.3); box-shadow: var(--shadow-hover);
}
[data-theme="light"] .mesh-section .tech-badge {
  background: #fff; border-color: var(--border); color: var(--text-dark);
}

/* ── Solution Overview Cards ────────────────── */
[data-theme="light"] .solution-overview-card {
  background: #fff; border-color: rgba(51,139,162,0.12);
}
[data-theme="light"] .solution-overview-card:hover {
  background: #fff; border-color: rgba(51,139,162,0.35);
  box-shadow: 0 8px 40px rgba(51,139,162,0.12), 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .sol-card-title { color: var(--text-dark); }
[data-theme="light"] .sol-card-desc  { color: var(--text-grey); }
[data-theme="light"] .sol-card-list li { color: var(--text-grey); }

/* ── Footer ─────────────────────────────────── */
[data-theme="light"] .footer { background: #eef4f8; color: var(--text-grey); }
[data-theme="light"] .footer-logo-text        { color: var(--text-dark); }
[data-theme="light"] .footer-grid             { border-bottom-color: rgba(24,39,58,0.1); }
[data-theme="light"] .footer-col h4           { color: var(--text-dark); }
[data-theme="light"] .footer-col ul a         { color: var(--text-grey); }
[data-theme="light"] .footer-contact-item a   { color: var(--text-grey); }
[data-theme="light"] .footer-contact-item span{ color: var(--text-grey); }
[data-theme="light"] .footer-bottom           { color: var(--text-grey); }
[data-theme="light"] .footer-bottom-links a   { color: var(--text-grey); }

/* ── Glossar ────────────────────────────────── */
[data-theme="light"] .glossar-search-wrap i { color: var(--text-grey); }
[data-theme="light"] .glossar-search {
  background: #fff; border-color: var(--border); color: var(--text-dark);
}
[data-theme="light"] .glossar-search::placeholder { color: var(--text-grey); }
[data-theme="light"] .glossar-filter-btn {
  background: #fff; border-color: var(--border); color: var(--text-grey);
}
[data-theme="light"] .glossar-filter-btn:hover {
  background: rgba(51,139,162,0.07); color: var(--brand);
}
[data-theme="light"] .glossar-az-link {
  background: #fff; border-color: var(--border); color: var(--text-grey);
}
[data-theme="light"] .glossar-entry {
  background: #fff; border-color: var(--border);
}
[data-theme="light"] .glossar-entry:hover { border-color: rgba(51,139,162,0.3); }
[data-theme="light"] .glossar-term    { color: var(--text-dark); }
[data-theme="light"] .glossar-desc    { color: var(--text-grey); }
[data-theme="light"] .glossar-no-results { color: var(--text-grey); }

/* ── Toolbox Modal ──────────────────────────── */
[data-theme="light"] .tb-modal-backdrop { background: rgba(24,39,58,0.5); }
[data-theme="light"] .tb-modal-box {
  background: #fff; border-color: var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(51,139,162,0.1);
}
[data-theme="light"] .tb-modal-title { color: var(--text-dark); }
[data-theme="light"] .tb-modal-close {
  background: rgba(24,39,58,0.04); border-color: rgba(24,39,58,0.1); color: var(--text-grey);
}
[data-theme="light"] .tb-modal-close:hover { background: rgba(24,39,58,0.09); color: var(--text-dark); }
[data-theme="light"] .tb-modal-row {
  background: rgba(24,39,58,0.03); border-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .tb-modal-row-label { color: var(--text-grey); }
[data-theme="light"] .tb-modal-note      { color: var(--text-grey); }
[data-theme="light"] .tb-form-label      { color: var(--text-dark); }
[data-theme="light"] .tb-input,
[data-theme="light"] .tb-select {
  background: #fff;
  border-color: rgba(30,120,150,0.35);
  color: var(--text-dark);
}
/* Re-apply select arrow lost by background shorthand reset */
[data-theme="light"] .tb-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23338BA2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 12px;
}
[data-theme="light"] .tb-terminal {
  background: rgba(10,30,40,0.88);
  border-color: rgba(30,120,150,0.3);
}
[data-theme="light"] .tb-dns-record { background: rgba(0,0,0,0.02); border-color: rgba(30,120,150,0.18); }
[data-theme="light"] .tb-dns-kv-k   { color: var(--text-grey); }
[data-theme="light"] .tb-dns-kv-v   { color: var(--text-dark); }
[data-theme="light"] .tb-subnet-row-k { color: var(--text-grey); }
[data-theme="light"] .tb-subnet-row-v { color: var(--text-dark); }
[data-theme="light"] .tb-subnet-row   { border-color: rgba(30,120,150,0.14); }
[data-theme="light"] .tb-server-notice { color: var(--text-grey); }
[data-theme="light"] .tb-input::placeholder { color: var(--text-grey); }

/* ── 404 Page ───────────────────────────────── */
[data-theme="light"] .e404-content h1  { color: var(--text-dark); }
[data-theme="light"] .e404-content > p { color: var(--text-grey); }
[data-theme="light"] .e404-suggestions {
  background: rgba(51,139,162,0.06); border-color: rgba(51,139,162,0.15);
}
[data-theme="light"] .e404-sugg-grid a {
  background: #fff; border-color: var(--border); color: var(--text-grey);
}
[data-theme="light"] .e404-sugg-grid a:hover {
  background: rgba(51,139,162,0.08); border-color: rgba(51,139,162,0.25); color: var(--brand);
}

/* ── MS Tools Strip (light) ── */
[data-theme="light"] .ms-tools-strip {
  background: #eef4f8;
  border-top-color: rgba(24,39,58,0.08);
  border-bottom-color: rgba(24,39,58,0.08);
  color: rgba(24,39,58,0.7);
}
[data-theme="light"] .ms-tools-strip .ms-tools-label { color: rgba(24,39,58,0.45); }
[data-theme="light"] .ms-tools-strip .ms-tool {
  color: rgba(24,39,58,0.7);
  background: rgba(24,39,58,0.05);
  border-color: rgba(24,39,58,0.12);
}
[data-theme="light"] .ms-tools-strip .ms-tool i { color: var(--brand); }
[data-theme="light"] .ms-tools-strip .ms-tool:hover {
  background: rgba(51,139,162,0.08);
  border-color: rgba(51,139,162,0.3);
  color: var(--brand);
}

/* ── Hero Slider (light) ── */
[data-theme="light"] .hero-slider {
  background: #eef4f8;
}
[data-theme="light"] .hero-slider::before { opacity: 0.2; }
[data-theme="light"] .slide-text h2    { color: var(--text-dark); }
[data-theme="light"] .slide-text p     { color: var(--text-grey); }
[data-theme="light"] .slide-feature    { color: rgba(24,39,58,0.65); }
[data-theme="light"] .slide-feature i  { color: var(--brand); }
[data-theme="light"] .slider-btn {
  background: #fff;
  border-color: rgba(24,39,58,0.12);
  color: rgba(24,39,58,0.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
[data-theme="light"] .slider-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="light"] .slider-dot       { background: rgba(24,39,58,0.15); }
[data-theme="light"] .slider-dot.is-active { background: var(--brand); }

/* ── Page-hero SVG illustrations (light) ── */
[data-theme="light"] .ms-hero-svg,
[data-theme="light"] .cloud-hero-svg,
[data-theme="light"] .infra-hero-svg,
[data-theme="light"] .ps-hero-svg {
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.14));
}

/* ── Info Box ──────────────────────────────── */
[data-theme="light"] .info-box {
  background: linear-gradient(135deg, rgba(51,139,162,0.08), rgba(51,139,162,0.03));
  border-color: rgba(51,139,162,0.25);
}

/* ── Contact Page ──────────────────────────── */
[data-theme="light"] .contact-info-icon {
  background: linear-gradient(135deg, rgba(51,139,162,0.1), rgba(51,139,162,0.04));
  border-color: rgba(51,139,162,0.2);
}
[data-theme="light"] .contact-info-icon i { color: var(--brand); }
[data-theme="light"] .contact-info-content h4 { color: var(--text-dark); }
[data-theme="light"] .contact-form {
  background: #fff; border-color: var(--border);
  box-shadow: 0 8px 48px rgba(0,0,0,0.06);
}
[data-theme="light"] .form-title { color: var(--text-dark); }
[data-theme="light"] .form-control {
  background-color: #fff; border-color: var(--border); color: var(--text-dark);
}
[data-theme="light"] .form-control:focus {
  background-color: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(51,139,162,0.12);
}
[data-theme="light"] .form-control::placeholder { color: var(--text-grey); }
[data-theme="light"] .form-check label { color: var(--text-grey); }
[data-theme="light"] .form-check label a { color: var(--brand); }
[data-theme="light"] .field-error { color: #dc2626; }

/* ── Legal Section (Impressum / Datenschutz / AGB) ── */
[data-theme="light"] .legal-section {
  background: #f6f9fb;
}
[data-theme="light"] .legal-section::before {
  background-image: radial-gradient(circle, rgba(51,139,162,0.05) 1px, transparent 1px);
}
[data-theme="light"] .legal-content h2 {
  color: var(--text-dark); border-bottom-color: var(--border);
}
[data-theme="light"] .legal-content h3 { color: var(--text-dark); }
[data-theme="light"] .legal-content p  { color: var(--text-grey); }
[data-theme="light"] .legal-content a  { color: var(--brand); }
[data-theme="light"] .legal-content a:hover { color: var(--brand-dark); }
[data-theme="light"] .legal-content ul li { color: var(--text-grey); }
[data-theme="light"] .legal-table td {
  color: var(--text-grey); border-color: var(--border);
}
[data-theme="light"] .legal-table td:first-child { color: var(--text-dark); }
[data-theme="light"] .legal-section .contact-info-content h4 { color: var(--text-dark); }
[data-theme="light"] .legal-section .contact-info-content p,
[data-theme="light"] .legal-section .contact-info-content a  { color: var(--text-grey); }
[data-theme="light"] .legal-section .contact-info-content a:hover { color: var(--brand); }
[data-theme="light"] .legal-section .contact-form {
  background: #fff; border-color: var(--border);
  box-shadow: 0 8px 48px rgba(0,0,0,0.06);
}
[data-theme="light"] .legal-section .form-title { color: var(--text-dark); }
[data-theme="light"] .legal-section .form-group label { color: var(--text-dark); }
[data-theme="light"] .legal-section .form-control {
  background-color: #fff; border-color: var(--border); color: var(--text-dark);
}
[data-theme="light"] .legal-section .form-control::placeholder { color: var(--text-grey); }
[data-theme="light"] .legal-section .form-control:focus {
  background-color: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(51,139,162,0.12);
}
[data-theme="light"] .legal-section .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23338BA2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-color: #fff; color: var(--text-dark);
}
[data-theme="light"] .legal-section .form-select option {
  background-color: #fff; color: var(--text-dark);
}
[data-theme="light"] .legal-section .form-select option:checked {
  background-color: var(--brand); color: #fff;
}
[data-theme="light"] .legal-section .form-check label { color: var(--text-grey); }
[data-theme="light"] .legal-section .form-check label a { color: var(--brand); }
[data-theme="light"] .legal-section .alert-success {
  background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); color: #065f46;
}
[data-theme="light"] .legal-section .alert-error {
  background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.25); color: #991b1b;
}
[data-theme="light"] .legal-section .form-control.is-invalid { box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }
[data-theme="light"] .legal-section .form-control.is-valid   { box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }

/* ── CAPTCHA ───────────────────────────────── */
[data-theme="light"] .captcha-question {
  background: rgba(51,139,162,0.08); border-color: rgba(51,139,162,0.2);
}
[data-theme="light"] .captcha-num  { color: var(--brand); }
[data-theme="light"] .captcha-op   { color: var(--text-grey); }
[data-theme="light"] .captcha-hint { color: var(--text-grey); }

/* ── Map Section ───────────────────────────── */
[data-theme="light"] .map-section {
  background: #eef4f8;
}
[data-theme="light"] .map-section::before {
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(51,139,162,0.06) 0%, transparent 70%);
}
[data-theme="light"] .map-section .section-title   { color: var(--text-dark); }
[data-theme="light"] .map-section .section-subtitle { color: var(--text-grey); }
[data-theme="light"] .map-wrapper {
  border-color: var(--border); box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

/* ── Scan Pings (hero animation) ───────────── */
[data-theme="light"] .scan-ping {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
}

/* ── Mock Browser / UI Components ──────────── */
[data-theme="light"] .mock-browser {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(51,139,162,0.12);
}
[data-theme="light"] .mock-browser-bar {
  background: #f6f9fb;
  border-bottom-color: var(--border);
}
[data-theme="light"] .mock-url {
  background: rgba(24,39,58,0.05); color: var(--text-grey);
}
[data-theme="light"] .mock-sidebar {
  background: #eef4f8;
  border-right-color: var(--border);
}
[data-theme="light"] .mock-nav-item { color: var(--text-grey); }
[data-theme="light"] .mock-nav-item.is-active { background: rgba(51,139,162,0.12); color: var(--brand); }
[data-theme="light"] .mock-main { background: #fff; }
[data-theme="light"] .mock-topbar { border-bottom-color: rgba(24,39,58,0.08); }
[data-theme="light"] .mock-page-title { color: var(--text-dark); }
[data-theme="light"] .mock-stat-card {
  background: rgba(24,39,58,0.03); border-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .mock-stat-lbl { color: var(--text-grey); }
[data-theme="light"] .mock-section-label { color: var(--text-grey); }
[data-theme="light"] .mock-call-row {
  background: rgba(24,39,58,0.03);
}
[data-theme="light"] .mock-call-name { color: var(--text-dark); }
[data-theme="light"] .mock-call-num  { color: var(--text-grey); }
[data-theme="light"] .mock-call-dur  { color: var(--text-grey); }
[data-theme="light"] .mock-call-status.offline { background: rgba(24,39,58,0.15); }
[data-theme="light"] .mock-ticket-row { border-bottom-color: rgba(24,39,58,0.06); }
[data-theme="light"] .mock-ticket-name { color: var(--text-dark); }
[data-theme="light"] .mock-ticket-agent { color: var(--text-grey); }
[data-theme="light"] .mock-priority.low { background: rgba(24,39,58,0.15); }

/* ── Mock Softphone ────────────────────────── */
[data-theme="light"] .mock-sf-panel {
  background: #eef4f8; border-right-color: var(--border);
}
[data-theme="light"] .mock-sf-search {
  color: var(--text-grey); border-bottom-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .mock-sf-tabs { border-bottom-color: rgba(24,39,58,0.08); }
[data-theme="light"] .mock-sf-tabs span { color: var(--text-grey); }
[data-theme="light"] .mock-sf-item {
  border-bottom-color: rgba(24,39,58,0.06);
}
[data-theme="light"] .mock-sf-item i { color: var(--text-grey); }
[data-theme="light"] .mock-sf-name { color: var(--text-dark); }
[data-theme="light"] .mock-sf-time { color: var(--text-grey); }
[data-theme="light"] .mock-sf-presence { color: var(--text-grey); }
[data-theme="light"] .mock-sf-display {
  background: rgba(24,39,58,0.04); border-color: rgba(24,39,58,0.1); color: var(--text-dark);
}
[data-theme="light"] .mock-sf-key {
  background: rgba(24,39,58,0.05); border-color: rgba(24,39,58,0.1); color: var(--text-dark);
}

/* ── Mock Phone ────────────────────────────── */
[data-theme="light"] .mock-phone {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(51,139,162,0.12);
}
[data-theme="light"] .mock-phone-notch {
  background: #fff; border-color: var(--border);
}
[data-theme="light"] .mock-phone-screen { background: #f6f9fb; }
[data-theme="light"] .mock-app-header {
  background: #eef4f8; border-bottom-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .mock-app-title { color: var(--text-dark); }
[data-theme="light"] .mock-app-tabs { border-bottom-color: rgba(24,39,58,0.08); }
[data-theme="light"] .mock-app-tabs span { color: var(--text-grey); }
[data-theme="light"] .mock-app-call-item { border-bottom-color: rgba(24,39,58,0.06); }
[data-theme="light"] .mock-app-call-name { color: var(--text-dark); }
[data-theme="light"] .mock-app-call-meta { color: var(--text-grey); }
[data-theme="light"] .mock-app-nav {
  background: #eef4f8; border-top-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .mock-app-nav > div { color: var(--text-grey); }

/* =============================================
   EIGENE ENTWICKLUNGEN
   ============================================= */

/* ── Overview List (horizontal cards) ── */
.dev-projects-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Wide horizontal product card */
.dev-card-wide {
  display: flex;
  align-items: stretch;
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(51,139,162,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.dev-card-wide::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.55; transition: var(--transition);
}
.dev-card-wide::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(93,232,255,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.dev-card-wide:hover {
  background: linear-gradient(145deg, rgba(51,139,162,0.14) 0%, rgba(93,232,255,0.06) 100%);
  border-color: rgba(93,232,255,0.28);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 20px rgba(93,232,255,0.07);
  transform: translateY(-4px);
}
.dev-card-wide:hover::before { opacity: 1; }

.dev-card-wide-body {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.dev-card-wide-body .sol-card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.dev-card-wide-body .sol-card-list {
  flex: 0;
  margin-bottom: 24px;
}
.dev-card-wide-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
}
.dev-card-wide-actions .tech-badges {
  margin-top: 0;
}

.dev-card-wide-visual {
  width: 360px;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.12);
  border-left: 1px solid rgba(255,255,255,0.04);
}
.dev-card-wide-visual svg {
  width: 100%;
  height: auto;
  max-height: 220px;
}

/* Light mode */
[data-theme="light"] .dev-card-wide {
  background: #fff;
  border-color: rgba(51,139,162,0.12);
}
[data-theme="light"] .dev-card-wide:hover {
  background: #fff;
  border-color: rgba(51,139,162,0.35);
  box-shadow: 0 8px 40px rgba(51,139,162,0.12), 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .dev-card-wide-visual {
  background: rgba(51,139,162,0.03);
  border-left-color: rgba(51,139,162,0.08);
}

/* ── Screenshot Section ── */
.dev-screenshot-section {
  background: var(--dark-3);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 72px 0;
}

.dev-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.dev-screenshot-grid .wide { grid-column: span 2; }

/* Real screenshot (image exists) */
.dev-screenshot-real {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.dev-screenshot-real img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.dev-screenshot-real:hover img { transform: scale(1.03); }
.dev-screenshot-real-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  font-size: 0.75rem; color: rgba(255,255,255,0.9);
  text-align: center; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.dev-screenshot-real:hover .dev-screenshot-real-label { opacity: 1; }

.dev-screenshot-ph {
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.03);
  border: 2px dashed rgba(51,139,162,0.3);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: rgba(255,255,255,0.25);
  font-size: 0.82rem; font-weight: 500;
  transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer; padding: 1rem 1.25rem; text-align: center;
}

.dev-screenshot-ph::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(51,139,162,0.06) 0%, transparent 70%);
  transition: var(--transition);
}

.dev-screenshot-ph::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 10px; right: 12px;
  font-size: 0.75rem; color: rgba(51,139,162,0.3);
  transition: var(--transition);
}

.dev-screenshot-ph i { font-size: 1.8rem; color: rgba(51,139,162,0.4); transition: var(--transition); }

.dev-screenshot-ph:hover {
  border-color: rgba(93,232,255,0.5);
  background: rgba(93,232,255,0.03);
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(51,139,162,0.15);
}

.dev-screenshot-ph:hover::before {
  background: radial-gradient(circle at center, rgba(51,139,162,0.12) 0%, transparent 70%);
}

.dev-screenshot-ph:hover::after { color: rgba(93,232,255,0.7); }
.dev-screenshot-ph:hover i { color: rgba(93,232,255,0.6); }

.dev-screenshot-label {
  font-size: 0.74rem; color: rgba(255,255,255,0.25);
  text-transform: uppercase; letter-spacing: 1px;
}

.dev-screenshot-caption {
  font-size: 0.71rem; color: rgba(255,255,255,0.15);
  line-height: 1.4; max-width: 88%; font-weight: 400;
  text-transform: none; letter-spacing: 0;
}

.dev-screenshot-path {
  font-family: monospace; font-size: 0.65rem;
  color: rgba(51,139,162,0.4); background: rgba(51,139,162,0.08);
  padding: 2px 7px; border-radius: 3px;
  letter-spacing: 0; text-transform: none; font-weight: 400;
  transition: var(--transition);
}

.dev-screenshot-ph:hover .dev-screenshot-path {
  color: rgba(93,232,255,0.6); background: rgba(51,139,162,0.12);
}

/* ── Screenshot Lightbox ── */
#ph-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9900;
  background: rgba(0,0,0,0.85);
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
#ph-lightbox.active { display: flex; }

.ph-lightbox-inner {
  background: #0d1824; border: 1px solid rgba(51,139,162,0.3);
  border-radius: 12px; padding: 2.5rem 2rem 2rem;
  max-width: 520px; width: 90%; position: relative; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(51,139,162,0.1);
}

.ph-lightbox-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.4); font-size: 1.1rem; transition: color 0.2s;
}
.ph-lightbox-close:hover { color: #fff; }

.ph-lightbox-icon { font-size: 3rem; color: rgba(51,139,162,0.55); margin-bottom: 1rem; }

.ph-lightbox-title {
  font-size: 1.05rem; font-weight: 700; color: #e4f0f6;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}

.ph-lightbox-caption {
  font-size: 0.9rem; color: rgba(255,255,255,0.55);
  line-height: 1.6; margin-bottom: 1.25rem;
}

.ph-lightbox-path {
  display: inline-block; font-family: monospace;
  font-size: 0.75rem; color: rgba(51,139,162,0.7);
  background: rgba(51,139,162,0.1); padding: 4px 10px;
  border-radius: 4px; word-break: break-all;
}
.ph-lightbox-img {
  width: 100%; max-height: 65vh;
  object-fit: contain; border-radius: 6px;
  margin-bottom: 1rem; display: none;
  cursor: zoom-in;
}
.ph-lightbox-inner.has-image { max-width: min(900px, 92vw); }

.ph-lightbox-zoom-hint {
  display: none; font-size: 0.75rem; color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}
.ph-lightbox-inner.has-image .ph-lightbox-zoom-hint { display: block; }

#ph-lightbox.zoomed { overflow: auto; align-items: flex-start; }
#ph-lightbox.zoomed .ph-lightbox-inner {
  max-width: none; width: auto; margin: 2rem auto;
}
#ph-lightbox.zoomed .ph-lightbox-img {
  width: auto; max-width: none; max-height: none; cursor: zoom-out;
}
#ph-lightbox.zoomed .ph-lightbox-close {
  position: fixed; top: 1rem; right: 1.5rem; z-index: 10;
  background: rgba(0,0,0,0.6); border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
#ph-lightbox.zoomed .ph-lightbox-zoom-hint { display: none; }

.dev-screenshot-real { cursor: zoom-in; }

/* ── Section heading inside detail ── */
.dev-section-title {
  font-size: 1.15rem; font-weight: 700; color: #fff;
  margin-bottom: 6px; display: flex; align-items: center; gap: 10px;
}
.dev-section-title i { color: var(--brand-light); font-size: 0.95rem; }
.dev-section-sub { font-size: 0.87rem; color: rgba(255,255,255,0.42); margin-bottom: 20px; }

/* ── Feature/Tech Tables ── */
.dev-table-wrap {
  overflow-x: auto; margin-top: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--dark-border);
}

.dev-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }

.dev-table th {
  background: rgba(51,139,162,0.14);
  color: rgba(255,255,255,0.65);
  font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--dark-border);
}
.dev-table th.center { text-align: center; }

.dev-table td {
  padding: 11px 16px;
  color: rgba(255,255,255,0.62);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.dev-table td.center { text-align: center; }
.dev-table tr:last-child td { border-bottom: none; }
.dev-table tr:hover td { background: rgba(255,255,255,0.025); }

.dev-check { color: var(--accent); font-size: 0.9rem; }
.dev-dash   { color: rgba(255,255,255,0.18); }
.dev-partial { color: var(--brand-light); font-size: 0.78rem; font-weight: 600; }

/* ── Install Steps ── */
.dev-install-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.dev-install-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
}

.dev-step-num {
  width: 32px; height: 32px; min-width: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff;
}

.dev-step-text { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }
.dev-step-text strong { color: rgba(255,255,255,0.88); }
.dev-step-text code {
  font-family: 'Courier New', monospace;
  background: rgba(93,232,255,0.08); border: 1px solid rgba(93,232,255,0.15);
  color: var(--accent); padding: 1px 7px; border-radius: 4px; font-size: 0.84rem;
}

/* ── Security callout ── */
.dev-security-list {
  display: flex; flex-direction: column; gap: 10px; margin-top: 20px;
}
.dev-security-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px;
  background: rgba(93,232,255,0.04); border: 1px solid rgba(93,232,255,0.1);
  border-radius: 10px; font-size: 0.87rem; color: rgba(255,255,255,0.65);
}
.dev-security-item i { color: var(--brand-light); margin-top: 2px; flex-shrink: 0; }

/* ── Light Mode Overrides ── */
[data-theme="light"] .dev-screenshot-section {
  background: #eef4f8; border-color: rgba(24,39,58,0.08);
}
[data-theme="light"] .dev-screenshot-ph {
  background: rgba(24,39,58,0.03); border-color: rgba(51,139,162,0.2); color: rgba(24,39,58,0.35);
}
[data-theme="light"] .dev-screenshot-ph i { color: rgba(51,139,162,0.35); }
[data-theme="light"] .dev-screenshot-label { color: rgba(24,39,58,0.2); }
[data-theme="light"] .dev-screenshot-caption { color: rgba(24,39,58,0.18); }
[data-theme="light"] .dev-screenshot-path { color: rgba(51,139,162,0.5); background: rgba(51,139,162,0.06); }
[data-theme="light"] .ph-lightbox-inner { background: #f0f6f9; border-color: rgba(51,139,162,0.25); }
[data-theme="light"] .ph-lightbox-title { color: #18273a; }
[data-theme="light"] .ph-lightbox-caption { color: rgba(24,39,58,0.6); }
[data-theme="light"] .ph-lightbox-zoom-hint { color: rgba(24,39,58,0.4); }
[data-theme="light"] .dev-section-title { color: var(--text-dark); }
[data-theme="light"] .dev-section-sub   { color: var(--text-grey); }
[data-theme="light"] .dev-table-wrap { border-color: var(--border); }
[data-theme="light"] .dev-table th {
  background: rgba(51,139,162,0.07); color: var(--text-grey); border-bottom-color: var(--border);
}
[data-theme="light"] .dev-table td { color: var(--text-dark); border-bottom-color: rgba(24,39,58,0.06); }
[data-theme="light"] .dev-table tr:hover td { background: rgba(51,139,162,0.04); }
[data-theme="light"] .dev-install-step { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
[data-theme="light"] .dev-step-text { color: var(--text-dark); }
[data-theme="light"] .dev-step-text code {
  background: rgba(51,139,162,0.06); border-color: rgba(51,139,162,0.15); color: var(--brand);
}
[data-theme="light"] .dev-security-item {
  background: rgba(51,139,162,0.05); border-color: rgba(51,139,162,0.12); color: var(--text-dark);
}

@media (max-width: 900px) {
  .dev-card-wide {
    flex-direction: column;
  }
  .dev-card-wide-visual {
    width: 100%;
    min-width: 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 20px;
    max-height: 200px;
  }
  .dev-card-wide-body {
    padding: 28px;
  }
  .dev-card-wide-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  [data-theme="light"] .dev-card-wide-visual {
    border-top-color: rgba(51,139,162,0.08);
  }
}

@media (max-width: 768px) {
  .dev-screenshot-grid { grid-template-columns: 1fr; }
  .dev-screenshot-grid .wide { grid-column: span 1; }
}

/* ══ FLASH TOAST ═════════════════════════════════════════════ */
.flash-toast {
  position: fixed; top: 76px; left: 50%; transform: translateX(-50%);
  z-index: 9800; display: flex; align-items: center; gap: 0.65rem;
  background: #131f2e; border: 1px solid rgba(255,100,100,0.25);
  border-left: 3px solid #ff6b6b; border-radius: 8px;
  padding: 0.7rem 1rem 0.7rem 0.9rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  font-size: 0.875rem; color: #e4f0f6;
  white-space: nowrap; max-width: calc(100vw - 2rem);
  animation: flash-toast-in 0.35s ease;
}
.flash-toast > i:first-child { color: #ff6b6b; font-size: 0.9rem; flex-shrink: 0; }
.flash-toast > span { overflow: hidden; text-overflow: ellipsis; }
.flash-toast-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.35); font-size: 0.85rem;
  padding: 0 0 0 0.4rem; transition: color 0.2s; flex-shrink: 0;
  line-height: 1;
}
.flash-toast-close:hover { color: #fff; }
@keyframes flash-toast-in {
  from { opacity: 0; top: 56px; }
  to   { opacity: 1; top: 76px; }
}
[data-theme="light"] .flash-toast {
  background: #fff; border-color: rgba(190,40,40,0.15);
  border-left-color: #d94f4f; color: #18273a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
[data-theme="light"] .flash-toast-close { color: rgba(24,39,58,0.35); }
[data-theme="light"] .flash-toast-close:hover { color: #18273a; }

/* ══ COOKIE BANNER ═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark-card, #131f2e);
  border-top: 1px solid var(--dark-border, rgba(51,139,162,0.15));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  padding: 1rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1; min-width: 280px;
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--text-light, #c5d5e0); font-size: 0.9rem; line-height: 1.5;
}
.cookie-banner-text i { color: var(--brand, #338BA2); font-size: 1.2rem; margin-top: 0.15rem; flex-shrink: 0; }
.cookie-banner-text p { margin: 0; }
.cookie-banner-text a { color: var(--brand, #338BA2); text-decoration: underline; }
.cookie-banner-text a:hover { color: #4bb3cc; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; align-items: center; }
.cookie-banner-btn { white-space: nowrap; }

[data-theme="light"] .cookie-banner {
  background: #fff; border-top-color: rgba(24,39,58,0.1); box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
[data-theme="light"] .cookie-banner-text { color: var(--text-dark); }

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner-btn { width: 100%; text-align: center; }
}

/* =============================================
   BLOG / NEWS
   ============================================= */

/* ── Blog Grid & Cards ──────────────────────── */
.blog-listing { padding: 64px 0 90px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.blog-grid--home {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--dark-border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image-link { display: block; }
.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-3);
  transition: var(--transition);
}
.blog-card:hover .blog-card-image { transform: scale(1.03); }
.blog-card-image-link { overflow: hidden; }

.blog-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-image--placeholder i {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.12);
}

.blog-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.blog-card-title a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}
.blog-card-title a:hover { color: var(--brand-light); }

.blog-card-excerpt {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-card-link:hover { color: var(--accent); gap: 10px; }

/* ── Blog Empty ─────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: rgba(255,255,255,0.4);
}
.blog-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.blog-empty p { font-size: 1.05rem; }

/* ── Blog Pagination ────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
}

.blog-page-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.blog-page-link:hover { background: rgba(51,139,162,0.1); color: var(--accent); }
.blog-page-link.disabled {
  color: rgba(255,255,255,0.2);
  pointer-events: none;
}

.blog-page-numbers {
  display: flex;
  gap: 4px;
}
.blog-page-num {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.blog-page-num:hover { background: rgba(51,139,162,0.1); color: var(--brand-light); }
.blog-page-num.active {
  background: var(--brand);
  color: #fff;
}

/* ── Single Post ────────────────────────────── */
.blog-post-section { padding: 48px 0 90px; }

.blog-post {
  max-width: 780px;
  margin: 0 auto;
}

.blog-post-featured {
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-post-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
}
.blog-post-content h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}
.blog-post-content h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 28px 0 12px;
}
.blog-post-content h4 {
  font-size: 1.05rem;
  color: #fff;
  margin: 24px 0 10px;
}
.blog-post-content p {
  margin-bottom: 18px;
}
.blog-post-content a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-post-content a:hover { color: var(--accent); }
.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}
.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 18px 24px;
}
.blog-post-content li {
  margin-bottom: 6px;
}
.blog-post-content blockquote {
  border-left: 3px solid var(--brand);
  padding: 12px 20px;
  margin: 24px 0;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  background: rgba(51,139,162,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-post-content pre {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.88rem;
  line-height: 1.6;
}
.blog-post-content code {
  font-family: 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.88em;
}
.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.blog-post-content th,
.blog-post-content td {
  padding: 10px 14px;
  border: 1px solid var(--dark-border);
  text-align: left;
}
.blog-post-content th {
  background: var(--dark-3);
  color: #fff;
  font-weight: 600;
}
.blog-post-content hr {
  border: none;
  border-top: 1px solid var(--dark-border);
  margin: 32px 0;
}

.blog-post-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-border);
}

/* ── Blog Home Section ──────────────────────── */
.blog-home-section { padding-bottom: 0; }

/* ── Blog Light Mode ────────────────────────── */
[data-theme="light"] .blog-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}
[data-theme="light"] .blog-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}
[data-theme="light"] .blog-card-image {
  background-color: var(--light-bg);
}
[data-theme="light"] .blog-card-image--placeholder i {
  color: rgba(24,39,58,0.12);
}
[data-theme="light"] .blog-card-date { color: var(--text-grey); }
[data-theme="light"] .blog-card-title a { color: var(--text-dark); }
[data-theme="light"] .blog-card-excerpt { color: var(--text-grey); }

[data-theme="light"] .blog-page-link { color: var(--brand); }
[data-theme="light"] .blog-page-link:hover { background: rgba(51,139,162,0.08); }
[data-theme="light"] .blog-page-link.disabled { color: rgba(24,39,58,0.25); }
[data-theme="light"] .blog-page-num { color: var(--text-grey); }
[data-theme="light"] .blog-page-num:hover { background: rgba(51,139,162,0.08); color: var(--brand); }

[data-theme="light"] .blog-empty { color: var(--text-grey); }

[data-theme="light"] .blog-post-content { color: var(--text-dark); }
[data-theme="light"] .blog-post-content h2,
[data-theme="light"] .blog-post-content h3,
[data-theme="light"] .blog-post-content h4 { color: var(--text-dark); }
[data-theme="light"] .blog-post-content blockquote {
  color: var(--text-grey);
  background: rgba(51,139,162,0.04);
}
[data-theme="light"] .blog-post-content pre {
  background: #f6f9fb;
  border-color: var(--border);
}
[data-theme="light"] .blog-post-content th {
  background: var(--light-bg);
  color: var(--text-dark);
}
[data-theme="light"] .blog-post-content th,
[data-theme="light"] .blog-post-content td { border-color: var(--border); }
[data-theme="light"] .blog-post-content hr { border-top-color: var(--border); }
[data-theme="light"] .blog-post-footer { border-top-color: var(--border); }

/* ── Blog Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .blog-grid,
  .blog-grid--home { grid-template-columns: 1fr; }
  .blog-pagination { flex-wrap: wrap; }
}

