html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-image: url('/static/images/bg-baked.webp');
  /* background: var(--bg-gradient-start); */
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative
}

/* 🌌 Balanced Vibrant Background */
/* .bg-canvas { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-gradient); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; animation: drift 30s infinite alternate ease-in-out; mix-blend-mode: screen; }
.orb-1 { width: 72vw; height: 65vh; top: -18%; left: -12%; background: radial-gradient(circle, var(--orb1-color) 0%, transparent 70%); animation-delay: 0s; }
.orb-2 { width: 62vw; height: 58vh; bottom: -15%; right: -10%; background: radial-gradient(circle, var(--orb2-color) 0%, transparent 70%); animation-delay: -15s; }
.orb-3 { width: 48vw; height: 48vh; top: 42%; left: 58%; background: radial-gradient(circle, var(--orb3-color) 0%, transparent 65%); animation-delay: -8s; } */

.texture-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url('/static/images/bk.webp');
  background-repeat: repeat;
  background-size: 256px 256px;

  opacity: 0.1;

  /* opacity: 0.17;
  mix-blend-mode: overlay; */
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; color: var(--text); }
a { text-decoration: none; transition: opacity 0.2s ease; }

/* Header & Navigation */
header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); border-bottom: 1px solid var(--glass-border); box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; gap: 24px; }
.logo { font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.9rem; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); display: inline-block; }
.logo:hover { transform: scale(1.03); }
.logo span { background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { color: var(--nav-color); font-weight: 500; transition: color 0.2s ease, transform 0.2s ease; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1); border-radius: 2px; }
.nav-links a:hover { color: var(--nav-color-hover); opacity: 1; transform: translateY(-1px); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger Toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 20;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero Section */
.hero { padding: 0px 0 180px; position: relative; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 20%, rgba(167, 139, 250, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(129, 140, 248, 0.08) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
h1.hero-title {
  font-size: clamp(3rem, 8vw, 5.6rem); line-height: 1.02; margin-bottom: 32px; max-width: 900px;
  background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lead { color: var(--muted); font-size: 1.25rem; max-width: 700px; margin-bottom: 48px; line-height: 1.75; font-weight: 400; }

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.01em;
}

.hero-cta-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #7e69ab 0%, #9d82d4 100%);
  box-shadow: 0 4px 16px rgba(126, 105, 171, 0.3);
}

.hero-cta-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(126, 105, 171, 0.45);
}

.hero-cta-btn--secondary {
  color: var(--cyan);
  background: var(--cyan-bg);
  border: 1px solid var(--cyan-border);
}

.hero-cta-btn--secondary:hover {
  color: #fff;
  background: var(--cyan-bg-med-strong);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--cyan-glow);
}

/* Values Section */
.values-section { padding: 128px 0; position: relative; }
h2.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 20px; text-align: center;
  background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--muted); max-width: 560px; margin: 0 auto 64px; font-size: 1.1rem; text-align: center; line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

.value-card {
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 44px 40px; backdrop-filter: blur(24px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease, box-shadow 0.4s ease;
  position: relative; overflow: hidden;
}
.value-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--card-color, var(--cyan)), var(--card-color-end, var(--violet))); opacity: 0; transition: opacity 0.3s ease; }
.value-card::after { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.value-card:hover { transform: translateY(-8px); border-color: var(--card-color, var(--cyan-border-strong)); box-shadow: 0 28px 64px var(--card-shadow, var(--cyan-glow-strong)), inset 0 1px 0 var(--border-medium); }
.value-card:hover::before { opacity: 1; }
.value-card:hover::after { opacity: 1; }

/* Value Card Color Variants */
.value-card.green {
  background: var(--card-green-bg);
  --card-color: var(--card-green-color);
  --card-color-end: var(--card-green-color-end);
  --card-shadow: var(--card-green-shadow);
}
.value-card.blue {
  background: var(--card-blue-bg);
  --card-color: var(--card-blue-color);
  --card-color-end: var(--card-blue-color-end);
  --card-shadow: var(--card-blue-shadow);
}
.value-card.purple {
  background: var(--card-purple-bg);
  --card-color: var(--card-purple-color);
  --card-color-end: var(--card-purple-color-end);
  --card-shadow: var(--card-purple-shadow);
}

.value-card h3 { font-size: 1.6rem; margin-bottom: 16px; color: var(--text); letter-spacing: -0.02em; font-weight: 600; line-height: 1.3; }
.value-card p { color: var(--muted); line-height: 1.85; font-size: 1.02rem; }

/* Teaser Section */
.teaser-container { padding: 104px 0 152px; }
.teaser { text-align: center; max-width: 700px; margin: 0 auto; padding-top: 64px; border-top: 1px solid var(--cyan-bg-med-strong); position: relative; }
.teaser::before { content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
h2.teaser-title {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem); margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.teaser p { color: var(--muted); font-size: 1.16rem; line-height: 1.85; }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--border-medium); text-align: center; color: var(--muted); font-size: 0.9rem; position: relative; z-index: 2; background: var(--footer-bg); }
.socials { display: flex; justify-content: center; gap: 36px; margin-bottom: 24px; }
.socials a { color: var(--nav-color); font-weight: 500; transition: color 0.2s ease, text-shadow 0.25s ease, transform 0.2s ease; }
.socials a:hover { color: var(--nav-color-hover); text-shadow: 0 0 18px var(--cyan-shadow); transform: translateY(-2px); }

/* Privacy Page Specific Styles */
.privacy-container {
  max-width: 860px;
  margin: 100px auto 140px;
  padding: 0;
  position: relative; z-index: 2;
  background: var(--privacy-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--cyan-bg-med-strong);
  border-radius: 32px;
  box-shadow:
    0 24px 80px var(--privacy-container-shadow),
    0 0 0 1px var(--card-faint) inset,
    0 1px 0 var(--border-faint) inset;
  overflow: hidden;
}

.privacy-header {
  padding: 56px 56px 48px;
  background: linear-gradient(135deg, var(--cyan-bg) 0%, var(--green-bg-faint) 100%);
  border-bottom: 1px solid var(--cyan-code-border);
}
.privacy-hero-title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--privacy-hero-start) 0%, var(--privacy-hero-mid) 50%, var(--privacy-hero-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.privacy-meta {
  color: var(--muted);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0.9;
}
.privacy-meta::before {
  content: "";
  height: 36px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  border-radius: 2px;
}
.privacy-header p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 640px;
  opacity: 0.85;
}

.privacy-card {
  background: var(--card-faint);
  border: 1px solid var(--cyan-code-border);
  border-radius: 24px;
  margin: 28px;
  padding: 44px 40px;
  backdrop-filter: blur(18px);
  box-shadow:
    0 12px 40px var(--card-shadow-strong),
    0 1px 0 var(--cyan-bg-faint) inset;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.privacy-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-bg-strong);
  box-shadow:
    0 20px 60px var(--cyan-glow-strong),
    0 1px 0 var(--border-medium) inset;
}

.privacy-num {
  font-family: 'Space Grotesk';
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
  opacity: 0.75;
  font-weight: 500;
}
.privacy-section-title {
  font-size: 1.65rem;
  margin-bottom: 26px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.privacy-text, .privacy-list-item {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 1.04rem;
}

.privacy-list { list-style: none; padding-left: 4px; }
.privacy-card ul,
.privacy-card ol {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0;
}
.privacy-card ol {
  list-style: decimal;
}
.privacy-list-item {
  position: relative;
  padding-left: 22px;
  margin-bottom: 20px;
  list-style: none;
}
.privacy-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.65;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.privacy-code {
  background: var(--cyan-code-bg);
  color: var(--violet);
  padding: 5px 14px;
  border-radius: 10px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.88em;
  border: 1px solid var(--cyan-code-border);
}

.contact-block {
  background: linear-gradient(135deg, var(--cyan-bg) 0%, var(--violet-bg-faint) 100%);
  border: 1px solid var(--cyan-bg-med-strong);
  border-radius: 24px;
  padding: 44px 40px;
  margin: 0 28px 36px;
}
.contact-block a { color: var(--cyan); font-weight: 500; position:relative; transition: all 0.2s ease; }
.contact-block a:hover { text-shadow: 0 0 14px var(--cyan-shadow-strong); opacity: 1; }

/* Scrollbar & Selection */
::selection { background: var(--cyan-selection); color: var(--text); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--cyan-scrollbar), var(--green-shadow)); border-radius: 4px; }

/* Responsive */
@media (max-width: 768px) {
  body {
    background-image: none;
    background: var(--bg-mobile);
  }
  .container { padding: 0 16px; }
  .hero { padding: 10px 0 120px; }
  h1.hero-title { font-size: clamp(2.4rem, 10vw, 3.8rem); line-height: 1.05; }
  .lead { font-size: 1.1rem; max-width: 100%; }
  .values-section { padding: 80px 0; }
  h2.section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .section-sub { font-size: 1rem; margin-bottom: 48px; }
  .values-grid { gap: 20px; }
  .value-card { padding: 32px 28px; border-radius: 20px; }
  .value-card h3 { font-size: 1.3rem; }
  .privacy-container { margin: 48px auto 80px; border-radius: 18px; backdrop-filter: none; box-shadow: none; }
  .privacy-header { padding: 32px 24px 28px; }
  .privacy-hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .privacy-card { margin: 16px; padding: 28px 24px; backdrop-filter: none; box-shadow: none; }
  .privacy-card:hover { transform: none; box-shadow: none; }
  .contact-block { margin: 0 16px 24px; padding: 28px 24px; }

  /* Mobile Navigation */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--header-bg-mobile);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--cyan-bg-faint);
  }

  .nav-links a:last-child { border-bottom: none; }

  /* Mobile Footer */
  footer { padding: 28px 0; }
  .socials {
    gap: 0;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .socials a {
    font-size: 0.85rem;
    padding: 10px 8px;
    background: var(--mobile-social-bg);
    border-radius: 8px;
    text-align: center;
  }

  /* Hero CTA stacked on mobile */
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.05rem;
  }

  .hero-cta-btn--primary {
    background: linear-gradient(135deg, #7e69ab 0%, #9d82d4 100%);
    box-shadow: 0 4px 24px rgba(126, 105, 171, 0.4);
  }

  .hero-cta-btn--secondary {
    border: 1px solid rgba(157, 126, 237, 0.4) !important;
    background-color: rgba(157, 126, 237, 0.05) !important;
    backdrop-filter: blur(4px);
  }

  .teaser-container { padding: 64px 0 80px; }
  .teaser { padding-top: 40px; }
  h2.teaser-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .teaser p { font-size: 1.05rem; }
}

/* Scroll Reveal Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title, .lead, .hero-cta, .section-title, .section-sub, .value-card, .teaser {
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.hero-title { animation-delay: 0.1s; }
.lead { animation-delay: 0.25s; }
.hero-cta { animation-delay: 0.4s; }
.section-title { animation-delay: 0.1s; }
.section-sub { animation-delay: 0.2s; }
.value-card:nth-child(1) { animation-delay: 0.3s; }
.value-card:nth-child(2) { animation-delay: 0.45s; }
.value-card:nth-child(3) { animation-delay: 0.6s; }
.teaser-title { animation-delay: 0.2s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Obfuscated Email Links */
.obfuscated-email {
  cursor: pointer !important;
  text-decoration: underline;
  color: var(--cyan);
  transition: color 0.2s ease;
}

/* ============================================
   Cookie Consent Banner
   ============================================ */

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.36, 1), opacity 0.4s ease;
}

.cookie-banner-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: rgba(45, 27, 78, 0.92);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--cyan-border);
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--cyan-bg-faint) inset,
    0 -1px 0 var(--cyan-bg) inset;
}

.cookie-banner-img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 24px var(--cyan-glow-strong), 0 0 48px var(--cyan-glow);
}

.cookie-banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cookie-banner-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--cyan);
  text-decoration: underline;
  transition: text-shadow 0.2s ease;
}

.cookie-banner-text a:hover {
  text-shadow: 0 0 12px var(--cyan-shadow);
}

.cookie-banner-buttons {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-banner-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  color: var(--text);
  box-shadow: 0 4px 16px var(--cyan-shadow);
}

.cookie-btn-accept:hover {
  box-shadow: 0 6px 24px var(--cyan-shadow-hover);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--border-medium);
}

.cookie-btn-reject:hover {
  background: var(--cyan-bg-light);
  color: var(--text);
  border-color: var(--cyan-border);
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
  line-height: 1;
}

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

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 24px;
    text-align: center;
  }

  .cookie-banner-img {
    width: 90px;
    height: 90px;
  }

  .cookie-banner-content {
    align-items: center;
  }

  .cookie-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .cookie-banner-btn {
    width: 100%;
    padding: 12px 20px;
  }
}