/* ==========================================================================
   AIcartoon.in — Official Crimson-Red & Pure-Black Studio Design System
   Mobile-first exact fidelity + Responsive Desktop Studio scaling
   ========================================================================== */

:root {
  --bg-outer: #050506;
  --bg-app: #000000;
  --bg-elevated: #0D0D11;
  --bg-modal: #101014;
  --red-primary: #FF1717;
  --red-bright: #FF2B1F;
  --red-deep: #D90914;
  --red-glow: rgba(255, 23, 23, 0.48);
  --red-soft: rgba(255, 28, 22, 0.14);
  --text-white: #FFFFFF;
  --text-muted: #C8C8CE;
  --text-dim: #9A9AA3;
  --card-bg: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.14);
  --crimson-border: rgba(255, 42, 30, 0.48);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --pill: 9999px;
}

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

@keyframes studioStageIn {
  from {
    opacity: 0.92;
  }
  to {
    opacity: 1;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-outer);
  color: var(--text-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

/* Hide default OS/browser scrollbars globally while keeping smooth scrolling */
html, body, * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

button, input, select, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
}

.sc-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.accent-red, .life-red, .text-red {
  color: #FF1818;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

section[id], footer[id] {
  scroll-margin-top: 76px;
}

/* Instant image rendering (zero fade-in delay / layout pop) */
img.lazy-img {
  opacity: 1;
}

/* ==========================================================================
   App Shell & Ambient Glow
   ========================================================================== */
.mobile-shell,
.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--bg-app);
  position: relative;
  overflow-x: clip;
  padding-top: 66px;
  padding-bottom: 0;
}

.ambient-top-glow {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 340px;
  height: 360px;
  background: radial-gradient(circle at 70% 35%, rgba(165, 18, 12, 0.42) 0%, rgba(110, 10, 8, 0.2) 45%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

.announce-bar {
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 48;
  background: linear-gradient(90deg, #99080E, #FF1F16, #99080E);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  padding: 5px 12px;
}

/* ==========================================================================
   Header, Brand Wordmark & Slide-Out Navigation Drawer
   ========================================================================== */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  height: 66px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(6, 5, 6, 0.96) 0%, rgba(28, 6, 7, 0.94) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  width: 100%;
  max-width: 1140px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}

.brand-wordmark .wm-red {
  color: #FF1414;
}

.brand-wordmark .wm-white {
  color: #FFFFFF;
}

.brand-wordmark .wm-play-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  background: #FFFFFF;
  margin: 0 0.015em;
  vertical-align: -0.05em;
  position: relative;
  top: -0.01em;
}

.brand-wordmark .wm-play-o svg {
  width: 0.44em;
  height: 0.44em;
  margin-left: 0.05em;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.menu-btn:active {
  transform: scale(0.94);
}

/* Slide-out Navigation Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 288px;
  max-width: 84vw;
  height: 100%;
  background: #0D0D10;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 70;
  padding: 20px 18px;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: #E4E4E9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.18s ease, color 0.18s ease;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(255, 28, 20, 0.14);
  color: #FFFFFF;
}

.drawer-auth-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-cta {
  width: 100%;
  height: 44px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 86, 72, 0.45);
  background: linear-gradient(180deg, #F4241C 0%, #D40A14 100%);
  color: #FFFFFF;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   Homepage Sections (Exact Mobile Reference + Desktop Responsive Expansion)
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 2;
  padding: 26px 18px 24px;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-desktop-bg {
  display: none;
}

.hero-artwork-wrap {
  position: absolute;
  top: 2px;
  right: -18px;
  width: 50%;
  max-width: 215px;
  height: 270px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-artwork {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: right top;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 66%;
}

.hero-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 9.5vw, 41px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.hero-subtitle {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 500;
  color: #D4D4DB;
}

.hero-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 118, 106, 0.72);
  background: linear-gradient(180deg, #FF2D26 0%, #E80B18 100%);
  color: #FFFFFF;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.hero-cta:hover {
  background: linear-gradient(180deg, #FF3F36 0%, #F5121F 100%);
  border-color: rgba(255, 148, 136, 0.85);
}

.hero-cta:active {
  transform: scale(0.98);
}

/* Generate Your Cartoon Card */
.generator-card {
  position: relative;
  z-index: 5;
  margin: 4px 14px 0;
  padding: 16px 15px 15px;
  border-radius: 22px;
  background: linear-gradient(155deg, #120D0F 0%, #0A0A0D 58%, #10090B 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.generator-card.highlight-pulse {
  border-color: #FF2B1F;
}

.gen-header {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-right: 76px;
}

.gen-sparkle {
  flex-shrink: 0;
  margin-top: 2px;
}

.gen-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.gen-subtitle {
  font-size: 11px;
  color: #A8A8B3;
  margin-top: 2px;
  line-height: 1.3;
}

.gen-controls-col {
  width: 76%;
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.prompt-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 41px;
  padding: 0 13px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.prompt-input-wrap:focus-within {
  border-color: rgba(255, 42, 30, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.prompt-input-wrap svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.prompt-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 12px;
}

.prompt-input::placeholder {
  color: #8E8E98;
}

.gen-submit-btn {
  width: 100%;
  height: 42px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 118, 106, 0.68);
  background: linear-gradient(180deg, #FF2D26 0%, #E80B18 100%);
  color: #FFFFFF;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.gen-submit-btn:hover {
  background: linear-gradient(180deg, #FF3F36 0%, #F5121F 100%);
  border-color: rgba(255, 148, 136, 0.85);
}

.gen-submit-btn:active {
  transform: scale(0.98);
}

.clapperboard-img {
  position: absolute;
  right: 4px;
  bottom: 10px;
  width: 90px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* 4-Column Feature Row */
.features-grid {
  position: relative;
  z-index: 4;
  margin: 13px 14px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
  min-height: 82px;
}

.feature-card:hover {
  border-color: rgba(255, 38, 28, 0.5);
  background: rgba(255, 28, 22, 0.07);
}

.feature-card:active {
  transform: scale(0.96);
}

.feature-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.feature-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.22;
  color: #F4F4F6;
}

/* Showcase Banner ("Bring Your Imagination to Life") */
.showcase-banner {
  position: relative;
  z-index: 4;
  margin: 14px 14px 0;
  border-radius: 17px;
  border: 1px solid rgba(255, 42, 30, 0.55);
  background: linear-gradient(100deg, #160506 0%, #090406 58%, #350506 92%, #4B0608 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 102px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.2s ease;
}

.showcase-banner:hover {
  border-color: rgba(255, 58, 42, 0.85);
}

.showcase-banner:active {
  transform: scale(0.985);
}

.banner-collage-wrap {
  width: 63%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.banner-collage-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-copy-wrap {
  flex: 1;
  padding: 10px 10px 10px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-4deg);
}

.banner-heading {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.banner-swoosh {
  margin-top: 4px;
  width: 78px;
  height: 10px;
  display: block;
}

/* Popular Tools Section */
.popular-section {
  position: relative;
  z-index: 4;
  margin: 18px 14px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #F4F4F6;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.view-all-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tool-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 14px 4px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.tool-card.active {
  border-color: rgba(255, 38, 28, 0.85);
  background: rgba(255, 24, 20, 0.12);
}

.tool-card:active {
  transform: scale(0.95);
}

.tool-icon-wrap {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.tool-name {
  font-size: 10.5px;
  font-weight: 600;
  color: #E4E4E9;
  text-align: center;
  line-height: 1.15;
}

/* Our Plans Section */
.plans-section {
  position: relative;
  z-index: 4;
  margin-top: 26px;
  padding: 24px 12px 10px;
  overflow: hidden;
}

.ribbon-bg {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.ribbon-bg-top {
  top: -6px;
  height: 92px;
}

.plans-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 22px;
}

.plans-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.plans-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.plans-subtitle {
  margin-top: 4px;
  font-size: 11.5px;
  color: #C8C8CE;
}

.currency-toggle {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.currency-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  background-color: transparent;
  color: #B4B4BE;
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.currency-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.currency-btn.active {
  color: #FFFFFF;
}

.currency-btn.active::before {
  opacity: 1;
  transform: scale(1);
}

.plans-grid {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 13% 16px;
  margin: 0 -12px;
  scrollbar-width: none;
  cursor: grab;
}

.plans-grid::-webkit-scrollbar {
  display: none;
}

.plans-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.plan-card {
  position: relative;
  flex: 0 0 76%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: 18px;
  background: linear-gradient(180deg, #1A0A0D 0%, #0C0B0E 52%, #13080A 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
  transition: border-color 0.2s ease;
  user-select: none;
}

.plan-card.popular {
  background: linear-gradient(180deg, #320A0E 0%, #0E090C 50%, #1F070A 100%);
  border: 1.5px solid #EE221C;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  padding-top: 26px;
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #F5261D 0%, #D40A14 100%);
  border: 1px solid rgba(255, 110, 96, 0.5);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--pill);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.plan-name {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.plan-desc {
  font-size: 12.5px;
  color: #C2C2CC;
  margin-top: 5px;
  line-height: 1.3;
}

.plan-price-row {
  margin: 16px 0 15px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.plan-price-old {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #8A8A9A;
  text-decoration: line-through;
  text-decoration-color: #FF2D26;
  text-decoration-thickness: 2px;
  margin-right: 2px;
}

.plan-price-old[hidden] {
  display: none;
}

.plan-price {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.025em;
}

.plan-period {
  font-size: 13px;
  color: #D4D4DB;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
  padding: 0 6px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #ECECF2;
  line-height: 1.25;
}

.plan-features li svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.plan-btn {
  margin-top: auto;
  width: 100%;
  height: 44px;
  border-radius: var(--pill);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}

.plan-btn:active {
  transform: scale(0.96);
}

.plan-btn-outline {
  background: rgba(12, 8, 10, 0.85);
  border: 1px solid rgba(255, 42, 32, 0.65);
  color: #FFFFFF;
}

.plan-btn-outline:hover {
  background: rgba(255, 32, 24, 0.16);
  border-color: #FF2E22;
}

.plan-btn-pro {
  background: linear-gradient(180deg, #FF2D26 0%, #E80B18 100%);
  border: 1px solid rgba(255, 118, 106, 0.68);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.plan-btn-pro:hover {
  background: linear-gradient(180deg, #FF3F36 0%, #F5121F 100%);
  border-color: rgba(255, 148, 136, 0.85);
}

.plans-dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.plan-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--pill);
  border: none;
  background: #3A3A44;
  padding: 0;
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.plan-dot.active {
  width: 22px;
  background: #EE221C;
}

/* Reviews Section */
.reviews-section {
  position: relative;
  z-index: 4;
  margin: 22px 12px 0;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.reviews-title-col {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.reviews-bubble-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.reviews-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.reviews-subtitle {
  font-size: 9px;
  color: #B4B4BE;
  margin-top: 2px;
  line-height: 1.25;
}

.rating-pill {
  flex-shrink: 0;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 10px;
  text-align: right;
}

.rating-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.stars-gold {
  color: #FFC107;
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.rating-score {
  font-size: 9.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.rating-count {
  font-size: 7.5px;
  color: #B4B4BE;
  margin-top: 2px;
}

.reviews-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 10% 12px;
  margin: 0 -12px;
  scrollbar-width: none;
  cursor: grab;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.reviews-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.review-card {
  flex: 0 0 80%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: linear-gradient(180deg, #131115 0%, #0C0A0E 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 16px 15px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease;
}

.review-card.active {
  border-color: rgba(255, 48, 36, 0.72);
}

.review-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.review-avatar-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.review-quote {
  font-size: 12.5px;
  line-height: 1.42;
  color: #ECECF2;
}

.review-bottom {
  margin-top: 12px;
  padding-left: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-author {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.review-role {
  font-size: 10px;
  color: #9E9EA8;
  margin-top: 2px;
}

.review-stars {
  color: #FFC107;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--pill);
  border: none;
  background: #3A3A44;
  cursor: pointer;
  padding: 0;
  transition: width 0.22s ease, background 0.22s ease;
}

.review-dot.active {
  width: 22px;
  background: #EE221C;
}

/* Ready to Create CTA Banner */
.cta-banner-wrap {
  position: relative;
  z-index: 4;
  margin-top: 18px;
  padding: 6px 12px 10px;
}

.cta-banner {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  border: 1px solid rgba(255, 48, 36, 0.65);
  background: linear-gradient(95deg, #2D0608 0%, #120608 44%, #160709 76%, #2A0709 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.48);
  padding: 11px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cta-rocket {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}

.cta-copy {
  flex: 1;
  min-width: 0;
}

.cta-heading {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.22;
}

.cta-sub {
  font-size: 7.8px;
  color: #D0D0D8;
  margin-top: 3px;
  line-height: 1.25;
}

.cta-white-btn {
  flex-shrink: 0;
  height: 31px;
  padding: 0 11px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #FFFFFF;
  color: #C80B14;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.38);
  transition: background 0.16s ease, transform 0.14s ease;
}

.cta-white-btn:hover {
  background: #F3F3F7;
}

.cta-white-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   Footer Section (Crimson Mountains + Glowing Red Moon)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 4;
  margin-top: 14px;
  padding-top: 24px;
  background: #050507;
  overflow: hidden;
}

.footer-desktop-art {
  display: none;
}

.footer-moon-art {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: 118px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  opacity: 0.92;
}

.footer-mountains-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38px;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.footer-inner {
  position: relative;
  z-index: 3;
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 14px 58px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.95fr 0.55fr;
  gap: 8px;
  align-items: start;
}

.footer-brand-logo {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 7px;
}

@media (max-width: 768px) {
  .site-footer .brand-wordmark {
    display: none;
  }
}

.footer-brand-desc {
  font-size: 9px;
  line-height: 1.4;
  color: #D4D4DB;
  margin-bottom: 10px;
  max-width: 28ch;
}

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

.social-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.social-btn:hover {
  background: rgba(255, 28, 22, 0.35);
  border-color: rgba(255, 42, 32, 0.7);
  transform: translateY(-1px);
}

.footer-col {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  white-space: nowrap;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: #D8D8E0;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.15s ease;
}

.footer-link-btn:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.footer-chevron {
  color: #FF241A;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
}

.footer-bottom-bar {
  position: relative;
  z-index: 4;
  background: #050203;
  border-top: 1px solid rgba(255, 36, 28, 0.38);
  padding: 12px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.copyright-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 32, 24, 0.65), transparent);
  max-width: 70px;
}

.copyright-text {
  font-size: 9.5px;
  color: #D0D0D8;
  white-space: nowrap;
}

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  background: #101014;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.24s ease;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.preview-stage {
  width: 100%;
  height: 196px;
  border-radius: 16px;
  background: #07070A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cartoonCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.progress-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 10px;
}

.progress-overlay.hidden {
  display: none;
}

.progress-bar-track {
  width: 82%;
  height: 6px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF2A1E, #FF6B4A);
  border-radius: var(--pill);
  transition: width 0.2s ease;
}

.style-pills {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.style-pill {
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #D4D4DB;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.style-pill.active {
  border-color: #FF241A;
  background: rgba(255, 36, 26, 0.2);
  color: #FFFFFF;
}

.modal-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.btn-secondary {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-primary-sm,
.btn-crimson {
  flex: 1.25;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 118, 106, 0.68);
  background: linear-gradient(180deg, #FF2D26 0%, #E80B18 100%);
  color: #FFFFFF;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.btn-primary-sm:hover,
.btn-crimson:hover {
  background: linear-gradient(180deg, #FF3F36 0%, #F5121F 100%);
  border-color: rgba(255, 148, 136, 0.85);
}

.plan-modal-summary {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 40, 30, 0.35);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.plan-modal-summary strong {
  font-size: 14px;
  color: #FFFFFF;
}

.plan-modal-summary p {
  font-size: 11.5px;
  color: #B4B4BE;
  margin-top: 3px;
}

.modal-input,
.studio-input,
.studio-select,
.studio-textarea {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.studio-textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

.studio-select {
  line-height: 40px;
  padding: 0 12px 0 14px;
  cursor: pointer;
  text-overflow: ellipsis;
  background-color: rgba(255, 255, 255, 0.06);
  color-scheme: dark;
}

.studio-select option {
  background: #101014;
  color: #FFFFFF;
}

.modal-input:focus,
.studio-input:focus,
.studio-select:focus,
.studio-textarea:focus {
  border-color: rgba(255, 42, 30, 0.8);
  background-color: rgba(255, 255, 255, 0.09);
}

.demo-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.demo-item {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-meta h4 {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.demo-meta p {
  font-size: 11px;
  color: #A1A1AA;
  margin-top: 2px;
}

.demo-try-btn {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: var(--pill);
  border: none;
  background: #FF1E1A;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.all-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.all-tool-item {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  color: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.all-tool-item:hover {
  border-color: rgba(255, 36, 26, 0.6);
  background: rgba(255, 36, 26, 0.09);
}

.all-tool-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.all-tool-item span {
  font-size: 11px;
  color: #A1A1AA;
  line-height: 1.3;
  display: block;
}

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: rgba(18, 16, 20, 0.96);
  border: 1px solid rgba(255, 36, 26, 0.6);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 500;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.72);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Natural SEO Guide & FAQ Accordion (Pure Black Carbon Theme) ===== */
.seo-guide-section {
  position: relative;
  z-index: 4;
  margin: 24px 12px 0;
}

.seo-guide-head {
  margin-bottom: 14px;
}

.seo-guide-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.22;
}

.seo-guide-sub {
  font-size: 12px;
  line-height: 1.55;
  color: #B4B4C2;
  margin-top: 6px;
}

.seo-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.seo-pillar {
  border-radius: 14px;
  background: #0B0B0F;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px;
}

.seo-pillar h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.seo-pillar p {
  font-size: 12px;
  line-height: 1.55;
  color: #B4B4C2;
}

.seo-pillar a {
  color: #FF3B30;
  font-weight: 600;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.seo-faq-item {
  border-radius: 13px;
  background: #0B0B0F;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.seo-faq-item[open] {
  border-color: rgba(255, 68, 59, 0.45);
}

.seo-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 15px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #F4F4FA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: '+';
  font-size: 16px;
  font-weight: 700;
  color: #FF352E;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.seo-faq-body {
  padding: 0 15px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #B6B6C4;
}

.seo-faq-body a {
  color: #FF3B30;
  font-weight: 600;
}

/* ==========================================================================
   Shared Inner Pages Layout (Features, Templates, Pricing, Contact, Legal)
   ========================================================================== */
.inner-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 3;
}

.page-hero {
  padding: 34px 16px 22px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.crimson-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--pill);
  background: rgba(255, 24, 20, 0.14);
  border: 1px solid rgba(255, 42, 30, 0.45);
  color: #FF4D42;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  max-width: 18ch;
  margin: 0 auto;
}

.page-hero-sub {
  margin: 12px auto 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.55;
  color: #C8C8CE;
}

.crimson-card {
  border-radius: 16px;
  background: #0B0B0F;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 20px;
  box-shadow: none;
  transition: border-color 0.18s ease;
}

.crimson-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.bento-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.card-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 24, 20, 0.16);
  border: 1px solid rgba(255, 42, 30, 0.42);
  color: #FF2B1F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.crimson-card h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.crimson-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #B8B8C2;
}

/* Filter Pills & Templates Showcase Grid */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 22px;
}

.filter-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.05);
  color: #D4D4DC;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.filter-pill.active {
  background-color: transparent;
  border-color: rgba(255, 118, 106, 0.72);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.filter-pill.active::before {
  opacity: 1;
  transform: scale(1);
}

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

.template-card {
  border-radius: 18px;
  background: linear-gradient(180deg, #140D0F 0%, #0A0A0D 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.42);
  transition: border-color 0.18s ease;
}

.template-card:hover {
  border-color: #EE221C;
}

.template-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #07070A;
  overflow: hidden;
}

.template-stage canvas,
.template-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.template-style-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(8, 8, 10, 0.84);
  border: 1px solid rgba(255, 42, 30, 0.55);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
}

.template-duration-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #E4E4EC;
  font-size: 10.5px;
  font-weight: 600;
}

.template-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.template-body h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.template-prompt-preview {
  font-size: 12px;
  line-height: 1.45;
  color: #B4B4BE;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.template-meta-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: #A1A1AA;
}

/* Comparison Table & FAQ */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 10, 12, 0.92);
  margin-top: 24px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.compare-table th {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 24, 20, 0.09);
}

.compare-table td {
  color: #D4D4DC;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.faq-item summary {
  padding: 15px 18px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: #FF241A;
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #B8B8C2;
}

/* Contact & Legal Prose */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.form-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #D4D4DC;
}

.dept-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dept-box {
  padding: 14px 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 42, 30, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dept-box small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #A1A1AA;
}

.dept-box strong {
  display: block;
  font-size: 13.5px;
  color: #FF3B30;
  margin-top: 3px;
}

.copy-pill-btn {
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.legal-card {
  max-width: 840px;
  margin: 16px auto 32px;
  padding: 24px 20px;
  border-radius: 22px;
  background: rgba(16, 12, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.legal-card h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 22px 0 8px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  font-size: 13.5px;
  line-height: 1.65;
  color: #C8C8CE;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Default Mobile Visibility (< 960px) — Keeps Mobile 100% Exact!
   ========================================================================== */
.desk-sidebar,
.desk-topbar,
.desk-action-cards,
.desk-popular-templates,
.desk-right-rail,
.desk-only-ico,
.cta-label-desk,
.hero-inline-rocket {
  display: none;
}

/* ==========================================================================
   Desktop Professional Studio App Layout (>= 960px)
   Fixed Left Sidebar + Top Pill Header + Center Stage + Right Widgets Rail
   ========================================================================== */
@media (min-width: 960px) {
  .app-header,
  .mobile-only-block,
  .mobile-only-flex,
  .mobile-only-ico,
  .cta-label-mobile {
    display: none !important;
  }

  .desk-only-ico,
  .cta-label-desk,
  .hero-inline-rocket {
    display: inline-block;
  }

  .hero-inline-rocket {
    vertical-align: -2px;
    margin-left: 3px;
  }

  body.has-desk-shell {
    background-color: #050507;
  }

  /* Instant zero-shift sidebar & topbar rail paint at 0ms before JS hydrates nav links */
  body.has-desk-shell::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 226px;
    background: #060608;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    z-index: 64;
    pointer-events: none;
  }

  body.has-desk-shell::after {
    content: '';
    position: fixed;
    top: 0;
    left: 226px;
    right: 0;
    height: 62px;
    background: rgba(6, 6, 8, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 59;
    pointer-events: none;
  }

  .mobile-shell,
  .page-shell {
    max-width: none;
    width: 100%;
    padding-left: 226px;
    padding-top: 62px;
    background: #050507;
    box-shadow: none;
  }

  body.auth-page .auth-main {
    margin-left: 226px;
    padding-top: 90px;
  }

  body.auth-page #site-footer {
    margin-left: 226px;
  }

  .ambient-top-glow {
    display: none;
  }

  /* ----- Fixed Left Sidebar ----- */
  .desk-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 226px;
    z-index: 65;
    background: #060608;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .desk-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 4px 10px;
    text-decoration: none;
  }

  .desk-brand-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  .desk-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
  }

  .desk-brand-sub {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #F2F2F7;
    letter-spacing: -0.01em;
  }

  .desk-side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
  }

  .desk-side-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 42px;
    padding: 0 13px;
    border-radius: 12px;
    border: 1px solid transparent;
    background-color: transparent;
    color: #C2C2CE;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 11px;
    user-select: none;
    transition:
      color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .desk-side-link::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
    opacity: 0;
    transform: scale(0.97);
    transition:
      opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  .desk-side-link svg {
    opacity: 0.84;
    flex-shrink: 0;
    transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .desk-side-link:hover {
    background-color: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.09);
    color: #FFFFFF;
  }

  .desk-side-link:hover svg {
    opacity: 1;
    transform: translateX(1px);
  }

  .desk-side-link.active {
    background-color: transparent;
    border-color: rgba(255, 118, 106, 0.72);
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .desk-side-link.active::before {
    opacity: 1;
    transform: scale(1);
  }

  .desk-side-link.active svg {
    opacity: 1;
    transform: none;
  }

  .desk-side-link.is-locked {
    color: #88889A;
  }

  .desk-side-link.is-locked svg:first-child {
    opacity: 0.62;
  }

  .desk-side-link.is-locked .side-lock-ico {
    margin-left: auto;
    opacity: 0.62;
    color: #7D7D90;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .desk-side-link.is-locked:hover {
    color: #E2E2EC;
    background-color: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .desk-side-link.is-locked:hover .side-lock-ico {
    opacity: 1;
    color: #FF3B30;
    transform: scale(1.06);
  }

  .desk-side-link:active,
  .desk-top-pill:active,
  .desk-pro-btn:active,
  .btn-crimson:active,
  .btn-primary-sm:active,
  .plan-btn-pro:active,
  .cta-white-btn:active {
    transform: scale(0.982);
  }

  @keyframes lockNudge {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    60% { transform: translateX(3px); }
  }

  .lock-nudge {
    animation: lockNudge 0.24s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  }

  .desk-pro-card {
    margin-top: auto;
    padding: 16px 14px 15px;
    border-radius: 16px;
    background: #0C0C10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: none;
  }

  .desk-pro-crown {
    display: flex;
    justify-content: center;
    margin-bottom: 7px;
  }

  .desk-pro-card h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #FFFFFF;
  }

  .desk-pro-card p {
    font-size: 11px;
    line-height: 1.4;
    color: #A6A6B2;
    margin: 5px 0 12px;
  }

  .desk-pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 118, 106, 0.68);
    background: linear-gradient(180deg, #FF2D26 0%, #E80B18 100%);
    color: #FFFFFF;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transition: background 0.16s ease, border-color 0.16s ease;
  }

  .desk-pro-btn:hover {
    background: linear-gradient(180deg, #FF3F36 0%, #F5121F 100%);
    border-color: rgba(255, 148, 136, 0.85);
  }

  .desk-online-pill {
    height: 38px;
    padding: 0 13px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #34D399;
    transition: border-color 0.18s ease, background 0.18s ease;
  }

  .desk-online-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 211, 153, 0.4);
  }

  .desk-online-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .online-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #22C55E;
    background: rgba(34, 197, 94, 0.35);
  }

  .desk-online-chev {
    color: #9A9AA5;
    font-size: 15px;
  }

  /* ----- Fixed Top Pill Bar ----- */
  .desk-topbar {
    position: fixed;
    top: 0;
    left: 226px;
    right: 0;
    height: 62px;
    z-index: 60;
    background: rgba(6, 6, 8, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .desk-top-pills {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .desk-top-pill {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 36px;
    padding: 0 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #C8C8D4;
    border: 1px solid transparent;
    background-color: transparent;
    user-select: none;
    transition:
      color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .desk-top-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
    opacity: 0;
    transform: scale(0.95);
    transition:
      opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  .desk-top-pill:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.09);
  }

  .desk-top-pill.active {
    background-color: transparent;
    border-color: rgba(255, 118, 106, 0.72);
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .desk-top-pill.active::before {
    opacity: 1;
    transform: scale(1);
  }

  .desk-top-right {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .desk-bell-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #E4E4EC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .desk-bell-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
  }

  .bell-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF241A;
  }

  .desk-user-wrap {
    position: relative;
  }

  .desk-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 6px 3px 3px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #D4D4DC;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
  }

  .desk-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .desk-avatar-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #27272F;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .desk-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 196px;
    background: #101015;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.85);
    display: none;
    flex-direction: column;
    gap: 3px;
    z-index: 90;
  }

  .desk-user-dropdown.open {
    display: flex;
  }

  .desk-dd-head {
    padding: 7px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .desk-dd-head span {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(255, 32, 24, 0.22);
    color: #FF5A4F;
  }

  .desk-user-dropdown a,
  .desk-user-dropdown button {
    padding: 8px 10px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: #D4D4DC;
    font-size: 12.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .desk-user-dropdown a:hover,
  .desk-user-dropdown button:hover {
    background: rgba(255, 32, 24, 0.16);
    color: #FFFFFF;
  }

  /* ----- Homepage 2-Column Studio Grid (Center Workspace + Right Widgets Rail) ----- */
  .desk-studio-grid {
    max-width: 1380px;
    margin: 0 auto;
    padding: 18px 24px 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 20px;
    align-items: stretch;
  }

  .desk-center-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* Center Hero Stage — Seamless Full-Bleed 4K Shadow-Blended Backdrop */
  .hero-section {
    padding: 30px 28px 30px;
    min-height: 274px;
    border-radius: 18px;
    background: #050507;
    justify-content: center;
    overflow: hidden;
  }

  .hero-desktop-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
    z-index: 1;
  }

  .hero-artwork-wrap {
    display: none;
  }

  .hero-content {
    max-width: 54%;
  }

  .hero-title {
    font-size: clamp(44px, 4.2vw, 56px);
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 15.5px;
    margin-top: 12px;
    line-height: 1.42;
    color: #E2E2EA;
  }

  .hero-cta {
    height: 44px;
    padding: 0 22px;
    font-size: 13.5px;
    margin-top: 20px;
    gap: 9px;
  }

  /* Center Generate Your Cartoons Card */
  .generator-card {
    margin: 0;
    padding: 20px 22px;
    border-radius: 16px;
    background: #0B0B0F;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: none;
  }

  .gen-header {
    align-items: center;
    padding-right: 120px;
  }

  .gen-title {
    font-size: 19px;
  }

  .gen-subtitle {
    font-size: 12.5px;
  }

  .gen-controls-col {
    width: calc(100% - 120px);
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
    gap: 12px;
  }

  .prompt-input-wrap {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.13);
  }

  .prompt-input {
    font-size: 13px;
  }

  .gen-submit-btn {
    width: auto;
    min-width: 186px;
    height: 44px;
    padding: 0 22px;
    font-size: 13.5px;
  }

  .clapperboard-img {
    width: 96px;
    right: 18px;
    bottom: 14px;
  }

  /* Center 4-Column Studio Action Row */
  .desk-action-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .desk-action-tile {
    height: 76px;
    border-radius: 14px;
    background: #0E0E12;
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #F2F2F7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease;
  }

  .desk-action-tile:hover {
    border-color: rgba(255, 58, 48, 0.65);
    background: #13131A;
  }

  /* Center Popular Templates Showcase Card (True 9:16 Vertical Shorts Grid) */
  .desk-popular-templates {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-radius: 16px;
    padding: 15px 16px 16px;
    background: #0B0B0F;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: none;
  }

  .desk-pt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .desk-pt-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .desk-pt-title h2 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #FFFFFF;
  }

  .desk-pt-viewall {
    font-size: 12px;
    font-weight: 600;
    color: #D4D4DE;
    transition: color 0.18s ease;
  }

  .desk-pt-viewall:hover {
    color: #FFFFFF;
  }

  .desk-pt-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .desk-pt-thumb {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    overflow: hidden;
    background: #09090C;
    padding: 0;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    cursor: pointer;
    position: relative;
    display: block;
    transition: border-color 0.18s ease;
  }

  .desk-pt-thumb:hover {
    border-color: #FF2B1F;
  }

  .desk-pt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .desk-pt-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 8px 7px;
    background: linear-gradient(180deg, rgba(6, 6, 9, 0) 0%, rgba(6, 6, 9, 0.88) 100%);
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #F4F4F8;
    text-align: left;
    line-height: 1.2;
    letter-spacing: 0.01em;
    pointer-events: none;
  }

  /* ----- Right Widgets Rail (Your Stats, Quick Actions, Latest Activity — Zero Bottom Void!) ----- */
  .desk-right-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
  }

  .desk-right-rail .activity-rail-card {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .rail-activity-item.clickable {
    padding: 5px 6px;
    margin: -5px -6px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .rail-activity-item.clickable:hover {
    background: rgba(255, 255, 255, 0.055);
  }

  .rail-quick-prompts {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rail-qp-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #9A9AA8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .rail-qp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rail-qp-chip {
    padding: 5px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.04);
    color: #D8D8E4;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  }

  .rail-qp-chip:hover {
    border-color: rgba(255, 54, 42, 0.65);
    background: rgba(255, 30, 22, 0.14);
    color: #FFFFFF;
  }

  .rail-card {
    border-radius: 16px;
    padding: 16px;
    background: #0B0B0F;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: none;
  }

  .stats-rail-card {
    background: #0B0B0F;
  }

  .rail-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
  }

  .rail-head-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .rail-head-left h3 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #FFFFFF;
  }

  .rail-view-link {
    font-size: 11.5px;
    font-weight: 600;
    color: #C8C8D2;
  }

  .rail-view-link:hover {
    color: #FFFFFF;
  }

  .rail-stats-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }

  .rail-stat-row {
    display: flex;
    align-items: center;
    gap: 11px;
  }

  .rail-stat-ico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .rail-stat-ico.red {
    background: linear-gradient(180deg, #F5261D 0%, #C80812 100%);
  }

  .rail-stat-ico.violet {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.35);
  }

  .rail-stat-ico.green {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
  }

  .rail-stat-row strong {
    display: block;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
  }

  .rail-stat-row div span {
    display: block;
    font-size: 11.5px;
    color: #9A9AA6;
    margin-top: 1px;
  }

  .rail-actions-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .rail-action-btn {
    width: 100%;
    height: 38px;
    padding: 0 11px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #E8E8F0;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition:
      background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rail-action-btn:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 44, 34, 0.45);
    color: #FFFFFF;
  }

  .qa-left {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .qa-ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
  }

  .qa-ico.red {
    background: #E11419;
  }

  .qa-ico.blue {
    background: #2563EB;
  }

  .qa-ico.silver {
    background: rgba(255, 255, 255, 0.14);
  }

  .qa-arrow {
    color: #9A9AA6;
    font-size: 13px;
  }

  .rail-activity-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .rail-activity-item {
    display: flex;
    align-items: center;
    gap: 11px;
  }

  .act-thumb-wrap {
    position: relative;
    width: 32px;
    height: 57px;
    aspect-ratio: 9 / 16;
    border-radius: 7px;
    overflow: visible;
    flex-shrink: 0;
  }

  .act-thumb-wrap img {
    width: 32px;
    height: 57px;
    aspect-ratio: 9 / 16;
    border-radius: 7px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
  }

  .act-mini-badge {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #0B0B0E;
  }

  .act-mini-badge.green {
    background: #22C55E;
  }

  .act-mini-badge.blue {
    background: #3B82F6;
  }

  .act-info strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #F2F2F7;
    line-height: 1.25;
  }

  .act-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #9A9AA6;
    margin-top: 2px;
  }

  .dot-green, .dot-blue, .dot-amber {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
  }
  .dot-green { background: #22C55E; }
  .dot-blue { background: #3B82F6; }
  .dot-amber { background: #A1A1AA; }

  /* ----- Below-the-Fold Sections & Inner Pages on Desktop ----- */
  .plans-section,
  .reviews-section,
  .seo-guide-section,
  .cta-banner-wrap {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .seo-guide-section {
    margin-top: 34px;
  }

  .seo-guide-title {
    font-size: 22px;
  }

  .seo-guide-sub {
    font-size: 13px;
    max-width: 72ch;
  }

  .seo-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
  }

  .seo-pillar {
    padding: 16px 18px;
  }

  .seo-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .plans-section {
    margin-top: 34px;
    padding-top: 34px;
  }

  .plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 42, 31, 0.48) 50%, transparent 100%);
  }

  .ribbon-bg-top {
    display: none;
  }

  .plans-title {
    font-size: 30px;
  }

  .plans-subtitle {
    font-size: 13.5px;
  }

  .plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 24px;
    overflow: visible;
    padding: 22px 0 12px;
    margin: 0 auto;
    cursor: default;
  }

  .plan-card {
    flex: none;
    padding: 28px 24px 24px;
  }

  .plan-card.popular {
    transform: none;
  }

  .plans-dots {
    display: none;
  }

  .reviews-section {
    margin-top: 32px;
  }

  .reviews-title {
    font-size: 22px;
  }

  .reviews-subtitle {
    font-size: 13px;
  }

  .rating-pill {
    padding: 8px 16px;
  }

  .stars-gold, .rating-score {
    font-size: 13px;
  }

  .rating-count {
    font-size: 11px;
  }

  .reviews-grid {
    padding: 10px 0 16px;
    margin: 0;
    gap: 18px;
  }

  .review-card {
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
  }

  .cta-banner-wrap {
    margin-top: 28px;
    padding-bottom: 18px;
  }

  .cta-banner {
    padding: 20px 26px;
    border-radius: 20px;
    gap: 18px;
  }

  .cta-rocket {
    width: 62px;
    height: 62px;
  }

  .cta-heading {
    font-size: 20px;
  }

  .cta-sub {
    font-size: 13px;
    margin-top: 4px;
  }

  .cta-white-btn {
    height: 42px;
    padding: 0 20px;
    font-size: 13px;
  }

  .site-footer {
    background: #050507;
    padding-top: 30px;
    min-height: 296px;
  }

  .footer-mountains-art,
  .footer-moon-art {
    display: none;
  }

  .footer-desktop-art {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    width: 100%;
    height: calc(100% - 42px);
    object-fit: cover;
    object-position: right bottom;
    pointer-events: none;
    z-index: 1;
  }

  .footer-inner {
    max-width: 1380px;
    padding: 18px 28px 82px;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
    gap: 24px;
  }

  .footer-brand-desc {
    font-size: 12.5px;
  }

  .footer-col-title {
    font-size: 13.5px;
    margin-bottom: 12px;
  }

  .footer-link-btn {
    font-size: 12.5px;
  }

  .footer-links {
    gap: 8px;
  }

  .copyright-text {
    font-size: 12px;
  }

  .inner-wrap {
    max-width: 1240px;
    padding: 0 28px;
  }

  .bento-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .bento-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .templates-grid {
    grid-template-columns: repeat(3, minmax(0, 320px));
    justify-content: center;
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: 1.25fr 0.9fr;
    gap: 24px;
  }

  .legal-card {
    padding: 36px 40px;
  }
}


/* ==========================================================================
   AIcartoon.in Pro Studio Polish — Elevated Boxes, Crisp Header & Credits UI
   ========================================================================== */
.desk-topbar {
  background: rgba(8, 8, 12, 0.90) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.desk-topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 36, 26, 0) 0%, rgba(255, 45, 38, 0.55) 50%, rgba(255, 36, 26, 0) 100%);
  pointer-events: none;
}

.desk-sidebar {
  background: linear-gradient(180deg, #08080C 0%, #050507 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.085) !important;
}

.crimson-card,
.kpi-card,
.dash-hero-bar,
.ws-user-card,
.rail-card {
  background: linear-gradient(180deg, #111117 0%, #0B0B0F 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.32) !important;
}

.crimson-card:hover,
.kpi-card:hover {
  border-color: rgba(255, 56, 44, 0.32) !important;
}

.desk-auth-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hdr-credit-pill {
  height: 36px;
  padding: 0 6px 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0.05) 100%);
  color: #FEF3C7;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.hdr-credit-pill:hover {
  border-color: rgba(251, 191, 36, 0.68);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.22) 0%, rgba(251, 191, 36, 0.09) 100%);
  transform: translateY(-1px);
}

.hdr-credit-pill.is-admin {
  padding: 0 14px;
  border-color: rgba(255, 72, 62, 0.55);
  background: linear-gradient(135deg, rgba(255, 36, 26, 0.22) 0%, rgba(251, 191, 36, 0.18) 100%);
  color: #FFF4D2;
  text-decoration: none;
}

.hdr-buy-tag {
  padding: 3px 9px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
}

.hdr-guest-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hdr-login-btn {
  height: 35px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #EAEAF2;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.hdr-login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hdr-signup-btn {
  height: 35px;
  padding: 0 15px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 118, 106, 0.72);
  background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.desk-avatar-circle.is-admin {
  background: linear-gradient(135deg, #FF241A, #F59E0B) !important;
  border-color: rgba(251, 191, 36, 0.7) !important;
}

.desk-dd-credits {
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #FBBF24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(251, 191, 36, 0.06);
}

.is-admin-tag {
  background: linear-gradient(135deg, #FF241A, #F59E0B) !important;
  color: #FFFFFF !important;
}

.drawer-credit-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.28);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.drawer-credit-box span {
  font-size: 10.5px;
  color: #C8C8D4;
  font-weight: 600;
}

.drawer-credit-box strong {
  font-size: 13.5px;
  color: #FBBF24;
}

.desk-pro-card.is-admin-card {
  border-color: rgba(251, 191, 36, 0.35) !important;
  background: linear-gradient(180deg, rgba(255, 36, 26, 0.14) 0%, #0C0C10 100%) !important;
}

/* ----- Buy More Credits Modal & Credit Pack Cards ----- */
.buy-credits-modal {
  max-width: 720px !important;
  width: 94vw !important;
}

.buy-credits-sub {
  font-size: 12px;
  color: #A4A4B4;
  margin-top: 2px;
}

.bcm-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.bcm-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #D8D8E4;
}

.bcm-balance-pill strong {
  color: #FBBF24;
}

.bcm-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 680px) {
  .bcm-packs-grid {
    grid-template-columns: 1fr;
  }
}

.bcm-pack-card {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #14141C 0%, #0C0C11 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.bcm-pack-card:hover {
  border-color: rgba(255, 58, 44, 0.55);
  transform: translateY(-2px);
}

.bcm-pack-card.is-popular {
  border-color: rgba(255, 45, 38, 0.72);
  background: linear-gradient(180deg, rgba(255, 36, 26, 0.14) 0%, #0E0E14 100%);
  box-shadow: 0 10px 28px rgba(255, 24, 18, 0.16);
}

.bcm-pack-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #FF2D26 0%, #E60B18 100%);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bcm-pack-card h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.bcm-pack-credits {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #FBBF24;
  line-height: 1.1;
}

.bcm-pack-credits span {
  font-size: 12px;
  font-weight: 600;
  color: #C8C8D4;
}

.bcm-pack-vids {
  font-size: 12px;
  color: #9E9EB0;
}

.bcm-pack-price {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 6px 0 8px;
}

.bcm-pro-strip {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 36, 26, 0.08);
  border: 1px solid rgba(255, 45, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.bcm-pro-strip strong {
  display: block;
  font-size: 13px;
  color: #FFFFFF;
}

.bcm-pro-strip span {
  font-size: 11.5px;
  color: #B8B8C8;
}

/* ----- Admin Unlimited & Gold Badges ----- */
.ws-plan-badge.is-admin-gold,
.status-pill.is-admin-pill {
  background: linear-gradient(135deg, #FF241A 0%, #F59E0B 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.65) !important;
  color: #FFFFFF !important;
}

.adm-topbar-badge {
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 36, 26, 0.2) 0%, rgba(251, 191, 36, 0.18) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #FDE68A;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adm-infinite-pill {
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 9px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.32);
  color: #FDE68A;
  font-size: 11px;
  font-weight: 700;
}

.admin-unlimited-banner {
  border-color: rgba(251, 191, 36, 0.48) !important;
  background: linear-gradient(135deg, rgba(255, 36, 26, 0.16) 0%, rgba(16, 16, 22, 0.96) 65%) !important;
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
  color: #FEF3C7;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.btn-gold-sm:hover {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.32) 0%, rgba(245, 158, 11, 0.2) 100%);
  border-color: rgba(251, 191, 36, 0.85);
}

.gen-cost-chip {
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 11px;
  font-weight: 700;
}

.gen-buy-credits-btn {
  margin-top: 12px;
  width: 100%;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
  color: #FEF3C7;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.gen-buy-credits-btn:hover {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.16) 100%);
  border-color: rgba(251, 191, 36, 0.78);
}


/* Compact Responsive Header Credits */
@media (max-width: 640px) {
  .hdr-credit-pill {
    padding: 4px 9px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
    white-space: nowrap;
  }
  .hdr-credit-pill .hdr-buy-tag {
    display: none !important;
  }
  .dash-hero-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px !important;
  }
  .dash-hero-actions {
    width: 100%;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .dash-action-btn {
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}
