@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&display=swap');

/* === GLOBAL === */
html { scroll-behavior: smooth; }

/* === COLOR OVERRIDES - teal/navy theme === */
.has-bg-color::before, .has-bg-color-cut::before { background: linear-gradient(135deg, #0d1464 0%, #006b5e 100%) !important; }
.button-primary { background-color: #00c896 !important; border-color: transparent !important; }
.button-primary:hover { background-color: #00b384 !important; }
.hero h1 { color: #00e5c8; }
a.text-color-primary, .text-color-primary { color: #00c896 !important; }

/* === NAV - fix wrapping + reduce padding === */
.header-nav ul:first-of-type { flex-wrap: nowrap !important; }
.header-nav a:not(.button) { padding: 0 18px !important; }
.header-nav a.button { margin-left: 18px !important; }
.lang-switcher { margin-right: 4px !important; }
@media (max-width: 900px) and (min-width: 641px) { .header-nav a:not(.button) { padding: 0 10px !important; font-size: 0.8rem; } .header-nav a.button { margin-left: 10px !important; } .lang-switcher { display: none !important; } }

/* === BRAND / TEXT LOGO === */
.brand-name {
  font-family: 'Staatliches', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
.brand-name:hover { color: rgba(255,255,255,0.8); text-decoration: none; }
.brand-name-footer { font-size: 0.95rem; color: rgba(255,255,255,0.65); }
.brand-name-footer:hover { color: #fff; }

/* === LANGUAGE SWITCHER === */
.lang-switcher {
  display: flex !important;
  align-items: center;
  gap: 2px;
  margin-right: 8px;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  padding: 2px 6px;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.6;
}
.lang-btn:hover { color: rgba(255,255,255,0.85); }
.lang-btn.is-active {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.lang-divider {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  line-height: 1;
}

/* === HERO - centered, no split === */
.hero-inner.center-content { text-align: center; }
.hero .container-sm { max-width: 700px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p { font-size: 1.1rem; line-height: 1.7; opacity: 0.85; }
.hero .button-group { justify-content: center; }

/* === SERVICE TABS - panel content without images === */
.service-panel { padding-top: 40px; }

.service-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  text-align: left;
  padding: 40px 48px;
  background: #f8f9fa;
  border-radius: 8px;
}

.service-panel-text h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.service-panel-text p {
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
  font-size: 0.95rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #374151;
}
.service-feature-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #00c896;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .service-panel-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }
}

/* === TECH TICKER === */
.tech-section .section-inner { padding-bottom: 24px; }

.ticker-wrap {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  white-space: nowrap;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ticker-item img { opacity: 0.8; flex-shrink: 0; filter: brightness(0) invert(1); }

/* === TECH GRID === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 20px 16px;
  padding-bottom: 24px;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 16px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.2s, color 0.2s;
}
.tech-item:hover {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.tech-item img { opacity: 0.75; transition: opacity 0.2s; filter: brightness(0) invert(1); }
.tech-item:hover img { opacity: 1; }

/* === TIMELINE DESC (process steps) === */
.timeline-item-desc {
  font-size: 0.88rem;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.65;
}

/* === COMPARISON - in-house vs Beyond Deployment === */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 768px) { .comparison-grid { grid-template-columns: 1fr; gap: 16px; } }
.comparison-col { border-radius: 12px; padding: 36px 32px; position: relative; }
@media (max-width: 480px) { .comparison-col { padding: 24px 20px; } }
.comparison-col--inhouse { background: #f8f9fa; border: 1px solid #e5e7eb; }
.comparison-col--bd { background: #0f1729; border: 2px solid #00c896; }
.comparison-col-recommended { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #00c896; color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.comparison-col-header { margin-bottom: 28px; }
.comparison-col-label { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; color: #111827; }
.comparison-col--bd .comparison-col-label { color: #fff; }
.comparison-col-tag { font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af; }
.comparison-col--bd .comparison-col-tag { color: rgba(255,255,255,0.4); }
.comparison-rows { margin-bottom: 20px; }
.comparison-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #e5e7eb; font-size: 0.875rem; }
.comparison-row:first-child { border-top: 1px solid #e5e7eb; }
.comparison-col--bd .comparison-row { border-bottom-color: rgba(255,255,255,0.08); }
.comparison-col--bd .comparison-row:first-child { border-top-color: rgba(255,255,255,0.08); }
.comparison-row-label { color: #6b7280; }
.comparison-col--bd .comparison-row-label { color: rgba(255,255,255,0.5); }
.comparison-row-value { font-weight: 600; color: #111827; }
.comparison-col--bd .comparison-row-value { color: rgba(255,255,255,0.9); }
.comparison-row-included { color: #00c896 !important; font-weight: 700; }
.comparison-col--bd .comparison-row-included { color: #00e5c8 !important; }
.comparison-row-zero { color: #10b981 !important; font-weight: 700; }
.comparison-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #e5e7eb; border-radius: 8px; margin-bottom: 28px; font-size: 0.88rem; font-weight: 600; color: #374151; }
.comparison-total--bd { background: rgba(0,200,150,0.12); color: rgba(255,255,255,0.65); }
.comparison-total-value { font-weight: 700; font-size: 0.95rem; color: #111827; }
.comparison-total--bd .comparison-total-value { color: #00e5c8; }
.comparison-checklist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.comparison-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; line-height: 1.5; color: #4b5563; }
.comparison-col--bd .comparison-check { color: rgba(255,255,255,0.7); }
.comparison-check::before { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 900; margin-top: 2px; }
.comparison-check--no::before { content: '\2715'; background: #fee2e2; color: #ef4444; }
.comparison-check--yes::before { content: '\2713'; background: rgba(0,200,150,0.15); color: #00e5c8; }
.comparison-note { font-size: 0.73rem; color: #9ca3af; margin: 0; line-height: 1.5; }

/* === CONTACT FORM (dark background) === */
.contact-form { max-width: 560px; margin: 0 auto; text-align: left; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
.contact-form-row .contact-form-group { margin-bottom: 16px; min-width: 0; }
@media (max-width: 540px) { .contact-form-row { grid-template-columns: 1fr; gap: 0; } .contact-form-row .contact-form-group { margin-bottom: 16px; } }
.contact-form-group { margin-bottom: 16px; }
.contact-input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: #fff; width: 100%; min-width: 0; box-sizing: border-box; }
.contact-input::placeholder { color: rgba(255,255,255,0.35); }
.contact-input:focus { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.35); outline: none; }
textarea.contact-input { resize: vertical; min-height: 110px; }
.contact-form-submit { text-align: center; margin-top: 8px; }
.contact-result { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: 0.88rem; text-align: center; display: none; }
.contact-result--success { display: block; background: rgba(16,185,129,0.15); color: #6ee7b7; }
.contact-result--error { display: block; background: rgba(239,68,68,0.15); color: #fca5a5; }

/* === CTA - centered === */
.cta-centered { text-align: center; max-width: 580px; margin: 0 auto; }
.cta-centered h2 { margin-bottom: 16px; }
.cta-centered p { margin-bottom: 32px; opacity: 0.85; }
