/* ── Landing page enhancements ── */

html:has(.landing-page),
html:has(.landing-page) body {
  overflow-x: hidden;
  max-width: 100%;
}
.landing-page { overflow-x: clip; position: relative; max-width: 100%; }

/* German-flag particle canvas */
.de-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.landing-page .de-flag,
.landing-page section,
.legal-page footer,
.landing-page footer,
.landing-page .section-divider {
  position: relative;
  z-index: 1;
}
.landing-page .topbar.landing-top {
  position: sticky;
  top: 0;
  z-index: 120;
  overflow: visible;
}
.landing-page .whatsapp-fab,
.landing-page .scroll-top { z-index: 50; }
.landing-page .welcome-modal { z-index: 100; }

/* Section rhythm & dividers */
.landing-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 20px;
}
.landing-section.section-alt {
  max-width: none;
  padding: 0;
  position: relative;
}
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  border-block: 1px solid rgba(255, 204, 0, 0.07);
  z-index: -1;
}
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 20px;
}
.section-divider {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-divider span {
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(221, 0, 0, 0.35) 25%,
    rgba(255, 204, 0, 0.5) 50%,
    rgba(221, 0, 0, 0.35) 75%,
    transparent 100%
  );
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 10px;
}
.section-head .sub {
  margin: 0;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}
.section-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 99px;
  margin: 22px auto 0;
}

.landing-top {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  direction: ltr;
}
.landing-top .logo {
  direction: ltr;
  unicode-bidi: isolate;
}
.landing-top .nav-actions {
  margin-inline-start: auto;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.landing-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  direction: rtl;
}
.landing-nav a {
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.landing-nav a:hover { color: var(--gold); background: rgba(255,204,0,0.06); }

.landing-hero {
  position: relative;
  text-align: right;
  padding: 56px 20px 72px;
  max-width: none;
  margin: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center 40%;
  filter: blur(8px) saturate(1.25) brightness(0.92) contrast(1.04);
  transform: translateZ(0) scale(1.04);
  transform-origin: center center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(135deg, rgba(221, 0, 0, 0.18) 0%, transparent 48%, rgba(255, 204, 0, 0.14) 100%),
    radial-gradient(700px 360px at 12% 25%, rgba(221, 0, 0, 0.2), transparent 62%),
    radial-gradient(620px 320px at 88% 35%, rgba(255, 204, 0, 0.16), transparent 58%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { text-align: center; }

.landing-hero .hero-b2 {
  color: var(--gold);
  font-style: normal;
}
.landing-hero .hero-b1 {
  color: var(--red);
  font-style: normal;
}
.landing-hero .hero-headline {
  margin: 10px 0 12px;
  line-height: 1;
}
.landing-hero .hero-headline-line {
  display: block;
}
.landing-hero .hero-headline-sub {
  margin-top: 0.05em;
}
.landing-hero .lead {
  margin-top: 0;
}
.pill-levels {
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pill-b2 { color: var(--gold); }
.pill-b1 { color: var(--red); }

.hero-offers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  width: 100%;
}

.landing-hero .offer-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 4px;
  padding: 10px 20px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.22), rgba(221, 0, 0, 0.14));
  border: 1px solid rgba(255, 204, 0, 0.55);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.45;
  text-decoration: none;
  box-shadow:
    0 0 28px rgba(255, 204, 0, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.2s ease;
  animation: offerGlow 2.8s ease-in-out infinite;
}
.landing-hero .offer-promo.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.landing-hero .offer-promo:hover {
  box-shadow:
    0 0 36px rgba(255, 204, 0, 0.32),
    0 10px 28px rgba(0, 0, 0, 0.4);
  color: #fff;
}
@keyframes offerGlow {
  0%, 100% { border-color: rgba(255, 204, 0, 0.45); }
  50% { border-color: rgba(255, 204, 0, 0.85); }
}

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

/* Floating telc B2 certificate */
.hero-certificate-scene {
  position: relative;
  width: 100%;
  max-width: 340px;
  min-height: 420px;
  margin: 0 auto;
  padding: 16px 20px 8px 8px;
  overflow: visible;
}
.hero-certificate-aura {
  position: absolute;
  inset: 10% 0 6% 4%;
  background:
    radial-gradient(ellipse at 30% 45%, rgba(255, 204, 0, 0.22), transparent 68%),
    radial-gradient(ellipse at 72% 58%, rgba(221, 0, 0, 0.18), transparent 64%);
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
}
.hero-certificate-float {
  position: relative;
  z-index: 1;
  animation: certFloat 5.5s ease-in-out infinite;
  overflow: visible;
}
.hero-certificate {
  position: relative;
  margin: 0;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 10px 24px rgba(221, 0, 0, 0.14);
}
.hero-certificate-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.42),
    0 14px 36px rgba(221, 0, 0, 0.24),
    0 8px 22px rgba(255, 204, 0, 0.18),
    0 0 0 1px rgba(255, 204, 0, 0.12);
}
.hero-certificate-badge {
  position: absolute;
  top: -12px;
  right: -16px;
  left: auto;
  bottom: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.94);
  border: 1px solid rgba(255, 204, 0, 0.38);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 4px 16px rgba(221, 0, 0, 0.16);
}
.hero-certificate-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #e6a800);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.hero-certificate-badge strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
}
.hero-certificate-badge small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  direction: ltr;
  text-align: left;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-certificate-float {
    animation: none;
  }
}

.btn.glow {
  box-shadow: 0 0 24px rgba(255,204,0,0.35);
}
.btn.glow:hover {
  box-shadow: 0 0 32px rgba(255,204,0,0.5);
}

/* Hero CTA pill (ACOM-style hover) */
.landing-hero .hero-actions {
  position: relative;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin-top: 24px;
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  isolation: isolate;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 204, 0, 0.22);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.hero-actions-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #ffcc00 100%);
  box-shadow: 0 0 22px rgba(255, 204, 0, 0.42);
  pointer-events: none;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}
[data-hero-actions] .btn {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 8.25rem;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transition:
    color 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-hero-actions] .btn.is-highlighted {
  color: #111 !important;
  font-weight: 800;
  transform: scale(1.03);
}
[data-hero-actions] .btn:not(.is-highlighted) {
  color: rgba(255, 255, 255, 0.9);
}
[data-hero-actions]:hover .btn:not(.is-highlighted) {
  color: rgba(255, 255, 255, 0.62);
}
[data-hero-actions] .btn:not(.is-highlighted):hover {
  color: #ffdc4d;
}
[data-hero-actions] .btn.glow.is-highlighted {
  box-shadow: none !important;
}

.landing-hero .stats {
  margin-top: 44px;
  margin-inline: auto;
  padding: 22px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  width: fit-content;
  max-width: 100%;
  direction: ltr;
}
.landing-hero .stats > div {
  text-align: center;
  min-width: 88px;
}
.landing-hero .stats strong,
.landing-hero .stats span {
  display: block;
  text-align: center;
}

/* Account demo — phone + desktop side by side */
.landing-demo {
  text-align: center;
}
.landing-demo-stage {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  padding: 8px 0 4px;
}
.iphone-frame {
  position: relative;
  width: min(260px, 42vw);
  aspect-ratio: 9 / 16;
  padding: 10px 9px 14px;
  border-radius: 40px;
  background:
    linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 38%, #0a0a0a 100%);
  border: 1px solid rgba(255, 204, 0, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 204, 0, 0.06);
  animation: iphone-float 5.5s ease-in-out infinite;
  flex: 0 0 auto;
}
.iphone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 16px;
  border-radius: 999px;
  background: #050505;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.demo-video,
.iphone-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}
.iphone-home {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

/* Desktop / laptop chrome */
.desktop-frame {
  position: relative;
  width: min(520px, 88vw);
  flex: 0 1 auto;
  animation: iphone-float 5.5s ease-in-out infinite;
  animation-delay: 0.35s;
}
.desktop-bezel {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 14px 14px 8px 8px;
  background:
    linear-gradient(180deg, #3a3a3c 0%, #1a1a1c 55%, #0d0d0f 100%);
  border: 1px solid rgba(255, 204, 0, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 24px 50px rgba(0, 0, 0, 0.5);
}
.desktop-camera {
  width: 8px;
  height: 8px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #2a2a2e;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.desktop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.desktop-base {
  height: 10px;
  margin: 0 8%;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #2c2c2e, #141416);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 0;
  position: relative;
}
.desktop-notch {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 18%;
  height: 5px;
  border-radius: 0 0 4px 4px;
  background: #0a0a0a;
}
.desktop-stand {
  width: 28%;
  height: 14px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #1c1c1e, #0a0a0a);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

@keyframes iphone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 720px) {
  .landing-demo-stage {
    flex-direction: column;
    align-items: center;
  }
  .iphone-frame {
    width: min(240px, 70vw);
  }
  .desktop-frame {
    width: min(100%, 420px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-frame,
  .desktop-frame { animation: none; }
}

/* Skill cards with previews */
.landing-skills {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 1024px) {
  .landing-skills { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .landing-skills { grid-template-columns: 1fr; }
}
.skill-card-rich {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.skill-card-rich:hover {
  transform: translateY(-4px);
  border-color: rgba(255,204,0,0.3);
}
.skill-card-rich h3,
.skill-card-rich p,
.skill-card-rich .skill-tag {
  padding-inline: 20px;
}
.skill-card-rich h3 { padding-top: 16px; margin: 0 0 8px; }
.skill-card-rich p { color: var(--muted); font-size: 14px; margin: 0 0 12px; line-height: 1.6; }
.skill-tag {
  display: block;
  padding-bottom: 18px;
  font-size: 12px;
  color: var(--gold);
  opacity: 0.85;
}

.skill-preview {
  height: 120px;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(221,0,0,0.08));
  border-bottom: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.lesen-preview { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.preview-chip {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.preview-chip.dim { background: rgba(255,255,255,0.08); color: var(--muted); }
.preview-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  width: 100%;
}
.preview-line.short { width: 60%; }

.horen-preview .audio-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}
.horen-preview .audio-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 99px;
}
.audio-time { font-size: 11px; color: var(--muted); direction: ltr; text-align: left; }
.audio-label { font-size: 12px; color: var(--gold); }

.schreiben-preview { position: relative; }
.grade-badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(255,204,0,0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}
.ai-tag { font-size: 12px; color: #8fd4ff; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.zet-ai-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff8dc 0%, #ffcc00 22%, #5a4a18 55%, #1a1400 100%);
  box-shadow: 0 0 0 1.5px rgba(26, 20, 0, 0.55), 0 0 8px rgba(255, 204, 0, 0.4);
}

.mundlich-preview .speech-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-style: italic;
  direction: ltr;
  text-align: left;
  color: #ddd;
}
.mic-tag { font-size: 12px; color: var(--gold); margin-top: auto; }

/* Skill preview micro-animations (triggered when #skills scrolls into view) */
.landing-skills.is-animated .skill-card-rich {
  animation: skillCardIn 0.65s ease backwards;
}
.landing-skills.is-animated .skill-card-rich:nth-child(1) { animation-delay: 0.04s; }
.landing-skills.is-animated .skill-card-rich:nth-child(2) { animation-delay: 0.12s; }
.landing-skills.is-animated .skill-card-rich:nth-child(3) { animation-delay: 0.2s; }
.landing-skills.is-animated .skill-card-rich:nth-child(4) { animation-delay: 0.28s; }

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

.landing-skills.is-animated .lesen-preview .preview-chip {
  animation: lesenChipCycle 7.5s ease-in-out infinite;
}
.landing-skills.is-animated .lesen-preview .preview-chip:nth-child(1) { animation-delay: 0s; }
.landing-skills.is-animated .lesen-preview .preview-chip:nth-child(2) { animation-delay: 2.5s; }
.landing-skills.is-animated .lesen-preview .preview-chip:nth-child(3) { animation-delay: 5s; }

@keyframes lesenChipCycle {
  0%, 8%, 100% {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    transform: scale(1);
    box-shadow: none;
  }
  4% {
    background: var(--gold);
    color: #111;
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(255, 204, 0, 0.35);
  }
}

.landing-skills.is-animated .lesen-preview .preview-line {
  animation: previewLinePulse 2.8s ease-in-out infinite;
  transform-origin: right center;
}
.landing-skills.is-animated .lesen-preview .preview-line.short {
  animation-delay: 0.35s;
}

@keyframes previewLinePulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.88); }
  50% { opacity: 1; transform: scaleX(1); }
}

.horen-preview .audio-bar i { width: 72%; }

.landing-skills.is-animated .horen-preview .audio-bar i {
  animation: skillAudioProgress 5s ease-in-out infinite;
}

@keyframes skillAudioProgress {
  0% { width: 8%; }
  40% { width: 72%; }
  55% { width: 72%; }
  100% { width: 22%; }
}

.landing-skills.is-animated .horen-preview .audio-time {
  animation: audioTimePulse 5s steps(1) infinite;
}

@keyframes audioTimePulse {
  0%, 100% { opacity: 0.65; }
  40%, 55% { opacity: 1; color: var(--gold); }
}

.landing-skills.is-animated .schreiben-preview .preview-line {
  animation: schreibenLineWrite 2.4s ease-in-out infinite;
  transform-origin: right center;
}
.landing-skills.is-animated .schreiben-preview .preview-line:nth-of-type(2) {
  animation-delay: 0.4s;
}

@keyframes schreibenLineWrite {
  0%, 100% { transform: scaleX(0.45); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
}

.landing-skills.is-animated .schreiben-preview .grade-badge {
  animation: gradeBadgeGlow 2.6s ease-in-out infinite;
}

@keyframes gradeBadgeGlow {
  0%, 100% { transform: scale(1); box-shadow: none; }
  50% { transform: scale(1.05); box-shadow: 0 0 14px rgba(255, 204, 0, 0.28); }
}

.landing-skills.is-animated .schreiben-preview .ai-tag {
  animation: aiTagFade 2.6s ease-in-out infinite;
}

@keyframes aiTagFade {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.landing-skills.is-animated .mundlich-preview .speech-bubble {
  animation: speechBubbleFloat 3.2s ease-in-out infinite;
}

@keyframes speechBubbleFloat {
  0%, 100% { transform: translateY(0); border-color: var(--line); }
  50% { transform: translateY(-5px); border-color: rgba(255, 204, 0, 0.35); }
}

.landing-skills.is-animated .mundlich-preview .mic-tag {
  animation: micTagPulse 3.2s ease-in-out infinite;
}

@keyframes micTagPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-skills.is-animated .skill-card-rich,
  .landing-skills.is-animated .skill-preview,
  .landing-skills.is-animated .skill-preview * {
    animation: none !important;
    transform: none !important;
  }
}

/* How section */
.landing-how .how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 32px;
}
.how-steps { display: grid; gap: 20px; }
.how-steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  position: relative;
  padding-inline-start: 56px;
}
.step-num {
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.how-steps h3 { margin: 0 0 6px; font-size: 18px; }
.how-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.how-inline-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.how-inline-link:hover { color: #fff; }
.wa-inline {
  display: inline-block;
  margin-top: 10px;
  color: #25d366;
  font-size: 13px;
  font-weight: 700;
}
.how-visual {
  position: relative;
  text-align: center;
}
.how-visual img {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.progress-demo {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.progress-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,0.08) 0);
  position: relative;
  flex-shrink: 0;
}
.progress-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #121212;
}
.progress-ring-inner {
  position: absolute;
  inset: 8px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.progress-ring-inner strong {
  font-size: 19px;
  line-height: 1;
  display: block;
  margin: 0;
}
.progress-ring-inner span {
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0;
}
.progress-skills {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* Testimonials */
.testimonials { text-align: center; }
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 8px auto 0;
}
.testimonial-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
}
.testimonial-track {
  display: flex;
  flex-direction: row;
  transition: transform 0.45s ease;
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  direction: rtl;
  text-align: right;
  min-height: 200px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 204, 0, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  box-sizing: border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 204, 0, 0.25);
  background: rgba(20, 20, 20, 0.9);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-btn:hover {
  background: rgba(255, 204, 0, 0.12);
  border-color: var(--gold);
  transform: scale(1.05);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-dots button.active {
  background: var(--gold);
  transform: scale(1.2);
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #111;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testimonial-head strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.testimonial-head small {
  color: var(--muted);
  font-size: 12px;
}
.testimonial-score {
  margin-inline-start: auto;
  background: rgba(255, 204, 0, 0.12);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-card .quote {
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
  color: #eee;
}

/* Pricing */
.landing-plans {
  direction: ltr;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 20px;
  max-width: 960px;
  margin-inline: auto;
  perspective: 1100px;
  perspective-origin: center center;
}
.landing-plans .plan-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.landing-plans .plan-access-tag {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 204, 0, 0.45);
  background: rgba(255, 204, 0, 0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.landing-plans .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  direction: rtl;
  text-align: right;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 24px 22px;
  background: rgba(20, 20, 20, 0.95);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.landing-plans .plan-card:hover:not(.plan-featured) {
  border-color: rgba(255, 204, 0, 0.35);
  transform: translateY(-2px);
}
.landing-plans .plan-card.plan-featured {
  z-index: 2;
  transform-style: preserve-3d;
  border-color: rgba(255, 204, 0, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 204, 0, 0.15),
    0 20px 48px rgba(0, 0, 0, 0.45);
  animation: plan-featured-depth 3.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}
.landing-plans .plan-card.plan-featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.22) 0%,
    transparent 42%,
    transparent 58%,
    rgba(255, 204, 0, 0.14) 100%
  );
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
  animation: plan-featured-shine 3.8s ease-in-out infinite;
}
.landing-plans .plan-card.plan-featured:hover,
.landing-plans .plan-card.plan-featured.selected:hover {
  animation-play-state: paused;
  transform: translate3d(0, -22px, 28px) scale(1.09);
  box-shadow:
    0 0 0 1px rgba(255, 204, 0, 0.32),
    0 0 36px rgba(255, 204, 0, 0.18),
    0 28px 60px rgba(0, 0, 0, 0.52);
}
.landing-plans .plan-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 204, 0, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: scale(1.03);
}
.landing-plans .plan-card.plan-featured.selected {
  animation: plan-featured-depth 3.8s ease-in-out infinite;
}
@keyframes plan-featured-depth {
  0%, 100% {
    transform: translate3d(0, -12px, 0) scale(1.04) rotateX(2deg);
    box-shadow:
      0 0 0 1px rgba(255, 204, 0, 0.15),
      0 18px 42px rgba(0, 0, 0, 0.42);
  }
  50% {
    transform: translate3d(0, -20px, 26px) scale(1.08) rotateX(0deg);
    box-shadow:
      0 0 0 1px rgba(255, 204, 0, 0.28),
      0 0 32px rgba(255, 204, 0, 0.16),
      0 28px 58px rgba(0, 0, 0, 0.5);
  }
}
@keyframes plan-featured-shine {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
.landing-plans .plan-duration {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.landing-plans .plan-per-month {
  margin: -4px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.landing-plans .plan-save {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #7dffb0;
}
.landing-plans .plan-scarcity {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ff8a8a;
  animation: scarcity-pulse 2s ease-in-out infinite;
}
@keyframes scarcity-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.landing-plans ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
  line-height: 2;
  font-size: 14px;
}
.landing-plans .plan-card.selected .wa-plan-btn.primary,
.landing-plans .plan-card.selected .wa-plan-btn.ghost {
  background: linear-gradient(135deg, var(--gold), #e6a800);
  color: #111;
  border-color: var(--gold);
}
.wa-plan-btn { margin-top: auto; text-align: center; }

.landing-plans-entry {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto 28px;
  align-items: stretch;
}
.landing-plans-entry .plan-card {
  cursor: default;
}
.landing-plans-entry .plan-card:hover {
  border-color: rgba(255, 204, 0, 0.35);
  transform: translateY(-2px);
}
.landing-plans-entry .price-free {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 12px;
}

@media (max-width: 820px) {
  .landing-plans-entry {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .landing-plans {
    grid-template-columns: 1fr;
    max-width: 420px;
    perspective: none;
  }
  .landing-plans .plan-card.selected,
  .landing-plans .plan-card.plan-featured,
  .landing-plans .plan-card.plan-featured.selected {
    transform: none;
    animation: none;
  }
  .landing-plans .plan-card.plan-featured::before {
    animation: none;
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-plans .plan-card.plan-featured {
    animation: none;
    transform: translateY(-14px) scale(1.05);
  }
  .landing-plans .plan-card.plan-featured::before {
    animation: none;
  }
}

/* FAQ spacing */
.landing-section.faq details + details { margin-top: 10px; }

/* Final CTA */
.cta-final {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 20px 48px;
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(221,0,0,0.12), rgba(255,204,0,0.08));
  border: 1px solid rgba(255,204,0,0.2);
  border-radius: 24px;
  padding: 32px 36px;
}
.cta-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.cta-inner h2 { margin: 0 0 8px; }
.cta-inner p { color: var(--muted); margin: 0 0 16px; }

.landing-foot {
  padding-bottom: 24px;
}
.landing-foot a { color: #25d366; font-weight: 600; }

/* Welcome modal */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.welcome-modal[hidden] { display: none; }
.welcome-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}
.welcome-card {
  position: relative;
  z-index: 1;
  background: #161616;
  border: 1px solid rgba(255,204,0,0.25);
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: right;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  animation: modalIn 0.35s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: none; }
}
.welcome-close {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.welcome-card h2 { margin: 0 0 10px; color: var(--gold); }
.welcome-card p { color: var(--muted); margin: 0 0 16px; }
.welcome-card ol {
  margin: 0 0 24px;
  padding-inline-start: 20px;
  line-height: 2;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  z-index: 50;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.65); }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(18,18,18,0.95);
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  z-index: 50;
  transition: opacity 0.2s, transform 0.2s;
}
.scroll-top[hidden] { display: none; }
.scroll-top:hover { transform: translateY(-3px); border-color: var(--gold); }

@media (max-width: 900px) {
  .hero-inner,
  .landing-how .how-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: 2;
    margin-top: 28px;
  }
  .hero-copy {
    order: 1;
    text-align: center;
  }
  .landing-top {
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .landing-nav {
    position: static;
    transform: none;
    left: auto;
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
  }
  .hero-certificate-scene { max-width: 300px; min-height: 380px; padding: 14px 16px 6px 6px; }
  .hero-certificate-badge { top: -10px; right: -12px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .landing-section,
  .section-inner { padding: 48px 20px; }
  .landing-hero .stats {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px 20px;
    padding: 16px 20px;
    width: min(100%, 420px);
  }
  .landing-hero .stats > div {
    flex: 1;
    min-width: 0;
  }
  .landing-hero .stats strong {
    font-size: clamp(22px, 5.5vw, 32px);
  }
  .landing-hero .stats span {
    font-size: 11px;
    line-height: 1.35;
  }
  .testimonial-card { padding: 22px 20px; }
}
