/* ============================================================
   PlentyTime Marketing Website
   Design: Dark mode, app-aligned, Inter font
   ============================================================ */

/* Accessibility: visually hidden but readable by screen readers & search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fonts – self-hosted (DSGVO-konform, kein Google-Request) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-serif-display-latin-400-normal.woff2') format('woff2');
}

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

:root {
  --bg: #171717;
  --surface: #242424;
  --surface-2: #2a2a2a;
  --surface-3: #1f1f1f;
  --border: #333333;
  --text-1: rgba(255, 255, 255, 0.9);
  --text-2: rgba(255, 255, 255, 0.7);
  --text-3: rgba(255, 255, 255, 0.4);
  --text-4: rgba(255, 255, 255, 0.2);

  --blue:   #18a0fb;
  --green:  #1bc47d;
  --red:    #f24822;
  --purple: #7b61ff;
  --orange: #ff8c00;
  --yellow: #ffd700;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img, svg {
  display: block;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 25%, var(--red) 50%, var(--purple) 75%, var(--orange) 100%);
  transition: width 0.1s linear;
}

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.navbar.scrolled {
  background: rgba(23, 23, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-icon {
  display: flex;
  align-items: center;
  position: relative;
}

/* Weißer Punkt im Logo – rein dekorativ, daher per CSS erzeugt.
   So kann er im Markup nicht vergessen werden (eine Quelle). */
.logo-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

@media (min-width: 768px) {
  .logo-icon::after {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.45);
  }
}

.logo-ring {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(
    #18a0fb   0deg,
    #1bc47d  72deg,
    #f24822 144deg,
    #7b61ff 216deg,
    #ff8c00 288deg,
    #18a0fb 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo-ring {
    width: 32px;
    height: 32px;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3.5px));
  }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-1);
}

.logo-time {
  display: inline-block;
  animation: timePulse 4s ease-in-out infinite;
  transform-origin: center;
}

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

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language dropdown */
.lang-wrap {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 9px;
  height: 35px;
  cursor: pointer;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-1);
}

.lang-current {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 56px;
  display: none;
  flex-direction: column;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-dropdown.is-open {
  display: flex;
}

.lang-option {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-1);
}

.lang-option.is-active {
  color: var(--text-1);
}

.btn-nav {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.03px;
  padding: 0 16px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-nav:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(24, 160, 251, 0.06);
}

.btn-login {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.03px;
  padding: 0 16px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from 90deg, #18a0fb, #1bc47d, #f24822, #7b61ff, #ff8c00, #18a0fb) border-box;
  border: 2px solid transparent;
  color: var(--text-1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-login:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Grid background texture */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Radial fade over grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 0%, var(--bg) 80%);
  pointer-events: none;
  z-index: 1;
}

/* Orbit animation */
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
}

.orbit-ring {
  position: relative;
  width: 100%;
  height: 100%;
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color);
  margin: -4px 0 0 -4px;
  box-shadow: 0 0 16px var(--color), 0 0 32px var(--color);
  opacity: 0.7;
}

.orbit-dot-1 { animation: orbit1 18s linear infinite; }
.orbit-dot-2 { animation: orbit2 22s linear infinite; }
.orbit-dot-3 { animation: orbit3 16s linear infinite; }
.orbit-dot-4 { animation: orbit4 26s linear infinite; }
.orbit-dot-5 { animation: orbit5 20s linear infinite; }

@keyframes orbit1 {
  from { transform: rotate(0deg)   translateX(220px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(220px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(72deg)  translateX(190px) rotate(-72deg); }
  to   { transform: rotate(432deg) translateX(190px) rotate(-432deg); }
}
@keyframes orbit3 {
  from { transform: rotate(144deg) translateX(240px) rotate(-144deg); }
  to   { transform: rotate(504deg) translateX(240px) rotate(-504deg); }
}
@keyframes orbit4 {
  from { transform: rotate(216deg) translateX(170px) rotate(-216deg); }
  to   { transform: rotate(576deg) translateX(170px) rotate(-576deg); }
}
@keyframes orbit5 {
  from { transform: rotate(288deg) translateX(200px) rotate(-288deg); }
  to   { transform: rotate(648deg) translateX(200px) rotate(-648deg); }
}

/* Mobile orbit — kleinere Radien, via JS-Klasse gesetzt */
@keyframes orbit1-sm {
  from { transform: rotate(0deg)   translateX(100px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}
@keyframes orbit2-sm {
  from { transform: rotate(72deg)  translateX(88px) rotate(-72deg); }
  to   { transform: rotate(432deg) translateX(88px) rotate(-432deg); }
}
@keyframes orbit3-sm {
  from { transform: rotate(144deg) translateX(108px) rotate(-144deg); }
  to   { transform: rotate(504deg) translateX(108px) rotate(-504deg); }
}
@keyframes orbit4-sm {
  from { transform: rotate(216deg) translateX(78px) rotate(-216deg); }
  to   { transform: rotate(576deg) translateX(78px) rotate(-576deg); }
}
@keyframes orbit5-sm {
  from { transform: rotate(288deg) translateX(92px) rotate(-288deg); }
  to   { transform: rotate(648deg) translateX(92px) rotate(-648deg); }
}

.hero-orbit.is-mobile {
  width: 260px;
  height: 260px;
}

.hero-orbit.is-mobile .orbit-dot-1 { animation-name: orbit1-sm; }
.hero-orbit.is-mobile .orbit-dot-2 { animation-name: orbit2-sm; }
.hero-orbit.is-mobile .orbit-dot-3 { animation-name: orbit3-sm; }
.hero-orbit.is-mobile .orbit-dot-4 { animation-name: orbit4-sm; }
.hero-orbit.is-mobile .orbit-dot-5 { animation-name: orbit5-sm; }

@media (max-width: 767px) {
  .hero { overflow: visible; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: fit-content;
  max-width: min(90vw, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 148px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 32px;
}

.headline-accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* Hero inline form */
.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-email-input {
  flex: 1;
  min-width: 200px;
  height: 50px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-1);
  outline: none;
  transition: border-color 0.2s;
}

.hero-email-input::placeholder {
  color: var(--text-3);
}

.hero-email-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-email-input.error {
  border-color: var(--red);
}

.hero-form .btn-primary {
  height: 50px;
  padding: 0 24px;
  white-space: nowrap;
  justify-content: center;
}

@media (max-width: 499px) {
  .hero-email-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 16px;
  }

  .hero-form .btn-primary {
    width: 100%;
    box-sizing: border-box;
  }
}

.hero-form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 8px;
  min-height: 16px;
  text-align: center;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only { display: inline; }
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from 90deg, #18a0fb, #1bc47d, #f24822, #7b61ff, #ff8c00, #18a0fb) border-box;
  border: 2px solid transparent;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

.btn-primary:active {
  transform: translateY(0);
}

/* --- Hero Floating UI Snippets --- */
.hero-floats {
  display: none;
}

@media (min-width: 1100px) {
  .hero-floats {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1850px;
    pointer-events: none;
    z-index: 2;
  }
}

.hf {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Cluster positions — left: Notizen (back) → Todos (mid) → Dienstplan (front) */
.hf-lc-back  { left: 108px; top: 44%; z-index: 2; opacity: 0.7;  animation: floatLC1 8s   ease-in-out infinite; }
.hf-lc-mid   { left: 62px;  top: 38%; z-index: 1; opacity: 0.85; animation: floatLC2 7s   ease-in-out infinite 0.6s; }
.hf-lc-front { left: 78px;  top: 24%; z-index: 3;                animation: floatLC3 6s   ease-in-out infinite 1.2s; }

/* Cluster positions — right: Abwesenheiten (back) → Kalender (mid) → Zeiterfassung (front) */
.hf-rc-back  { right: 108px; top: 52%; z-index: 2; opacity: 0.7;  animation: floatRC1 9s   ease-in-out infinite 0.3s; }
.hf-rc-mid   { right: 68px;  top: 45%; z-index: 1; opacity: 0.85; animation: floatRC2 7.5s ease-in-out infinite 1.5s; }
.hf-rc-front { right: 84px;  top: 30%; z-index: 3;                animation: floatRC3 6.5s ease-in-out infinite; }

/* Narrow desktop: push clusters to edges so they don't overlap the hero name */
@media (min-width: 1100px) and (max-width: 1380px) {
  .hf-lc-back  { left: 28px; }
  .hf-lc-mid   { left: -18px; }
  .hf-lc-front { left: -2px; }

  .hf-rc-back  { right: 18px; }
  .hf-rc-mid   { right: -22px; }
  .hf-rc-front { right: -6px; }
}

@media (min-width: 1100px) and (max-width: 1210px) {
  .hf-lc-back  { left: -30px; }
  .hf-lc-mid   { left: -76px; }
  .hf-lc-front { left: -60px; }

  .hf-rc-back  { right: -30px; }
  .hf-rc-mid   { right: -78px; }
  .hf-rc-front { right: -62px; }
}

@keyframes floatLC1 { 0%,100% { transform: rotate(-5deg)   translateY(0);   } 50% { transform: rotate(-5deg)   translateY(-8px);  } }
@keyframes floatLC2 { 0%,100% { transform: rotate(4deg)    translateY(0);   } 50% { transform: rotate(4deg)    translateY(-10px); } }
@keyframes floatLC3 { 0%,100% { transform: rotate(-1.5deg) translateY(0);   } 50% { transform: rotate(-1.5deg) translateY(-9px);  } }
@keyframes floatRC1 { 0%,100% { transform: rotate(5deg)    translateY(0);   } 50% { transform: rotate(5deg)    translateY(-7px);  } }
@keyframes floatRC2 { 0%,100% { transform: rotate(-3.5deg) translateY(0);   } 50% { transform: rotate(-3.5deg) translateY(-11px); } }
@keyframes floatRC3 { 0%,100% { transform: rotate(1.5deg)  translateY(0);   } 50% { transform: rotate(1.5deg)  translateY(-9px);  } }

/* Shared label */
.hf-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Dienstplan snippet */
.hf-shift-row { margin-bottom: 8px; }

.hf-shift-block {
  border-left: 3px solid;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  padding: 4px 7px 5px;
}

.hf-shift-name {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  margin-bottom: 3px;
}

.hf-shift-time {
  font-size: 10px;
  color: var(--text-2);
  margin-bottom: 4px;
  font-weight: 500;
}

.hf-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.hf-timeline span {
  height: 3px;
  border-radius: 1px;
  background: rgba(255,255,255,0.08);
}

.hf-meta {
  font-size: 10px;
  color: var(--text-3);
}

/* Todo snippet */
.hf-todo-item {
  display: flex;
  align-items: center;
  gap: 7px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.03);
  padding: 5px 8px;
  margin-bottom: 4px;
}

.hf-todo-item:last-child { margin-bottom: 0; }

.hf-todo-check {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.hf-todo-body {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.hf-todo-title {
  font-size: 10px;
  color: var(--text-2);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-todo-badge {
  font-size: 8px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Calendar snippet */
.hf-cal-event {
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.04);
  padding: 5px 8px;
}

.hf-cal-time {
  font-size: 9px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.hf-cal-title {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
}

/* Timetracking snippet */
.hf-te-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.hf-te-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hf-te-day   { font-size: 10px; font-weight: 600; color: var(--text-2); }
.hf-te-sep   { font-size: 10px; color: var(--text-3); }
.hf-te-total { font-size: 10px; color: var(--text-3); }

.hf-te-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.03);
  padding: 5px 8px;
}

.hf-te-desc { font-size: 10px; color: var(--text-2); }
.hf-te-dur  { font-size: 10px; font-weight: 700; color: var(--text-1); }

/* Abwesenheiten snippet */
.hf-ab-entry {
  border-bottom: 3px solid;
  border-radius: 4px 4px 0 0;
  background: rgba(255,255,255,0.04);
  padding: 5px 8px;
}
.hf-ab-status { font-size: 10px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.hf-ab-dates  { font-size: 9px; color: var(--text-3); }

/* Notizen snippet */
.hf-note-title { font-size: 10px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.hf-note-line  { font-size: 10px; color: var(--text-3); padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Scroll hint */
/* --- Section Shared Styles --- */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 56px;
}

/* --- Problem Section --- */
.problem-section {
  padding: 120px 0 80px;
}

.problem-section .container {
  text-align: center;
}

.chaos-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .chaos-cards {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
    overflow: visible;
    padding: 0;
  }

  .chaos-card {
    width: 35%;
    max-width: 150px;
    min-width: 0;
    flex-shrink: 0;
    padding: 16px;
    overflow: hidden;
  }

  .chaos-card + .chaos-card {
    margin-left: -6%;
  }

  .chaos-card-1 { z-index: 1; position: relative; }
  .chaos-card-2 { z-index: 2; position: relative; }
  .chaos-card-3 { z-index: 1; position: relative; }
}

.chaos-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 180px;
  text-align: left;
  opacity: 0.75;
}

.chaos-card-1 { transform: rotate(-2.5deg) translateY(8px); }
.chaos-card-2 { transform: rotate(0.8deg) translateY(-4px); }
.chaos-card-3 { transform: rotate(2.2deg) translateY(6px); }

.chaos-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--text-3);
  background: var(--surface-2);
}

.chaos-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.chaos-card-body {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
}

.problem-bridge {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 400px;
  margin: 0 auto;
  padding-top: 16px;
}

.bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}

.bridge-line:last-child {
  background: linear-gradient(90deg, var(--border), transparent);
}

.bridge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* --- Modules Section --- */
.modules-section {
  padding: 80px 0 120px;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (min-width: 900px) {
  .modules-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards with their own transition: enforce reveal timing while animating */
.module-card.reveal,
.value-card.reveal {
  transition: opacity 0.75s ease, transform 0.75s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* After reveal completes (.revealed added by JS), restore fast hover transitions */
.module-card.reveal.revealed {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-card.reveal.revealed {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.module-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  background: var(--surface-2);
}

.module-card-inner {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.module-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}

.module-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}

.module-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 20px;
  flex: 1;
}

/* Module Previews */
.module-preview {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  margin-top: auto;
  height: 180px;
  overflow: hidden;
}

/* ===== Roster Matrix Preview ===== */
.rm-header,
.rm-row {
  display: grid;
  grid-template-columns: 32px 1fr 1fr 1fr;
  gap: 4px;
  align-items: start;
}

.rm-header {
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rm-date-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding-top: 2px;
  padding-left: 2px;
}

.rm-weekday {
  font-size: 8px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rm-day {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1;
}

.rm-emp-col {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.02em;
}

.rm-row {
  margin-bottom: 4px;
}
.rm-row:last-child { margin-bottom: 0; }

.rm-today .rm-date-col {
  /* subtle today highlight on date */
}

.rm-date-today .rm-day {
  color: var(--blue);
}

.rm-today {
  background: rgba(24,160,251,0.03);
  border-radius: 4px;
  margin-left: -2px;
  padding-left: 2px;
}

.rm-cell {
  min-height: 32px;
}

.rm-cell-empty {
  background: rgba(255,255,255,0.02);
  border-radius: 4px;
  border: 1px dashed rgba(255,255,255,0.06);
}

.rm-shift {
  border-left: 3px solid;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 32px;
}

.rm-shift-label {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 5px 2px;
  letter-spacing: 0.01em;
}

.rm-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  padding: 0 3px 3px;
  margin-top: auto;
}

.rm-timeline span {
  height: 3px;
  border-radius: 1px;
  background: rgba(255,255,255,0.08);
}

/* ===== Calendar Week Preview ===== */
.cw-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.cw-head-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
}

.cw-dow {
  font-size: 8px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.cw-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.cw-today-num {
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.cw-body-cell {
  min-height: 28px;
}

.cw-event {
  border-left: 2px solid;
  background: rgba(255,255,255,0.04);
  border-radius: 0 3px 3px 0;
  padding: 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 28px;
}

.cw-event-time {
  font-size: 8px;
  color: var(--text-3);
  line-height: 1;
}

.cw-event-title {
  font-size: 9px;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.2;
}

/* ===== Todos List Preview ===== */
.tl-section-header {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 3px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.03);
}

.tl-item:last-child { margin-bottom: 0; }

.tl-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-check-done {
  background: #f24822;
  border-color: #f24822;
}

.tl-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tl-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tl-title {
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-title-done {
  text-decoration: line-through;
  color: var(--text-3);
}

.tl-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 20px;
  flex-shrink: 0;
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tl-meta-item {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--text-3);
}

.tl-meta-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== Timetracking Entry Preview ===== */
.te-group-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.te-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.te-group-day {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.te-group-sep {
  font-size: 10px;
  color: var(--text-3);
}

.te-group-total {
  font-size: 10px;
  color: var(--text-3);
}

.te-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  margin-bottom: 2px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.03);
}

.te-entry:last-child { margin-bottom: 0; }

.te-desc {
  font-size: 10px;
  color: var(--text-2);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.te-range {
  font-size: 9px;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.te-dur {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 28px;
  text-align: right;
}

/* ===== Absence Preview ===== */
.ab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 3px;
  border-left: 3px solid;
  border-radius: 0 4px 4px 0;
  background: rgba(255,255,255,0.03);
}

.ab-item:last-child { margin-bottom: 0; }

.ab-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.ab-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ab-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.ab-type {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
}

.ab-dates {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.ab-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ab-badge-ok      { background: rgba(27,196,125,0.15); color: #1bc47d; }
.ab-badge-pending { background: rgba(255,140,0,0.15);  color: #ff8c00; }

/* ===== Notes Preview (Sticky Notes) ===== */
.sn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 100%;
}

.sn {
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.sn-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sn-text {
  font-size: 9px;
  color: rgba(0,0,0,0.75);
  line-height: 1.45;
  padding: 6px 7px;
  flex: 1;
  font-family: var(--font);
  font-weight: 400;
}

/* Coming Soon Card */
.module-card-soon {
  border-style: dashed;
  border-color: rgba(255,255,255,0.12);
  border-left: 3px dashed rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.module-card-soon:hover {
  opacity: 0.55;
  transform: none;
  box-shadow: none;
  background: rgba(255,255,255,0.02);
}

.module-card-inner-soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 24px;
  height: 100%;
  min-height: 220px;
  gap: 12px;
}

.soon-icon {
  color: var(--text-3);
  margin-bottom: 4px;
}

.soon-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-2);
}

.soon-body {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-3);
  flex: 1;
}

.soon-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 4px 10px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 20px;
}

/* --- Roadmap Section --- */
.roadmap-section {
  padding: 80px 0;
  background: var(--bg);
}

.roadmap-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 48px;
}

/* Timeline */
.roadmap-timeline {
  margin-bottom: 48px;
}

.timeline-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 580px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.timeline-dot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.timeline-step.done .timeline-dot {
  background: var(--text-3);
}

.timeline-step.active .timeline-dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(24, 160, 251, 0.15);
  animation: roadmap-pulse 2s ease-in-out infinite;
}

.timeline-step.upcoming .timeline-dot {
  background: transparent;
  border: 2px solid var(--text-4);
}

@keyframes roadmap-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(24, 160, 251, 0.15); }
  50%       { box-shadow: 0 0 0 10px rgba(24, 160, 251, 0); }
}

.timeline-connector {
  flex: 1;
  height: 2px;
  margin-top: 15px;
  align-self: flex-start;
  min-width: 40px;
}

.timeline-connector.solid {
  background: var(--text-3);
}

.timeline-connector.dashed {
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 6px,
    transparent 6px,
    transparent 12px
  );
}

.timeline-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.timeline-phase {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}

.timeline-step.done .timeline-phase,
.timeline-step.upcoming .timeline-phase {
  color: var(--text-3);
}

.timeline-status {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.timeline-status.done     { color: var(--text-3); }
.timeline-status.active   { color: var(--blue); }
.timeline-status.upcoming { color: var(--text-3); }

/* Roadmap body: 2 columns on desktop */
.roadmap-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .roadmap-body {
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: start;
  }
}

/* Work in Progress */
.roadmap-wip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  font-family: var(--font);
}

.roadmap-wip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  font-family: var(--font);
}

.roadmap-wip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18a0fb;
  flex-shrink: 0;
  animation: wipPulse 2s ease-in-out infinite;
}

@keyframes wipPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(24, 160, 251, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(24, 160, 251, 0); }
}

.roadmap-wip-text {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  font-family: var(--font);
}

/* Module cards grid */
.roadmap-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .roadmap-modules {
    grid-template-columns: repeat(3, 1fr);
  }
}

.roadmap-module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roadmap-module-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}

.roadmap-module-badge {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.roadmap-module-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
  animation: badge-blink 2.4s ease-in-out infinite;
}

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

/* Decorative dot row */
.roadmap-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 112px;
}

.roadmap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.55;
  animation: dot-wave 3s ease-in-out infinite;
}

.roadmap-dot:nth-child(1) { animation-delay: 0s; }
.roadmap-dot:nth-child(2) { animation-delay: 0.18s; }
.roadmap-dot:nth-child(3) { animation-delay: 0.36s; }
.roadmap-dot:nth-child(4) { animation-delay: 0.54s; }
.roadmap-dot:nth-child(5) { animation-delay: 0.72s; }

@keyframes dot-wave {
  0%, 100% { transform: translateY(0);   opacity: 0.55; }
  50%       { transform: translateY(-5px); opacity: 1; }
}

/* --- Values Section --- */
.values-section {
  padding: 80px 0 120px;
  background: linear-gradient(to bottom, var(--bg), var(--surface-3));
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.value-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 10px;
}

.value-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.pricing-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 2px;
}

.pricing-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.pricing-toggle-btn.is-active {
  background: var(--surface-2);
  color: var(--text-1);
}

.pricing-toggle-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(27, 196, 125, 0.15);
  color: #1bc47d;
  border-radius: 999px;
  padding: 1px 6px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  width: 100%;
  max-width: 400px;
}

.pricing-price-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 10px;
  line-height: 1;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.pricing-period-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  align-self: flex-end;
}

.pricing-yearly-note {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  border-left: 3px solid;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.pricing-trial-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.pricing-trial-row:last-of-type {
  margin-bottom: 0;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  width: 100%;
  text-align: center;
}

.pricing-placeholder {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.pricing-placeholder__sub {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* --- Waitlist Section --- */
.waitlist-section {
  padding: 180px 0 120px;
  background: var(--surface-3);
  position: relative;
  overflow: hidden;
}

.waitlist-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(24,160,251,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.waitlist-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 32px;
}

.waitlist-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.waitlist-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin-bottom: 16px;
}

.waitlist-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 40px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 499px) {
  .email-input {
    font-size: 16px;
    min-height: 48px;
    height: 48px;
    border-width: 2px;
    border-color: rgba(255,255,255,0.15);
    width: 100%;
    box-sizing: border-box;
  }

  .btn-waitlist {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-email-input {
    font-size: 16px;
  }
}

@media (min-width: 500px) {
  .form-row {
    flex-direction: row;
  }
}

.email-input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input::placeholder {
  color: var(--text-3);
}

.email-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 160, 251, 0.12);
}

.email-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(242, 72, 34, 0.12);
}

.btn-waitlist {
  height: 48px;
  padding: 0 24px;
  background:
    linear-gradient(var(--surface-3), var(--surface-3)) padding-box,
    conic-gradient(from 90deg, #18a0fb, #1bc47d, #f24822, #7b61ff, #ff8c00, #18a0fb) border-box;
  border: 2px solid transparent;
  color: var(--text-1);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-waitlist:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-waitlist:active {
  transform: translateY(0);
}

.btn-waitlist:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.form-error {
  font-size: 12px;
  color: var(--red);
  text-align: left;
  min-height: 16px;
}

.waitlist-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(27, 196, 125, 0.08);
  border: 1px solid rgba(27, 196, 125, 0.2);
  border-radius: var(--radius-lg);
  animation: fadeInUp 0.4s ease;
}

.waitlist-success.visible {
  display: flex;
}

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

.success-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(27,196,125,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-text {
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

.waitlist-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 20px;
}

.waitlist-trust svg {
  display: inline;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-2);
}

.footer-dots {
  display: flex;
  gap: 3px;
}

.footer-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0.7;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
}

.footer-links a:hover {
  color: var(--text-2);
}

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

/* ============================================================
   Signup Modal
   ============================================================ */

.smodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.smodal-backdrop.is-visible {
  opacity: 1;
}

/* hide with display:none when not open, but keep transition */
.smodal-backdrop[hidden] {
  display: flex !important; /* override HTML hidden so we can animate */
  pointer-events: none;
}

.smodal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.smodal-backdrop.is-visible .smodal {
  transform: translateY(0);
}

.smodal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

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

/* Check icon */
.smodal-check-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(27, 196, 125, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.smodal-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}

.smodal-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 12px;
}

.smodal-ask {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 28px;
}

/* Step 1 buttons */
.smodal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-smodal-yes {
  width: 100%;
  padding: 13px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from 90deg, #18a0fb, #1bc47d, #f24822, #7b61ff, #ff8c00, #18a0fb) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-smodal-yes:hover {
  opacity: 0.8;
}

.btn-smodal-no {
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-smodal-no:hover {
  color: var(--text-2);
}

/* Step 2 */
.smodal-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.smodal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.smodal-input,
.smodal-select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.smodal-input::placeholder {
  color: var(--text-3);
}

.smodal-input:focus,
.smodal-select:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.smodal-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.smodal-select option {
  background: var(--surface-2);
}

.smodal-contact-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: -2px;
}

.smodal-contact-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.smodal-method {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.smodal-method.is-active {
  border-color: var(--blue);
  background: rgba(24, 160, 251, 0.1);
  color: var(--blue);
}

.smodal-method:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-2);
}

.btn-smodal-submit {
  width: 100%;
  height: 44px;
  margin-top: 20px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from 90deg, #18a0fb, #1bc47d, #f24822, #7b61ff, #ff8c00, #18a0fb) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-smodal-submit:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .smodal {
    padding: 32px 24px;
  }
  .smodal-row {
    grid-template-columns: 1fr;
  }
}

/* Modal Success Step */
.smodal-success-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(27, 196, 125, 0.08);
  border: 1px solid rgba(27, 196, 125, 0.2);
  border-radius: var(--radius-lg);
  animation: fadeInUp 0.4s ease;
}

.smodal-success-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--green);
}

/* ============================================================
   Legal Pages (Impressum / Datenschutz)
   ============================================================ */

.legal-page {
  padding-top: 120px;
  padding-bottom: 96px;
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 40px;
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--text-1);
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}

.legal-content h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 12px;
}

.legal-content ul {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content ul li {
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content strong {
  color: var(--text-1);
  font-weight: 500;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.legal-placeholder {
  background: rgba(255, 215, 0, 0.08);
  border: 1px dashed rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 13px;
  color: var(--yellow);
  font-style: italic;
}
