/* =========================================
   CypherSys — Main Stylesheet
   cyphersys.at | Vienna, Austria
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Mono:wght@400;500&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg-primary:   #040c1a;
  --bg-secondary: #071224;
  --bg-card:      #091830;
  --bg-card-2:    #0d2040;
  --border:       #1a3a60;
  --border-light: #264d7a;
  --accent:       #00c8ff;
  --accent-dim:   rgba(0, 200, 255, 0.15);
  --accent-glow:  rgba(0, 200, 255, 0.4);
  --purple:       #8b5cf6;
  --purple-dim:   rgba(139, 92, 246, 0.15);
  --green:        #00e676;
  --green-dim:    rgba(0, 230, 118, 0.15);
  --text-1:       #e2ecff;
  --text-2:       #7a9bc4;
  --text-3:       #4a6b8a;
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.6);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
}

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

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

body {
  font-family: 'Roboto', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
  body { touch-action: manipulation; -webkit-tap-highlight-color: rgba(0, 200, 255, 0.15); }
  /* Buttons and links: ensure tappable on iOS/Android */
  a.btn,
  .btn,
  .hero-actions a,
  .cta-section a,
  .contact-info-card a,
  a[href^="mailto:"],
  a[href^="tel:"] {
    touch-action: manipulation;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 200, 255, 0.2);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

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

ul { list-style: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── Utility Classes ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.text-accent  { color: var(--accent); }
.text-purple  { color: var(--purple); }
.text-green   { color: var(--green); }
.text-muted   { color: var(--text-2); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
}
.badge-purple { color: var(--purple); background: var(--purple-dim); border-color: var(--purple); }
.badge-green  { color: var(--green);  background: var(--green-dim);  border-color: var(--green); }

.section-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.section-label::after {
  content: ''; display: block; width: 40px; height: 1px; background: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 20px;
}
.section-title span { color: var(--accent); }

.section-desc {
  font-size: 1.1rem; color: var(--text-2); max-width: 580px; line-height: 1.7;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  cursor: pointer; transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #040c1a;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: #fff; color: #040c1a; transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow);
}
.btn-outline {
  background: transparent; color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim); transform: translateY(-2px);
  color: var(--accent);
}
.btn-ghost {
  background: var(--bg-card); color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-card-2); border-color: var(--border-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ─── Cards ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 200, 255, 0.15);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  color: var(--accent);
  transition: all var(--transition);
}
.card:hover .card-icon {
  background: var(--accent); color: var(--bg-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}
.card h3 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-1);
}
.card p { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }


/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(4, 12, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(4, 12, 26, 0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.8);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 90px; max-width: 1200px; margin: 0 auto;
  overflow: visible;
}
.navbar-logo {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 14px;
  font-size: 1.55rem; font-weight: 700;
  color: var(--text-1);
  font-family: 'Roboto', sans-serif;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin: 0 0 0 -6px;
  padding: 0;
  flex-shrink: 0;
  min-width: 0;
}
.navbar-logo .logo-img {
  width: 73px; height: 73px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0,200,255,0.2);
  display: block;
  vertical-align: middle;
}
.navbar-logo .logo-img-footer {
  width: 68px; height: 68px;
}
.navbar-logo .logo-text { color: var(--text-1); }
.navbar-logo .logo-sys { color: var(--accent); letter-spacing: inherit; }
.navbar-nav {
  display: flex; align-items: center; gap: 8px;
}
.navbar-nav a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-2);
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text-1); background: var(--bg-card);
}
.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language switcher (desktop) */
.lang-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 255, 0.28);
  background: radial-gradient(circle at top left, rgba(0, 200, 255, 0.22), rgba(4, 12, 26, 0.9));
  color: var(--text-1);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  backdrop-filter: blur(12px);
}

.lang-switch-btn:hover {
  background: radial-gradient(circle at top left, rgba(0, 200, 255, 0.32), rgba(4, 12, 26, 0.96));
  border-color: rgba(0, 200, 255, 0.55);
  box-shadow: 0 10px 30px rgba(0, 200, 255, 0.22);
}

.lang-switch-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.lang-switch-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-code {
  font-weight: 700;
  opacity: 0.95;
}

.lang-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.lang-switch-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 200px;
  padding: 6px;
  margin: 0;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(0, 200, 255, 0.22);
  background: radial-gradient(circle at top left, rgba(0, 200, 255, 0.08), rgba(4, 12, 26, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  display: none;
  z-index: 1100;
}

.lang-switch-menu.open {
  display: block;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 9px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--text-1);
  cursor: pointer;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 500;
}

.lang-option:hover {
  background: rgba(0, 200, 255, 0.12);
}

.lang-option span {
  opacity: 0.95;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-1); border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--bg-primary); padding: 80px 16px 24px;
  flex-direction: column; gap: 4px;
  overflow-y: auto;
  transition: all var(--transition);
}
.mobile-nav.open {
  display: flex;
  z-index: 2147483010;
}
.mobile-nav a {
  padding: 10px 14px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.mobile-nav a:hover {
  color: var(--text-1); background: var(--bg-card); border-color: var(--accent);
}

.mobile-lang {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-lang-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 8px;
}
.mobile-lang-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-1);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.mobile-lang-btn:hover,
.mobile-lang-btn:active {
  border-color: var(--accent);
  background: rgba(0, 200, 255, 0.1);
  color: var(--text-1);
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(0, 200, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(139, 92, 246, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 700px;
}
.hero-badge { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-1);
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem; color: var(--text-2); line-height: 1.7;
  max-width: 560px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; gap: 48px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 2rem; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hero-stat-label { font-size: 0.85rem; color: var(--text-2); margin-top: 2px; }

.hero-visual {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px; z-index: 1;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 420px; height: 420px; right: -80px; top: 0;
  background: radial-gradient(circle at 40% 40%, rgba(0,200,255,0.12), transparent 70%);
  border: 1px solid rgba(0,200,255,0.1);
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 280px; height: 280px; right: 40px; top: 80px;
  background: radial-gradient(circle at 60% 60%, rgba(139,92,246,0.15), transparent 70%);
  border: 1px solid rgba(139,92,246,0.1);
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 160px; height: 160px; right: 140px; top: 160px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  animation-delay: -1.5s;
}
.hero-terminal {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  width: 380px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  font-family: 'Roboto Mono', monospace; font-size: 0.8rem;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.terminal-dot-r { background: #ff5f57; }
.terminal-dot-y { background: #febc2e; }
.terminal-dot-g { background: #28c840; }
.terminal-title { margin-left: 8px; color: var(--text-3); font-size: 0.75rem; }
.terminal-body { padding: 20px; line-height: 2; }
.terminal-line { display: flex; gap: 10px; }
.t-prompt { color: var(--accent); }
.t-cmd { color: var(--text-1); }
.t-comment { color: var(--text-3); font-style: italic; }
.t-output { color: var(--green); padding-left: 20px; }
.t-cursor {
  display: inline-block; width: 8px; height: 1.1em;
  background: var(--accent); vertical-align: text-bottom;
  animation: blink 1.2s step-end infinite;
}

/* ═══════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 24px;
}
.service-icon-blue  { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,200,255,0.3); }
.service-icon-purple{ background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(139,92,246,0.3); }
.service-icon-green { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(0,230,118,0.3); }
.service-icon-orange{ background: rgba(251,146,60,0.12); color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }

.service-card h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-1);
}
.service-card p { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.service-tag {
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg-card-2); border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 500; color: var(--text-2);
  font-family: 'Roboto Mono', monospace;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: var(--accent);
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; color: var(--accent); }

/* ═══════════════════════════════════════════
   TECHNOLOGIES
═══════════════════════════════════════════ */
.tech-section { background: var(--bg-secondary); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px; margin-top: 60px;
}
.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all var(--transition);
  text-align: center;
  cursor: default;
  min-height: 130px;
  overflow: visible;
}
.tech-item:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,200,255,0.1);
}
.tech-logo {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: filter var(--transition);
}
.tech-logo img {
  width: 100%; height: 100%; object-fit: contain;
}
.tech-item:hover .tech-logo img { filter: none; }
.tech-name {
  font-size: 0.8rem; font-weight: 600; color: var(--text-2);
  letter-spacing: 0.03em; line-height: 1.3;
  word-break: break-word; min-height: 2.6em;
}
.tech-category {
  font-size: 0.65rem; color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.08em; line-height: 1.3;
}
.tech-item-featured { border-color: var(--accent); box-shadow: 0 0 20px rgba(0,200,255,0.1); }

/* ─── SentinelOne Partner Section ─── */
.why-sentinelone { margin-top: 40px; }
.sentinelone-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 32px;
}
.sentinelone-feature {
  display: flex; gap: 20px;
  padding: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.sentinelone-feature:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.sentinelone-feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim); border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.sentinelone-feature h4 {
  font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-1);
}
.sentinelone-feature p {
  font-size: 0.9rem; color: var(--text-2); line-height: 1.6; margin: 0;
}

/* ═══════════════════════════════════════════
   ABOUT TEASER
═══════════════════════════════════════════ */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-image-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
}
.about-image {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.8) saturate(0.9);
}
.about-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,200,255,0.1), rgba(139,92,246,0.1));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.about-badge-float {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  backdrop-filter: blur(10px);
}
.about-badge-float .num {
  font-size: 1.8rem; font-weight: 800; color: var(--accent);
}
.about-badge-float .label { font-size: 0.8rem; color: var(--text-2); }

.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.about-feature {
  display: flex; gap: 16px; padding: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent);
}
.about-feature-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.about-feature-text p { font-size: 0.85rem; color: var(--text-2); }

/* ═══════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════ */
.stats-band { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item {
  padding: 48px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.8rem; font-weight: 900; color: var(--accent);
  letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit { color: var(--purple); }
.stat-label { font-size: 0.9rem; color: var(--text-2); margin-top: 8px; }

/* ═══════════════════════════════════════════
   WHY CYPHERSYS
═══════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px;
}
.why-card {
  padding: 40px 32px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 2px;
  background: var(--accent); border-radius: 1px;
  transition: width var(--transition);
}
.why-card:hover::after { width: 100%; }
.why-card:hover { border-color: var(--border-light); transform: translateY(-6px); }
.why-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 24px;
  background: var(--accent-dim); color: var(--accent);
}
.why-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.why-card p { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at center, rgba(0,200,255,0.06), transparent);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; margin-bottom: 20px; }
.cta-section p { font-size: 1.1rem; color: var(--text-2); max-width: 500px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-2); font-size: 0.9rem; line-height: 1.7;
  margin: 16px 0 24px;
}
.footer-contact-items { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--text-2);
}
.footer-contact-item .icon { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.footer-col h4 {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem; color: var(--text-2); transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text-1); }

.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-3); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 0.85rem; color: var(--text-3); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse 70% 60% at 20% 60%, rgba(139,92,246,0.06), transparent),
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(0,200,255,0.07), transparent),
    var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin: 12px 0 20px;
}
.page-hero p { font-size: 1.1rem; color: var(--text-2); max-width: 580px; line-height: 1.7; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-3); margin-bottom: 12px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb-sep { color: var(--text-3); }

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
.services-category { margin-bottom: 80px; }
.services-category h2 {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 12px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.services-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
  margin-top: 32px;
}
.service-detail-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--transition);
}
.service-detail-card:hover {
  border-color: var(--border-light); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.service-detail-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.service-detail-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.service-list {
  margin-top: 12px; display: flex; flex-direction: column; gap: 6px;
}
.service-list-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-2);
}
.service-list-item::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-story { margin-bottom: 80px; }
.about-timeline { margin-top: 60px; }
.timeline-item {
  display: flex; gap: 32px; margin-bottom: 40px; position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute; left: 28px; top: 56px; bottom: -40px; width: 1px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; z-index: 1;
  color: var(--accent);
}
.timeline-content { flex: 1; padding-top: 12px; }
.timeline-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { font-size: 0.95rem; color: var(--text-2); line-height: 1.7; }

.team-section { background: var(--bg-secondary); }
.founder-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; gap: 48px; align-items: center;
  max-width: 860px; margin: 60px auto 0;
}
.founder-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.founder-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-header {
  width: 100%; text-align: center; margin: 0 auto 40px;
}
.founder-header .badge { margin-bottom: 16px; display: inline-flex; }
.founder-header .section-title { margin: 0 auto; display: block; }
.founder-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.founder-title { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.founder-bio {
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--text-2); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px;
}
.founder-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.founder-tag {
  font-family: 'Roboto', system-ui, sans-serif;
  padding: 4px 12px; border-radius: 6px;
  background: var(--bg-card-2); border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-2);
}
.founder-links {
  display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center;
  margin-left: auto; flex-shrink: 0; padding-left: 24px;
}
.founder-link.founder-link-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card-2); border: 1px solid var(--border);
  color: var(--accent);
  text-decoration: none; transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.founder-link.founder-link-icon:hover {
  color: #fff; background: var(--accent-dim); border-color: var(--accent);
}
.founder-link.founder-link-icon svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px;
  margin-top: 60px;
}
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-info-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-text h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem; color: var(--text-1);
}

.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
}
.contact-form-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-card .desc { color: var(--text-2); font-size: 0.95rem; margin-bottom: 32px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.form-control {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  font-size: 0.95rem; color: var(--text-1);
  font-family: 'Roboto', sans-serif;
  transition: border-color var(--transition);
  outline: none; width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
@media (max-width: 768px) {
  .form-control {
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
  }
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,255,0.1); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-submit { margin-top: 24px; }
.form-submit .btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.success-msg {
  display: none; padding: 16px 20px;
  background: var(--green-dim); border: 1px solid var(--green);
  border-radius: 8px; color: var(--green); font-size: 0.95rem; margin-top: 16px;
}

.error-msg {
  display: none; padding: 16px 20px;
  background: rgba(239, 68, 68, 0.12); border: 1px solid #ef4444;
  border-radius: 8px; color: #ef4444; font-size: 0.95rem; margin-top: 16px;
}

/* ═══════════════════════════════════════════
   LEGAL PAGES (Impressum, Privacy, Terms)
═══════════════════════════════════════════ */
.legal-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 60px;
  margin-top: 60px; align-items: start;
}
.legal-sidebar {
  position: sticky; top: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.legal-sidebar h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 16px;
}
.legal-sidebar ul { display: flex; flex-direction: column; gap: 4px; }
.legal-sidebar ul li a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 0.9rem; color: var(--text-2); transition: all var(--transition);
}
.legal-sidebar ul li a:hover,
.legal-sidebar ul li a.active {
  color: var(--accent); background: var(--accent-dim);
}

.legal-content h2 {
  font-size: 1.5rem; font-weight: 700; margin: 48px 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--text-1);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--text-2); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 0; display: flex; flex-direction: column; gap: 8px;
}
.legal-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-2); font-size: 0.95rem; line-height: 1.7;
}
.legal-content ul li::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0;
}
.legal-content strong { color: var(--text-1); font-weight: 600; }
.legal-content a { color: var(--accent); }
.legal-info-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 32px;
}
.legal-info-box .row {
  display: flex; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.legal-info-box .row:last-child { border-bottom: none; }
.legal-info-box .row .key { color: var(--text-3); min-width: 200px; font-weight: 500; }
.legal-info-box .row .val { color: var(--text-1); }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,200,255,0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(0,200,255,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,200,255,0); }
}

.animate-fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-terminal { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .founder-card { flex-direction: column; text-align: center; padding: 36px; }
  .founder-links { margin-left: 0; padding-left: 0; flex-direction: row; margin-top: 24px; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 70px 0; }
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }

  /* Contact form + section: ensure taps reach inputs and links on mobile */
  .contact-layout,
  .contact-form-card,
  .contact-info-card {
    position: relative;
    z-index: 5;
    touch-action: manipulation;
    pointer-events: auto;
  }
  .contact-form-card {
    z-index: 10;
    padding-bottom: 100px;
  }
  #contactForm,
  #contactForm .form-control,
  #contactForm .form-label,
  #contactForm .form-group,
  #contactForm a,
  #contactForm button,
  .contact-info-card a,
  .contact-info-card .contact-info-item {
    pointer-events: auto !important;
    touch-action: manipulation;
    cursor: pointer;
  }
  #contactForm input,
  #contactForm select,
  #contactForm textarea {
    cursor: text;
  }
  .contact-form-card .form-control {
    font-size: 16px;
    min-height: 48px;
  }
  .contact-form-card textarea.form-control {
    min-height: 140px;
  }
  .contact-form-card select.form-control {
    min-height: 48px;
    padding-right: 40px;
  }
  .contact-form-card .form-submit .btn {
    min-height: 52px;
    font-size: 1rem;
  }
  /* Stacking for sections (chatbot wrap uses pointer-events: none so content still receives touch) */
  .hero,
  .section {
    position: relative;
    z-index: 2;
  }
  .footer {
    position: relative;
    z-index: 2;
  }
  /* All content links/buttons: ensure they receive touch on iOS */
  .section a[href],
  .section button,
  .footer a[href] {
    pointer-events: auto;
    touch-action: manipulation;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 20px; }
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER (GDPR / Cookiebot-style)
═══════════════════════════════════════════ */
.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  background: rgba(4, 12, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Roboto', system-ui, sans-serif;
  transition: opacity 0.3s ease;
  pointer-events: none;
  touch-action: manipulation;
}
.cookie-consent-overlay .cookie-consent-banner {
  pointer-events: auto;
}
.cookie-consent-overlay.cookie-consent-hidden {
  opacity: 0;
  pointer-events: none;
}
body.cookie-consent-visible .csw-fab-wrap,
body.cookie-consent-visible .csw-fab,
body.cookie-consent-visible .csw-panel { display: none !important; }

.cookie-consent-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}
.cookie-consent-header { margin-bottom: 16px; }
.cookie-consent-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
}
.cookie-consent-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 24px;
}
.cookie-consent-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-consent-text a:hover { color: #fff; }
.cookie-consent-toggles { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cookie-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-1);
  min-height: 44px;
  padding: 4px 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.cookie-consent-label { flex: 1; pointer-events: none; }
.cookie-consent-toggle {
  width: 48px;
  height: 26px;
  min-width: 48px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  pointer-events: auto;
}
.cookie-consent-toggle::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  pointer-events: none;
}
.cookie-consent-toggle:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.cookie-consent-toggle:checked::before {
  transform: translateX(22px);
}
.cookie-consent-toggle:disabled {
  opacity: 0.9;
  cursor: default;
}
.cookie-consent-toggle:disabled:checked {
  background: var(--accent);
}
.cookie-consent-text a.cookie-consent-privacy-link {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-consent-text a.cookie-consent-privacy-link:hover {
  color: #fff;
}
.cookie-consent-actions { display: flex; justify-content: flex-end; }
.cookie-consent-ok {
  padding: 14px 32px;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.cookie-consent-ok:hover {
  background: #00b8e6;
}
.cookie-consent-ok:active { transform: scale(0.98); }

/* Mobile / iPhone: overlay has zero hit area; only the banner at bottom is tappable */
@media (max-width: 768px) {
  .cookie-consent-overlay {
    inset: auto;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    min-height: 0;
    background: transparent;
    padding: 0;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: visible;
  }
  .cookie-consent-overlay .cookie-consent-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: calc(100% - 24px);
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }
  .cookie-consent-ok { min-height: 52px; width: 100%; }
}
