/* ==========================================================================
   LANDING PAGE (STEALTH THEME) - AWARD WINNING UI
   ========================================================================== */

/* 1. Global Reset & Theme */
body[data-shell="marketing"] {
  background: #000000 !important;
  color-scheme: dark;
  color: #ffffff;
  font-family: var(--font-body, "Manrope", sans-serif);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body[data-shell="marketing"] .ambient-left,
body[data-shell="marketing"] .ambient-right,
body[data-shell="marketing"] .ambient-grid { display: none !important; }

body[data-shell="marketing"] .site-shell-marketing {
  position: relative; width: 100%; max-width: 1400px;
  margin: 0 auto; padding: 0 5vw; z-index: 2;
}

body[data-shell="marketing"] .marketing-main {
  display: flex; flex-direction: column; gap: 10vh; padding-bottom: 10vh;
}

/* ==========================================================================
   2. ADVANCED BACKGROUND (Orbs, Grid, Particles)
   ========================================================================== */
body[data-shell="marketing"] .stealth-bg-elements {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

body[data-shell="marketing"] .bg-glow-orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
  opacity: 0.3; animation: orbBreathe 15s ease-in-out infinite alternate;
}

body[data-shell="marketing"] .orb-1 {
  top: -20%; left: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(143, 227, 211, 0.12) 0%, transparent 60%);
}

body[data-shell="marketing"] .orb-2 {
  bottom: -10%; right: -20%; width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(242, 179, 139, 0.08) 0%, transparent 60%);
  animation-delay: -7s;
}

body[data-shell="marketing"] .bg-grid-overlay {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

body[data-shell="marketing"] .bg-particles {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: driftUp 60s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 50%, transparent 100%);
}

@keyframes driftUp {
  0% { background-position: 0 0; }
  100% { background-position: 0 -1000px; }
}

@keyframes orbBreathe {
  0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
  100% { transform: scale(1.15) translate(3%, 3%); opacity: 0.45; }
}

/* ==========================================================================
   3. ANIMATIONS & DIVIDERS
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

body[data-shell="marketing"] .fade-in-up {
  opacity: 0; animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body[data-shell="marketing"] [data-reveal] {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 820ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform, filter;
}

body[data-shell="marketing"] [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body[data-shell="marketing"] .stealth-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  margin: 2vh 0;
}

/* ==========================================================================
   4. NAVIGATION & BUTTONS
   ========================================================================== */
body[data-shell="marketing"] .marketing-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body[data-shell="marketing"] .brand-link { display: flex; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; padding: 0; }
body[data-shell="marketing"] .brand-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: #000; display: grid; place-items: center; }
body[data-shell="marketing"] .brand-icon svg { width: 18px; height: 18px; stroke-width: 2.5; }
body[data-shell="marketing"] .brand-logotype { color: #fff; font-family: var(--font-display, "Syne", sans-serif); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }

body[data-shell="marketing"] .marketing-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 24px;
}

body[data-shell="marketing"] .marketing-nav-link {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 180ms ease;
}

body[data-shell="marketing"] .marketing-nav-link:hover {
  color: #ffffff;
}

body[data-shell="marketing"] .marketing-nav-actions { display: flex; gap: 16px; align-items: center; }
body[data-shell="marketing"] .marketing-nav-actions > * { flex-shrink: 0; }

body[data-shell="marketing"] .button {
  background: #ffffff; color: #000000; border: none;
  padding: 14px 28px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-flex; justify-content: center; align-items: center;
}

body[data-shell="marketing"] .button-glow { box-shadow: 0 0 24px rgba(255, 255, 255, 0.15); }
body[data-shell="marketing"] .button:hover { transform: translateY(-2px); background: #f0f0f0; box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3); }

body[data-shell="marketing"] .button-ghost {
  background: transparent; color: rgba(255, 255, 255, 0.7);
  border: none; padding: 14px 20px; font-size: 0.95rem;
  font-weight: 600; cursor: pointer; transition: color 0.3s ease;
}
body[data-shell="marketing"] .button-ghost:hover { color: #ffffff; }

body[data-shell="marketing"] .button-large { padding: 18px 36px; font-size: 1.1rem; }
body[data-shell="marketing"] .w-100 { width: 100%; }

/* ==========================================================================
   5. TYPOGRAPHY
   ========================================================================== */

/* Trimmad storlek och perfekt 2-rads låsning */
body[data-shell="marketing"] .stealth-headline {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem); 
  line-height: 1.15; letter-spacing: -0.03em;
  font-weight: 800; color: #ffffff; margin: 0;
}

@media (min-width: 769px) {
  body[data-shell="marketing"] .hl-line {
    display: block;
    white-space: nowrap; /* Tvingar texten att stanna på exakt två rader */
  }
}

body[data-shell="marketing"] .stealth-title {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 600; color: #ffffff;
}

body[data-shell="marketing"] .stealth-kicker {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; margin: 0;
}

body[data-shell="marketing"] .pulse-dot {
  width: 8px; height: 8px; background: #8fe3d3; border-radius: 50%;
  box-shadow: 0 0 12px #8fe3d3; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

body[data-shell="marketing"] .stealth-whisper {
  color: rgba(255, 255, 255, 0.55); font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6; max-width: 650px; margin: 16px auto;
}

body[data-shell="marketing"] .stealth-body {
  color: rgba(255, 255, 255, 0.6); font-size: 1.15rem; line-height: 1.7; margin-top: 24px;
}

.center { text-align: center; }

/* ==========================================================================
   6. HERO SECTION & ENHANCED 3D STACK
   ========================================================================== */
body[data-shell="marketing"] .stealth-hero {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; 
  padding-top: 3vh; gap: 10px;
}

body[data-shell="marketing"] .stealth-hero-copy { position: relative; z-index: 10; max-width: 900px; margin-top: 22px; }
body[data-shell="marketing"] .hero-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }

/* The 3D wrapper fits perfectly between text */
body[data-shell="marketing"] .stealth-scene {
  position: relative; width: 100%; height: 380px; margin: -10px 0 8px;
  display: flex; justify-content: center; align-items: center; overflow: visible;
}

body[data-shell="marketing"] .stealth-scene::before {
  content: "";
  position: absolute;
  inset: 9% 18% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(143, 227, 211, 0.08) 0%, rgba(143, 227, 211, 0.03) 28%, transparent 62%),
    radial-gradient(circle at center, rgba(255, 92, 26, 0.12) 0%, transparent 58%);
  filter: blur(34px);
  opacity: 0.72;
  animation: sceneHaloShift 8.6s ease-in-out infinite alternate;
  pointer-events: none;
}

body[data-shell="marketing"] .stealth-stack-wrap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 320px; animation: stealthFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 38px 100px rgba(0, 0, 0, 0.72));
}

@keyframes stealthFloat { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-15px); } }

body[data-shell="marketing"] .stealth-stack {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; perspective: 1600px;
  animation: stackTilt 10s ease-in-out infinite alternate;
}

body[data-shell="marketing"] .stealth-stack::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 42%;
  bottom: 24%;
  border-radius: 50%;
  border: 1px solid rgba(143, 227, 211, 0.08);
  transform: rotateX(68deg) translateZ(-115px);
  box-shadow:
    0 0 0 14px rgba(143, 227, 211, 0.018),
    0 0 0 36px rgba(255, 92, 26, 0.02);
  opacity: 0.8;
  pointer-events: none;
  animation: stackRingPulse 6.5s ease-in-out infinite;
}

@keyframes stackTilt {
  0% { transform: rotateZ(-0.6deg) rotateY(-1.4deg); }
  100% { transform: rotateZ(0.6deg) rotateY(1.4deg); }
}

@keyframes sceneHaloShift {
  0% { transform: scale(0.96); opacity: 0.56; }
  100% { transform: scale(1.04); opacity: 0.86; }
}

@keyframes stackRingPulse {
  0%, 100% {
    opacity: 0.46;
    transform: rotateX(68deg) translateZ(-115px) scale(0.98);
  }
  50% {
    opacity: 0.88;
    transform: rotateX(68deg) translateZ(-115px) scale(1.03);
  }
}

body[data-shell="marketing"] .stealth-plate {
  position: absolute; inset: 0; border-radius: 20px;
  transform: rotateX(68deg) rotateZ(0deg); 
  border: 1px solid rgba(255,255,255,0.06); background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px); transform-style: preserve-3d;
  animation: plateBreathe 7.8s ease-in-out infinite;
}

body[data-shell="marketing"] .stealth-plate::before,
body[data-shell="marketing"] .stealth-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

body[data-shell="marketing"] .stealth-plate::before {
  inset: 1px;
  background: linear-gradient(112deg, transparent 18%, rgba(255,255,255,0.085) 40%, transparent 64%);
  opacity: 0.26;
  mix-blend-mode: screen;
  animation: plateSweep 6.4s linear infinite;
}

body[data-shell="marketing"] .stealth-plate::after {
  border: 1px solid rgba(255,255,255,0.045);
  opacity: 0.45;
}

/* Layering Desktop */
body[data-shell="marketing"] .stealth-plate-1 { transform: rotateX(68deg) translateZ(-80px); border-color: rgba(255, 60, 0, 0.5); background: rgba(25, 5, 0, 0.95); }
body[data-shell="marketing"] .stealth-plate-2 { transform: rotateX(68deg) translateZ(-40px); }
body[data-shell="marketing"] .stealth-plate-3 { transform: rotateX(68deg) translateZ(0px); }
body[data-shell="marketing"] .stealth-plate-4 { transform: rotateX(68deg) translateZ(40px); background: rgba(255,255,255,0.02); }
body[data-shell="marketing"] .stealth-plate-5 { 
  transform: rotateX(68deg) translateZ(80px); 
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

body[data-shell="marketing"] .stealth-plate-1,
body[data-shell="marketing"] .stealth-plate-1::before { animation-delay: 0.1s; }
body[data-shell="marketing"] .stealth-plate-2,
body[data-shell="marketing"] .stealth-plate-2::before { animation-delay: 0.45s; }
body[data-shell="marketing"] .stealth-plate-3,
body[data-shell="marketing"] .stealth-plate-3::before { animation-delay: 0.8s; }
body[data-shell="marketing"] .stealth-plate-4,
body[data-shell="marketing"] .stealth-plate-4::before { animation-delay: 1.15s; }
body[data-shell="marketing"] .stealth-plate-5,
body[data-shell="marketing"] .stealth-plate-5::before { animation-delay: 1.5s; }

body[data-shell="marketing"] .stealth-plate-shine {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(112deg, transparent 18%, rgba(255,255,255,0.12) 42%, transparent 68%); pointer-events: none;
  opacity: 0.72;
  animation: heroShineDrift 5.4s ease-in-out infinite;
}

body[data-shell="marketing"] .stealth-glow {
  position: absolute; left: 5%; right: 5%; bottom: 0%; top: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 80, 0, 0.6) 0%, rgba(255, 0, 0, 0.2) 50%, transparent 70%);
  filter: blur(50px); transform: rotateX(68deg) translateZ(-110px); pointer-events: none;
  animation: glowBloom 6.8s ease-in-out infinite alternate;
}

/* Scanner & Streams Desktop */
body[data-shell="marketing"] .stealth-scanner {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 22%;
  bottom: 18%;
  transform: rotateX(68deg) translateZ(82px);
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}

body[data-shell="marketing"] .stealth-scanner::before,
body[data-shell="marketing"] .stealth-scanner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-radius: inherit;
  animation: radarScan 4.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

body[data-shell="marketing"] .stealth-scanner::before {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(143, 227, 211, 0.12) 10%,
    rgba(143, 227, 211, 0.82) 50%,
    rgba(143, 227, 211, 0.12) 90%,
    transparent 100%);
  box-shadow:
    0 0 12px rgba(143, 227, 211, 0.42),
    0 0 36px rgba(143, 227, 211, 0.18);
}

body[data-shell="marketing"] .stealth-scanner::after {
  height: 34%;
  background: linear-gradient(180deg, rgba(143, 227, 211, 0.14) 0%, rgba(143, 227, 211, 0.04) 48%, transparent 100%);
  filter: blur(4px);
  opacity: 0.9;
}

@keyframes radarScan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  84% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100% - 2px));
    opacity: 0;
  }
}

@keyframes heroShineDrift {
  0%, 100% {
    transform: translateX(-12%) translateY(-2%);
    opacity: 0.38;
  }
  50% {
    transform: translateX(12%) translateY(2%);
    opacity: 0.84;
  }
}

@keyframes plateBreathe {
  0%, 100% {
    filter: brightness(0.94);
  }
  50% {
    filter: brightness(1.04);
  }
}

@keyframes plateSweep {
  0% {
    transform: translateX(-22%);
    opacity: 0.12;
  }
  50% {
    opacity: 0.36;
  }
  100% {
    transform: translateX(22%);
    opacity: 0.12;
  }
}

@keyframes glowBloom {
  0% {
    opacity: 0.52;
    filter: blur(46px);
  }
  100% {
    opacity: 0.9;
    filter: blur(58px);
  }
}

body[data-shell="marketing"] .data-stream {
  position: absolute; width: 2px; height: 60px;
  background: linear-gradient(0deg, transparent, #8fe3d3, #fff);
  filter: blur(1px); transform: rotateX(68deg) translateZ(0);
  opacity: 0;
  mix-blend-mode: screen;
}
body[data-shell="marketing"] .stream-1 { left: 20%; top: 40%; animation: shootUp 3s infinite linear; }
body[data-shell="marketing"] .stream-2 { left: 80%; top: 60%; animation: shootUp 4s infinite linear 1s; }
body[data-shell="marketing"] .stream-3 { left: 50%; top: 20%; animation: shootUp 2.5s infinite linear 0.5s; }
@keyframes shootUp {
  0% { transform: rotateX(68deg) translateZ(-80px) scaleY(0.7); opacity: 0; }
  18% { opacity: 0.92; }
  62% { opacity: 1; }
  100% { transform: rotateX(68deg) translateZ(300px) scaleY(1.18); opacity: 0; }
}


/* ==========================================================================
   7. ENHANCED FLOATING UI CARDS (Hero)
   ========================================================================== */
body[data-shell="marketing"] .stealth-card {
  position: absolute; width: 200px; padding: 18px; border-radius: 16px;
  background: rgba(12, 12, 12, 0.7); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(24px); box-shadow: 0 30px 80px rgba(0,0,0,0.9);
  text-align: left; z-index: 20; overflow: hidden;
}
body[data-shell="marketing"] .stealth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 16%, rgba(255,255,255,0.08) 46%, transparent 76%);
  opacity: 0.28;
  transform: translateX(-18%);
  animation: cardSheen 8s ease-in-out infinite;
  pointer-events: none;
}
body[data-shell="marketing"] .sc-header { 
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; 
}
body[data-shell="marketing"] .sc-header svg { width: 14px; height: 14px; color: #8fe3d3; }

body[data-shell="marketing"] .stealth-card-left-1 { left: calc(50% - 460px); top: 30px; animation: scFloatLeft 7s ease-in-out infinite 1s; }
body[data-shell="marketing"] .stealth-card-left-2 { left: calc(50% - 380px); top: 220px; width: 180px; animation: scFloatSmall 8s ease-in-out infinite 2s; }
body[data-shell="marketing"] .stealth-card-right { left: calc(50% + 240px); top: 120px; animation: scFloatRight 7.5s ease-in-out infinite 0.5s; }
@keyframes scFloatLeft {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  50% { transform: translate3d(0, -15px, 0) rotate(0.9deg); }
}
@keyframes scFloatRight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(-0.8deg); }
}
@keyframes scFloatSmall {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(0.6deg); }
}
@keyframes cardSheen {
  0%, 100% {
    transform: translateX(-18%);
    opacity: 0.12;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.34;
  }
}

/* Card 1: Price Drop */
body[data-shell="marketing"] .sc-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
body[data-shell="marketing"] .sc-old { color: rgba(255,255,255,0.3); text-decoration: line-through; font-size: 0.85rem; }
body[data-shell="marketing"] .sc-new { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); color: #49c99d; }
body[data-shell="marketing"] .sc-chart-container { width: 100%; height: 40px; }
body[data-shell="marketing"] .sc-line-chart { width: 100%; height: 100%; overflow: visible; }
body[data-shell="marketing"] .chart-path { stroke-dasharray: 200; stroke-dashoffset: 200; filter: drop-shadow(0 0 10px rgba(73, 201, 157, 0.28)); animation: drawChart 3s ease-out forwards infinite alternate; }
body[data-shell="marketing"] .chart-dot { filter: drop-shadow(0 0 10px rgba(73, 201, 157, 0.58)); animation: chartDotPulse 2.6s ease-in-out infinite; }
@keyframes drawChart { to { stroke-dashoffset: 0; } }
@keyframes chartDotPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.76; }
  50% { transform: scale(1.18); opacity: 1; }
}

/* Card 2: Catalog Scan */
body[data-shell="marketing"] .sc-skeleton-list { display: flex; flex-direction: column; gap: 12px; }
body[data-shell="marketing"] .sc-skel-row { display: flex; gap: 12px; opacity: 0.2; animation: skelPulse 4s infinite; }
body[data-shell="marketing"] .sc-skel-row.delay-1 { animation-delay: 1s; }
body[data-shell="marketing"] .sc-skel-row.delay-2 { animation-delay: 2s; }
body[data-shell="marketing"] .sc-skel-row .img { width: 28px; height: 28px; background: rgba(255,255,255,0.2); border-radius: 6px; }
body[data-shell="marketing"] .sc-skel-row .lines { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
body[data-shell="marketing"] .sc-skel-row .l1 { width: 80%; height: 6px; background: rgba(255,255,255,0.3); border-radius: 3px; }
body[data-shell="marketing"] .sc-skel-row .l2 { width: 50%; height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; }
@keyframes skelPulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* Card 3: SEO Metrics */
body[data-shell="marketing"] .sc-seo-metrics { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
body[data-shell="marketing"] .metric { display: flex; justify-content: space-between; align-items: center; }
body[data-shell="marketing"] .metric span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
body[data-shell="marketing"] .metric strong { font-size: 1rem; }
body[data-shell="marketing"] .metric strong.up { color: #49c99d; }
body[data-shell="marketing"] .sc-progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
body[data-shell="marketing"] .progress-fill { height: 100%; background: linear-gradient(90deg, #49c99d 0%, #8fe3d3 55%, rgba(255,255,255,0.95) 100%); background-size: 160% 100%; width: 0%; animation: fillBar 4s ease-out infinite alternate, progressGlow 2.8s linear infinite; }
@keyframes fillBar { to { width: 75%; } }
@keyframes progressGlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }


/* ==========================================================================
   8. STICKY FEATURE SHOWCASE & MOCKUPS
   ========================================================================== */
body[data-shell="marketing"] .feature-showcase { display: flex; align-items: flex-start; gap: 8vw; position: relative; }
body[data-shell="marketing"] .showcase-sticky-col { width: 40%; position: sticky; top: 30vh; padding-right: 20px; }
body[data-shell="marketing"] .showcase-scroll-col { width: 60%; display: flex; flex-direction: column; gap: 20vh; padding-bottom: 10vh; }
body[data-shell="marketing"] .showcase-block { display: flex; flex-direction: column; gap: 40px; }
body[data-shell="marketing"] .block-text h3 { font-family: var(--font-display); font-size: 2.2rem; color: #fff; margin: 0 0 16px 0; letter-spacing: -0.02em; }
body[data-shell="marketing"] .block-text p { color: rgba(255, 255, 255, 0.6); font-size: 1.2rem; line-height: 1.6; margin: 0; }

body[data-shell="marketing"] .block-visual {
  width: 100%; aspect-ratio: 16/10; border-radius: 24px;
  background: #080808; border: 1px solid rgba(255,255,255,0.06);
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
}
body[data-shell="marketing"] .block-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.04) 0%, transparent 70%);
}

/* Feature Mockup 1: PRICE DROP */
body[data-shell="marketing"] .mock-product-list { width: 85%; display: flex; flex-direction: column; gap: 16px; z-index: 2; }
body[data-shell="marketing"] .mock-product-row { 
  display: flex; align-items: center; gap: 16px; 
  background: rgba(20,20,20,0.8); border: 1px solid rgba(255,255,255,0.08); 
  padding: 20px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); 
}
body[data-shell="marketing"] .mock-product-row.ghost-row { opacity: 0.4; filter: grayscale(100%); }
body[data-shell="marketing"] .mock-thumb { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.05); display: grid; place-items: center; color: rgba(255,255,255,0.4); flex-shrink: 0; }
body[data-shell="marketing"] .mock-thumb svg { width: 28px; height: 28px; }

/* Lösningen på pris-korten: min-width: 0 och trunkering förhindrar radbrytning! */
body[data-shell="marketing"] .mock-info { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body[data-shell="marketing"] .mock-title { 
  color: #fff; font-size: 1.05rem; font-weight: 600; 
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* Håller rubriken på en rad */
}
body[data-shell="marketing"] .mock-cat { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

body[data-shell="marketing"] .mock-price-diff { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; justify-content: center; }
body[data-shell="marketing"] .mock-old { color: rgba(255,255,255,0.4); font-size: 0.9rem; text-decoration: line-through; }
body[data-shell="marketing"] .mock-new { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
body[data-shell="marketing"] .mock-new.down { color: #49c99d; }
body[data-shell="marketing"] .mock-stable { color: rgba(255,255,255,0.7); font-size: 1.2rem; font-weight: 600; }

/* Feature Mockup 2: NEW PRODUCTS */
body[data-shell="marketing"] .mock-product-cards { display: flex; gap: 24px; z-index: 2; }
body[data-shell="marketing"] .mock-card { width: 160px; background: rgba(20,20,20,0.8); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 20px; position: relative; }
body[data-shell="marketing"] .mock-badge-new { position: absolute; top: -12px; right: -12px; background: linear-gradient(135deg, #f2b38b, #ff8484); color: #000; font-size: 0.75rem; font-weight: 800; padding: 6px 12px; border-radius: 20px; box-shadow: 0 4px 14px rgba(242, 179, 139, 0.5); }
body[data-shell="marketing"] .mock-card-img { width: 100%; aspect-ratio: 1; background: rgba(255,255,255,0.03); border-radius: 12px; display: grid; place-items: center; color: rgba(255,255,255,0.2); margin-bottom: 20px; }
body[data-shell="marketing"] .mock-card-img svg { width: 40px; height: 40px; }
body[data-shell="marketing"] .mock-card-lines i { display: block; height: 8px; background: rgba(255,255,255,0.15); border-radius: 4px; margin-bottom: 10px; }
body[data-shell="marketing"] .mock-card-lines i.short { width: 60%; }
body[data-shell="marketing"] .new-item { animation: discoverPulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
body[data-shell="marketing"] .new-item.delayed { animation-delay: 1.5s; }
@keyframes discoverPulse { 0% { transform: scale(0.98); border-color: rgba(242, 179, 139, 0.4); } 50% { transform: scale(1); box-shadow: 0 0 0 15px rgba(242, 179, 139, 0); border-color: rgba(255, 255, 255, 0.08); } 100% { transform: scale(0.98); border-color: rgba(255, 255, 255, 0.08); } }

/* Feature Mockup 3: SEO SHIFTS (Fixed Grid alignment) */
body[data-shell="marketing"] .mock-seo-list { width: 85%; display: flex; flex-direction: column; gap: 16px; z-index: 2; }
body[data-shell="marketing"] .mock-seo-item { display: flex; justify-content: space-between; align-items: center; background: rgba(20,20,20,0.8); border: 1px solid rgba(255,255,255,0.06); padding: 18px 24px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
body[data-shell="marketing"] .seo-keyword { color: #fff; font-size: 1.05rem; font-weight: 600; flex-grow: 1; }

/* Strict CSS Grid for perfectly aligned columns */
body[data-shell="marketing"] .seo-metrics { 
  display: grid; 
  grid-template-columns: 80px 75px; 
  align-items: center; gap: 10px; 
  text-align: right; 
}
body[data-shell="marketing"] .seo-vol { color: rgba(255,255,255,0.4); font-size: 0.9rem; justify-self: end; }
body[data-shell="marketing"] .seo-rank { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: flex-end; gap: 8px; justify-self: end;}
body[data-shell="marketing"] .seo-rank span { font-size: 0.85rem; padding: 4px 8px; border-radius: 6px; }
body[data-shell="marketing"] .seo-rank.up { color: #49c99d; }
body[data-shell="marketing"] .seo-rank.up span { background: rgba(73, 201, 157, 0.15); }
body[data-shell="marketing"] .seo-rank.down { color: #ff8484; }
body[data-shell="marketing"] .seo-rank.down span { background: rgba(255, 132, 132, 0.15); }

/* ==========================================================================
   9. WORKFLOW EXPLAINER (Animated Pipeline)
   ========================================================================== */
body[data-shell="marketing"] .workflow-minimal { padding: 6vh 0 10vh; }
body[data-shell="marketing"] .workflow-explainer-visual { 
  width: 100%; max-width: 1000px; margin: 80px auto; background: rgba(10,10,10,0.6); 
  border: 1px solid rgba(255,255,255,0.05); border-radius: 30px; padding: 60px 40px; 
  position: relative; overflow: hidden; /* Desktop keeps overflow hidden */
}
body[data-shell="marketing"] .flow-track { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
body[data-shell="marketing"] .flow-node { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 120px; }
body[data-shell="marketing"] .node-icon { width: 70px; height: 70px; border-radius: 50%; background: #000; border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; color: rgba(255,255,255,0.8); position: relative; z-index: 5; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
body[data-shell="marketing"] .node-icon svg { width: 30px; height: 30px; }
body[data-shell="marketing"] .node-label { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; text-align: center; }

body[data-shell="marketing"] .node-core { position: relative; }
body[data-shell="marketing"] .node-core .node-icon { border-color: #8fe3d3; color: #8fe3d3; background: rgba(143, 227, 211, 0.05); }
body[data-shell="marketing"] .core-rings i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(143, 227, 211, 0.3); animation: rippleOut 4s infinite linear; }
body[data-shell="marketing"] .core-rings i:nth-child(1) { width: 90px; height: 90px; animation-delay: 0s; }
body[data-shell="marketing"] .core-rings i:nth-child(2) { width: 90px; height: 90px; animation-delay: 1.3s; }
body[data-shell="marketing"] .core-rings i:nth-child(3) { width: 90px; height: 90px; animation-delay: 2.6s; }
@keyframes rippleOut { to { width: 250px; height: 250px; opacity: 0; } }

body[data-shell="marketing"] .flow-lines { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; padding: 0 20px; }
body[data-shell="marketing"] .flow-line { height: 2px; background: rgba(255,255,255,0.05); position: relative; overflow: hidden; }
body[data-shell="marketing"] .flow-photon { position: absolute; top: 0; left: 0; width: 60px; height: 100%; background: linear-gradient(90deg, transparent, #8fe3d3, #fff); animation: photonShoot 3s infinite linear; }
body[data-shell="marketing"] .flow-photon.delayed { animation-delay: 1.5s; background: linear-gradient(90deg, transparent, #f2b38b, #fff); }
body[data-shell="marketing"] .flow-photon.fast { animation-duration: 2s; width: 100px; }
@keyframes photonShoot { 0% { transform: translateX(-100px); } 100% { transform: translateX(500px); } }

body[data-shell="marketing"] .workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
body[data-shell="marketing"] .workflow-step { display: flex; flex-direction: column; }
body[data-shell="marketing"] .step-num { color: rgba(255, 255, 255, 0.1); font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; margin-bottom: 20px; }
body[data-shell="marketing"] .workflow-step h3 { color: #fff; font-size: 1.8rem; margin: 0 0 12px 0; font-family: var(--font-display); }
body[data-shell="marketing"] .workflow-step p { color: rgba(255,255,255,0.6); font-size: 1.1rem; line-height: 1.6; margin: 0; }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
body[data-shell="marketing"] .pricing-section {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  align-items: start;
  gap: 54px;
  padding: 5vh 0 2vh;
}

body[data-shell="marketing"] .pricing-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

body[data-shell="marketing"] .pricing-card {
  position: relative;
  display: grid;
  gap: 26px;
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%),
    radial-gradient(circle at top left, rgba(143, 227, 211, 0.1) 0%, transparent 35%);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.46);
  overflow: hidden;
}

body[data-shell="marketing"] .pricing-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(143,227,211,0.4) 50%, transparent 100%);
}

body[data-shell="marketing"] .pricing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body[data-shell="marketing"] .pricing-tier {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body[data-shell="marketing"] .pricing-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 179, 139, 0.24);
  background: rgba(242, 179, 139, 0.08);
  color: #f2b38b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-shell="marketing"] .pricing-figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

body[data-shell="marketing"] .pricing-figure strong {
  color: #ffffff;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

body[data-shell="marketing"] .pricing-figure span {
  color: rgba(255,255,255,0.56);
  font-size: 1rem;
  font-weight: 600;
}

body[data-shell="marketing"] .pricing-note,
body[data-shell="marketing"] .pricing-footnote {
  margin: 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

body[data-shell="marketing"] .pricing-includes {
  display: grid;
  gap: 14px;
}

body[data-shell="marketing"] .pricing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
}

body[data-shell="marketing"] .pricing-item i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fe3d3;
  box-shadow: 0 0 0 6px rgba(143, 227, 211, 0.08);
  flex: 0 0 10px;
}

body[data-shell="marketing"] .pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

body[data-shell="marketing"] .pricing-secondary {
  padding-left: 0;
  padding-right: 0;
}

body[data-shell="marketing"] .faq-section {
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

body[data-shell="marketing"] .faq-header {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

body[data-shell="marketing"] .faq-list {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

body[data-shell="marketing"] .faq-item {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,12,12,0.72);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

body[data-shell="marketing"] .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
}

body[data-shell="marketing"] .faq-item summary::-webkit-details-marker {
  display: none;
}

body[data-shell="marketing"] .faq-item summary span {
  color: #f6f8fb;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

body[data-shell="marketing"] .faq-item summary i {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

body[data-shell="marketing"] .faq-item summary i::before,
body[data-shell="marketing"] .faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body[data-shell="marketing"] .faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

body[data-shell="marketing"] .faq-item[open] summary i::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

body[data-shell="marketing"] .faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  line-height: 1.75;
}

/* ==========================================================================
   11. BOTTOM CTA
   ========================================================================== */
body[data-shell="marketing"] .bottom-cta { position: relative; padding: 15vh 0; text-align: center; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
body[data-shell="marketing"] .cta-glow-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(143, 227, 211, 0.08) 0%, transparent 60%); z-index: -1; pointer-events: none; }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
body[data-shell="marketing"] .marketing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

body[data-shell="marketing"] .marketing-footer-brand {
  display: grid;
  gap: 6px;
}

body[data-shell="marketing"] .marketing-footer-brand strong {
  color: #ffffff;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

body[data-shell="marketing"] .marketing-footer-brand span {
  color: rgba(255,255,255,0.46);
  font-size: 0.9rem;
}

body[data-shell="marketing"] .marketing-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 28px;
  width: min(100%, 760px);
}

body[data-shell="marketing"] .marketing-footer-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

body[data-shell="marketing"] .marketing-footer-group strong {
  color: #ffffff;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body[data-shell="marketing"] .marketing-footer-group span,
body[data-shell="marketing"] .marketing-footer-group .footer-link {
  color: rgba(255,255,255,0.56);
  font-size: 0.92rem;
  line-height: 1.5;
}

body[data-shell="marketing"] .footer-link {
  cursor: pointer;
  transition: color 0.25s ease;
}

body[data-shell="marketing"] .footer-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   13. INTEGRATED MODALS (ZERO-JS CSS LOGIC)
   ========================================================================== */
body[data-shell="marketing"] .site-shell-marketing:has(#modal-login:checked) #wrapper-login,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-register:checked) #wrapper-register,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-privacy:checked) #wrapper-privacy,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-terms:checked) #wrapper-terms,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-cookies:checked) #wrapper-cookies { opacity: 1; pointer-events: auto; }

body[data-shell="marketing"] .site-shell-marketing:has(#modal-login:checked) #wrapper-login .stealth-modal-window,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-register:checked) #wrapper-register .stealth-modal-window,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-privacy:checked) #wrapper-privacy .stealth-modal-window,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-terms:checked) #wrapper-terms .stealth-modal-window,
body[data-shell="marketing"] .site-shell-marketing:has(#modal-cookies:checked) #wrapper-cookies .stealth-modal-window { transform: translateY(0); scale: 1; }

body[data-shell="marketing"] .stealth-modal-wrapper { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body[data-shell="marketing"] .stealth-modal-wrapper-manual.is-open { opacity: 1; pointer-events: auto; }
body[data-shell="marketing"] .stealth-modal-wrapper-manual.is-open .stealth-modal-window { transform: translateY(0); scale: 1; }
body[data-shell="marketing"] .stealth-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(12px); cursor: pointer; border: 0; padding: 0; }
body[data-shell="marketing"] .stealth-modal-window { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 20px; background: rgba(12,12,12,0.9); border: 1px solid rgba(255,255,255,0.08); border-radius: 28px; padding: 40px; box-shadow: 0 40px 100px rgba(0,0,0,0.9); transform: translateY(30px); scale: 0.98; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), scale 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
body[data-shell="marketing"] .stealth-modal-window-policy { max-width: 760px; }
body[data-shell="marketing"] .stealth-modal-window-verify { max-width: 500px; text-align: center; padding: 44px 38px 38px; }

body[data-shell="marketing"] .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.64);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}

body[data-shell="marketing"] .modal-close:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

body[data-shell="marketing"] .modal-header { margin-bottom: 30px; text-align: center; }
body[data-shell="marketing"] .modal-header h2 { font-family: var(--font-display); font-size: 2rem; color: #fff; margin: 0 0 8px 0; letter-spacing: -0.03em;}
body[data-shell="marketing"] .modal-header p { color: rgba(255,255,255,0.5); font-size: 0.95rem; margin: 0; }
body[data-shell="marketing"] .modal-header p strong { color: #ffffff; font-weight: 600; }
body[data-shell="marketing"] .modal-header-left { text-align: left; }

body[data-shell="marketing"] .verify-status {
  display: grid;
  gap: 22px;
  justify-items: center;
}

body[data-shell="marketing"] .verify-spinner-wrap {
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(143, 227, 211, 0.12), transparent 62%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.48), inset 0 0 40px rgba(143, 227, 211, 0.04);
}

body[data-shell="marketing"] .spinner-ring-verify {
  width: 48px;
  height: 48px;
  border-width: 2px;
}

body[data-shell="marketing"] .verify-success-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8fe3d3;
  background: rgba(143, 227, 211, 0.08);
  box-shadow: inset 0 0 20px rgba(143, 227, 211, 0.08);
}

body[data-shell="marketing"] .verify-success-mark svg {
  width: 26px;
  height: 26px;
}

body[data-shell="marketing"] .verify-status-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
}

body[data-shell="marketing"] .verify-status-copy span:first-child {
  color: rgba(255,255,255,0.78);
}

body[data-shell="marketing"] .stealth-form { display: flex; flex-direction: column; gap: 20px; }
body[data-shell="marketing"] .input-group { display: flex; flex-direction: column; gap: 8px; text-align: left;}
body[data-shell="marketing"] .input-group label { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 600; }
body[data-shell="marketing"] .input-group input { width: 100%; padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 1rem; outline: none; transition: border-color 0.3s, background 0.3s; }
body[data-shell="marketing"] .input-group input:focus { border-color: rgba(143, 227, 211, 0.5); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px rgba(143, 227, 211, 0.15); }
body[data-shell="marketing"] .stealth-form .button { margin-top: 10px; padding: 16px; font-size: 1.05rem; }

body[data-shell="marketing"] .modal-footer { margin-top: 30px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
body[data-shell="marketing"] .text-link { color: #8fe3d3; font-weight: 700; cursor: pointer; text-decoration: none; }
body[data-shell="marketing"] .text-link:hover { text-decoration: underline; }

body[data-shell="marketing"] .modal-feedback { margin-bottom: 20px; }
body[data-shell="marketing"] .modal-feedback .feedback-card { background: rgba(255, 132, 132, 0.1); border-color: rgba(255, 132, 132, 0.3); color: #fff; font-size: 0.9rem; padding: 14px; border-radius: 12px;}

body[data-shell="marketing"]:has(.modal-feedback .feedback-error) #wrapper-login,
body[data-shell="marketing"]:has(.modal-feedback .feedback-error) #wrapper-register { opacity: 1; pointer-events: auto; }
body[data-shell="marketing"]:has(.modal-feedback .feedback-error) .stealth-modal-window { transform: translateY(0); scale: 1; }

body[data-shell="marketing"] .policy-body {
  display: grid;
  gap: 20px;
}

body[data-shell="marketing"] .policy-body section {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

body[data-shell="marketing"] .policy-body h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

body[data-shell="marketing"] .policy-body p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (THE ULTIMATE MOBILE FIX)
   ========================================================================== */
@media (max-width: 1200px) {
  body[data-shell="marketing"] .stealth-stack-wrap { width: 440px; height: 280px; }
  body[data-shell="marketing"] .stealth-card-left-1 { left: calc(50% - 380px); top: 60px; }
  body[data-shell="marketing"] .stealth-card-left-2 { left: calc(50% - 300px); top: 260px; }
  body[data-shell="marketing"] .stealth-card-right { left: calc(50% + 180px); top: 140px; }
}

@media (max-width: 1024px) {
  body[data-shell="marketing"] .feature-showcase { flex-direction: column; gap: 60px; }
  body[data-shell="marketing"] .showcase-sticky-col { width: 100%; position: relative; top: 0; }
  body[data-shell="marketing"] .showcase-scroll-col { width: 100%; gap: 80px; padding-bottom: 0; }
  body[data-shell="marketing"] .workflow-grid { grid-template-columns: 1fr; gap: 60px; }
  body[data-shell="marketing"] .pricing-section { grid-template-columns: 1fr; gap: 30px; }
  body[data-shell="marketing"] .marketing-footer { flex-direction: column; align-items: flex-start; }
  body[data-shell="marketing"] .marketing-footer-columns { width: 100%; }
  body[data-shell="marketing"] .node-icon { width: 50px; height: 50px; }
  body[data-shell="marketing"] .node-icon svg { width: 24px; height: 24px; }
}

@media (max-width: 768px) {
  body[data-shell="marketing"] .marketing-main { gap: 8vh; padding-bottom: 6vh; }
  
  /* Compact Nav Buttons for mobile */
  body[data-shell="marketing"] .marketing-nav { gap: 10px; padding: 22px 0; }
  body[data-shell="marketing"] .brand-link { gap: 10px; min-width: 0; }
  body[data-shell="marketing"] .brand-icon { width: 32px; height: 32px; border-radius: 9px; }
  body[data-shell="marketing"] .brand-icon svg { width: 16px; height: 16px; }
  body[data-shell="marketing"] .brand-logotype { font-size: 1.02rem; }
  body[data-shell="marketing"] .marketing-nav-links { display: none; }
  body[data-shell="marketing"] .marketing-nav-actions { gap: 6px; flex-direction: row; width: auto; margin-left: auto; }
  body[data-shell="marketing"] .nav-btn-login { padding: 7px 10px; font-size: 0.78rem; line-height: 1; white-space: nowrap; min-height: 36px; }
  body[data-shell="marketing"] .nav-btn-req { padding: 8px 14px; font-size: 0.78rem; line-height: 1; white-space: nowrap; min-height: 36px; border-radius: 999px; }
  body[data-shell="marketing"] .pricing-card { padding: 24px 20px; gap: 20px; border-radius: 24px; }
  body[data-shell="marketing"] .pricing-card-top { align-items: flex-start; }
  body[data-shell="marketing"] .pricing-badge { font-size: 0.72rem; padding: 7px 10px; }
  body[data-shell="marketing"] .pricing-item { font-size: 0.92rem; }
  body[data-shell="marketing"] .pricing-actions { flex-direction: column; align-items: stretch; }
  body[data-shell="marketing"] .pricing-actions .button,
  body[data-shell="marketing"] .pricing-actions .button-ghost { width: 100%; text-align: center; }
  body[data-shell="marketing"] .pricing-secondary { padding: 12px 0 0; }

  body[data-shell="marketing"] .stealth-whisper { font-size: 1rem; }
  
  body[data-shell="marketing"] .hero-actions { flex-direction: column; width: 100%; }
  body[data-shell="marketing"] .hero-actions .button, 
  body[data-shell="marketing"] .hero-actions .button-ghost { width: 100%; text-align: center; }
  
  /* FIXED MOBILE 3D CORE & VISIBLE CARDS */
  body[data-shell="marketing"] .stealth-hero-copy { margin-top: 26px; }
  body[data-shell="marketing"] .stealth-scene { height: 340px; margin: -6px 0 22px; }
  body[data-shell="marketing"] .stealth-stack-wrap { width: 280px; height: 180px; }
  
  body[data-shell="marketing"] .stealth-plate-1 { transform: rotateX(68deg) translateZ(-40px); border-color: rgba(255, 60, 0, 0.6); }
  body[data-shell="marketing"] .stealth-plate-2 { transform: rotateX(68deg) translateZ(-20px); }
  body[data-shell="marketing"] .stealth-plate-3 { transform: rotateX(68deg) translateZ(0px); }
  body[data-shell="marketing"] .stealth-plate-4 { transform: rotateX(68deg) translateZ(20px); }
  body[data-shell="marketing"] .stealth-plate-5 { transform: rotateX(68deg) translateZ(40px); }
  
  body[data-shell="marketing"] .stealth-glow { transform: rotateX(68deg) translateZ(-60px); filter: blur(30px); }
  body[data-shell="marketing"] .stealth-scanner {
    left: 10%;
    right: 10%;
    top: 20%;
    bottom: 20%;
    transform: rotateX(68deg) translateZ(42px);
  }

  /* Restored Floating Cards for Mobile! Resized to fit */
  body[data-shell="marketing"] .stealth-card { display: block; width: 130px; padding: 10px; border-radius: 12px; }
  body[data-shell="marketing"] .sc-header { font-size: 0.6rem; margin-bottom: 6px; }
  body[data-shell="marketing"] .sc-header svg { width: 12px; height: 12px; }
  body[data-shell="marketing"] .sc-new { font-size: 1.1rem; }
  body[data-shell="marketing"] .sc-old { font-size: 0.75rem; }
  body[data-shell="marketing"] .metric strong { font-size: 0.85rem; }
  body[data-shell="marketing"] .sc-chart-container { height: 30px; }
  body[data-shell="marketing"] .sc-skeleton-list { gap: 8px; }
  
  /* Positioning tightly around the 3D core for small screens */
  body[data-shell="marketing"] .stealth-card-left-1 { left: calc(50% - 165px); top: 10px; z-index: 25; animation: scFloatLeft 6s ease-in-out infinite 0.5s; }
  body[data-shell="marketing"] .stealth-card-left-2 { left: calc(50% - 145px); top: 190px; width: 110px; z-index: 25; animation: scFloatSmall 7s ease-in-out infinite 1s; }
  body[data-shell="marketing"] .stealth-card-right { left: calc(50% + 25px); top: 150px; width: 130px; z-index: 25; animation: scFloatRight 6.5s ease-in-out infinite 1.5s; }

  @keyframes shootUpMobile {
    0% { transform: rotateX(68deg) translateZ(-40px) scaleY(0.75); opacity: 0; }
    18% { opacity: 0.92; }
    62% { opacity: 1; }
    100% { transform: rotateX(68deg) translateZ(150px) scaleY(1.12); opacity: 0; }
  }
  body[data-shell="marketing"] .data-stream { animation-name: shootUpMobile; }
  
  body[data-shell="marketing"] .mock-product-list, body[data-shell="marketing"] .mock-seo-list { width: 100%; }
  body[data-shell="marketing"] .mock-product-cards { flex-direction: column; align-items: center; }
  body[data-shell="marketing"] .mock-card { width: 100%; max-width: 240px; }
  body[data-shell="marketing"] .showcase-block-products .block-visual-products {
    min-height: 310px;
    aspect-ratio: auto;
    padding: 24px 16px 20px;
  }
  body[data-shell="marketing"] .showcase-block-products .mock-product-cards {
    width: min(100%, 300px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
  }
  body[data-shell="marketing"] .showcase-block-products .mock-card {
    width: 100%;
    max-width: none;
    padding: 14px;
    border-radius: 18px;
  }
  body[data-shell="marketing"] .showcase-block-products .mock-card:first-child {
    transform: translateY(-10px);
  }
  body[data-shell="marketing"] .showcase-block-products .mock-card:last-child {
    transform: translateY(12px);
  }
  body[data-shell="marketing"] .showcase-block-products .mock-badge-new {
    top: 8px;
    right: 8px;
    padding: 5px 10px;
    font-size: 0.68rem;
  }
  body[data-shell="marketing"] .showcase-block-products .mock-card-img {
    margin-bottom: 14px;
    border-radius: 10px;
  }
  body[data-shell="marketing"] .showcase-block-products .mock-card-img svg {
    width: 30px;
    height: 30px;
  }
  body[data-shell="marketing"] .showcase-block-products .mock-card-lines i {
    height: 7px;
    margin-bottom: 8px;
  }
  body[data-shell="marketing"] .flow-track { flex-direction: column; gap: 40px; }
  body[data-shell="marketing"] .flow-lines { display: none; }
  body[data-shell="marketing"] .faq-list { gap: 14px; }
  body[data-shell="marketing"] .faq-item summary { padding: 18px 18px; }
  body[data-shell="marketing"] .faq-item p { padding: 0 18px 18px; }
  body[data-shell="marketing"] .marketing-footer-columns { grid-template-columns: 1fr; gap: 20px; }
  body[data-shell="marketing"] .stealth-modal-window-verify { padding: 34px 24px 28px; }
  body[data-shell="marketing"] .verify-spinner-wrap { width: 88px; height: 88px; }
  body[data-shell="marketing"] .verify-status { gap: 18px; }

  /* FIX: Måste tillåta overflow på mobil för att inte klippa radar-ringarna! */
  body[data-shell="marketing"] .workflow-explainer-visual {
    padding: 40px 10px;
    overflow: visible; 
  }
  
  body[data-shell="marketing"] .core-rings i {
    animation-name: rippleOutMobile; 
  }
}

@keyframes rippleOutMobile {
  to { width: 150px; height: 150px; opacity: 0; }
}
