/* ==========================================================================
   LAUNCHDOCK DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  /* Surface & Background Hierarchy */
  --bg-dark: #080A0F;
  --bg-card: #0F131C;
  --bg-card-hover: #151B28;
  --bg-glass: rgba(15, 19, 28, 0.78);
  --bg-glass-card: rgba(21, 27, 40, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(245, 186, 39, 0.5);

  /* Brand Accents */
  --primary: #F5BA27;           /* Launch Gold / Amber */
  --primary-hover: #FED053;
  --primary-glow: rgba(245, 186, 39, 0.25);
  --primary-ink: #1B1202;

  --mint: #34D399;              /* Upvote & Growth Mint */
  --mint-glow: rgba(52, 211, 153, 0.2);
  --mint-ink: #062419;

  --cyan: #38BDF8;              /* Dev & Tech Cyan */
  --cyan-glow: rgba(56, 189, 248, 0.2);

  --coral: #FB7185;             /* Deals & Discounts Coral */
  --coral-glow: rgba(251, 113, 133, 0.2);

  --purple: #A855F7;            /* AI Tools Violet */
  --purple-glow: rgba(168, 85, 247, 0.2);

  /* Text & Hierarchy */
  --text-main: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverted: #080A0F;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevations & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 30px rgba(245, 186, 39, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 186, 39, 0.08), transparent 70%),
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.04), transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(168, 85, 247, 0.04), transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), #FF7B00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: transform var(--transition-bounce);
}

.logo-wrap:hover .logo-badge {
  transform: rotate(-6deg) scale(1.08);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-pill {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(245, 186, 39, 0.15);
  color: var(--primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 186, 39, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-mint {
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
}

.btn-mint:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Google Sign-In & Auth Profile */
.btn-google {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.user-avatar-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary);
}

.user-display-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-signout {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-signout:hover {
  color: var(--coral);
  background: rgba(251, 113, 133, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 64px 0 40px;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(245, 186, 39, 0.1);
  border: 1px solid rgba(245, 186, 39, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 186, 39, 0); }
  50% { box-shadow: 0 0 16px rgba(245, 186, 39, 0.25); }
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--mint);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 880px;
  margin: 0 auto 20px;
  line-height: 1.08;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #FFF, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  max-width: 820px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-value .stat-accent {
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* ==========================================================================
   QUICK SEARCH & FILTER BAR
   ========================================================================== */

.search-section {
  padding: 24px 0 16px;
}

.search-box-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  color: var(--text-main);
  font-size: 1.05rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-md);
  background: #131826;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  display: none;
}

.search-clear-btn:hover {
  color: var(--text-main);
}

/* Category Filter Pills */
.category-filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 4px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}

.category-filter-wrap::-webkit-scrollbar {
  height: 4px;
}
.category-filter-wrap::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.filter-pill.active {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Secondary Filter / Sort Bar */
.filter-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 16px;
  flex-wrap: wrap;
}

.filter-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.filter-count strong {
  color: var(--text-main);
}

.filter-sort-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-select {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-toggle-btn {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.filter-toggle-btn.active {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(251, 113, 133, 0.1);
}

/* ==========================================================================
   DAILY DOCK RACE (SPOTLIGHT / LEADERBOARD)
   ========================================================================== */

.dock-race-section {
  padding: 32px 0 24px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 700;
}

.race-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.race-timer-pill strong {
  color: var(--primary);
  font-family: monospace;
  font-size: 0.95rem;
}

/* Spotlight Race Grid (Top 3 Cards) */
.race-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.podium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.podium-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.podium-card.rank-1 {
  border-color: rgba(245, 186, 39, 0.4);
  background: linear-gradient(180deg, rgba(245, 186, 39, 0.06), var(--bg-card) 60%);
  box-shadow: 0 4px 24px rgba(245, 186, 39, 0.1);
}

.rank-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rank-1 .rank-badge {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.rank-2 .rank-badge {
  background: #CBD5E1;
  color: #0F172A;
}

.rank-3 .rank-badge {
  background: #F97316;
  color: #FFF;
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #1E2536;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.podium-card:hover .product-icon {
  transform: scale(1.06);
}

.product-info-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 60px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-perks-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.deal-badge {
  background: rgba(251, 113, 133, 0.15);
  color: var(--coral);
  border: 1px solid rgba(251, 113, 133, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-badge {
  background: rgba(245, 186, 39, 0.12);
  color: var(--primary);
  border: 1px solid rgba(245, 186, 39, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  gap: 12px;
}

.visit-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.visit-link:hover {
  color: var(--primary);
}

/* Upvote Button Component */
.upvote-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-bounce);
  color: var(--text-main);
  user-select: none;
}

.upvote-btn:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.upvote-btn.upvoted {
  background: var(--mint);
  color: var(--mint-ink);
  border-color: var(--mint);
  box-shadow: 0 4px 14px var(--mint-glow);
}

.upvote-arrow {
  font-size: 0.85rem;
  line-height: 1;
  transition: transform var(--transition-bounce);
}

.upvote-btn:hover .upvote-arrow {
  transform: translateY(-2px);
}

.upvote-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 2px;
}

/* ==========================================================================
   MAIN DIRECTORY PRODUCT GRID
   ========================================================================== */

.directory-section {
  padding: 24px 0 64px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.product-card.is-featured {
  border-color: rgba(245, 186, 39, 0.3);
  background: linear-gradient(180deg, rgba(245, 186, 39, 0.03), var(--bg-card));
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.product-card-title-group {
  flex: 1;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-badge-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.pricing-badge-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag-item {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-xl);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   EXCLUSIVE DEALS BANNER & SECTION
   ========================================================================== */

.deals-section {
  padding: 48px 0;
  background: linear-gradient(180deg, transparent, rgba(251, 113, 133, 0.03), transparent);
}

.deals-banner-card {
  background: linear-gradient(135deg, #1C121E, #141724);
  border: 1px solid rgba(251, 113, 133, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.deals-banner-content h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.deals-banner-content p {
  color: var(--text-secondary);
  max-width: 550px;
  font-size: 0.98rem;
}

/* ==========================================================================
   MONETIZATION & PRICING PLANS SECTION
   ========================================================================== */

.pricing-section {
  padding: 64px 0 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.pricing-card.is-popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(245, 186, 39, 0.06), var(--bg-card) 70%);
  box-shadow: 0 8px 32px rgba(245, 186, 39, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.plan-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.plan-feature-item .check {
  color: var(--mint);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 740px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
  transform: scale(0.96);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.modal-header-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: #1C2436;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.modal-deal-box {
  background: rgba(251, 113, 133, 0.08);
  border: 1px dashed rgba(251, 113, 133, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.coupon-code-pill {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--coral);
  background: rgba(251, 113, 133, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 113, 133, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   MAKER SUBMISSION FORM (submit.html)
   ========================================================================== */

.submit-layout {
  padding: 40px 0 80px;
}

.submit-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.ai-autofill-box {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.ai-autofill-box::after {
  content: '✨ AI Magic';
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ai-input-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.ai-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
}

.ai-input:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-label span.req {
  color: var(--coral);
}

.form-label span.hint {
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
  font-size: 0.8rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #0B0E14;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

/* Tier Selection Cards in Form */
.tier-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.tier-select-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.tier-select-card:hover {
  border-color: var(--border-medium);
}

.tier-select-card.selected {
  border-color: var(--primary);
  background: rgba(245, 186, 39, 0.06);
  box-shadow: 0 0 0 2px var(--primary);
}

.tier-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.tier-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.tier-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Live Preview Side Sticky */
.preview-sticky-wrap {
  position: sticky;
  top: 96px;
}

.preview-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.preview-badge-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   MAKER DASHBOARD & EMBED BADGE GENERATOR (dashboard.html)
   ========================================================================== */

.dashboard-layout {
  padding: 40px 0 80px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--transition-fast);
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.dash-stat-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.dash-stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.dash-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Table */
.data-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin-bottom: 40px;
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.dash-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-live {
  background: rgba(52, 211, 153, 0.15);
  color: var(--mint);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-featured {
  background: rgba(245, 186, 39, 0.15);
  color: var(--primary);
  border: 1px solid rgba(245, 186, 39, 0.3);
}

.status-review {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Embed Badge Builder */
.embed-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.badge-preview-box {
  background: #080A0F;
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  min-height: 160px;
}

/* Embed Badges Styles */
.ld-embed-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  user-select: none;
}

.ld-embed-badge:hover {
  transform: translateY(-2px) scale(1.02);
}

.ld-badge-dark {
  background: #0F131C;
  border: 1px solid rgba(245, 186, 39, 0.4);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 186, 39, 0.15);
}

.ld-badge-gold {
  background: linear-gradient(135deg, #F5BA27, #FFA800);
  border: 1px solid #FFBE26;
  color: #1A1202;
  box-shadow: 0 6px 20px rgba(245, 186, 39, 0.35);
}

.ld-badge-minimal {
  background: #171C28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
}

.code-snippet-box {
  background: #06080D;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.code-snippet-text {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--cyan);
  overflow-x: auto;
  white-space: nowrap;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.toast-success {
  border-color: var(--mint);
}

.toast.toast-gold {
  border-color: var(--primary);
}

/* ==========================================================================
   FIRST 10 TESTERS / BETA FEEDBACK COMPONENT
   ========================================================================== */

.tester-spot-badge {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tester-progress-wrap {
  margin: 10px 0 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.tester-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.tester-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.modal-tester-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(52, 211, 153, 0.04));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.tester-reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 186, 39, 0.15);
  color: var(--primary);
  border: 1px solid rgba(245, 186, 39, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 6px;
}

.feedback-form-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
}

.star-rating-group {
  display: flex;
  gap: 6px;
  font-size: 1.3rem;
  cursor: pointer;
  margin: 6px 0 12px;
}

.star-rating-item {
  color: #475569;
  transition: color 0.15s ease;
}

.star-rating-item.active, .star-rating-item:hover {
  color: var(--primary);
}

.feedback-list-section {
  margin-top: 20px;
}

.feedback-comment-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
}

.feedback-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

/* ==========================================================================
   DUAL PILLAR NAVIGATION & PILLS
   ========================================================================== */

.nav-pillar-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-discover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
}

.tag-launch {
  background: rgba(245, 186, 39, 0.15);
  color: var(--primary);
}

/* ==========================================================================
   CURATED COLLECTIONS SECTION (index.html)
   ========================================================================== */

.collections-section {
  padding: 40px 0 20px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.collection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.collection-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.collection-card-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
}

.collection-card-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   AI LAUNCH STUDIO (launch.html)
   ========================================================================== */

.launch-studio-wrap {
  padding: 36px 0 80px;
}

.studio-top-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

/* Live Campaign Activation Bar */
.campaign-status-banner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(245, 186, 39, 0.08) 50%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
}

.active-pulse-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: live-pulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Workflow Stage Stepper */
.launch-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px;
  overflow-x: auto;
  margin-bottom: 32px;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.step-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.step-btn.active {
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.step-btn .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Stage Containers */
.studio-stage-panel {
  display: none;
  animation: fadeInStage 0.25s ease;
}

.studio-stage-panel.active {
  display: block;
}

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

/* 1 — Product Intelligence Breakdown Grid */
.intel-card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 30px;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.intel-item {
  background: #090C12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.intel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.intel-value {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* 2 — Marketing Strategy Matrices */
.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.strategy-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.channel-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.channel-card-item {
  background: #090C12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.channel-card-item:hover {
  border-color: var(--border-medium);
}

.channel-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.15);
  color: var(--mint);
}

/* 7-Day Blueprint Timeline */
.blueprint-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.blueprint-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #090C12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
}

.blueprint-day-pill {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(245, 186, 39, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* 3 — Campaign Generator Cards */
.campaign-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.campaign-platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.campaign-platform-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

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

.content-display-textarea {
  width: 100%;
  min-height: 180px;
  background: #080A0F;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  font-family: var(--font-body);
  resize: vertical;
  margin-bottom: 14px;
}

.content-display-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.platform-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  gap: 8px;
  flex-wrap: wrap;
}

/* 4 — Marketing Assets Studio */
.assets-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.asset-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.asset-box-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.asset-canvas-stage {
  padding: 32px 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.asset-badge-banner {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
}

.asset-canvas-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
  line-height: 1.2;
}

.asset-canvas-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 240px;
}

.asset-meta-row {
  padding: 14px 18px;
  background: #0A0D14;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 5 — Content Calendar Grid */
.calendar-wrap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.calendar-day-box {
  background: #090C12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.cal-day-header {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
  text-align: center;
}

.cal-item-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
}

.cal-item-pill:hover {
  border-color: var(--primary);
  background: rgba(245, 186, 39, 0.05);
}

.cal-item-pill.status-completed {
  border-color: var(--mint);
  background: rgba(52, 211, 153, 0.06);
}

/* ==========================================================================
   LAUNCH COMMAND CENTER (dashboard.html Upgraded)
   ========================================================================== */

.command-center-banner {
  background: linear-gradient(135deg, rgba(245, 186, 39, 0.08) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1px solid rgba(245, 186, 39, 0.3);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.readiness-bar-wrap {
  margin: 18px 0;
}

.readiness-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.readiness-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--mint));
  border-radius: 6px;
  transition: width 0.5s ease;
}

.checklist-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.check-item.done {
  color: var(--text-main);
  font-weight: 600;
}

.check-item.done .icon {
  color: var(--mint);
}

/* Campaign Performance KPIs */
.perf-analytics-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.perf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px;
}

.perf-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.perf-kpi-item {
  background: #090C12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
  background: rgba(10, 13, 20, 0.8);
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

.footer-links-list a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 980px) {
  .race-podium-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .submit-split {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collections-grid, .intel-grid, .strategy-grid, .campaign-cards-grid, .assets-studio-grid {
    grid-template-columns: 1fr;
  }
  .channel-recommendations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-days-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perf-analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    height: 64px;
  }
  .nav-links {
    display: none;
  }
  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .deals-banner-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .calendar-days-grid {
    grid-template-columns: 1fr;
  }
  .channel-recommendations-grid {
    grid-template-columns: 1fr;
  }
  .perf-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
