/* =============================================
   SOCIAL MEDIA ENHANCEMENTS
   ============================================= */

/* ─── HERO PHONE SCREEN ─── */
/* phone-screen--social overrides position to relative, which collapses height → restore absolute */
.phone-screen--social {
  position: absolute !important;
}
.phone-video-bg {
  background: #0a0820 !important;
}
.phone-video-bg::before {
  display: none !important;
}
.phone-video-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Scroll progress: pink/purple gradient */
.scroll-progress {
  background: linear-gradient(90deg, #E040A0 0%, #7C4DFF 100%) !important;
}

/* Hero orbs: pink/purple tint */
.hero-orb--1 {
  background: radial-gradient(circle, rgba(224,64,160,0.09) 0%, rgba(124,77,255,0.06) 40%, transparent 70%) !important;
}
.hero-orb--2 {
  background: radial-gradient(circle, rgba(124,77,255,0.08) 0%, rgba(224,64,160,0.05) 40%, transparent 70%) !important;
}

/* Orbit dots: colored */
.hero-orbit--1::after {
  background: rgba(224,64,160,0.75) !important;
  box-shadow: 0 0 12px 3px rgba(224,64,160,0.35) !important;
}
.hero-orbit--2::before {
  background: rgba(124,77,255,0.65) !important;
  box-shadow: 0 0 10px 2px rgba(124,77,255,0.3) !important;
}

/* Phone glow: pink/purple */
.phone-glow {
  width: 90% !important;
  height: 40px !important;
  background: radial-gradient(ellipse, rgba(224,64,160,0.4) 0%, rgba(124,77,255,0.25) 50%, transparent 70%) !important;
  filter: blur(12px) !important;
}

/* ─── HERO LIVE BADGE ─── */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.875rem 0.35rem 0.625rem;
  margin-bottom: 1.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: badgeFadeIn 0.6s var(--ease-out) 0.2s forwards;
  white-space: nowrap;
}
.hero-live-dot {
  width: 7px;
  height: 7px;
  background: #E040A0;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(224,64,160,0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 5px rgba(224,64,160,0); }
}

/* ─── HERO TAGLINE GRADIENT ─── */
.hero-tagline-accent {
  background: linear-gradient(90deg, #E040A0 0%, #7C4DFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

/* ─── HERO NOTIFICATION CARD ─── */
.hero-notif-card {
  position: absolute;
  bottom: 8%;
  left: -120px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 10;
  min-width: 190px;
  opacity: 0;
  animation:
    badgeFadeIn 0.7s var(--ease-out) 1.5s forwards,
    badgeFloat 4.5s ease-in-out 2.2s infinite;
}
.hero-notif-emoji {
  font-size: 1.375rem;
  line-height: 1;
  flex-shrink: 0;
}
.hero-notif-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.hero-notif-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero-notif-sub {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

/* ─── RESULTS SCREENSHOTS ─── */
.results-screenshots-eyebrow {
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
}
.results-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: var(--space-2xl);
}
.result-screenshot-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  transition: box-shadow 0.4s var(--ease-out), border-color 0.3s, transform 0.4s var(--ease-out);
}
.result-screenshot-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: var(--color-border);
  transform: translateY(-4px);
}
.result-screenshot-img-wrap {
  background: linear-gradient(135deg, #f5f5f7 0%, #ebebf0 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.result-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.result-screenshot-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--color-border-soft);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
}
.result-ss-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.result-ss-platform--tiktok  { background: #1D1D1F; color: #fff; }
.result-ss-platform--instagram {
  background: linear-gradient(135deg, #f09433, #bc1888);
  color: #fff;
}

/* ─── HERO STATS STRIP ─── */
.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2.25rem;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 1rem 1.375rem;
  width: fit-content;
  max-width: 100%;
  opacity: 0;
  animation: badgeFadeIn 0.8s var(--ease-out) 1s forwards;
}
.hero-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 1.25rem;
}
.hero-strip-item:first-child { padding-left: 0; }
.hero-strip-item:last-child  { padding-right: 0; }
.hero-strip-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1;
}
.hero-strip-num--accent {
  background: linear-gradient(90deg, #E040A0 0%, #7C4DFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-strip-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
  white-space: nowrap;
}
.hero-strip-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border-soft);
  flex-shrink: 0;
}

/* ─── WEB & APP INTRO ─── */
.webapp-intro {
  background: var(--color-text);
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.webapp-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.webapp-intro .section-eyebrow {
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.webapp-intro-headline {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
}
.webapp-intro-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 400px;
}
.webapp-section {
  background: var(--color-bg-alt);
  border-top: none;
}
.process-section {
  border-top: none !important;
}

/* ─── SERVICES DIVIDER ─── */
.services-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 3.5rem 0 2.5rem;
}
.services-divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border-soft);
}
.services-divider-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  white-space: nowrap;
  padding: 0 0.25rem;
}

/* ─── SERVICES SECONDARY HEADER ─── */
.services-secondary-header {
  margin-bottom: 1.75rem;
}
.services-secondary-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.services-secondary-sub {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

/* ─── SERVICE FEATURED: subtle bottom glow ─── */
.service-featured::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224,64,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── KPI ACCENT: gradient tint ─── */
.results-kpi--accent {
  background: linear-gradient(135deg, #1D1D1F 0%, #2d1a35 100%) !important;
}
.results-kpi--accent .results-kpi-num {
  background: linear-gradient(90deg, #ff79c6, #bd93f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── HERO CYCLE TEXT ─── */
/* Hidden on desktop by default */
.hero-cycle { display: none; }
.hero-cycle-text {
  display: inline-block;
  transition: opacity 0.35s ease;
}

/* Proof bar: mobile only */
.hero-proof-bar { display: none; }

/* ─── RESPONSIVE ─── */
/* ─── DESKTOP: REDUCE ANIMATIONS ─── */
@media (min-width: 769px) {
  /* Revert orbs to neutral — no color on desktop */
  .hero-orb--1 {
    background: radial-gradient(circle, rgba(29,29,31,0.04) 0%, transparent 70%) !important;
    animation: none !important;
  }
  .hero-orb--2 {
    background: radial-gradient(circle, rgba(29,29,31,0.03) 0%, transparent 70%) !important;
    animation: none !important;
  }
  /* Phone: no float */
  .hero-phone {
    animation: phoneFadeIn 1s var(--ease-out) 0.5s both !important;
  }
  /* Badges: just fade in, no floating */
  .hero-stat-badge {
    animation: badgeFadeIn 0.7s var(--ease-out) var(--badge-delay, 1s) forwards !important;
  }
  /* Live badge: no pulse on dot */
  .hero-live-dot {
    animation: none !important;
  }
  /* Phone glow: subtle only */
  .phone-glow {
    background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%) !important;
    filter: blur(8px) !important;
    height: 20px !important;
  }
  /* Orbit dots: neutral */
  .hero-orbit--1::after, .hero-orbit--2::before {
    background: rgba(29,29,31,0.25) !important;
    box-shadow: none !important;
  }
}

@media (max-width: 1024px) {
  .webapp-intro-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
/* ─── VIDEO SCREENSHOT: show full image without cropping ─── */
.result-screenshot-img--contain {
  object-fit: contain !important;
  background: #f8f8f8;
}

@media (max-width: 768px) {

  /* ── NAV: weißer Text auf dunklem Hero ── */
  .nav:not(.scrolled) .nav-logo { color: #fff !important; }
  .nav:not(.scrolled) .nav-hamburger span { background-color: #fff !important; }

  /* ── MOBILE HERO: dunkel, animiert, lebendig ── */

  /* Dunkler Hintergrund — Hero füllt Viewport, Content oben */
  .hero {
    background: #0f0f0f !important;
    overflow-x: hidden;
    padding-top: 5.5rem !important;
    padding-bottom: 4rem !important;
    min-height: 100svh !important;
    justify-content: flex-start !important;
  }
  .hero-grid      { opacity: 0.06 !important; }
  .hero-noise     { opacity: 0.45 !important; }
  .hero-spotlight { opacity: 0.2 !important; }

  /* Subtiler Glow-Orb im Hintergrund für Tiefe */
  .hero-orb--1 {
    display: block !important;
    width: 320px !important;
    height: 320px !important;
    top: 10% !important;
    right: -80px !important;
    background: radial-gradient(circle, rgba(224,64,160,0.18) 0%, rgba(124,77,255,0.12) 40%, transparent 70%) !important;
    animation: none !important;
  }

  /* Alles weg was nach Template aussieht */
  .hero-visual      { display: none !important; }
  .hero-tagline     { display: none !important; }
  .hero-stats-strip { display: none !important; }
  .hero-stat-badge  { display: none !important; }
  .hero-scroll      { display: none !important; }

  /* Live-Badge: zurück auf mobile, angepasst für dark */
  .hero-live-badge {
    display: inline-flex !important;
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 1.25rem !important;
  }

  /* Layout */
  .hero-inner { overflow-x: hidden; height: 100%; }
  .hero-body {
    max-width: 100% !important;
    overflow-x: hidden;
    text-align: left !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100svh - 9.5rem) !important; /* viewport minus top+bottom padding */
  }

  /* Headline: weiß */
  .hero-headline { color: #fff !important; }

  /* Cycling text container */
  .hero-cycle {
    display: block !important;
    margin-top: 0.75rem;
    margin-bottom: 1.375rem;
  }
  /* Single text element — JS swaps textContent with a fade */
  .hero-cycle-text {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    background: linear-gradient(90deg, #E040A0 0%, #7C4DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
  }

  /* Subtitle */
  .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: rgba(255,255,255,0.45) !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 2rem !important;
    box-sizing: border-box;
  }

  /* Buttons */
  .hero-actions { flex-direction: column !important; gap: 0.75rem !important; }
  .hero-actions .btn { width: 100% !important; text-align: center !important; justify-content: center !important; }
  .hero-actions .btn-primary  { background: #fff !important; color: #111 !important; border-color: #fff !important; }
  .hero-actions .btn-secondary { background: transparent !important; border-color: rgba(255,255,255,0.2) !important; color: rgba(255,255,255,0.7) !important; }

  /* Screenshots */
  .results-screenshots { grid-template-columns: 1fr; }
  .result-screenshot-img-wrap { min-height: 200px; }

  /* Services */
  .services-secondary-title { font-size: 1.5rem; }
  .services-divider { margin: 2.5rem 0 2rem; }

  /* Videos */
  .results-videos { grid-template-columns: 1fr !important; }

  /* Mobile proof bar — pushed to bottom of hero */
  .hero-proof-bar {
    display: flex !important;
    align-items: center;
    gap: 0;
    margin-top: auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-proof-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }
  .hero-proof-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: #fff;
    line-height: 1;
  }
  .hero-proof-label {
    font-size: 0.6375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
  }
  .hero-proof-div {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
  }
}
