/* ==========================================================================
   APOLLONIA ASTROLOGY — MAIN STYLESHEET
   High-Contrast Typography, Fluid Motion, 3D Phone Stages & Marquee Gallery
   ========================================================================== */

/* --------------------------------------------------------------------------
   KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes rotateZodiacHalo {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes floatPhoneSecondary {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
}

@keyframes pulseAura {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

@keyframes screenPop {
  0% { opacity: 0.35; transform: scale(0.96) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes marqueeLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.screen-animate {
  animation: screenPop 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   1. HEADER & PURE CIRCULAR LOGO (NO RECTANGULAR BORDER!)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Pure Round Medallion — No Square/Box Border */
.brand-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.28);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-logo:hover .brand-logo-mark {
  transform: rotate(12deg) scale(1.06);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.5);
}

.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-gold-light);
  margin-top: 2px;
}

[data-theme="light"] .brand-subtitle {
  color: var(--brand-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 0.45rem 0.68rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.18s ease;
}

.lang-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.theme-toggle-btn {
  height: 38px;
  padding: 0 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-gold);
}

.theme-toggle-btn svg {
  width: 17px;
  height: 17px;
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-strong);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   2. HERO SECTION WITH ROTATING GOLDEN ZODIAC WHEEL & FLOATING PHONES
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 2.6rem 0 3.5rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue-light);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 1.25rem;
}

[data-theme="light"] .hero-eyebrow {
  color: var(--brand-blue);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 10px var(--brand-teal);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 3.25vw, 2.82rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
  letter-spacing: -0.025em;
}

.hero-title-accent {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 55%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-title-accent {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 55%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 1.55rem;
  max-width: 640px;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.92rem 1.45rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1.5px solid var(--brand-gold-border);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  min-width: 215px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.store-badge-btn:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 18px rgba(245, 158, 11, 0.22);
}

.store-badge-btn--video {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(59, 130, 246, 0.16));
  border-color: var(--brand-gold-border);
}

.btn-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(37, 99, 235, 0.2));
  border: 1.5px solid var(--brand-gold-border);
  color: var(--text-primary);
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn-video-cta:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.22);
}

.btn-video-play-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #090D16;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  padding-left: 2px;
}

.store-badge-icon {
  width: 28px;
  height: 28px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-badge-overline {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.store-badge-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

/* Hero 4 Pillars */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--brand-blue-border);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold-border);
}

.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  flex-shrink: 0;
}

[data-theme="light"] .metric-icon {
  color: var(--brand-blue);
}

.metric-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.metric-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
  white-space: nowrap;
}

.metric-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.48;
}

/* Right Hero Stage with Rotating Golden Zodiac Medallion */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-zodiac-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background-image: url('../assets/apollonia-zodiac-medallion.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.35));
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 48%, rgba(0,0,0,0) 72%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 48%, rgba(0,0,0,0) 72%);
  animation: rotateZodiacHalo 80s linear infinite;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .hero-zodiac-halo {
  opacity: 0.16;
}

.phone-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}

.phone-frame {
  border-radius: 28px;
  padding: 5px;
  background: #0B0F17;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-phone);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.phone-frame img {
  border-radius: 23px;
  width: 100%;
  height: auto;
  display: block;
}

.phone-frame--primary {
  width: 292px;
  z-index: 3;
}

.phone-frame--secondary {
  width: 278px;
  z-index: 2;
}

.phone-frame:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 22px rgba(245, 158, 11, 0.25);
}

.hero-screen-pills {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  max-width: 470px;
  margin: 1.35rem auto 0;
}

.hero-screen-pill {
  padding: 0.48rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hero-screen-pill:hover {
  border-color: var(--brand-gold-border);
  color: var(--text-primary);
}

.hero-screen-pill.active {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* --------------------------------------------------------------------------
   3. ORACLE OF THE STARS & PROMO VIDEO SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.oracle-video-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.75rem;
  align-items: center;
}

.oracle-poster-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--brand-gold-border);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin: 0 auto;
}

.oracle-poster-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.oracle-poster-card:hover img {
  transform: scale(1.03);
}

.oracle-poster-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(to top, rgba(6, 9, 19, 0.96) 25%, rgba(6, 9, 19, 0.65) 75%, transparent 100%);
  text-align: center;
}

.oracle-poster-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #FDE68A;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.video-player-card,
.video-showcase-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.video-frame-wrap,
.video-player-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #050811;
  border: 1.5px solid var(--brand-gold-border);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
}

.video-frame-wrap video,
.video-player-wrap video {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.video-controls-bar,
.video-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.video-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.video-meta-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.video-meta-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.video-lang-pills,
.video-format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.video-lang-pill,
.video-pill-btn {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.video-lang-pill.active,
.video-lang-pill:hover,
.video-pill-btn.active,
.video-pill-btn:hover {
  background: var(--brand-gold-soft);
  border-color: var(--brand-gold);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   4. SECTIONS & HEADERS
   -------------------------------------------------------------------------- */
.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
}

.section-header {
  max-width: 820px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.36rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--brand-gold-soft);
  border: 1px solid var(--brand-gold-border);
  color: var(--brand-gold-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
}

[data-theme="light"] .section-eyebrow {
  color: var(--brand-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   5. INTERACTIVE 9-MODULE WORKSTATION EXPLORER
   -------------------------------------------------------------------------- */
.workstation-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.module-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.module-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  text-align: left;
  transition: all 0.22s ease;
}

.module-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.module-btn.active {
  background: var(--bg-elevated);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.module-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .module-num {
  color: var(--brand-blue);
}

.module-btn.active .module-num {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.module-btn-body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.module-btn-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.28;
}

.module-btn-sub {
  font-size: 0.88rem;
  color: var(--text-subtle);
  line-height: 1.48;
}

.preview-dock {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.preview-phone {
  width: 296px;
  border-radius: 28px;
  padding: 5px;
  background: #0B0F17;
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow-phone);
  margin-bottom: 1.4rem;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.preview-phone:hover {
  border-color: var(--brand-gold);
}

.preview-phone img {
  border-radius: 23px;
  width: 100%;
  height: auto;
  display: block;
}

.preview-badge {
  display: inline-block;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--brand-blue-soft);
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

[data-theme="light"] .preview-badge {
  color: var(--brand-blue);
}

.preview-title {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
}

.preview-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. TECHNICAL & ASTRONOMICAL CAPABILITIES
   -------------------------------------------------------------------------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold-border);
}

.spec-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-gold-soft);
  border: 1px solid var(--brand-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.spec-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.spec-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin-top: 4px;
}

[data-theme="light"] .spec-subtitle {
  color: var(--brand-gold);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.spec-item:hover {
  border-color: var(--brand-blue-border);
  background: var(--bg-surface-hover);
}

.spec-item:last-child {
  padding-bottom: 0.85rem;
}

.spec-item-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue-light);
}

[data-theme="light"] .spec-item-label {
  color: var(--brand-blue);
}

.spec-item-val {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. 7 ANATOLIAN THEMES SHOWCASE — DYNAMIC 3-PHONE STAGE & HERITAGE BANNER
   -------------------------------------------------------------------------- */
.themes-showcase-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.themes-pill-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  transition: all 0.2s ease;
}

.theme-pill:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.theme-pill.active {
  background: var(--bg-elevated);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-sm);
}

.theme-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.theme-info-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.theme-banner-wrap {
  position: relative;
  height: 155px;
  overflow: hidden;
}

.theme-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theme-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-surface) 4%, rgba(9, 13, 22, 0.25) 100%);
}

.theme-banner-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid var(--brand-gold-border);
  color: #FDE68A;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.theme-info-content {
  padding: 1.35rem 1.75rem 1.75rem;
}

.theme-info-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.theme-info-region {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-gold-light);
  margin-bottom: 0.75rem;
}

[data-theme="light"] .theme-info-region {
  color: var(--brand-gold);
}

.theme-info-desc {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* Dynamic 3-Phone Coverflow Stage for Themes */
.theme-stage-3d {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

.theme-stage-aura {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.38) 0%, transparent 70%);
  filter: blur(28px);
  animation: pulseAura 5s ease-in-out infinite;
  pointer-events: none;
  transition: background 0.45s ease;
}

.theme-fan-phones {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-fan-phone {
  position: absolute;
  border-radius: 28px;
  padding: 5px;
  background: #0B0F17;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-phone);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.theme-fan-phone img {
  border-radius: 23px;
  width: 100%;
  height: auto;
  display: block;
}

.theme-fan-phone--prev {
  width: 224px;
  transform: translateX(-140px);
  opacity: 0.58;
  z-index: 1;
}

.theme-fan-phone--prev:hover {
  opacity: 0.88;
  transform: translateX(-146px);
}

.theme-fan-phone--active {
  width: 280px;
  transform: translateX(0);
  opacity: 1;
  z-index: 3;
  border-color: var(--brand-gold);
}

.theme-fan-phone--next {
  width: 224px;
  transform: translateX(140px);
  opacity: 0.58;
  z-index: 2;
}

.theme-fan-phone--next:hover {
  opacity: 0.88;
  transform: translateX(146px);
}

.theme-stage-caption {
  position: absolute;
  bottom: -8px;
  z-index: 4;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--brand-gold-border);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   8. 13 LANGUAGES & OFFLINE ATLAS
   -------------------------------------------------------------------------- */
.lang-grid-13 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 0.85rem;
}

.lang-chip-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lang-chip-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue-border);
}

.lang-flag { font-size: 1.45rem; }
.lang-native { font-size: 0.98rem; font-weight: 700; color: var(--text-primary); }
.lang-code { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   9. CANONICAL LEGAL & HYBRID CONTENT ARCHITECTURE CARD
   -------------------------------------------------------------------------- */
.legal-sanctuary-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--brand-gold-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.legal-sanctuary-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.legal-sanctuary-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-gold-soft);
  border: 1px solid var(--brand-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.legal-sanctuary-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
}

.legal-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.legal-badge-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-badge-icon { font-size: 1.35rem; flex-shrink: 0; }

.legal-clauses-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.legal-clause-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
}

.legal-clause-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

[data-theme="light"] .legal-clause-tag { color: var(--brand-gold); }

.legal-clause-text {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

.legal-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-legal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-legal-link:hover {
  border-color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

/* --------------------------------------------------------------------------
   10. ANIMATED SLIDING CAROUSEL & INFINITE MARQUEE GALLERY (28 SCREENS)
   -------------------------------------------------------------------------- */
.gallery-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-btn {
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--brand-blue);
}

.filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
}

.carousel-nav-btns,
.carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-arrow-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  transform: scale(1.06);
}

/* Smooth Horizontal Sliding Carousel Track */
.gallery-carousel-viewport {
  position: relative;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0.25rem 1.75rem;
}

.gallery-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-carousel-track {
  display: flex;
  gap: 1.35rem;
  width: max-content;
}

.gallery-carousel-track .gallery-card {
  width: 276px;
  flex-shrink: 0;
}

/* Continuous Infinite Marquee Ribbon (Used on Home Page) */
.marquee-showcase {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.35rem;
  width: max-content;
  animation: marqueeLeft 68s linear infinite;
}

.marquee-track--reverse {
  animation: marqueeRight 72s linear infinite;
}

.marquee-showcase:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-phone-card {
  width: 176px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.65rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.marquee-phone-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md);
}

.marquee-phone-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin-bottom: 0.5rem;
}

.marquee-phone-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Standard Grid for Dedicated Gallery Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrap {
  position: relative;
  padding: 1.1rem 1rem 0.5rem;
  display: flex;
  justify-content: center;
}

.gallery-img-wrap img {
  width: 242px;
  border-radius: 20px;
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover .gallery-img-wrap img {
  border-color: var(--brand-gold);
}

.gallery-index-badge {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
}

.gallery-caption {
  padding: 0.9rem 1.15rem 1.25rem;
  text-align: center;
}

.gallery-caption-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.gallery-caption-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop.open { display: flex; }

.lightbox-content {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lightbox-img {
  max-height: 76vh;
  width: auto;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.lightbox-sub {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-top: 0.2rem;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--brand-blue-light);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid,
  .oracle-video-grid,
  .workstation-layout,
  .themes-showcase-wrapper,
  .specs-grid,
  .legal-badges-grid,
  .legal-clauses-dual {
    grid-template-columns: 1fr;
  }

  .preview-dock { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .hero-metrics,
  .module-selector-grid,
  .themes-pill-bar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage { flex-direction: column; }
  .theme-fan-phone--prev,
  .theme-fan-phone--next { display: none; }
}


/* --------------------------------------------------------------------------
   STORE SHOWCASE CARDS (APP STORE / GOOGLE PLAY ANNOTATED PHONE TEMPLATES)
   -------------------------------------------------------------------------- */
.store-strip-shell {
  position: relative;
  margin: 0;
  padding: 0.5rem 0;
}

.store-strip-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.75rem 0 1.25rem;
}

.store-strip-viewport::-webkit-scrollbar {
  display: none;
}

.store-strip-track {
  display: flex;
  gap: 16px;
}

/* Large White Circular Left/Right Navigation Buttons (Exact Match to Reference) */
.store-strip-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-strip-nav:hover {
  transform: translateY(-50%) scale(1.08);
  background: #F8FAFC;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.store-strip-nav--prev { left: -22px; }
.store-strip-nav--next { right: -22px; }

/* Individual Vertical Store Showcase Card (4 full cards fit cleanly with larger, sharper screens) */
.store-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 256px;
  height: 590px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem 0.65rem 0;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

@media (max-width: 1180px) {
  .store-card {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}

@media (max-width: 768px) {
  .store-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 520px) {
  .store-card {
    flex: 0 0 100%;
  }
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.42);
}

/* Soft Luminous Vertical Gradients per Card */
.store-card--blue    { background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 46%, #93C5FD 100%); }
.store-card--teal    { background: linear-gradient(180deg, #F8FAFC 0%, #F0FDFA 46%, #99F6E4 100%); }
.store-card--indigo  { background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 46%, #A5B4FC 100%); }
.store-card--cyan    { background: linear-gradient(180deg, #F8FAFC 0%, #ECFEFF 46%, #7DD3FC 100%); }
.store-card--split   { background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 46%, #94A3B8 100%); }
.store-card--emerald { background: linear-gradient(180deg, #F8FAFC 0%, #ECFDF5 46%, #86EFAC 100%); }
.store-card--amber   { background: linear-gradient(180deg, #F8FAFC 0%, #FFFBEB 46%, #FCD34D 100%); }
.store-card--purple  { background: linear-gradient(180deg, #F8FAFC 0%, #F5F3FF 46%, #C4B5FD 100%); }

/* 2-Line Header at Top of Each Card */
.sc-header {
  text-align: center;
  padding: 0 0.2rem;
  z-index: 5;
}

.sc-kicker {
  font-size: 1.02rem;
  font-weight: 500;
  color: #1E3A8A;
  line-height: 1.24;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F2557;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-card--teal .sc-kicker, .store-card--emerald .sc-kicker { color: #065F46; }
.store-card--teal .sc-title,  .store-card--emerald .sc-title  { color: #064E3B; }
.store-card--indigo .sc-kicker, .store-card--purple .sc-kicker { color: #3730A3; }
.store-card--indigo .sc-title,  .store-card--purple .sc-title  { color: #1E1B4B; }
.store-card--amber .sc-kicker { color: #92400E; }
.store-card--amber .sc-title  { color: #78350F; }

/* Realistic Upright Bezel Template (Identical Height Across All Cards, Unobstructed Screen) */
.sc-phone {
  width: 234px;
  height: 492px;
  margin: auto auto 0;
  border-radius: 28px 28px 0 0;
  background: #0B0F17;
  padding: 5px 5px 0 5px;
  box-shadow:
    0 0 0 1.5px #94A3B8,
    0 0 0 3px #1E293B,
    0 14px 32px rgba(15, 23, 42, 0.32);
  position: relative;
  z-index: 3;
}

.sc-notch {
  display: none;
}

.sc-screen {
  width: 100%;
  height: 100%;
  border-radius: 23px 23px 0 0;
  overflow: hidden;
  position: relative;
  background: #0B0F17;
  padding-top: 0;
}

.sc-screen::before,
.sc-screen::after {
  display: none;
}

.sc-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.sc-img-zoom-wheel {
  transform: scale(1.12);
  transform-origin: center 42%;
}

/* Target Dot & Pointer Line (Cards 1 & 4) */
.sc-target-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #2563EB;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.28), 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 6;
}

.sc-target-line {
  position: absolute;
  width: 52px;
  height: 2px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transform: rotate(32deg);
  transform-origin: left center;
  z-index: 5;
}

.sc-callout-tag {
  position: absolute;
  z-index: 10;
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  color: #FFFFFF;
  padding: 0.42rem 0.65rem;
  border-radius: 10px;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.32);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sc-callout-tag strong {
  font-size: 0.72rem;
  font-weight: 800;
}

.sc-callout-tag span {
  font-size: 0.6rem;
  color: #DBEAFE;
}

/* Bottom Action Pill Bar (Cards 1 & 4) */
.sc-bottom-bar {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 10px;
  z-index: 9;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.35rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
  font-weight: 800;
  color: #0F172A;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.sc-bottom-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0F2557;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 0 0 3px #DBEAFE;
}

/* 2x2 Pop-Out Program Definitions Grid (Cards 2 & 9) */
.sc-pop-grid2x2 {
  position: absolute;
  left: -14px;
  right: -14px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.sc-pop-mini {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 11px;
  padding: 0.42rem 0.48rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.sc-pop-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  font-weight: 800;
}

.sc-pop-icon--amber  { background: #FEF3C7; color: #B45309; }
.sc-pop-icon--blue   { background: #DBEAFE; color: #1D4ED8; }
.sc-pop-icon--purple { background: #EDE9FE; color: #6D28D9; }
.sc-pop-icon--green  { background: #D1FAE5; color: #047857; }

.sc-pop-mini strong {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
}

.sc-pop-mini small {
  display: block;
  font-size: 0.56rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.15;
}

.sc-about-footer {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  z-index: 9;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.sc-about-footer strong {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 2px;
}

.sc-about-footer p {
  font-size: 0.55rem;
  line-height: 1.3;
  color: #334155;
  margin: 0;
}

/* Pop-Out Chat / Relationship Cards (Card 3) */
.sc-chat-banner {
  position: absolute;
  left: -14px;
  right: -14px;
  z-index: 10;
  background: linear-gradient(135deg, #1E1B4B, #312E81);
  color: #FFFFFF;
  border-radius: 13px;
  padding: 0.55rem 0.65rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.32);
}

.sc-chat-avatar {
  position: absolute;
  top: -12px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.sc-chat-banner strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #FDE68A;
  margin-bottom: 3px;
}

.sc-chat-banner p {
  font-size: 0.57rem;
  line-height: 1.32;
  color: #E0E7FF;
  margin: 0;
}

.sc-chat-q {
  position: absolute;
  left: -12px;
  right: 14px;
  z-index: 10;
  background: #FFFFFF;
  border-radius: 12px 12px 12px 3px;
  padding: 0.4rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.sc-chat-q-dot {
  font-size: 0.85rem;
}

.sc-chat-a {
  position: absolute;
  left: 10px;
  right: -14px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px 12px 3px 12px;
  padding: 0.5rem 0.6rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  border-left: 3px solid #4F46E5;
}

.sc-chat-a strong {
  display: block;
  font-size: 0.63rem;
  font-weight: 800;
  color: #1E1B4B;
  margin-bottom: 2px;
}

.sc-chat-a p {
  font-size: 0.55rem;
  line-height: 1.32;
  color: #334155;
  margin: 0;
}

/* Focus Brackets & 3-Column Row (Card 4) */
.sc-focus-brackets {
  position: absolute;
  top: 22%;
  left: 14%;
  right: 14%;
  height: 36%;
  border: 2.5px dashed rgba(37, 99, 235, 0.75);
  border-radius: 16px;
  z-index: 5;
  pointer-events: none;
}

.sc-pop-row3 {
  position: absolute;
  left: -14px;
  right: -14px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.sc-pop-col {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  padding: 0.42rem 0.3rem;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sc-pop-col-ico {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.sc-pop-col strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  color: #0F172A;
}

.sc-pop-col small {
  display: block;
  font-size: 0.52rem;
  color: #475569;
  line-height: 1.18;
  margin-top: 1px;
}

/* 50/50 Split Screen Light vs Dark Mode (Card 5) */
.sc-screen--split {
  position: relative;
}

.sc-split-half {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sc-split-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sc-split-half--left {
  clip-path: inset(0 50% 0 0);
}

.sc-split-half--right {
  clip-path: inset(0 0 0 50%);
}

.sc-split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #38BDF8, #F59E0B, #38BDF8);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
  z-index: 6;
}

.sc-split-pill {
  position: absolute;
  top: 52px;
  z-index: 7;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.sc-split-pill--left  { left: 12px; }
.sc-split-pill--right { right: 12px; background: #0F172A; color: #F8FAFC; border: 1px solid rgba(255,255,255,0.25); }

/* Vertical Color Meter & Side Callout (Card 6) */
.sc-color-scale {
  position: absolute;
  right: 8px;
  top: 42px;
  bottom: 24px;
  width: 22px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sc-color-scale span {
  flex: 1;
  border-radius: 4px;
  display: block;
}

.sc-side-callout {
  position: absolute;
  width: 158px;
  z-index: 10;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.28;
  color: #0F172A;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
}

.sc-side-ico {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Stacked Notification / Forecast Cards (Cards 7 & 10) */
.sc-notif-stack {
  position: absolute;
  left: -14px;
  right: -14px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-notif-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 11px;
  padding: 0.45rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sc-notif-card--main {
  transform: scale(1.03);
  border-color: rgba(245, 158, 11, 0.45);
  background: #FFFFFF;
}

.sc-notif-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #FEF3C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.sc-notif-card strong {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.18;
}

.sc-notif-card small {
  display: block;
  font-size: 0.54rem;
  color: #475569;
  line-height: 1.2;
}

/* Enlarged Module Stack (Card 8) */
.sc-module-stack {
  position: absolute;
  left: -8px;
  right: -8px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sc-mod-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 0.48rem 0.58rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.sc-mod-card--hero {
  margin-left: -8px;
  margin-right: -8px;
  padding: 0.58rem 0.68rem;
  background: #FFFFFF;
  border: 1.5px solid #6366F1;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.3);
}

.sc-mod-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #EEF2FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sc-mod-card strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #1E1B4B;
  line-height: 1.18;
}

.sc-mod-card small {
  display: block;
  font-size: 0.55rem;
  color: #475569;
  line-height: 1.2;
}


/* Clean Bottom Program Definition Card Over Phone (Aligned & Unobtrusive) */
.sc-def-card {
  position: absolute;
  left: -12px;
  right: -12px;
  bottom: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
}

.sc-def-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sc-def-body {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.22;
}

.sc-def-body strong {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F172A;
}

.sc-def-body span {
  font-size: 0.62rem;
  font-weight: 600;
  color: #475569;
  margin-top: 2px;
}
