/* agidion Landing Page - Brand Styles */

:root {
  /* Brand Colors - Night Sky Theme */
  --bg-deep: #0a0a0f;
  --bg-dark: #14141f;
  --bg-card: #1e1e2e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 89, 152, 0.3);

  /* Text */
  --text-primary: #e8e8ed;
  --text-secondary: #8b8b9e;
  --text-muted: #606070;

  /* Accent - Night Sky Blue & Gold */
  --accent-primary: #f5d76e;
  --accent-hover: #f7dc7e;
  --accent-glow: rgba(245, 215, 110, 0.3);
  --accent-blue: #3b5998;
  --accent-blue-dim: #1e3a5f;


  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
}

/* Star Pattern Background - SVG */
.star-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: url("starfield.svg");
  background-repeat: repeat;
  background-size: 400px 400px;
  opacity: 0.8;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

/* Links - Proper Styling */
a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.85;
}

.logo-img {
  height: 100px;
  width: auto;
  /* animation: logoFloat 6s ease-in-out infinite; */
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-small {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) 0;
  padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));

  overflow-x: clip;
}

/* Desktop: pin header top + footer bottom via absolute so only
   hero-content participates in flex centering */
@media (min-width: 601px) {
  .hero-header {
    position: absolute;
    top: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  /* .site-footer absolut entfernt, damit er unten auf der Seite im normalen Fluss bleibt */
}

/* Mobile: normal flow so nothing overlaps */
@media (max-width: 600px) {
  .hero {
    justify-content: space-between;
    align-items: stretch;
  }
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
}

/* Logo - visible above content */
.hero-glow .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -280%);
  width: 120px;
  height: 120px;
  opacity: 0.9;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(147, 112, 219, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.text-gradient {
  color: #f5d76e;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

/* Hero Signup Form */
.hero-signup {
  margin-bottom: var(--space-3xl);
}

/* ── Tab switcher ── */
.signup-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.signup-tab {
  flex: 1;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
  letter-spacing: 0.02em;
}

.signup-tab:hover {
  color: var(--text-primary);
}

.signup-tab--active {
  background: rgba(245, 215, 110, 0.12);
  color: #f5d76e;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 450px;
  margin: 0 auto;
}

/* Honeypot field — invisible to humans, visible to bots in the DOM */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.form-input {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-helper {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.form-checkbox-label a:hover {
  color: var(--text-primary);
}

.form-checkbox {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

/* About Section in Hero */
.hero-about {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
}

.about-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-xl);
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-feature-icon {
  font-size: 1rem;
}

/* Footer */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-social {
  display: flex;
  gap: var(--space-lg);
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: var(--accent-primary);
}

.site-footer {
  width: 100%;
  padding: var(--space-xl) 0;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  padding-top: var(--space-lg);
}

/* Mobile Responsive */
.signup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 12px;
  animation: successFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.success-icon-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(245, 215, 110, 0.07);
  border: 1.5px solid rgba(245, 215, 110, 0.4);
  box-shadow: 0 0 20px rgba(245, 215, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  animation: ringScale 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.success-icon-ring--green {
  background: rgba(74, 222, 128, 0.07);
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.12);
}

@keyframes ringScale {
  from {
    transform: scale(0.45);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.success-body {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 300px;
}

.success-hint {
  display: inline-block;
  font-size: 0.775rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}

.success-back-link {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.success-back-link:hover {
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .hero--success .hero-title,
  .hero--success .hero-subtitle {
    display: none;
  }

  /* remove the large bottom gap that was meant to space the form from the footer */
  .hero--success .hero-signup {
    margin-bottom: 0;
  }
}

/* ── Inline form error ───────────────────────────────────────────────────── */

.form-error {
  color: #f87171;
  font-size: 0.875rem;
  margin-top: 10px;
  text-align: center;
}

/* ── Cookie consent banner ───────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(130%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999999 !important;
  width: calc(100% - 48px);
  max-width: 580px;

  background: #14141f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(245, 215, 110, 0.05);

  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.cookie-banner-text a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  padding: 9px 20px;
  background: var(--accent-primary);
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast);
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
}

.cookie-btn-decline {
  padding: 9px 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.cookie-btn-decline:hover {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 12px;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
  }
}

/* ── End of additions ────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-feature {
    justify-content: center;
  }

  .form-group {
    flex-direction: column;
    align-items: center;
  }

  .form-group {
    width: 100%;
  }

  .form-input {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

  /* Footer links side by side on mobile */
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
  }

  .footer-link {
    display: inline-block;
  }
}

/* ── OTP Sign-In ─────────────────────────────────────────────────────────────── */

.otp-hint {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.5;
}
.otp-hint strong {
  color: var(--text-primary);
}

.otp-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0 0 4px;
}

.otp-digit {
  width: 46px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
  background: rgba(30, 30, 46, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  caret-color: var(--accent-primary);
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  -webkit-user-select: text;
  user-select: text;
}

.otp-digit:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 215, 110, 0.15);
}

.otp-digit.otp-digit--filled {
  border-color: rgba(245, 215, 110, 0.4);
}

.form-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent-primary);
  font-size: 13px;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-link-btn:hover {
  color: var(--accent-hover);
}

@media (max-width: 420px) {
  .otp-digit {
    width: 40px;
    height: 50px;
    font-size: 20px;
    border-radius: 8px;
  }
  .otp-inputs {
    gap: 6px;
  }
}

@keyframes scrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  z-index: 20;
  text-align: center;
}



/* ── Overview Section ───────────────────────────────────────────────────────── */

.overview {
  /* Removed scroll-snap to allow free scrolling below the hero */
  min-height: 100svh;
  /* background: var(--bg-deep);
  background-image: radial-gradient(
    ellipse at top center,
    rgba(59, 89, 152, 0.15) 0%,
    transparent 60%
  ); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
  position: relative;
  z-index: 10;
}

.overview-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.overview-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  max-width: 680px;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.overview-headline br {
  display: none;
}

@media (min-width: 768px) {
  .overview-headline br {
    display: block;
  }
}

.overview-intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin-bottom: var(--space-3xl);
  line-height: 1.7;
}

.text-highlight {
  color: var(--accent-primary);
  font-weight: 600;
  background: rgba(245, 215, 110, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Perfektes Layout für 5 Karten: 6 Spalten Raster */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  width: 100%;
  margin-bottom: var(--space-3xl);
}

.overview-card {
  background: rgba(30, 30, 46, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Desktop: 3 Karten oben (span 2), 2 Karten unten (span 3) */
.overview-card:nth-child(1),
.overview-card:nth-child(2),
.overview-card:nth-child(3) {
  grid-column: span 2;
}

.overview-card:nth-child(4),
.overview-card:nth-child(5) {
  grid-column: span 3;
}

.overview-card:hover {
  background: rgba(30, 30, 46, 0.5);
  border-color: rgba(245, 215, 110, 0.2);
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(245, 215, 110, 0.05);
}

.overview-card-icon {
  margin-bottom: var(--space-xs);
  display: inline-flex;
}

.emoji-wrapper {
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.overview-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.overview-card-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.overview-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-primary);
  color: var(--bg-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 18px 46px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(245, 215, 110, 0.15);
  margin-bottom: var(--space-3xl);
}

.overview-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 215, 110, 0.35);
  color: var(--bg-deep);
}

.overview-cta svg {
  transition: transform var(--transition-fast);
}
.overview-cta:hover svg {
  transform: translateX(3px);
}

/* Footer in the Overview Section */
.overview .site-footer {
  display: none; /* Footer wurde nach unten verlagert */
}

/* ── Mission Section ──────────────────────────────────────────────────────── */

.mission {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.mission-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.mission-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.mission-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.mission-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mission-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
}

.mission-list .check {
  color: var(--bg-deep);
  background: var(--accent-primary);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
}

.mission-visual {
  position: relative;
  width: 100%;
}

.visual-placeholder {
  /* background: var(--bg-card); */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: var(--accent-glow);
  transform: translate(-50%, -50%);
  filter: blur(70px);
  border-radius: 50%;
}

.visual-ui {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-header {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  height: 48px;
  width: 100%;
}

.ui-post {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  height: 140px;
  width: 100%;
}

.ui-post.op-50 {
  opacity: 0.4;
  height: 90px;
}

/* ── Story Section ────────────────────────────────────────────────────────── */

.story-section {
  padding: calc(var(--space-3xl) * 1.2) var(--space-lg);
  position: relative;
  z-index: 10;
}

.story-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.story-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.story-section__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.story-section__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.story-section__subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.story-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.story-section__card {
  background: rgba(20, 20, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.story-section__card:hover {
  border-color: rgba(245, 215, 110, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 215, 110, 0.06);
}

.story-section__card-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.story-section__card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.story-section__card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.story-section__card-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 4px;
}

.story-section__footer {
  text-align: center;
}

.story-section__all {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-primary);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.story-section__all:hover { opacity: 1; }

/* ── Newsletter Signup Section ────────────────────────────────────────────── */

.nl-section {
  padding: calc(var(--space-3xl) * 1.2) var(--space-lg);
  position: relative;
  z-index: 10;
}

.nl-section__inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  background: rgba(245, 215, 110, 0.04);
  border: 1px solid rgba(245, 215, 110, 0.14);
  border-radius: 24px;
  padding: 48px 40px;
}

.nl-section__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.nl-section__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.nl-section__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.nl-section__form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.nl-section__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 13px 20px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.nl-section__input::placeholder { color: rgba(255, 255, 255, 0.35); }
.nl-section__input:focus { border-color: rgba(245, 215, 110, 0.45); }

.nl-section__btn {
  background: var(--accent-primary);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-body);
  padding: 13px 24px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.nl-section__btn:hover { opacity: 0.9; transform: translateY(-1px); }

.nl-section__legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 12px;
  line-height: 1.5;
}
.nl-section__legal a {
  color: rgba(245, 215, 110, 0.55);
  text-decoration: none;
}
.nl-section__legal a:hover { color: var(--accent-primary); }

.nl-section__success {
  display: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 0;
}
.nl-section__success strong { color: var(--accent-primary); }

@media (max-width: 480px) {
  .nl-section__inner { padding: 36px 24px; }
  .nl-section__form { flex-direction: column; }
  .nl-section__btn { width: 100%; }
}

/* ── Bottom CTA Section ───────────────────────────────────────────────────── */

.bottom-cta {
  padding: calc(var(--space-3xl) * 1.5) var(--space-lg);
  text-align: center;
  /* background: var(--bg-deep); */
  position: relative;
  z-index: 10;
}

.bottom-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.bottom-cta-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.btn-large {
  padding: 18px 46px;
  font-size: 1.125rem;
  border-radius: var(--radius-full);
}

@media (max-width: 900px) {
  /* Tablet grid for overview */
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-card:nth-child(n) {
    grid-column: span 1;
  }
  /* Center the last card on tablet */
  .overview-card:nth-child(5) {
    grid-column: span 2;
  }

  .mission-container {
    grid-template-columns: 1fr;
  }

  .visual-placeholder {
    height: 280px;
  }
}

@media (max-width: 600px) {
  /* Mobile layout adjustments */
  .overview {
    padding: var(--space-2xl) var(--space-md);
  }

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

  .overview-card:nth-child(n) {
    grid-column: span 1;
  }

  .mission {
    padding: var(--space-2xl) var(--space-md);
  }

  .bottom-cta {
    padding: var(--space-2xl) var(--space-md);
  }

  .hero--success .hero-title,
  .hero--success .hero-subtitle {
    display: none;
  }

  /* remove the large bottom gap that was meant to space the form from the footer */
  .hero--success .hero-signup {
    margin-bottom: 0;
  }

}

.demo {
  background: var(--bg-deep);
  padding: var(--space-3xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.demo-subline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 480px;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.demo-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 980px;
  width: 100%;
  align-items: start;
}

.post-card {
  background: rgba(20, 20, 31, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(245, 215, 110, 0.04);
  position: relative;
}

.post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: rgba(245, 215, 110, 0.25);
  pointer-events: none;
  z-index: 1;
}

.post-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 12px;
}

.post-card__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.post-card__username {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.post-card__time {
  font-size: 12px;
  color: var(--text-secondary);
}

.post-card__text-body {
  padding: 24px 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: left;
  word-break: break-word;
  white-space: pre-wrap;
}

.post-carousel {
  position: relative;
  background: #12121f;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.post-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-card__actions {
  display: flex;
  align-items: center;
  padding: 8px 4px 4px;
  gap: 4px;
}

.post-card__save {
  margin-left: auto;
}

.post-card__action-btn {
  padding: 6px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition:
    color 0.15s,
    background 0.15s;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.post-card__action-btn.like-btn.liked {
  color: #f75d52;
}

.post-card__save.saved svg {
  color: var(--accent-primary);
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 5px rgba(245, 215, 110, 0.7));
}

.post-card__likes-count {
  font-weight: 600;
  font-size: 14px;
  margin-left: -4px;
  margin-right: 8px;
  color: var(--text-primary);
  cursor: default;
}

.post-card__caption {
  padding: 6px 16px 14px;
  line-height: 1.5;
  color: var(--text-primary);
  font-size: 14px;
}

.ag-avatar-placeholder {
  border-radius: 50%;
  background: #1c1c2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  font-weight: 600;
  font-size: 11px;
  width: 32px;
  height: 32px;
}

.post-poll {
  margin: 0 16px 12px;
  padding: 14px 16px;
  background: #1c1c2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.post-poll__question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.post-poll__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-poll__option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  background: #14141f;
  font-size: 14px;
  color: var(--text-primary);
  text-align: left;
  width: 100%;
  cursor: default;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.demo-poll .post-poll__option {
  cursor: pointer;
}

.demo-poll .post-poll__option:not(.current-vote):hover {
  border-color: rgba(245, 215, 110, 0.4);
  background: rgba(245, 215, 110, 0.04);
}

.demo-poll .post-poll__option.current-vote {
  cursor: default;
}

.post-poll__option.winner {
  border-color: var(--accent-primary);
}

.post-poll__option-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(245, 215, 110, 0.12);
  border-radius: 10px 0 0 10px;
  pointer-events: none;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-poll__option.winner .post-poll__option-bar {
  background: rgba(245, 215, 110, 0.2);
}

.post-poll__option-text {
  position: relative;
  flex: 1;
  font-weight: 500;
}

.post-poll__option-pct {
  position: relative;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  flex-shrink: 0;
}

.post-poll__option.winner .post-poll__option-pct {
  color: var(--accent-primary);
  font-weight: 700;
}

.post-poll__option-check {
  position: relative;
  font-size: 13px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.post-poll__meta {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .demo-feed {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .demo {
    padding: var(--space-2xl) var(--space-md);
  }
}

@media (min-width: 768px) {
  html,
  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
  }
}

body:has(.form-input:focus, .otp-digit:focus) .overview,
body:has(.form-input:focus, .otp-digit:focus) .demo,
body:has(.form-input:focus, .otp-digit:focus) .mission,
body:has(.form-input:focus, .otp-digit:focus) .bottom-cta,
body:has(.form-input:focus, .otp-digit:focus) > .site-footer,
body:has(.form-input:focus, .otp-digit:focus) .cookie-banner {
  display: none !important;
}

/* ── Personal note and plain facts (landing, below the hero) ─────────────── */
.note-section {
  position: relative;
  z-index: 10;
  padding: var(--space-3xl) var(--space-lg);
}

.note {
  max-width: 640px;
  margin: 0 auto;
}

.note-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.note p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.note p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.note .note-sign {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-primary);
  margin-top: var(--space-lg);
}

.facts {
  max-width: 640px;
  margin: var(--space-3xl) auto 0;
  border-top: 1px solid var(--border-subtle);
}

.facts div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.facts dt {
  font-weight: 600;
  color: var(--text-primary);
}

.facts dd {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.bottom-cta-text a {
  color: var(--accent-primary);
}

/* ── Hero: say what agidion is, and let the next section peek in ────────── */
.hero {
  min-height: 86svh;
}

.hero-lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}

.form-how {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: var(--space-md) 0 var(--space-xs);
}

.bottom-cta-contact {
  margin-top: var(--space-2xl);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.bottom-cta-contact a {
  color: var(--accent-primary);
}

/* "For groups, clubs and venues" on the landing page: same look as the demo and facts above */
.groups-section .demo-subline {
  margin-left: auto;
  margin-right: auto;
}

.groups-section .facts {
  margin-top: 0;
}

.facts dd a {
  color: var(--accent-primary);
}

/* ════════════════════════════════════════════════════════════════════════════
   Landing page, 2026-11: navigation, split hero with phone, who / how / trust /
   FAQ sections, full footer. Same palette, fonts and spacing as above.
   ════════════════════════════════════════════════════════════════════════════ */

/* Small grey text was below WCAG contrast on the dark background */
:root {
  --text-muted: #7d7d92;
}

/* Section headings that used an unloaded weight of the body font */
.story-section__title,
.nl-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10000000;
  background: var(--accent-primary);
  color: var(--bg-deep);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

html {
  scroll-padding-top: 76px;
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: env(safe-area-inset-top);
}
.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.site-nav__logo {
  height: 40px;
  width: auto;
  margin: -4px -2px;
}
.site-nav__links {
  display: flex;
  gap: var(--space-lg);
  margin-left: auto;
}
.site-nav__links a,
.site-nav__lang {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.site-nav__links a:hover,
.site-nav__lang:hover {
  color: var(--text-primary);
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.site-nav__lang {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.site-nav__signin {
  color: var(--accent-primary);
  border: 1px solid rgba(245, 215, 110, 0.4);
  border-radius: var(--radius-md);
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.site-nav__signin:hover {
  background: rgba(245, 215, 110, 0.08);
}
@media (max-width: 860px) {
  .site-nav__links {
    display: none;
  }
  .site-nav__actions {
    margin-left: auto;
  }
}

/* ── Hero: text and form on the left, the app on the right ────────────────── */
.hero--split {
  min-height: calc(100svh - 64px);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: var(--space-3xl);
}
.hero-content--split {
  max-width: 600px;
  text-align: left;
}
.hero-content--split .hero-lede {
  margin-left: 0;
}
.hero-content--split .waitlist-form {
  margin: 0;
}
.hero-content--split .form-group {
  justify-content: flex-start;
}
@media (min-width: 961px) {
  /* a row on wide screens only: on phones the group is a column and a basis would become a height */
  .hero-content--split .form-group .form-input {
    flex: 1 1 240px;
  }
}
.hero-content--split .otp-inputs {
  justify-content: flex-start;
}
.hero-content--split .hero-signup {
  margin-bottom: var(--space-xl);
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
}
.hero-more {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 215, 110, 0.5);
  padding-bottom: 2px;
}
.hero-more:hover {
  color: var(--accent-primary);
}
.hero-apps {
  color: var(--text-muted);
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-content--split {
    margin: 0 auto;
    text-align: center;
  }
  .hero-content--split .hero-lede {
    margin-left: auto;
  }
  .hero-content--split .waitlist-form {
    margin: 0 auto;
  }
  .hero-content--split .form-group,
  .hero-content--split .otp-inputs,
  .hero-links {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
}

/* ── The phone in the hero (a drawing of the app, not a screenshot) ──────── */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  border-radius: 44px;
  padding: 12px;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}
.phone__screen {
  border-radius: 34px;
  background: var(--bg-deep);
  padding: 52px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 560px;
  text-align: left;
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  padding: 0 4px 4px;
}
.phone__bar img {
  height: 26px;
  margin: -3px -2px;
}
.phone__tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 12px 4px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.phone__tabs svg {
  width: 22px;
  height: 22px;
}
.phone__tabs svg:first-child {
  color: var(--accent-primary);
}
.hero-content--split .form-link {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-content--split .form-link:hover {
  color: var(--text-primary);
}
.phone-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-primary);
}
.phone-card p {
  margin: 0;
  color: var(--text-primary);
}
.phone-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.phone-card__time {
  margin-left: auto;
  color: var(--text-muted);
}
.phone-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.75rem;
}
.phone-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 6px;
}
.phone-card--event {
  border-color: rgba(245, 215, 110, 0.25);
}
.phone-event__title {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.phone-event__meta {
  display: block;
  color: var(--text-secondary);
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.phone-event__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-faces {
  display: inline-flex;
}
.phone-faces span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-primary);
}
.phone-faces span:first-child {
  margin-left: 0;
}
.phone-event__going {
  color: var(--text-secondary);
  font-size: 0.78rem;
}
.phone-event__btn {
  margin-left: auto;
  background: var(--accent-primary);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.phone-card--channel p {
  background: var(--bg-card);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 10px;
  display: inline-block;
}

/* ── Shared section frame ─────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 10;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-sm);
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}
.section-link {
  text-align: center;
  margin-top: var(--space-xl);
}
.section-link a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
}
.who-section .section-title {
  margin-bottom: var(--space-2xl);
}

/* ── Who agidion is for ───────────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}
.who-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.who-card:hover {
  border-color: rgba(245, 215, 110, 0.4);
  transform: translateY(-2px);
}
.who-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
}
.who-card__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}
.who-card__cta {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
@media (max-width: 960px) {
  .who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}
.how-step strong {
  font-size: 1.05rem;
  color: var(--text-primary);
}
.how-step span:last-child {
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}
.how-step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 215, 110, 0.12);
  color: var(--accent-primary);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
@media (max-width: 760px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── Privacy and trust ────────────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-lg);
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}
.trust-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 215, 110, 0.1);
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}
.trust-card__icon svg {
  width: 20px;
  height: 20px;
}
.trust-card__title {
  color: var(--text-primary);
  font-size: 1rem;
}
.trust-card__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section .section-title {
  margin-bottom: var(--space-2xl);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  position: relative;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-primary);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform var(--transition-fast);
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 0 0 18px;
  margin: 0;
}
.faq-item a {
  color: var(--accent-primary);
}

/* ── Notes: a single note gets one centred card instead of a lonely column ─ */
.story-section__grid--single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

/* ── Cookie notice: a slim bar at the bottom instead of a box over the text ─ */
.cookie-banner {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px max(var(--space-lg), env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));
  transform: translateY(130%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner-text {
  flex: 0 1 auto; /* not a basis: on phones the bar is a column and a basis would become its height */
  max-width: 640px;
}

/* ── Footer with columns ──────────────────────────────────────────────────── */
.site-footer--full {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left; /* the old footer was centred */
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: var(--space-md) 0;
  max-width: 300px;
}
.footer-lang {
  color: var(--text-secondary);
  font-size: 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  text-decoration: none;
}
.footer-lang:hover {
  color: var(--text-primary);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--text-primary);
}
.site-footer--full .footer-copyright {
  max-width: 1100px;
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Founder photo next to "Hi, I am Pascal" */
.note-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--space-lg);
}
.note-head .note-title {
  margin-bottom: 4px;
}
.note-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(245, 215, 110, 0.55);
  box-shadow: 0 0 0 6px rgba(245, 215, 110, 0.07);
}
.note-role {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 480px) {
  .note-head {
    gap: 14px;
  }
  .note-photo {
    width: 84px;
    height: 84px;
  }
}

/* Personal invite (/join/<username>/): who invited you, above the headline */
.hero-invite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  margin-bottom: var(--space-lg);
  background: rgba(245, 215, 110, 0.08);
  border: 1px solid rgba(245, 215, 110, 0.3);
  border-radius: 999px;
  text-align: left;
}
.hero-invite__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-invite__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--accent-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.hero-invite__text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.98rem;
}
.hero-invite__text small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}
