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

/* ==========================================
   GLOBAL BRAND VARIABLES & GENERAL STYLES
   ========================================== */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: rgba(13, 13, 13, 0.85);
  --gold: #c9993a;
  --gold-glow: rgba(201, 153, 58, 0.2);
  --gold-border: rgba(201, 153, 58, 0.25);
  --off-white: #f0ede8;
  --text-muted: #8e8d8a;
  
  /* Tier Metallic Colors & Glows */
  --silver: #a6a6a6;
  --silver-glow: rgba(166, 166, 166, 0.25);
  --silver-border: rgba(166, 166, 166, 0.3);
  
  --amber: #e5a93b;
  --amber-glow: rgba(229, 169, 59, 0.3);
  --amber-border: rgba(229, 169, 59, 0.45);
  
  --ice-blue: #7cb2ec;
  --ice-blue-glow: rgba(124, 178, 236, 0.25);
  --ice-blue-border: rgba(124, 178, 236, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Syne', var(--font-sans);
  --font-mono: 'Space Grotesk', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.brand-assets-page {
  background-color: var(--bg-dark);
  color: var(--off-white);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background grid dot texture */
body.brand-assets-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(201, 153, 58, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Dashboard Layout */
.dashboard-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 100px;
}

header.brand-header {
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(201, 153, 58, 0.15);
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-title h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--off-white) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.brand-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.brand-badge {
  background: rgba(201, 153, 58, 0.08);
  border: 1px solid var(--gold-border);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Brand Palette Cards */
.brand-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.spec-card {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.spec-card h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.color-palette {
  display: flex;
  gap: 12px;
}

.color-swatch {
  flex: 1;
  height: 60px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.color-swatch.black { background-color: #0a0a0a; color: #888; border-color: rgba(255, 255, 255, 0.05); }
.color-swatch.gold { background-color: #c9993a; color: #000; border-color: #c9993a; }
.color-swatch.white { background-color: #f0ede8; color: #000; border-color: #f0ede8; }

.font-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.font-item span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.font-item.f-display { font-family: var(--font-display); font-size: 1.3rem; }
.font-item.f-sans { font-family: var(--font-sans); font-size: 1.1rem; }

/* Showcase Container Style */
.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.design-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.design-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 15px;
}

.design-title-box h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--off-white);
}

.design-title-box span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
}

.design-actions {
  display: flex;
  gap: 10px;
}

.btn-showcase {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--off-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.btn-showcase:hover {
  background: rgba(201, 153, 58, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-showcase.primary {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  font-weight: 600;
}

.btn-showcase.primary:hover {
  background: #e5b04c;
  box-shadow: 0 0 15px rgba(201, 153, 58, 0.4);
}

.asset-container {
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.asset-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}


/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes goldPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(201, 153, 58, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(201, 153, 58, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(201, 153, 58, 0);
  }
}

@keyframes goldCardPulse {
  0% { box-shadow: 0 10px 40px -10px var(--amber-glow); }
  50% { box-shadow: 0 10px 50px 0px rgba(229, 169, 59, 0.45); }
  100% { box-shadow: 0 10px 40px -10px var(--amber-glow); }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px rgba(201, 153, 58, 0.1); }
  50% { text-shadow: 0 0 20px rgba(201, 153, 58, 0.4); }
  100% { text-shadow: 0 0 10px rgba(201, 153, 58, 0.1); }
}

.pulse-dot-anim {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  display: inline-block;
  animation: goldPulse 2s infinite;
}


/* ==========================================
   DESIGN 1: Pricing Page Hero Banner (16:9)
   ========================================== */
.d1-canvas {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background-color: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.d1-canvas::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(201, 153, 58, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Design 1 Offer Banner */
.d1-top-banner {
  background: linear-gradient(90deg, rgba(201, 153, 58, 0.05) 0%, rgba(201, 153, 58, 0.12) 50%, rgba(201, 153, 58, 0.05) 100%);
  border: 1px solid rgba(201, 153, 58, 0.2);
  border-radius: 30px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 20px;
  width: fit-content;
}

.d1-banner-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}

/* Pricing Grid */
.d1-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex-grow: 1;
  align-items: center;
}

.d1-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 96%;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
}

.d1-card:hover {
  transform: translateY(-4px) scale(1.01);
}

/* Rim lighting glows per tier */
.d1-card.silver {
  border: 1px solid var(--silver-border);
  box-shadow: 0 10px 30px -10px var(--silver-glow), inset 0 0 20px rgba(166, 166, 166, 0.05);
}
.d1-card.silver:hover {
  box-shadow: 0 15px 40px -5px rgba(166, 166, 166, 0.35), inset 0 0 25px rgba(166, 166, 166, 0.08);
}

.d1-card.gold {
  border: 1px solid var(--amber-border);
  box-shadow: 0 10px 40px -10px var(--amber-glow), inset 0 0 20px rgba(229, 169, 59, 0.08);
  height: 100%;
  animation: goldCardPulse 6s infinite ease-in-out;
}
.d1-card.gold:hover {
  box-shadow: 0 15px 50px 0px rgba(229, 169, 59, 0.5), inset 0 0 30px rgba(229, 169, 59, 0.12);
}

.d1-card.platinum {
  border: 1px solid var(--ice-blue-border);
  box-shadow: 0 10px 30px -10px var(--ice-blue-glow), inset 0 0 20px rgba(124, 178, 236, 0.05);
}
.d1-card.platinum:hover {
  box-shadow: 0 15px 40px -5px rgba(124, 178, 236, 0.35), inset 0 0 25px rgba(124, 178, 236, 0.08);
}

/* Card Content Details */
.d1-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(201, 153, 58, 0.5);
  white-space: nowrap;
}

.d1-tier-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.d1-card.silver .d1-tier-name { color: var(--silver); }
.d1-card.gold .d1-tier-name { color: var(--amber); }
.d1-card.platinum .d1-tier-name { color: var(--ice-blue); }

.d1-price-container {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.d1-price-one {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: -0.2px;
}

.d1-price-monthly {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Feature List */
.d1-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.d1-feature-item {
  font-size: 0.7rem;
  color: var(--off-white);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.d1-feature-item svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}
.silver .d1-feature-item svg { color: var(--silver); }
.gold .d1-feature-item svg { color: var(--amber); }
.platinum .d1-feature-item svg { color: var(--ice-blue); }

/* Card bottom guarantee */
.d1-delivery-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--off-white);
  opacity: 0.95;
  text-align: center;
}

.gold .d1-delivery-badge {
  border-color: rgba(229, 169, 59, 0.2);
  background: rgba(229, 169, 59, 0.03);
}


/* ==========================================
   DESIGN 2: Business Flyer (A4 Portrait)
   ========================================== */
.d2-canvas {
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1 / 1.414;
  background-color: #050505;
  border: 1px solid rgba(201, 153, 58, 0.15);
  border-radius: 12px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.d2-canvas::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(201, 153, 58, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.d2-canvas::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(201, 153, 58, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Header */
.d2-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 25px;
}

.d2-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.d2-logo-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 153, 58, 0.05);
}

.d2-logo-icon span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold);
}

.d2-logo-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--off-white);
}

.d2-urgency-badge {
  background: rgba(201, 153, 58, 0.1);
  border: 1px solid var(--gold-border);
  padding: 6px 12px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Text Banner */
.d2-hero-text {
  margin-bottom: 25px;
}

.d2-headline {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.d2-subheadline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 300;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

/* A4 Tier Columns */
.d2-tiers-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.d2-tier-row {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.d2-tier-row.silver { border-left: 3px solid var(--silver); }
.d2-tier-row.gold { 
  border-left: 3px solid var(--amber);
  background: rgba(201, 153, 58, 0.02);
  border-color: rgba(229, 169, 59, 0.2) rgba(255, 255, 255, 0.04) rgba(255, 255, 255, 0.04) var(--amber);
}
.d2-tier-row.platinum { border-left: 3px solid var(--ice-blue); }

.d2-row-info {
  display: flex;
  flex-direction: column;
}

.d2-row-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.d2-tier-row.silver .d2-row-name { color: var(--silver); }
.d2-tier-row.gold .d2-row-name { color: var(--amber); }
.d2-tier-row.platinum .d2-row-name { color: var(--ice-blue); }

.d2-row-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.d2-row-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--off-white);
  text-align: right;
}

.d2-row-subtext {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Bottom Icons */
.d2-bottom-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  margin-bottom: 20px;
}

.d2-icon-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.d2-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.d2-icon-feature:hover .d2-icon-circle {
  border-color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  background: rgba(201, 153, 58, 0.05);
}

.d2-icon-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--off-white);
  font-weight: 500;
}

.d2-icon-sub {
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Footer URL */
.d2-footer-url {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-decoration: none;
  border-top: 1px dashed rgba(201, 153, 58, 0.15);
  padding-top: 12px;
  display: block;
}


/* ==========================================
   DESIGN 3: Instagram Story (9:16)
   ========================================== */
.d3-canvas {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  background-color: #050505;
  border: 1px solid rgba(201, 153, 58, 0.15);
  border-radius: 12px;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.d3-canvas::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(201, 153, 58, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Indicator top */
.d3-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.d3-indicator-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.d3-branding {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.d3-indicator-dot {
  display: flex;
  align-items: center;
  gap: 6px;
}

.d3-indicator-dot span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
}

.d3-promo-banner {
  width: 100%;
  background: linear-gradient(90deg, rgba(201, 153, 58, 0.12) 0%, rgba(201, 153, 58, 0.02) 100%);
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Titles */
.d3-hero-text {
  text-align: center;
  margin: 15px 0;
}

.d3-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.d3-subheadline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Vertically Stacked Pills */
.d3-pills-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0;
}

.d3-pill {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.d3-pill.silver {
  border-color: rgba(166, 166, 166, 0.15);
  box-shadow: 0 4px 15px rgba(166, 166, 166, 0.05);
}
.d3-pill.silver .d3-pill-name { color: var(--silver); }

.d3-pill.gold {
  border-color: rgba(229, 169, 59, 0.25);
  background: rgba(201, 153, 58, 0.03);
  box-shadow: 0 4px 20px rgba(229, 169, 59, 0.08);
}
.d3-pill.gold .d3-pill-name { color: var(--amber); }

.d3-pill.platinum {
  border-color: rgba(124, 178, 236, 0.18);
  box-shadow: 0 4px 15px rgba(124, 178, 236, 0.05);
}
.d3-pill.platinum .d3-pill-name { color: var(--ice-blue); }

.d3-pill:hover {
  transform: scale(1.02);
}

.d3-pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.d3-pill-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.silver .d3-pill-marker { background-color: var(--silver); }
.gold .d3-pill-marker { background-color: var(--amber); }
.platinum .d3-pill-marker { background-color: var(--ice-blue); }

.d3-pill-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.d3-pill-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--off-white);
}

/* Call to Action Button */
.d3-cta-btn {
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: 30px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(201, 153, 58, 0.35);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.d3-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 153, 58, 0.5);
  background: #e5b04c;
}


/* ==========================================
   DESIGN 4: LinkedIn Company Banner (1584x396)
   ========================================== */
.d4-canvas {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 1584 / 396;
  background-color: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Background textures */
.d4-canvas::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(201, 153, 58, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Gold particle style glow */
.d4-canvas::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(201, 153, 58, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.d4-left {
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.d4-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.d4-logo-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 153, 58, 0.05);
}

.d4-logo-icon span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold);
}

.d4-logo-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--off-white);
}

.d4-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.25;
  color: var(--off-white);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.d4-headline span {
  color: var(--gold);
}

.d4-right {
  position: relative;
  width: 35%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Connected Icons Circuit Area */
.d4-circuit-container {
  position: relative;
  width: 200px;
  height: 120px;
}

.d4-circuit-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  color: var(--gold);
}

.d4-circuit-icon.i1 { top: 0; left: 10px; border-color: var(--gold-border); box-shadow: 0 0 15px var(--gold-glow); }
.d4-circuit-icon.i2 { bottom: 0; left: 60px; border-color: rgba(229, 169, 59, 0.2); }
.d4-circuit-icon.i3 { top: 20px; right: 10px; border-color: rgba(124, 178, 236, 0.2); color: var(--ice-blue); }

.d4-circuit-icon:hover {
  transform: scale(1.1);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 153, 58, 0.3);
}

/* Circuit connection lines */
.d4-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Location Tag */
.d4-location {
  position: absolute;
  bottom: 20px;
  right: 35px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}


/* ==========================================
   DESIGN 5: Email Header Banner (600px wide)
   ========================================== */
.d5-canvas {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(180deg, #070707 0%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  position: relative;
  overflow: hidden;
}

.d5-canvas::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(201, 153, 58, 0.02) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.d5-hero-text {
  text-align: center;
  position: relative;
}

.d5-headline {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--off-white);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.d5-underline {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  margin: 0 auto;
  box-shadow: 0 0 8px var(--gold);
}

/* Icon Row */
.d5-icons-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin: 5px 0;
}

.d5-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.d5-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.d5-icon-item:hover .d5-icon-wrapper {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
  background: rgba(201, 153, 58, 0.03);
}

.d5-icon-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.d5-icon-item:hover .d5-icon-label {
  color: var(--off-white);
}

/* Footer branding */
.d5-footer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  width: 80%;
  text-align: center;
}

.d5-footer span {
  color: var(--gold);
}


/* ==========================================
   CODE VIEW AND LIGHTBOX MODAL STYLES
   ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 5, 5, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.modal-content {
  background: #0f0f0f;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 153, 58, 0.15);
  position: relative;
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--off-white);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--off-white);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-body.preview-mode {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

/* Code area formatting */
.code-container {
  position: relative;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  overflow: auto;
  max-height: 350px;
}

.code-container pre {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  color: #c7c7c7;
  line-height: 1.4;
  white-space: pre-wrap;
}

.code-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  gap: 10px;
}

/* Notification banner style */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f0f0f;
  border: 1px solid var(--gold);
  color: var(--off-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(201, 153, 58, 0.15);
  z-index: 1100;
  display: none;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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


/* ==========================================
   RESPONSIVE SCALING (ASSET WRAPPERS)
   ========================================== */
@media (max-width: 900px) {
  .d1-pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .d1-canvas {
    aspect-ratio: auto;
    height: auto;
  }
  .d4-canvas {
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
    gap: 30px;
    padding: 35px 25px;
  }
  .d4-left {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .d4-right {
    width: 100%;
  }
}
