@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --bg-color: #030303;
  --card-bg: rgba(18, 18, 18, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --accent-yellow: #facc15;
  --accent-yellow-glow: rgba(250, 204, 21, 0.18);
  --danger-color: #ef4444;
  --success-color: #22c55e;
  
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Base interactive elements */
a {
  color: inherit;
  text-decoration: none;
}

/* Suppress WordPress Admin Bar on full landing pages */
#wpadminbar,
.quicklinks,
#wp-toolbar {
  display: none !important;
}

html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Highlights */
.highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 3px 12px 4px;
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #000000 !important;
  border-radius: 8px;
  font-weight: 800;
  transform: rotate(-1.2deg);
  margin: 2px 4px;
  line-height: 1.25;
  vertical-align: baseline;
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.3);
}

.highlight::before {
  display: none !important;
}

.highlight-dark {
  color: #000000 !important;
}

/* Background canvas and elements */
#particle-canvas-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

#particle-canvas {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.radial-glow {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(250, 204, 21, 0.04) 0%, rgba(3, 3, 3, 0) 100%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Page Layout */
.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

/* Top bar / Logo area */
header {
  text-align: center;
  margin-bottom: 24px;
  animation: fadeIn 1s ease-out;
}

header:empty,
header:has(.logo:empty) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-yellow);
}

.live-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  gap: 10px !important;
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin: 0 auto 24px !important;
  line-height: 1 !important;
  height: 32px !important;
  box-sizing: border-box !important;
}

.live-badge span {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.live-dot {
  width: 8px !important;
  height: 8px !important;
  background-color: var(--danger-color) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px var(--danger-color) !important;
  animation: pulse 1.5s infinite !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeIn 1.2s ease-out;
}

.eyebrow {
  color: var(--accent-yellow);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 16px;
}

h1.main-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

h1.main-title span.title-highlight {
  color: var(--accent-yellow);
}

.sub-title {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Primary CTA Button */
.cta-button {
  background: var(--accent-yellow);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 18px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 24px var(--accent-yellow-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(250, 204, 21, 0.28);
  background-color: #fbbf24;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-subtext {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-subtext-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.cta-subtext-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.cta-subtext-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.86rem;
}

.cta-subtext-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

.cta-subtext i {
  color: var(--accent-yellow);
  font-size: 0.85rem;
}

/* Feature Cards / Secrets Section */
.secrets-section {
  margin-bottom: 70px;
  animation: fadeIn 1.4s ease-out;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

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

.secret-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px 24px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-card:hover {
  border-color: rgba(250, 204, 21, 0.25);
  transform: translateY(-3px);
  background: rgba(22, 22, 22, 0.85);
}

.secret-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-yellow);
  margin-bottom: 12px;
  line-height: 1;
}

.secret-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.secret-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Bio Section */
.bio-section,
.bios-section {
  margin-bottom: 80px;
  animation: fadeIn 1.6s ease-out;
}

.bio-section {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 24px;
}

.bios-list,
.bios-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bio-card {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.3);
}

.bio-image-wrapper {
  flex-shrink: 0;
  position: relative;
  box-shadow: none !important;
  filter: none !important;
}

.bio-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border-color);
  box-shadow: none !important;
  filter: none !important;
}

.bio-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 24px var(--accent-yellow-glow);
  z-index: -1;
}

.bio-content {
  flex-grow: 1;
}

.bio-role {
  color: var(--accent-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bio-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.bio-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Logos Section */
.logos-section {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0.7;
}

.logos-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.logos-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-item {
  height: 24px;
  filter: grayscale(1) brightness(1.5) opacity(0.5);
  transition: all 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0) brightness(1) opacity(0.8);
}

/* Footer styling */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 10;
}

.footer-links {
  display: flex !important;
  justify-content: center !important;
  gap: 24px !important;
  margin-bottom: 16px !important;
}

.footer-links a {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 20 !important;
  transition: color 0.2s ease !important;
}

.footer-links a:hover {
  color: var(--accent-yellow) !important;
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  position: relative;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 32px rgba(250, 204, 21, 0.05);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* Modal Steps and Form */
.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
  animation: slideFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.progress-segment {
  height: 4px;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-segment.filled::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-yellow);
}

.modal-header {
  margin-bottom: 32px;
  text-align: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

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

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.form-input {
  width: 100% !important;
  background-color: #121214 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px 16px 16px 48px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  transition: all 0.2s ease !important;
  height: auto !important;
  box-shadow: none !important;
}

.form-input:focus {
  outline: none !important;
  border-color: var(--accent-yellow) !important;
  background-color: #161619 !important;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1) !important;
}

/* Step 2 specific styles */
.benefits-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  color: var(--accent-yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

.submit-btn {
  width: 100% !important;
  background: var(--accent-yellow) !important;
  background-color: var(--accent-yellow) !important;
  color: #000 !important;
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  padding: 18px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-transform: uppercase !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.15) !important;
  text-decoration: none !important;
  outline: none !important;
  height: auto !important;
}

.submit-btn:hover {
  background: #fbbf24 !important;
  background-color: #fbbf24 !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.25) !important;
}

.submit-btn:active {
  transform: translateY(0) !important;
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
}

.error-message {
  color: var(--danger-color);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

/* Success Screen Styles */
.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--success-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.success-link-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  margin-top: 32px;
}

.success-link-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.success-link-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  h1.main-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    padding: 0 8px;
    margin-bottom: 18px !important;
  }
  
  .highlight {
    display: inline-block !important;
    font-size: 0.95em !important;
    padding: 2px 10px 3px !important;
    border-radius: 6px !important;
    transform: rotate(-1deg) !important;
    margin: 4px 2px !important;
  }

  .sub-title {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
    padding: 0 12px;
    margin-bottom: 24px !important;
  }
  
  .grid-secrets {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bio-section,
  .bio-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 24px;
  }
  
  .modal-container {
    padding: 26px 18px;
    max-width: 94%;
  }

  .cta-button {
    font-size: 1.05rem !important;
    padding: 16px 24px !important;
    width: 100% !important;
    max-width: 380px !important;
  }

  .cta-subtext {
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
  }

  .cta-subtext-row {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .cta-subtext-item {
    font-size: 0.8rem !important;
  }
}

@media (max-width: 480px) {
  h1.main-title {
    font-size: 1.48rem !important;
    line-height: 1.28 !important;
    letter-spacing: -0.02em !important;
  }
  
  .highlight {
    font-size: 0.9em !important;
    padding: 2px 8px 3px !important;
  }
}

/* ==========================================================================
   LIVE EDITOR OVERLAY CONTROL PANEL & HELPERS
   ========================================================================== */
.editor-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(250, 204, 21, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none; /* Only displayed when running on localhost */
}

.editor-status-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.editor-dot.red { background-color: var(--danger-color); }
.editor-dot.green { background-color: var(--success-color); box-shadow: 0 0 8px var(--success-color); }

.editor-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.editor-label strong {
  color: var(--text-primary);
}

.editor-action-section {
  display: flex;
  gap: 12px;
}

.editor-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.editor-button.primary {
  background-color: var(--accent-yellow);
  color: #000;
}
.editor-button.primary:hover:not(:disabled) {
  background-color: #fbbf24;
  transform: translateY(-1px);
}
.editor-button.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.editor-button.secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.editor-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Edit Mode helper borders and transitions */
body.edit-mode-active [data-editable="text"] {
  position: relative;
  outline: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

body.edit-mode-active [data-editable="text"]:hover {
  background-color: rgba(250, 204, 21, 0.05);
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);
  border-radius: 4px;
  cursor: text;
}

body.edit-mode-active [data-editable="text"]:focus {
  background-color: rgba(250, 204, 21, 0.1);
  box-shadow: 0 0 0 2px var(--accent-yellow);
  border-radius: 4px;
}

/* Image editing helper overlay */
.image-edit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
  pointer-events: none;
}

.bio-image-wrapper .image-edit-overlay {
  border-radius: 50%;
}

.logo-item-wrapper .image-edit-overlay {
  border-radius: 6px;
  padding: 4px;
}

.bio-image-wrapper:hover .image-edit-overlay,
.logo-item-wrapper:hover .image-edit-overlay {
  opacity: 1;
}


.image-edit-btn {
  background-color: var(--accent-yellow);
  color: #000;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.image-edit-btn:hover {
  background-color: #fbbf24;
  transform: scale(1.05);
}

/* Floating custom save notification toast (Only in Edit Mode) */
.editor-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-200px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: #09090b;
  border: 1px solid var(--success-color);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10000;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.edit-mode-active .editor-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body:not(.edit-mode-active) .editor-toast,
.editor-toast:not(.active) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   CUSTOM IMAGE EDITOR MODAL
   ========================================================================== */
.image-editor-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-editor-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-editor-container {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  position: relative;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-editor-modal.active .image-editor-container {
  transform: scale(1) translateY(0);
}

.image-editor-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.image-editor-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.image-editor-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text-primary);
}

.image-editor-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-option-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.image-option-card:hover {
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.image-option-icon {
  font-size: 2.2rem;
  color: var(--accent-yellow);
  margin-bottom: 16px;
}

.image-option-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.image-option-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.image-option-btn {
  background-color: var(--accent-yellow);
  color: #000;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.image-option-btn:hover {
  background-color: #fbbf24;
}

/* Prompt textarea */
.prompt-input {
  width: 100%;
  background-color: #121214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  height: 80px;
  resize: none;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.prompt-input:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

/* ==========================================================================
   ADVANCED EDITOR (PRO MODE) HELPERS
   ========================================================================== */
body.edit-mode-active .hero,
body.edit-mode-active .secrets-section,
body.edit-mode-active .bio-section,
body.edit-mode-active .logos-section,
body.edit-mode-active .secret-card {
  position: relative !important;
}

/* Block controls styling */
.block-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(9, 9, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px;
  border-radius: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-5px);
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Display on hover in edit & pro mode */
body.edit-mode-active.pro-mode-active .hero:hover > .block-controls,
body.edit-mode-active.pro-mode-active .secrets-section:hover > .block-controls,
body.edit-mode-active.pro-mode-active .bio-section:hover > .block-controls,
body.edit-mode-active.pro-mode-active .logos-section:hover > .block-controls,
body.edit-mode-active.pro-mode-active .secret-card:hover > .block-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.block-ctrl-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.block-ctrl-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.block-ctrl-btn.delete-btn:hover {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--danger-color);
}

.block-ctrl-btn.drag-handle {
  cursor: grab;
}

.block-ctrl-btn.drag-handle:active {
  cursor: grabbing;
}

/* Highlight dragged elements */
.drag-over-top {
  border-top: 2px dashed var(--accent-yellow) !important;
}

.drag-over-bottom {
  border-bottom: 2px dashed var(--accent-yellow) !important;
}

.dragging-element {
  opacity: 0.4;
  border: 1px dashed rgba(250, 204, 21, 0.5);
}

/* Styling of the Simple / Pro switcher in the editor bar */
.editor-bar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
}

.editor-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.editor-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.editor-toggle-btn.active {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

/* Spacing classes presets */
.space-1 { margin-bottom: 24px !important; }
.space-2 { margin-bottom: 40px !important; }
.space-3 { margin-bottom: 60px !important; }
.space-4 { margin-bottom: 80px !important; }
.space-5 { margin-bottom: 120px !important; }

/* ==========================================================================
   INLINE EDITOR CONTEXTUAL TOOLBAR
   ========================================================================== */
#inline-editor-toolbar {
  position: absolute;
  background: rgba(9, 9, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px;
  border-radius: 10px;
  display: none; /* Controlled by JS */
  align-items: center;
  gap: 10px;
  z-index: 10005;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#inline-editor-toolbar.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.toolbar-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.15);
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Color Palette dots */
.color-palette {
  display: flex;
  gap: 6px;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.color-dot:hover {
  transform: scale(1.25);
  border-color: #fff;
}

.color-dot.active {
  box-shadow: 0 0 0 2px #fff;
}

/* Toolbar button */
.toolbar-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.toolbar-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.toolbar-btn.active {
  background-color: var(--accent-yellow);
  color: #000;
}

.toolbar-btn.delete-btn:hover {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--danger-color);
}

/* Icon picker input */
.icon-class-input {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 4px 8px;
  font-size: 0.75rem;
  width: 120px;
  outline: none;
  font-family: monospace;
}

.icon-class-input:focus {
  border-color: var(--accent-yellow);
}

/* Highlight editable icons in edit & pro mode */
body.edit-mode-active.pro-mode-active i:not([data-editor-exclude]) {
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

body.edit-mode-active.pro-mode-active i:not([data-editor-exclude]):hover {
  color: var(--accent-yellow) !important;
  transform: scale(1.1);
}

/* History buttons styling */
.editor-history-group {
  display: flex;
  align-items: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 16px;
}

.editor-history-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.editor-history-btn:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.editor-history-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Icon Presets Swatch */
.icon-presets-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.icon-presets {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.icon-preset-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.65rem;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-preset-btn:hover {
  background-color: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

/* ==========================================================================
   ICON LIBRARY MODAL
   ========================================================================== */
.icon-library-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10002;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-library-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.icon-library-container {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 650px;
  border-radius: 24px;
  position: relative;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.icon-library-modal.active .icon-library-container {
  transform: scale(1) translateY(0);
}

.icon-library-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.icon-library-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.icon-library-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-primary);
}

.icon-library-search-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.icon-library-search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.icon-library-search {
  width: 100%;
  background-color: #121214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.icon-library-search:focus {
  outline: none;
  border-color: var(--accent-yellow);
  background-color: #161619;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.icon-library-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.icon-library-categories::-webkit-scrollbar {
  height: 4px;
}

.icon-library-categories::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.category-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.category-tab.active {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

.icon-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 12px;
  overflow-y: auto;
  max-height: 45vh;
  padding: 4px;
  scrollbar-width: thin;
}

.icon-library-grid::-webkit-scrollbar {
  width: 6px;
}

.icon-library-grid::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.icon-grid-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 8px;
  text-align: center;
}

.icon-grid-item:hover {
  border-color: var(--accent-yellow);
  background: rgba(250, 204, 21, 0.08);
  transform: translateY(-2px);
}

.icon-grid-item i {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: transform 0.2s ease;
}

.icon-grid-item:hover i {
  transform: scale(1.15);
  color: var(--accent-yellow);
}

.icon-grid-name {
  font-size: 0.6rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ==========================================================================
   TUNNEL TEMPLATES STYLES (REMERCIEMENT, ENDOCTRINEMENT, CHECKOUT, REPLAY)
   ========================================================================== */

/* Lecteur Vidéo Premium */
.video-wrap {
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  margin: 12px auto 24px;
  max-width: 940px;
  width: 100%;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Native subtitles */
.video-wrap video::cue {
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 8px;
}

/* Étape/Checklist Styles */
.steps-container {
  margin: 3rem auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-yellow);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content {
  flex: 1;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.step-badge {
  background: #22c55e;
  color: #000;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(250, 204, 21, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #000 !important;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}
.btn-whatsapp i {
  color: #000 !important;
}
.btn-whatsapp:hover {
  background: #22bf5b;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.wistia_responsive_padding {
  border-radius: 16px;
  overflow: hidden;
}

/* Apple HD Emoji styling */
.apple-emoji {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1.12em;
  height: 1.12em;
  margin-left: 6px;
  pointer-events: none;
  object-fit: contain;
}

/* Premium 2x2 Calendar Integration */
.calendar-card-section {
  max-width: 640px !important;
  margin: 2.5rem auto 0 !important;
  background: #0d0d11 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  text-align: center !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

.calendar-grid-2x2 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

@media (max-width: 580px) {
  .calendar-grid-2x2 {
    grid-template-columns: 1fr !important;
  }
}

.calendar-btn {
  background: #15151a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
  outline: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.calendar-btn:hover {
  background: #1f1f26 !important;
  border-color: #facc15 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.15) !important;
  color: #ffffff !important;
}

.calendar-btn:hover .cal-arrow {
  color: #facc15 !important;
  transform: translateX(3px) !important;
}

.calendar-btn:active {
  transform: translateY(0) !important;
}

.calendar-btn-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease !important;
}

.calendar-btn:hover .calendar-btn-icon {
  transform: scale(1.08) !important;
}

.calendar-btn-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
}

.cal-title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.cal-subtitle {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: #71717a !important;
  line-height: 1.2 !important;
}

.cal-arrow {
  margin-left: auto !important;
  color: #3f3f46 !important;
  font-size: 0.8rem !important;
  transition: all 0.2s ease !important;
}

/* Endoctrinement Thumbnails / Tabs */
.indoctrinaire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto;
}
@media (max-width: 768px) {
  .indoctrinaire-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.video-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.video-tab.active {
  background: rgba(250, 204, 21, 0.05);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.1);
}
.video-tab:hover {
  border-color: rgba(250, 204, 21, 0.5);
}
.video-tab-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.video-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.video-tab.active .video-tab-thumb img,
.video-tab:hover .video-tab-thumb img {
  opacity: 0.85;
}
.video-tab-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.video-tab:hover .video-tab-play {
  transform: scale(1.1);
}
.video-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.15);
}
.video-tab-progress-fill {
  height: 100%;
  background: var(--accent-yellow);
  width: 0%;
  transition: width 0.3s;
}
.video-tab.completed .video-tab-progress-fill {
  width: 100%;
  background: #22c55e;
}
.video-tab-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.video-tab-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Checkout Form */
.checkout-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  align-items: start;
}
@media (max-width: 992px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.checkout-card {
  background: rgba(18, 18, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
.checkout-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .checkout-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Order Bump */
.order-bump-box {
  background: rgba(250, 204, 21, 0.02);
  border: 2px dashed rgba(250, 204, 21, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.order-bump-box:hover {
  background: rgba(250, 204, 21, 0.05);
  border-color: var(--accent-yellow);
}
.order-bump-checkbox {
  margin-top: 4px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-yellow);
}
.order-bump-content {
  flex: 1;
}
.order-bump-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.order-bump-badge {
  background: var(--accent-yellow);
  color: #000;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  animation: bumpPulse 2.5s infinite;
}
@keyframes bumpPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(250, 204, 21, 0.3); }
  100% { transform: scale(1); }
}
.order-bump-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Value Staking / Order Summary */
.staking-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.75rem;
}
.staking-mockup-wrapper {
  background: radial-gradient(circle, rgba(250,204,21,0.05) 0%, transparent 70%);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.04);
}
.staking-mockup {
  max-width: 180px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}
.staking-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
.staking-item-title {
  color: var(--text-primary);
  font-weight: 500;
}
.staking-item-value {
  color: var(--text-secondary);
  text-decoration: line-through;
  font-size: 0.85rem;
}
.staking-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
.staking-total-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.staking-total-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-yellow);
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}
.guarantee-seal {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}
.guarantee-icon {
  font-size: 2.2rem;
  color: var(--accent-yellow);
  flex-shrink: 0;
}
.guarantee-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Best Moments Timeline */
.timeline-container {
  max-width: 800px;
  margin: 3rem auto;
  position: relative;
  padding-left: 2.5rem;
  text-align: left;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-yellow) 0%, rgba(255,255,255,0.05) 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
  transition: transform 0.2s;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid transparent;
  border-radius: 8px;
}
.timeline-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.04);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000;
  border: 3px solid var(--accent-yellow);
  box-shadow: 0 0 8px var(--accent-yellow-glow);
  z-index: 2;
  transition: all 0.2s;
}
.timeline-item:hover::before {
  background-color: var(--accent-yellow);
  transform: scale(1.25);
}
.timeline-time {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  background: rgba(250, 204, 21, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 4rem auto;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  user-select: none;
  color: #fff;
}
.faq-question:hover {
  color: var(--accent-yellow);
}
.faq-answer {
  padding-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-icon {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
  color: var(--text-secondary);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-yellow);
}

/* Urgency Timer Header Banner */
.timer-banner {
  background: linear-gradient(90deg, #581c0c 0%, #b91c1c 50%, #581c0c 100%);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 8px 20px;
  position: relative;
  z-index: 10;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.timer-countdown {
  font-family: monospace;
  font-size: 1.05rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-yellow);
  font-weight: bold;
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-container {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 80px;
  position: relative;
  z-index: 10;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--accent-yellow);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.legal-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.02em;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  gap: 12px;
  flex-wrap: wrap;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-yellow);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.legal-back-link:hover {
  color: #fff;
  transform: translateX(-3px);
}

.legal-quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.legal-tab-btn {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.legal-tab-btn:hover,
.legal-tab-btn.active {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.4);
  color: var(--accent-yellow);
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.legal-card:hover {
  border-color: rgba(250, 204, 21, 0.25);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.legal-section-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2) 0%, rgba(250, 204, 21, 0.05) 100%);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.legal-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.legal-text {
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-text:last-child {
  margin-bottom: 0;
}

.legal-text strong {
  color: #fff;
  font-weight: 600;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-list li i {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.legal-highlight-box {
  background: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-left: 4px solid var(--accent-yellow);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 16px 0;
}

.legal-highlight-box p {
  color: #f4f4f5;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.legal-grid-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.legal-info-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
}

.legal-info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.legal-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.legal-contact-card {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08) 0%, rgba(18, 18, 18, 0.9) 100%);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  margin-top: 32px;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 1.8rem;
  }
  .legal-card {
    padding: 20px;
  }
  .legal-nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
