/* Modern landing page styles (no legacy Rails CSS/JS) */
:root {
  --bg: #0D1117;
  --panel: rgba(13, 17, 23, 0.6);
  --panel-border: rgba(163, 255, 51, 0.2);
  --panel-hover: rgba(13, 17, 23, 0.8);
  --accent: #A3FF33;
  --accent-2: #00CED1;
  --text: #E6EDF3;
  --muted: #8B949E;
  --card-radius: 28px;
  --glow: 0 0 60px -15px rgba(163, 255, 51, 0.35);
}

/* Annoying Labs Theme - High-tech dark mode */
.annoying-labs-theme {
  --bg: #0D1117;
  --panel: rgba(13, 17, 23, 0.7);
  --panel-border: rgba(163, 255, 51, 0.25);
  --panel-hover: rgba(13, 17, 23, 0.9);
  --accent: #A3FF33;
  --accent-2: #00CED1;
  --text: #E6EDF3;
  --muted: #8B949E;
  --glow: 0 0 60px -15px rgba(163, 255, 51, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Typography for Annoying Labs (not BabelFlow, not Personal) */
:not(.babelflow-theme):not(.personal-theme) h1,
:not(.babelflow-theme):not(.personal-theme) h2,
:not(.babelflow-theme):not(.personal-theme) h3,
:not(.babelflow-theme):not(.personal-theme) h4,
:not(.babelflow-theme):not(.personal-theme) h5,
:not(.babelflow-theme):not(.personal-theme) h6,
:not(.babelflow-theme):not(.personal-theme) .hero__title,
:not(.babelflow-theme):not(.personal-theme) .brand-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body, p, span, a, button {
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility: Focus indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #A3FF33;
  outline-offset: 2px;
  border-radius: 2px;
}

/* BabelFlow Theme - Focus indicators */
.babelflow-theme a:focus-visible,
.babelflow-theme button:focus-visible,
.babelflow-theme input:focus-visible,
.babelflow-theme select:focus-visible,
.babelflow-theme textarea:focus-visible {
  outline: 2px solid #00d4ff !important;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Ensure interactive elements are keyboard accessible */
a:focus,
button:focus {
  outline: 2px solid #A3FF33;
  outline-offset: 2px;
}

.babelflow-theme a:focus,
.babelflow-theme button:focus {
  outline: 2px solid #00d4ff !important;
  outline-offset: 2px;
}

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

.hero-gradient {
  background: #0D1117;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(163, 255, 51, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 206, 209, 0.08) 0%, transparent 50%),
    linear-gradient(0deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.98) 100%);
  background-attachment: fixed;
  position: relative;
}

/* Grid background pattern */
.hero-gradient::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(163, 255, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 255, 51, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Glowing orbs */
.hero-gradient::after {
  content: '';
  position: fixed;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(163, 255, 51, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
}

/* BabelFlow Theme - Eri värimaailma babelflow.ai domainille */
.babelflow-theme {
  --bg: #0a0e1a;
  --panel: rgba(20, 30, 50, 0.7);
  --panel-border: rgba(146, 92, 255, 0.15);
  --panel-hover: rgba(30, 25, 60, 0.7);
  --accent: #00d4ff;
  --accent-2: #925cff;
  --text: #f8fafc;
  --muted: #94a3b8;
  --glow: 0 0 60px -15px rgba(0, 212, 255, 0.4);
}

.babelflow-theme.hero-gradient {
  background:
    linear-gradient(135deg, #0a0e1a 0%, #1a0f2e 50%, #2d1b4e 100%),
    radial-gradient(circle at 15% 15%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 85% 10%, rgba(146, 92, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(146, 92, 255, 0.2) 0%, transparent 70%);
  background-attachment: fixed;
}

/* BabelFlow Theme - Napit */
.babelflow-theme .btn-primary {
  background: linear-gradient(135deg, #00d4ff, #925cff) !important;
  box-shadow: 0 20px 60px -25px rgba(0, 212, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  color: white !important;
}

.babelflow-theme .btn-primary:hover {
  box-shadow: 0 25px 70px -20px rgba(0, 212, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
  transform: translateY(-2px) !important;
  filter: brightness(1.07) !important;
}

.babelflow-theme .hero--center.mobile-vertical-center .btn-primary {
  background: linear-gradient(135deg, #00d4ff, #925cff) !important;
  box-shadow: 0 20px 60px -25px rgba(0, 212, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

.babelflow-theme .hero--center.mobile-vertical-center .btn-primary:hover {
  box-shadow: 0 25px 70px -20px rgba(0, 212, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
  transform: translateY(-3px) !important;
  filter: brightness(1.1) !important;
}

.babelflow-theme .hero--center.mobile-vertical-center .btn-pill {
  box-shadow: 0 20px 60px -25px rgba(0, 212, 255, 0.15), 0 0 0 1px rgba(146, 92, 255, 0.2) inset;
}

.babelflow-theme .hero--center.mobile-vertical-center .btn-pill:hover {
  box-shadow: 0 25px 70px -20px rgba(0, 212, 255, 0.25), 0 0 0 1px rgba(146, 92, 255, 0.3) inset;
}

/* BabelFlow Theme - Navigaation logo väri */
.babelflow-theme .text-annoying-blue {
  color: #925cff;
}

.babelflow-theme .group:hover .text-annoying-blue {
  color: #00d4ff;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.babelflow-theme .logo-animate {
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.3));
}

/* BabelFlow Theme - Logo styles */
.babelflow-logo-nav {
  display: flex;
  align-items: center;
}

.babelflow-logo-footer {
  display: flex;
  align-items: center;
  height: 64px !important;
  width: auto !important;
}

/* BabelFlow Theme - Slogan navigointipainikkeet */
.babelflow-theme .slogan-nav-btn {
  color: #925cff;
}

.babelflow-theme .slogan-nav-btn:hover {
  color: #00d4ff;
  opacity: 1;
}

/* BabelFlow Theme - Äänestyspainikkeet */
.babelflow-theme .slogan-vote-btn {
  color: #925cff;
}

.babelflow-theme .slogan-vote-btn:hover {
  color: #00d4ff;
}

/* BabelFlow Theme - Cookie banner */
.babelflow-theme #cookies-eu-banner #cookies-eu-accept {
  background: linear-gradient(135deg, #00d4ff, #925cff);
}

/* Business-sivu: erillinen logo - pyörivä pylpyrä sinisellä, Labs sinisellä */
.business-page .nav__brand {
  --accent: #38bdf8;
}
.business-page .business-logo-spinner {
  color: #38bdf8;
  display: block;
  transform-origin: center;
  animation: business-logo-spin 1.5s linear infinite;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.5));
}
.business-page .group:hover .business-logo-spinner {
  color: #7dd3fc;
  filter: drop-shadow(0 0 25px rgba(125, 211, 252, 0.6));
}
@keyframes business-logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Business LABS - sininen, ohittaa kaikki muut säännöt */
.business-page .nav__brand .brand-title .business-logo-labs,
.business-page .business-logo-labs {
  color: #38bdf8 !important;
  font-size: 0.55em;
  display: inline-block;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5) !important;
}
.business-page .nav__brand .group:hover .brand-title .business-logo-labs,
.business-page .group:hover .business-logo-labs {
  color: #7dd3fc !important;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.8) !important;
}

.page {
  min-height: 100vh;
  position: relative;
  padding-bottom: 4rem;
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
}

.nav__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.nav__brand .brand-title {
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-weight: bold !important;
  color: #E6EDF3 !important;
  font-size: 1.5rem !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  line-height: 1;
  text-shadow: 0 0 20px rgba(163, 255, 51, 0.3);
}

.nav__brand .group:hover .brand-title {
  color: #E6EDF3 !important;
  text-shadow: 0 0 25px rgba(163, 255, 51, 0.5), 0 0 40px rgba(163, 255, 51, 0.3);
}

/* Annoying Labs brand title - LABS stays green */
:not(.babelflow-theme) .nav__brand .brand-title {
  color: #E6EDF3 !important;
  text-shadow: 0 0 20px rgba(163, 255, 51, 0.3);
}

:not(.babelflow-theme) .nav__brand .brand-title span {
  color: #A3FF33 !important;
  font-size: 0.55em;
  display: inline-block;
  text-shadow: 0 0 20px rgba(163, 255, 51, 0.5), 0 0 30px rgba(163, 255, 51, 0.3);
}

:not(.babelflow-theme) .nav__brand .group:hover .brand-title {
  text-shadow: 0 0 25px rgba(163, 255, 51, 0.5), 0 0 40px rgba(163, 255, 51, 0.3);
}

:not(.babelflow-theme) .nav__brand .group:hover .brand-title span {
  color: #A3FF33 !important;
  text-shadow: 0 0 30px rgba(163, 255, 51, 0.8), 0 0 50px rgba(163, 255, 51, 0.4);
}

.nav__brand .group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav__brand .group:hover {
  color: #38bdf8;
}

.text-annoying-blue {
  color: var(--accent);
}

.group:hover .text-annoying-blue {
  color: #A3FF33;
  text-shadow: 0 0 15px rgba(163, 255, 51, 0.5);
}

/* Annoying Labs Theme - Logo glow */
.annoying-labs-theme .logo-animate,
:not(.babelflow-theme) .logo-animate {
  filter: drop-shadow(0 0 18px rgba(163, 255, 51, 0.3));
}

:not(.babelflow-theme) .group:hover .logo-animate {
  filter: drop-shadow(0 0 25px rgba(163, 255, 51, 0.5));
}

.logo-animate {
  display: block;
  transform-origin: center;
  transform: rotate(0deg);
  animation: logo-spin-pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(14, 165, 233, 0.3));
  transition: color 0.2s ease, filter 0.2s ease, transform 0.25s ease;
  will-change: transform, filter;
}

.group:hover .logo-animate {
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.5));
  animation-duration: 2.4s;
  transform: scale(1.12) rotate(182deg);
}

@keyframes logo-spin-pulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  12% {
    transform: scale(1.05) rotate(360deg);
  }
  20% {
    transform: scale(1.02) rotate(220deg);
  }
  50% {
    transform: scale(1.15) rotate(174deg);
  }
  80% {
    transform: scale(1.12) rotate(186deg);
  }
  100% {
    transform: scale(1) rotate(180deg);
  }
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.h-14 {
  height: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.text-3xl {
  font-size: 2rem;
  line-height: 1.1;
}

.text-4xl {
  font-size: 2.4rem;
  line-height: 1.1;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1.1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1.1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1.1;
}

.font-extrabold {
  font-weight: 800;
}

.tracking-tight {
  letter-spacing: -0.03em;
}

.transition-colors {
  transition: color 0.2s ease;
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav__link--bold {
  font-weight: 700 !important;
  color: #8B949E !important;
}

.nav__link--bold:hover {
  color: #a8b3bf !important;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  transition: color 0.2s ease;
}

.nav__mobile-toggle:hover {
  color: #ffffff;
}

@media (max-width: 1100px) {
  .nav__links {
    gap: 0.9rem;
  }
}


.nav__link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav__link-with-icon:hover {
  color: #ffffff;
}

.nav__link-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.footer {
  margin-top: 4rem;
  padding: 2rem 3rem 3rem;
  border-top: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Annoying Labs Footer – ilman taustaväriä */
:not(.babelflow-theme) .footer {
  border-top-color: rgba(163, 255, 51, 0.2);
}

/* BabelFlow – footer taustavärillä */
.babelflow-theme .footer {
  background: rgba(13, 17, 23, 0.5);
  backdrop-filter: blur(10px);
}

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

.footer__link {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--text);
}

/* Annoying Labs Footer Links */
:not(.babelflow-theme) .footer__link:hover {
  color: #A3FF33;
  text-shadow: 0 0 10px rgba(163, 255, 51, 0.5);
}

/* BabelFlow Footer Links */
.babelflow-theme .footer__link:hover {
  color: #00d4ff !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

.footer__meta {
  color: var(--muted);
  font-weight: 400;
}

.footer__eu {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, .9);
  padding: 0.2rem .2rem;
  border-radius: 8px;
}

.footer__eu-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 10px 30px -22px rgba(0, 0, 0, 0.8));
}

/* Annoying Labs Footer EU Logo */
:not(.babelflow-theme) .footer__eu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(163, 255, 51, 0.3);
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

:not(.babelflow-theme) .footer__eu:hover {
  border-color: rgba(163, 255, 51, 0.5);
  box-shadow: 0 0 15px rgba(163, 255, 51, 0.3);
  background: rgba(255, 255, 255, 1);
}

:not(.babelflow-theme) .footer__eu-logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  opacity: 1;
}

.footer__locale {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer__locale-label {
  font-weight: 700;
  color: var(--muted);
}

.footer__locale-links {
  display: flex;
  gap: 0.5rem;
}

.footer__locale-link {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.footer__locale-link:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer__locale-link.is-active {
  color: var(--text);
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.15);
}

/* BabelFlow Theme - Footer Language Links */
.babelflow-theme .footer__locale-link {
  border-color: rgba(0, 212, 255, 0.3) !important;
  background: rgba(20, 30, 50, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  color: #925cff !important;
}

.babelflow-theme .footer__locale-link:hover {
  color: #00d4ff !important;
  border-color: rgba(0, 212, 255, 0.5) !important;
  background: rgba(0, 212, 255, 0.1) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

.babelflow-theme .footer__locale-link.is-active {
  color: #00d4ff !important;
  border-color: rgba(0, 212, 255, 0.6) !important;
  background: rgba(0, 212, 255, 0.15) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4) !important;
}

/* Annoying Labs Footer Language Links */
:not(.babelflow-theme) .footer__locale-link {
  border-color: rgba(163, 255, 51, 0.2);
  background: rgba(13, 17, 23, 0.5);
  backdrop-filter: blur(10px);
  color: var(--muted);
}

:not(.babelflow-theme) .footer__locale-link:hover {
  color: #A3FF33;
  border-color: rgba(163, 255, 51, 0.4);
  background: rgba(163, 255, 51, 0.1);
  box-shadow: 0 0 15px rgba(163, 255, 51, 0.2);
  transform: translateY(-2px);
}

:not(.babelflow-theme) .footer__locale-link.is-active {
  color: #A3FF33;
  border-color: rgba(163, 255, 51, 0.5);
  background: rgba(163, 255, 51, 0.15);
  box-shadow: 0 0 20px rgba(163, 255, 51, 0.3);
  text-shadow: 0 0 10px rgba(163, 255, 51, 0.5);
}

.badge {
  background: white;
  color: black;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: white;
  color: black;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--glow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-pill--small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 12px 32px -20px rgba(14, 165, 233, 0.35);
}

.btn-pill:hover {
  transform: translateY(-2px);
  background: #e5e7eb;
}

/* Spesifiset tyylit vain etusivun hero-osiolle */
.hero--center.mobile-vertical-center .btn-pill {
  background: rgba(255, 255, 255, 0.95);
  color: #020617;
  padding: 1.1rem 2.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 60px -25px rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero--center.mobile-vertical-center .btn-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero--center.mobile-vertical-center .btn-pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 25px 70px -20px rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.hero--center.mobile-vertical-center .btn-pill:hover::before {
  opacity: 1;
}

.hero--center.mobile-vertical-center .btn-pill:active {
  transform: translateY(-1px);
}

.hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: center;
  position: relative;
  margin-bottom: 4rem;
}

/* BabelFlow Theme - Full page background video */
.babelflow-page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.babelflow-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.babelflow-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Annoying Labs Background Video */
.annoying-labs-page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

.annoying-labs-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.annoying-labs-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.7);
  z-index: 1;
  pointer-events: none;
}

.hero--center {
  text-align: center;
  padding: 3rem;
  margin-bottom: 1.5rem;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  width: 100%;
}

.hero__intro {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero--center .hero__lead {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero__actions .btn-pill {
  padding: 1rem 2.5rem;
}

.hero__actions > * {
  flex: 0 1 220px;
  min-width: 180px;
}

/* Spesifiset tyylit vain etusivun hero-osiolle */
.hero--center.mobile-vertical-center .hero__actions {
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero--center.mobile-vertical-center .hero__actions > * {
  flex: 0 1 auto;
  min-width: 200px;
  max-width: 280px;
}

/* Hero title - default for Annoying Labs (not BabelFlow, not Personal) */
:not(.babelflow-theme):not(.personal-theme) .hero__title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 1.5rem 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Personal page - no uppercase */
main:has(.privacy-promise-panel) .hero__title,
body:has(.privacy-promise-panel) .hero__title {
  text-transform: none !important;
}

/* Hero title - general styles */
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Spesifiset tyylit vain index-sivun hero-osiolle */
.hero--center.mobile-vertical-center .hero__title {
  line-height: 1.2;
  text-align: center;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  will-change: opacity, transform;
}

.hero__title.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.hero__title.fade-in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__accent {
  color: var(--accent);
}

/* BabelFlow Theme - Typography */
.babelflow-theme h1,
.babelflow-theme .hero__title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  line-height: 1.2 !important;
  max-width: none !important;
}

/* BabelFlow hero – keskitys ja leveys Personal-teeman mukaan */
.babelflow-theme .hero__intro {
  max-width: 1200px !important;
}

.babelflow-theme .hero {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 3rem 0 3rem !important;
  grid-template-columns: 2fr 1fr !important;
  gap: 4rem !important;
}

/* Sama leveys kuin Personal-teeman hero-sisällölle (1200px - padding - gap) / 2 ≈ 520px */
.babelflow-theme .hero > div:first-child {
  max-width: 540px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.babelflow-theme .hero__title {
  max-width: none !important;
  width: 100% !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.babelflow-theme h2 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme h3 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme h4 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1rem, 1.75vw, 1.25rem) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme h5,
.babelflow-theme h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme .panel h1 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme .panel h2 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme .panel h3 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1rem, 1.75vw, 1.25rem) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.babelflow-theme .panel h4,
.babelflow-theme .panel h5,
.babelflow-theme .panel h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* BabelFlow Theme - Accent värit */
.babelflow-theme .hero__accent {
  background: linear-gradient(135deg, #ffffff, #00d4ff, #925cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.slogan-nav-btn {
  background: none;
  border: none;
  color: #64748b;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan-nav-btn:hover {
  opacity: 1;
  color: #38bdf8;
}

.slogan-nav-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .slogan-nav-btn {
    font-size: 1.25rem;
    padding: 0.375rem;
  }
}

.hero__lead {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 30rem;
  margin-bottom: 2rem;
}

/* Hero lead - use Rajdhani font for Annoying Labs theme (same as hero title, not Personal) */
:not(.babelflow-theme):not(.personal-theme) .hero__lead {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* BabelFlow theme - hero lead normal weight and size */
.babelflow-theme .hero__lead {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: normal !important;
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Etusivun hero lead – pienempi vain index-sivulla (ylittää teemakohtaiset) */
.index-hero .hero__lead {
  font-size: 1.15rem !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 20px 60px -25px rgba(14, 165, 233, 0.45);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

/* Spesifiset tyylit vain etusivun hero-osiolle */
.hero--center.mobile-vertical-center .btn-primary {
  padding: 1.1rem 2.75rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #A3FF33, #00CED1);
  box-shadow: 0 20px 60px -25px rgba(163, 255, 51, 0.45), 0 0 0 1px rgba(163, 255, 51, 0.2) inset;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero--center.mobile-vertical-center .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero--center.mobile-vertical-center .btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 25px 70px -20px rgba(163, 255, 51, 0.6), 0 0 30px rgba(163, 255, 51, 0.4), 0 0 0 1px rgba(163, 255, 51, 0.3) inset;
}

.hero--center.mobile-vertical-center .btn-primary:hover::before {
  opacity: 1;
}

.hero--center.mobile-vertical-center .btn-primary:active {
  transform: translateY(-1px);
}

/* Annoying Labs Theme - Glassmorphism panels */
:not(.babelflow-theme) .panel,
.annoying-labs-theme .panel {
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: var(--card-radius);
}

/* Annoying Labs Theme – solid buttons (ei personal/babelflow) */
body:not(.personal-theme):not(.babelflow-theme) .btn-primary {
  background: #A3FF33 !important;
  color: #0D1117 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border: 1px solid rgba(163, 255, 51, 0.4);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

body:not(.personal-theme):not(.babelflow-theme) .btn-primary:hover {
  background: #b8ff5c !important;
  box-shadow: 0 4px 20px rgba(163, 255, 51, 0.25) !important;
  filter: none !important;
}

body:not(.personal-theme):not(.babelflow-theme) .hero--center.mobile-vertical-center .btn-primary::before {
  display: none;
}

body:not(.personal-theme):not(.babelflow-theme) .hero--center.mobile-vertical-center .btn-pill {
  text-shadow: none;
}

.phone {
  position: relative;
  width: min(360px, 92vw);
  height: min(720px, 90vh);
  background: linear-gradient(180deg, #05070d, #02030a);
  border-radius: 48px;
  border: 14px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 80px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.phone--wide {
  width: min(460px, 96vw);
  height: min(820px, 92vh);
}

.phone__glow {
  position: absolute;
  inset: -120px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.2), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.phone__body {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #020617;
}

.phone__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.bubble {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.bubble__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
}

.bubble__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

.bubble__text {
  margin: 0.4rem 0 0 0;
  color: #d1d5db;
  font-style: italic;
  line-height: 1.5;
}

.actions {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
}

.action-btn {
  flex: 1;
  height: 56px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
}

.action--accept {
  background: #10b981;
  color: black;
}

.action--reject {
  background: #ef4444;
  color: white;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 0 3rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.beta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem 3rem;
}

.beta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 1px solid var(--panel-border);
}

.beta__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.beta__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.beta__card-title {
  margin: 0;
  font-size: 1.6rem;
}

.beta__card-subtitle {
  margin: 0;
  color: var(--muted);
}

.beta__card-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.beta__requirements {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.beta__requirement {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Annoying Labs theme requirements */
:not(.babelflow-theme) .beta__requirement {
  color: #E6EDF3;
}

.beta__requirement-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(163, 255, 51, 0.4);
  background: rgba(163, 255, 51, 0.1);
  color: #A3FF33;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(163, 255, 51, 0.2);
}

/* Annoying Labs theme requirement icons */
:not(.babelflow-theme) .beta__requirement-icon {
  border-color: rgba(163, 255, 51, 0.5);
  background: rgba(163, 255, 51, 0.15);
  color: #A3FF33;
  box-shadow: 0 0 15px rgba(163, 255, 51, 0.3);
}

.beta__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
  position: relative;
}

.beta__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.beta__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.beta__label {
  font-weight: 800;
  font-size: 1rem;
}

.beta__input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(2, 6, 23, 0.6);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta__input:focus {
  outline: 2px solid #A3FF33;
  outline-offset: 2px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.babelflow-theme .beta__input:focus {
  outline: 2px solid #00d4ff !important;
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25) !important;
}

.beta__input::placeholder {
  color: var(--muted);
}

.beta__hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.beta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.beta__submit {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-shadow: none;
}

.beta__submit:hover {
  box-shadow: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  color: var(--text);
  font-weight: 800;
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: #94a3b8;
  color: #ffffff;
  transform: translateY(-1px);
}

.beta__ghost {
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.beta__back {
  margin-top: 0.75rem;
  display: flex;
  width: 100%;
}

.beta__back .btn-ghost {
  width: 100%;
}

.beta__back--page {
  margin: 2rem auto 0;
  max-width: 1100px;
  padding: 0 3rem 3rem;
}

.beta__back--page .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: #cbd5e1;
  color: #0f172a;
  font-weight: 900;
  text-shadow: none;
}

.beta__back--page .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #e2e8f0;
  color: #0b1221;
}

.beta__ghost-link {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--panel-border);
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.beta__ghost-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.beta__flash {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}

.beta__flash--success {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

.beta__flash--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.beta__flash-icon {
  font-size: 1.1rem;
}

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

.beta__privacy--inline {
  margin-top: 0.25rem;
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    margin: 0;
    padding: 0 0 2rem 0;
  }

  .nav {
    padding: 1.25rem 1.25rem;
    position: relative;
  }

  .nav__brand {
    gap: 0.5rem;
  }

  .nav__brand .logo-animate {
    width: 3rem;
    height: 3rem;
  }

  .nav__mobile-toggle {
    display: flex !important;
    margin-left: auto;
  }

  .nav__brand .brand-title,
  .brand-title {
    font-size: 1.3rem !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: bold !important;
    line-height: 1;
  }

  .nav__links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-top: 1px solid #1e293b;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, gap 0.3s ease-out;
  }

  :not(.babelflow-theme) .nav__links {
    background: #0D1117;
    border-top-color: rgba(163, 255, 51, 0.2);
  }

  .nav__links.mobile-open {
    display: flex !important;
    max-height: 1000px !important;
    overflow: visible !important;
    padding: 1rem !important;
    gap: 1rem !important;
  }
  
  .nav__links.mobile-open * {
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .nav__links.mobile-open .nav__link-with-icon {
    width: 100%;
    justify-content: flex-start;
    display: flex !important;
  }
  
  .nav__links.mobile-open a:not(.nav__link-with-icon) {
    width: 100%;
    padding: 0.75rem 0;
    display: block !important;
  }
  
  .nav__links.mobile-open a {
    color: #cbd5e1 !important;
  }
  
  .nav__links.mobile-open .btn-pill:not(.mobile-hide-beta) {
    display: inline-block !important;
  }
  
  .nav__links .mobile-hide-beta,
  .nav__links.mobile-open .mobile-hide-beta,
  .mobile-hide-beta,
  .btn-pill.mobile-hide-beta,
  .btn-pill--small.mobile-hide-beta {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero {
    padding: 0 1.25rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }


  /* Spesifiset tyylit vain etusivun hero-osiolle mobiilissa */
  .hero--center.mobile-vertical-center .hero__actions {
    gap: 1rem;
    flex-direction: column;
  }

  .hero--center.mobile-vertical-center .hero__actions > * {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  .grid {
    padding: 0 1.25rem 2rem;
    gap: 1.25rem;
  }

  .beta {
    padding: 0 1.25rem 2rem;
  }

  .beta__grid {
    grid-template-columns: 1fr;
  }

  .beta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-ghost,
  .beta__submit {
    width: 100%;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  /* Spesifiset tyylit vain index-sivun hero-osiolle mobiilissa */
  .hero--center.mobile-vertical-center .hero__title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 2.5em;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
  }

  .phone {
    width: 100%;
    height: min(640px, 85vh);
    max-width: 420px;
  }

  .panel {
    padding: 1.5rem;
    min-height: auto;
  }

  .panel--wide {
    grid-column: 1 / -1;
  }

  /* BabelFlow theme - mobile responsive (sama kuin Personal/base) */
  .babelflow-theme .hero {
    grid-template-columns: 1fr !important;
    padding: 0 1.25rem 0 1.25rem !important;
    gap: 2rem !important;
  }

  .babelflow-theme .hero .phone,
  .personal-theme .hero .phone {
    justify-self: center;
  }

  .babelflow-theme .hero > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100% !important;
  }

  .babelflow-theme .hero__title,
  .babelflow-theme .hero__lead,
  .babelflow-theme .business-hero-badges,
  .babelflow-theme .business-babelflow-lead {
    text-align: center;
  }

  .babelflow-theme .business-hero-badges {
    justify-content: center;
  }

  .babelflow-theme .hero__title {
    width: 100% !important;
  }

  .babelflow-theme .hero__lead {
    max-width: 100%;
    width: 100%;
  }

  .babelflow-theme .business-hero-actions {
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .personal-theme .hero > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .personal-theme .hero__title,
  .personal-theme .hero__lead {
    text-align: center;
  }

  .personal-theme .hero__lead {
    max-width: 100%;
  }

  .babelflow-theme .hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    letter-spacing: 0.01em !important;
  }

  .babelflow-theme .hero__lead {
    font-size: 1rem !important;
  }

}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: border 0.25s ease, background 0.25s ease, transform 0.25s ease;
  min-height: 220px;
  box-shadow: 0 20px 60px -36px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 0;
}

.panel:hover {
  border-color: var(--panel-hover);
  background: var(--panel-hover);
  transform: translateY(-4px);
}

.panel h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.panel--wide {
  grid-column: span 2;
}

.panel__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
}

.eu-badge {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--panel-border);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
}

.eu-flag {
  width: 96px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #003399, #012271);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
  padding: 8px;
}

.eu-dot {
  width: 8px;
  height: 8px;
  background: #ffcc00;
  border-radius: 999px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

.guide-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem 3rem;
  display: grid;
  gap: 1.5rem;
}

.guide__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide__section-header p {
  color: var(--muted);
  margin: 0.25rem 0 0 0;
}

.guide__examples {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.guide__examples--stacked {
  grid-template-columns: 1fr;
}

.guide__example {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 1rem;
  min-height: 0;
}

.guide__label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin: 0 0 0.4rem 0;
}

.guide__code {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 0.75rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
  white-space: pre-wrap;
}

.guide__effect {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.guide__list {
  margin: 0 0 0.5rem 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.guide__warning {
  margin: 0.4rem 0 0 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  line-height: 1.5;
}

.guide__tips {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.guide__tip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 1rem;
}

.guide__tip strong {
  display: block;
  margin: 0 0 0.4rem 0;
}

/* Cookie consent banner */
#cookies-eu-banner {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(960px, calc(100% - 2rem));
  padding: 1.25rem 1.5rem;
  background: rgba(13, 17, 23, 0.95);
  color: #E6EDF3;
  border: 1px solid rgba(163, 255, 51, 0.25);
  border-radius: 28px;
  box-shadow: 0 20px 60px -25px rgba(163, 255, 51, 0.35), 0 0 0 1px rgba(163, 255, 51, 0.1) inset;
  backdrop-filter: blur(10px);
}

:not(.babelflow-theme) #cookies-eu-banner {
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid rgba(163, 255, 51, 0.25);
  box-shadow: 0 20px 60px -25px rgba(163, 255, 51, 0.35), 0 0 0 1px rgba(163, 255, 51, 0.1) inset;
}

#cookies-eu-banner h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  color: #E6EDF3;
}

#cookies-eu-banner p {
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
  color: #8B949E;
}

/* Annoying Labs Hero Styles */
.annoying-labs-hero {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.annoying-labs-hero::before {
  content: 'AI';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(15rem, 40vw, 30rem);
  font-weight: 900;
  color: rgba(163, 255, 51, 0.02);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.annoying-labs-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #E6EDF3;
  text-shadow: 0 0 30px rgba(163, 255, 51, 0.3);
  position: relative;
  z-index: 1;
}

.annoying-labs-title span[style*="color: #A3FF33"] {
  font-size: 0.55em;
  display: inline-block;
}

.annoying-labs-tagline {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8B949E;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Our Solutions Section */
.lab-projects {
  padding: 2rem 2rem 6rem 2rem;
  position: relative;
  z-index: 1;
}

/* Report Annoyance Section */
.report-annoyance-section {
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.report-annoyance-section .container {
  max-width: 600px;
  margin: 0 auto;
}

.report-annoyance-intro {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem 0;
}


/* Contact form page - unified typography with news/investors */
.report-annoyance-page .hero__title {
  font-family: "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

.report-annoyance-page .hero__lead {
  font-family: "Inter", sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  color: var(--muted) !important;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.report-annoyance-page .beta__eyebrow {
  font-family: "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
}

.report-annoyance-page .beta__card-title {
  font-family: "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.25rem, 3vw, 1.6rem) !important;
}

/* Contact form page - back button visible on dark background */
.report-annoyance-page .beta__back--page .btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(163, 255, 51, 0.5);
  color: #ffffff;
}

.report-annoyance-page .beta__back--page .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--accent);
  color: #ffffff;
}


.lab-projects .container {
  max-width: 1200px;
  margin: 0 auto;
}

.lab-projects .section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.section-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4rem;
  color: #E6EDF3;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #A3FF33, transparent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  padding: 2.5rem;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: var(--card-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(163, 255, 51, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 20px 60px -20px rgba(163, 255, 51, 0.3), 0 0 30px rgba(163, 255, 51, 0.2);
}

.project-card:hover::before {
  opacity: 1;
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 10px currentColor);
  transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
  transform: scale(1.1) rotate(5deg);
}

.project-target-icons {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 10;
}

.project-target-icons i {
  font-size: 1.125rem;
  color: var(--muted);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.project-card:hover .project-target-icons i {
  opacity: 1;
  color: var(--accent);
  transform: scale(1.1);
}

.project-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #E6EDF3;
}

.project-progress {
  margin-bottom: 1.5rem;
}

.project-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #8B949E;
  font-weight: 500;
}

.project-progress-value {
  color: var(--accent);
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
}

.project-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(163, 255, 51, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.project-progress-fill {
  height: 100%;
  width: var(--progress-width, 0%);
  border-radius: 3px;
  transition: width 0.6s ease-out;
  box-shadow: 0 0 10px rgba(163, 255, 51, 0.4);
  position: relative;
}

.project-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.project-card:hover .project-progress-fill {
  box-shadow: 0 0 15px rgba(163, 255, 51, 0.6);
}

/* Project card link - removes inline styles */
.project-card-link {
  text-decoration: none;
  display: block;
}

.project-icon--ai-dialer {
  color: #A3FF33;
}

.project-icon--call-center {
  color: #00CED1;
}

.project-progress-fill--ai-dialer {
  background: linear-gradient(90deg, #A3FF33, #00CED1);
}

.project-progress-fill--call-center {
  background: linear-gradient(90deg, #00CED1, #925cff);
}

.annoying-labs-title .annoying-labs-accent {
  color: #A3FF33;
  font-size: 0.55em;
  display: inline-block;
}

.hero__actions--hidden {
  display: none;
}

.project-description {
  color: #8B949E;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #A3FF33;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: #00CED1;
  gap: 0.75rem;
}

.project-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.project-link:hover::after {
  transform: translateX(5px);
}

/* Personal page - same-size panels */
.personal-panels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
}

.personal-panels .personal-panel {
  width: 100%;
  max-width: 800px;
  margin: 0;
}

.personal-panel__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.personal-panel__body {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}

.personal-call-btn {
  background-color: #10b981;
  border-color: #10b981;
  margin-top: 0.5rem;
  text-align: center;
}

.personal-call-instruction {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: rgb(171, 176, 183);
}

/* Privacy Promise Panel - Annoying Labs style */
.privacy-promise-panel {
  padding: 2rem;
}

.privacy-promise-eyebrow {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #A3FF33;
  font-weight: 700;
}

.privacy-promise-heading {
  margin: 0.35rem 0 0.5rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #E6EDF3;
}

.privacy-promise-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #8B949E;
}

/* Responsive adjustments for Annoying Labs */
@media (max-width: 768px) {
  .annoying-labs-hero {
    padding: 4rem 1rem;
  }
  
  .annoying-labs-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }
  
  .annoying-labs-tagline {
    padding: 0 2rem;
  }
  
  .lab-projects {
    padding: 4rem 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    padding: 2rem;
  }
}

#cookies-eu-banner .cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Cookie banner buttons use btn-primary, btn-ghost – site button styles */
#cookies-eu-banner .btn-primary,
#cookies-eu-banner .btn-ghost {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
}

:not(.babelflow-theme) #cookies-eu-banner .btn-primary {
  background: #A3FF33 !important;
  color: #0D1117 !important;
  border: 1px solid rgba(163, 255, 51, 0.4);
}

:not(.babelflow-theme) #cookies-eu-banner .btn-primary:hover {
  background: #b8ff5c !important;
  box-shadow: 0 4px 20px rgba(163, 255, 51, 0.25) !important;
}

:not(.babelflow-theme) #cookies-eu-banner .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(163, 255, 51, 0.3);
  color: #cbd5e1;
}

:not(.babelflow-theme) #cookies-eu-banner .btn-ghost:hover {
  border-color: rgba(163, 255, 51, 0.5);
  color: #ffffff;
  background: rgba(163, 255, 51, 0.1);
}

/* Home page responsive tweaks */
@media (max-width: 768px) {
  .mobile-nav-spacer {
    height: 2.5rem;
  }

  .hero--center.mobile-vertical-center {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.25rem 2.5rem;
    box-sizing: border-box;
    gap: 1.5rem;
    text-align: center;
  }

  .hero__intro {
    /* Korkeus määräytyy kontentin mukaan */
  }
}

@media (max-width: 720px) {
  .guide-grid {
    padding: 0 1.5rem 2.5rem;
  }
}

/* Business page - inline styles moved to CSS */
.business-hero-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.business-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.business-babelflow-lead {
  font-size: 1.1rem;
  line-height: 1.6;
}

.business-babelflow-lead + .business-babelflow-lead {
  margin-top: 1rem;
}

.phone--babelflow-demo {
  border: 2px solid rgba(146, 92, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), 0 0 60px rgba(146, 92, 255, 0.1);
  background: rgba(20, 30, 50, 0.5);
  overflow: hidden;
}

.phone--babelflow-demo .phone__glow {
  display: none;
}

.phone--babelflow-demo .phone__body {
  background: transparent;
  padding: 0;
}

.phone--babelflow-demo .phone__iframe {
  border-radius: 14px;
}

.babelflow-inquiry-section {
  padding: 0 3rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 2rem;
}

.babelflow-inquiry-section--hidden {
  display: none;
}

.babelflow-inquiry-card {
  max-width: 800px;
  margin: 0 auto;
}

.business-content-section {
  padding: 0 1.25rem;
  margin-top: 3rem;
}

.business-content-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.business-expander-section {
  margin-bottom: 2.5rem;
}

.business-expander-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.business-expander-wrap--compact {
  gap: 1.5rem;
  width: 100%;
}

.expander-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.expander-toggle__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #38bdf8;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

.expander-toggle__icon {
  font-size: 1.5rem;
  color: #38bdf8;
  transition: transform 0.3s ease;
}

.expander-content {
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.expander-content--compact {
  gap: 1.5rem;
}

.expander-content--spaced {
  margin-top: 1rem;
}

.expander-content__title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.metrics-table,
.comparison-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.metrics-table thead tr,
.comparison-table thead tr {
  background: #0b1224;
  border-bottom: 2px solid #1d4ed8;
}

.metrics-table th,
.comparison-table th {
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-right: 1px solid #1e3a5f;
  text-align: left;
}

.metrics-table th:first-child,
.comparison-table th:first-child {
  color: #38bdf8;
  width: 25%;
  min-width: 140px;
}

.comparison-table th:first-child {
  width: 20%;
}

.metrics-table th:nth-child(2),
.comparison-table th:nth-child(2) {
  color: #60a5fa;
  text-align: center;
  width: 15%;
  min-width: 100px;
}

.comparison-table th:nth-child(2) {
  color: #cbd5e1;
  text-align: left;
  width: 40%;
}

.metrics-table th:nth-child(3),
.comparison-table th:nth-child(3) {
  color: #cbd5e1;
  width: 60%;
}

.comparison-table th:nth-child(3) {
  color: #60a5fa;
  width: 40%;
}

.metrics-table tbody tr,
.comparison-table tbody tr {
  border-bottom: 1px solid #1e3a5f;
  transition: background-color 0.2s ease;
}

.metrics-table td,
.comparison-table td {
  padding: 1.25rem 1rem;
  vertical-align: top;
  border-right: 1px solid #1e3a5f;
}

.metrics-table td:first-child,
.comparison-table td:first-child {
  font-size: 1rem;
  font-weight: 700;
  color: #38bdf8;
  width: 25%;
  min-width: 140px;
}

.comparison-table td:first-child {
  width: 20%;
}

.metrics-table td:nth-child(2),
.comparison-table td:nth-child(2) {
  font-size: 1rem;
  font-weight: 700;
  color: #60a5fa;
  width: 15%;
  min-width: 100px;
  text-align: center;
}

.comparison-table td:nth-child(2) {
  font-size: 0.95rem;
  color: #cbd5e1;
  width: 40%;
  line-height: 1.6;
  text-align: left;
}

.metrics-table td:nth-child(3),
.comparison-table td:nth-child(3) {
  font-size: 0.95rem;
  color: #cbd5e1;
  width: 60%;
  line-height: 1.6;
}

.comparison-table td:nth-child(3) {
  color: #60a5fa;
  width: 40%;
}

.metrics-table td:last-child,
.comparison-table td:last-child {
  border-right: none;
}

.business-feature-card {
  background: #0f172a;
  border-color: #1d4ed8;
}

.business-feature-card .beta__card-body {
  padding: 0.5rem;
}

.business-feature-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.4rem;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}

.business-feature-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.business-feature-desc--sm {
  font-size: 0.85rem;
  margin: 0 0 0.4rem 0;
}

.business-feature-desc--last {
  margin-bottom: 0;
}

.business-feature-desc--intro {
  margin-bottom: 0.5rem;
}

.business-feature-card--wide {
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.business-feature-card--wide .beta__card-body {
  padding: 0.75rem;
}

.business-feature-privacy {
  margin-top: 0.5rem;
}

.business-feature-privacy-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #60a5fa;
  margin: 0 0 0.4rem 0;
}

.business-technical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-items: stretch;
  box-sizing: border-box;
}

.business-inquiry-note {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.metrics-table tr:hover,
.comparison-table tr:hover {
  background-color: rgba(29, 78, 216, 0.1);
}

.metrics-table tr:last-child,
.comparison-table tr:last-child {
  border-bottom: none;
}


@media (max-width: 768px) {
  .business-technical-grid {
    grid-template-columns: 1fr !important;
  }

  #process-efficiency-content table,
  #process-efficiency-comparison table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }

  #process-efficiency-content table thead,
  #process-efficiency-comparison table thead {
    display: none;
  }

  #process-efficiency-content table tbody,
  #process-efficiency-comparison table tbody {
    display: block;
  }

  #process-efficiency-content table tr,
  #process-efficiency-comparison table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #1d4ed8;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
  }

  #process-efficiency-content table td,
  #process-efficiency-comparison table td {
    display: block;
    border: none;
    border-bottom: 1px solid #1e3a5f;
    padding: 0.75rem 1rem;
    width: 100% !important;
    text-align: left !important;
  }

  #process-efficiency-content table td:last-child,
  #process-efficiency-comparison table td:last-child {
    border-bottom: none;
  }

  #process-efficiency-content table td::before,
  #process-efficiency-comparison table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: #38bdf8;
    display: block;
    margin-bottom: 0.25rem;
  }

  .business-card-mobile {
    padding: 1rem 0.75rem !important;
  }
  
  .business-card-mobile .beta__card-header {
    padding-bottom: 0.75rem;
  }
  
  .business-card-mobile .beta__card-body {
    padding: 0;
  }
  
  .business-card-mobile .beta__card-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
  }
  
  /* Pienennä laatikoiden otsikot ja arvot mobiilissa */
  .business-card-mobile .beta__card .beta__card-body > div:first-child {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
  }
  
  /* Vähennä laatikoiden paddingia mobiilissa */
  .business-card-mobile .beta__card .beta__card-body {
    padding: 0.4rem !important;
  }
  
  .business-card-mobile .beta__card .beta__card-body > div:first-child {
    margin-bottom: 0.3rem !important;
  }
}

/* ============================================
   Splash Screen Animation
   ============================================ */

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
  overflow: hidden;
  touch-action: none;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: splashFadeIn 0.8s ease-out;
}

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

.splash-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.splash-logo-icon {
  width: 80px;
  height: 80px;
  color: var(--accent);
  animation: splashLogoSpin 2s linear infinite;
  filter: drop-shadow(0 0 20px rgba(163, 255, 51, 0.5));
  transform-origin: center center;
}

@keyframes splashLogoSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.splash-brand-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  animation: splashTextGlowAnnoying 2s ease-in-out infinite;
}

.splash-brand-accent {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(163, 255, 51, 0.6);
  font-size: 0.55em;
  display: inline-block;
}

@keyframes splashTextGlowAnnoying {
  0%, 100% {
    text-shadow: 0 0 20px rgba(163, 255, 51, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(163, 255, 51, 0.6), 0 0 40px rgba(163, 255, 51, 0.4);
  }
}

.splash-logo {
  animation: splashLogoFade 1.5s ease-in-out infinite;
}

:not(.babelflow-theme) .splash-logo {
  filter: drop-shadow(0 0 15px rgba(163, 255, 51, 0.4));
}

.babelflow-theme .splash-logo {
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

@keyframes splashLogoFade {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.splash-loader {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.splash-loader-bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: splashLoaderProgress 1.5s ease-out forwards;
  box-shadow: 0 0 10px rgba(163, 255, 51, 0.5);
}

@keyframes splashLoaderProgress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

/* BabelFlow Theme Splash Styles */
.babelflow-theme .splash-screen {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
}

.babelflow-theme .splash-logo-icon {
  color: #00d4ff;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}


.babelflow-theme .splash-brand-title {
  color: #e2e8f0;
  font-family: "Inter", sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.babelflow-theme .splash-brand-accent {
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.babelflow-theme .splash-loader-bar {
  background: linear-gradient(90deg, #00d4ff, #a855f7);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.babelflow-theme .splash-brand-title {
  animation: splashTextGlowBabelflow 2s ease-in-out infinite;
}

@keyframes splashTextGlowBabelflow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 40px rgba(168, 85, 247, 0.4);
  }
}

/* ============================================
   Personal Page Theme - Blue Theme
   ============================================ */

.personal-theme {
  --bg: #0a1628;
  --panel: rgba(15, 30, 50, 0.7);
  --panel-border: rgba(59, 130, 246, 0.25);
  --panel-hover: rgba(20, 40, 65, 0.85);
  --accent: #0ea5e9;
  --accent-2: #60a5fa;
  --text: #e0e7ff;
  --muted: #93c5fd;
  --glow: 0 0 60px -15px rgba(59, 130, 246, 0.4);
}


.personal-theme.hero-gradient {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #475569 100%), radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.12) 0%, transparent 60%), radial-gradient(circle at 85% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  background-attachment: fixed;
}

/* Personal Theme - Grid background pattern */
.personal-theme.hero-gradient::before {
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
}

/* Personal Theme - Glowing orbs */
.personal-theme.hero-gradient::after {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

/* Personal Theme - Buttons */
.personal-theme .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #60a5fa) !important;
  box-shadow: 0 20px 60px -25px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  color: white !important;
  border-color: transparent !important;
}

.personal-theme .btn-primary:hover {
  box-shadow: 0 25px 70px -20px rgba(59, 130, 246, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
}

/* Personal Theme - Focus indicators */
.personal-theme a:focus-visible,
.personal-theme button:focus-visible,
.personal-theme input:focus-visible,
.personal-theme select:focus-visible,
.personal-theme textarea:focus-visible {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px;
  border-radius: 2px;
}

.personal-theme a:focus,
.personal-theme button:focus {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px;
}

/* Personal Theme - Panels */
.personal-theme .panel {
  background: var(--panel) !important;
  border: 1px solid var(--panel-border) !important;
  backdrop-filter: blur(10px);
}

.personal-theme .panel:hover {
  background: var(--panel-hover) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

/* Personal Theme - Typography (same as Annoying Labs) */
.personal-theme {
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Personal Theme - Headings use Inter font (as originally) */
.personal-theme h1,
.personal-theme h2,
.personal-theme h3,
.personal-theme h4,
.personal-theme h5,
.personal-theme h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  text-transform: none !important;
  color: var(--text);
}

.personal-theme .hero__title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(3rem, 8vw, 6rem) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 1.5rem 0 !important;
  text-transform: none !important; /* No uppercase for personal page (as originally) */
  color: #ffffff !important;
}

.personal-theme body,
.personal-theme p,
.personal-theme span,
.personal-theme a:not(.btn-primary),
.personal-theme button:not(.btn-primary) {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.personal-theme .beta__eyebrow {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  border: 1px solid var(--panel-border) !important;
}

.personal-theme .hero__lead {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--muted) !important;
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  max-width: 30rem !important;
  margin-bottom: 2rem !important;
}

.personal-theme .hero__lead {
  color: var(--muted);
}

.personal-theme p:not([style*="color"]) {
  color: var(--muted);
}

/* Personal Theme - Links */
.personal-theme a:not(.btn-primary) {
  color: var(--accent);
}

.personal-theme a:not(.btn-primary):hover {
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Personal Theme - Phone glow effect */
.personal-theme .phone__glow {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(40px);
}

/* Personal Theme - Privacy promise panel */
.personal-theme .privacy-promise-panel {
  background: var(--panel) !important;
  border: 1px solid var(--panel-border) !important;
}

.personal-theme .privacy-promise-eyebrow {
  color: var(--accent) !important;
}

.personal-theme .privacy-promise-heading {
  color: var(--text) !important;
}

.personal-theme .privacy-promise-body {
  color: var(--muted) !important;
}

/* Personal Theme - Hero accent color */
.personal-theme .hero__accent {
  color: var(--accent) !important;
}

/* Personal Theme - Brand title (ANNOYING LABS) */
.personal-theme .nav__brand .brand-title {
  color: #E6EDF3 !important;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3) !important;
}

.personal-theme .nav__brand .brand-title span {
  color: #3b82f6 !important;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3) !important;
}

.personal-theme .nav__brand .group:hover .brand-title {
  text-shadow: 0 0 25px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3) !important;
}

.personal-theme .nav__brand .group:hover .brand-title span {
  color: #3b82f6 !important;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 50px rgba(59, 130, 246, 0.4) !important;
}

/* Personal Theme - Logo hover effect (blue) */
.personal-theme .group:hover .logo-animate {
  filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.5)) !important;
  color: #3b82f6 !important;
}

.personal-theme .logo-animate {
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.3)) !important;
  color: #3b82f6 !important;
}

/* Personal Theme - Language switcher links */
.personal-theme .footer__locale-link {
  border-color: rgba(59, 130, 246, 0.3) !important;
  background: rgba(15, 30, 50, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  color: var(--muted) !important;
}

.personal-theme .footer__locale-link:hover {
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  background: rgba(59, 130, 246, 0.1) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-2px) !important;
}

.personal-theme .footer__locale-link.is-active {
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
  background: rgba(59, 130, 246, 0.15) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5) !important;
}

/* News page – modern layout, matches index/project cards */
.news-page main {
  padding: 0 1.25rem;
}

.news-page .news-hero {
  margin-bottom: 2rem;
}

.news-page .news-hero-title {
  font-family: "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

.news-page .news-hero-lead {
  font-family: "Inter", sans-serif !important;
  font-size: 1.15rem !important;
  color: var(--muted) !important;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.news-section {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.news-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.news-card {
  padding: 2rem;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: var(--card-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(163, 255, 51, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 20px 50px -20px rgba(163, 255, 51, 0.25);
}

.news-card:hover::before {
  opacity: 1;
}

.news-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-icon {
  transform: scale(1.08);
}

.news-card-icon--external {
  background: rgba(139, 148, 158, 0.2);
  color: var(--muted);
}

.news-card-icon--product {
  background: rgba(163, 255, 51, 0.15);
  color: var(--accent);
}

.news-card--highlight {
  border-color: rgba(163, 255, 51, 0.3);
}

.news-card--highlight:hover {
  border-color: rgba(163, 255, 51, 0.5);
  box-shadow: 0 20px 50px -20px rgba(163, 255, 51, 0.35);
}

.news-card-source {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.news-card-source--product {
  color: var(--accent);
}

.news-card-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.news-card-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 1rem 0;
  flex-grow: 0;
}

.news-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.news-card-link:hover {
  color: #b8ff4d;
  gap: 0.65rem;
}

.news-card-link i {
  font-size: 0.8em;
  opacity: 0.9;
}

.news-card-link--primary {
  padding: 0.6rem 1.2rem;
  background: rgba(163, 255, 51, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(163, 255, 51, 0.3);
}

.news-card-link--primary:hover {
  background: rgba(163, 255, 51, 0.22);
  border-color: rgba(163, 255, 51, 0.5);
}

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

/* Investors page – sijoitusmahdollisuus */
body.investors-page .hero__title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(1.5rem, 3.5vw, 2rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  text-align: center !important;
  color: #E6EDF3 !important;
  position: relative !important;
  margin-bottom: 4rem !important;
  line-height: 1.25 !important;
}

body.investors-page .hero__title::after {
  content: '';
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(163, 255, 51, 0.6);
  border-radius: 1px;
}

body.investors-page .hero__lead {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.6 !important;
  color: #8B949E !important;
}

body.investors-page .hero__accent {
  color: #A3FF33 !important;
  font-weight: 600 !important;
}

/* Investors Pitch Deck – sama visuaalinen taso kuin index */
body.investors-pitchdeck-page main {
  position: relative;
  z-index: 1;
}

body.investors-pitchdeck-page .hero__lead.annoying-labs-tagline {
  text-transform: none !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: normal !important;
}

.pitchdeck-section {
  padding: 2rem 2rem 6rem 2rem;
  position: relative;
}

.pitchdeck-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.pitchdeck-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.pitchdeck-nav-btn {
  padding: 0.625rem 1.25rem;
  background: rgba(163, 255, 51, 0.1);
  border: 1px solid rgba(163, 255, 51, 0.3);
  border-radius: 2rem;
  color: #A3FF33;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pitchdeck-nav-btn:hover {
  background: rgba(163, 255, 51, 0.2);
  border-color: #A3FF33;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(163, 255, 51, 0.4);
}

.pitchdeck-slides {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.pitchdeck-slide {
  padding: 2.5rem;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: var(--card-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 6rem;
}

.pitchdeck-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(163, 255, 51, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pitchdeck-slide:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 20px 60px -20px rgba(163, 255, 51, 0.3), 0 0 30px rgba(163, 255, 51, 0.2);
}

.pitchdeck-slide:hover::before {
  opacity: 1;
}

.pitchdeck-slide-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pitchdeck-slide-number {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #A3FF33, #00CED1);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  color: #0D1117;
  margin-bottom: 1rem;
}

.pitchdeck-slide-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E6EDF3;
  margin-bottom: 0.5rem;
}

.pitchdeck-slide-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

.pitchdeck-content-placeholder {
  padding: 3rem 2rem;
  background: rgba(163, 255, 51, 0.03);
  border: 2px dashed rgba(163, 255, 51, 0.2);
  border-radius: 1rem;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  min-height: 120px;
}

.pitchdeck-badge {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(163, 255, 51, 0.1);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: 0.5rem;
  display: inline-block;
  max-width: 90%;
  text-align: center;
}

.pitchdeck-badge p {
  color: #A3FF33;
  font-weight: 600;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pitchdeck-badge__ask {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem !important;
}

.pitchdeck-badge__detail {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
}

.pitchdeck-disclaimer {
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  background: rgba(163, 255, 51, 0.05);
  border: 1px solid rgba(163, 255, 51, 0.15);
  border-radius: 0.5rem;
  display: inline-block;
}

.pitchdeck-disclaimer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.pitchdeck-disclaimer strong {
  color: #A3FF33;
}

.pitchdeck-content {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.pitchdeck-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.pitchdeck-content li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.pitchdeck-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Scrollable wrapper for wide tables on mobile */
.pitchdeck-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

.pitchdeck-table-scroll::-webkit-scrollbar {
  height: 6px;
}

.pitchdeck-table-scroll::-webkit-scrollbar-track {
  background: rgba(163, 255, 51, 0.1);
  border-radius: 3px;
}

.pitchdeck-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(163, 255, 51, 0.3);
  border-radius: 3px;
}

.pitchdeck-funds-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.pitchdeck-table-scroll .pitchdeck-funds-table {
  min-width: 580px;
}

@media (max-width: 768px) {
  .pitchdeck-table-scroll .pitchdeck-funds-table th,
  .pitchdeck-table-scroll .pitchdeck-funds-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  .pitchdeck-table-scroll .pitchdeck-funds-table th {
    font-size: 0.8rem;
  }
}

.pitchdeck-funds-table th,
.pitchdeck-funds-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(163, 255, 51, 0.15);
  color: var(--muted);
}

.pitchdeck-funds-table th {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E6EDF3;
  font-size: 0.9rem;
}

.pitchdeck-funds-table tr:hover td {
  background: rgba(163, 255, 51, 0.03);
}

/* Portfolio hub visualization */
.pitchdeck-portfolio-hub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.pitchdeck-portfolio-center {
  flex: 0 0 auto;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(163, 255, 51, 0.15), rgba(0, 206, 209, 0.1));
  border: 2px solid rgba(163, 255, 51, 0.4);
  border-radius: var(--card-radius);
  text-align: center;
  position: relative;
  z-index: 2;
}

.pitchdeck-portfolio-center .pitchdeck-hub-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #A3FF33;
  margin: 0 0 0.5rem 0;
}

.pitchdeck-portfolio-center .pitchdeck-hub-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.pitchdeck-portfolio-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  flex: 1;
  min-width: 280px;
}

.pitchdeck-portfolio-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.5rem;
  background: rgba(163, 255, 51, 0.05);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pitchdeck-portfolio-card:hover {
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 10px 30px -10px rgba(163, 255, 51, 0.2);
}

.pitchdeck-portfolio-card .pitchdeck-card-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #E6EDF3;
  margin: 0 0 0.5rem 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.pitchdeck-portfolio-card .pitchdeck-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .pitchdeck-portfolio-hub {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pitchdeck-portfolio-cards {
    flex-direction: column;
    width: 100%;
  }

  .pitchdeck-portfolio-card {
    flex: 1 1 auto;
    min-width: 100%;
  }
}

/* Market & Security section – two parallel cards */
.pitchdeck-market-security-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.pitchdeck-market-card,
.pitchdeck-security-card {
  padding: 2rem;
  background: rgba(163, 255, 51, 0.05);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.pitchdeck-market-card:hover,
.pitchdeck-security-card:hover {
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 10px 30px -10px rgba(163, 255, 51, 0.2);
}

.pitchdeck-security-card {
  border-color: rgba(0, 206, 209, 0.2);
}

.pitchdeck-security-card:hover {
  border-color: rgba(0, 206, 209, 0.4);
}

.pitchdeck-card-heading {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E6EDF3;
  margin: 0 0 1rem 0;
}

.pitchdeck-market-card ul,
.pitchdeck-security-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.pitchdeck-market-card li,
.pitchdeck-security-card li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.pitchdeck-market-card li::before,
.pitchdeck-security-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pitchdeck-market-card p,
.pitchdeck-security-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.pitchdeck-privacy-tagline {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: #A3FF33;
  font-size: 1.1rem;
  margin-bottom: 1rem !important;
}

@media (max-width: 900px) {
  .pitchdeck-market-security-cards {
    grid-template-columns: 1fr;
  }
}

/* Product Validation cards */
.pitchdeck-validation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.pitchdeck-validation-card {
  padding: 2rem;
  background: rgba(163, 255, 51, 0.05);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.pitchdeck-validation-card:hover {
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 10px 30px -10px rgba(163, 255, 51, 0.2);
}

.pitchdeck-validation-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .pitchdeck-validation-cards {
    grid-template-columns: 1fr;
  }
}

/* Investor Opinion form */
.pitchdeck-opinion-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pitchdeck-opinion-form {
  max-width: 480px;
  margin: 0 auto;
}

.pitchdeck-opinion-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pitchdeck-opinion-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pitchdeck-opinion-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #E6EDF3;
}

.pitchdeck-opinion-input {
  padding: 0.75rem 1rem;
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid rgba(163, 255, 51, 0.25);
  border-radius: 0.5rem;
  color: #E6EDF3;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.pitchdeck-opinion-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.pitchdeck-opinion-input:focus {
  outline: none;
  border-color: rgba(163, 255, 51, 0.5);
}

.pitchdeck-opinion-textarea {
  resize: vertical;
  min-height: 100px;
}

.pitchdeck-opinion-actions {
  margin-top: 0.5rem;
}

.pitchdeck-opinion-submit {
  padding: 0.75rem 2rem;
  background: #A3FF33;
  border: 1px solid rgba(163, 255, 51, 0.4);
  border-radius: 2rem;
  color: #0D1117;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pitchdeck-opinion-submit:hover {
  background: #b8ff5c;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(163, 255, 51, 0.25);
}

.pitchdeck-opinion-success {
  padding: 2rem;
  background: rgba(163, 255, 51, 0.08);
  border: 1px solid rgba(163, 255, 51, 0.25);
  border-radius: 1rem;
  text-align: center;
}

.pitchdeck-opinion-success p {
  color: #E6EDF3;
  margin: 0;
  font-size: 1.1rem;
}

.pitchdeck-opinion-error {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.5rem;
}

.pitchdeck-opinion-error p {
  color: #fca5a5;
  margin: 0;
  font-size: 0.95rem;
}

/* Pre-seed Roadmap */
.pitchdeck-roadmap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pitchdeck-roadmap-step {
  flex: 1;
  min-width: 180px;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(163, 255, 51, 0.05);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.pitchdeck-roadmap-step:hover {
  border-color: rgba(163, 255, 51, 0.4);
  box-shadow: 0 10px 30px -10px rgba(163, 255, 51, 0.2);
}

.pitchdeck-roadmap-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #A3FF33, #00CED1);
  border-radius: 50%;
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0D1117;
}

.pitchdeck-roadmap-content h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E6EDF3;
  margin: 0 0 0.5rem 0;
}

.pitchdeck-roadmap-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.pitchdeck-roadmap-arrow {
  flex-shrink: 0;
  align-self: center;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pitchdeck-roadmap {
    flex-direction: column;
    align-items: stretch;
  }
  .pitchdeck-roadmap-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
}

/* Pitch deck: ei tulostusta */
@media print {
  body.investors-pitchdeck-page * {
    display: none !important;
  }
  body.investors-pitchdeck-page::after {
    content: "LUOTTAMUKSELLINEN – Ei tulostettavissa.";
    display: block !important;
    padding: 2rem;
    font-size: 1.25rem;
    text-align: center;
  }
}
