/*
Theme Name: CryptoMastery
Theme URI: https://cryptomastery.com
Author: CryptoMastery
Author URI: https://cryptomastery.com
Description: Formation premium en gestion d'actifs crypto et trading. Thème WordPress personnalisé CryptoMastery.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cryptomastery
Tags: dark, one-column, custom-menu, featured-images
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --gold: #d4a853;
  --gold-light: #f0d48a;
  --gold-dark: #a07c2e;
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-elevated: #1c1c28;
  --text-primary: #f0ece4;
  --text-secondary: #9a968e;
  --text-muted: #5a574f;
  --border: rgba(212, 168, 83, 0.15);
  --border-hover: rgba(212, 168, 83, 0.35);
  --gradient-gold: linear-gradient(135deg, #d4a853, #f0d48a, #d4a853);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
  --shadow-gold: 0 0 60px rgba(212, 168, 83, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE OVERLAY ─────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── SCROLLBAR ─────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── SELECTION ─────────────────────────── */
::selection {
  background: rgba(212, 168, 83, 0.3);
  color: var(--text-primary);
}

/* ── NAVIGATION ─────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.nav.scrolled {
  padding: 0.8rem 3rem;
  background: rgba(10, 10, 15, 0.92);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.65rem 1.8rem !important;
  background: var(--gradient-gold) !important;
  color: var(--bg-primary) !important;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
  color: var(--bg-primary) !important;
}

/* ── HAMBURGER ─────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ── BUTTONS ─────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.6rem;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.6rem;
  background: transparent;
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(212, 168, 83, 0.08);
  border-color: var(--gold);
}

/* ── SECTION DEFAULTS ─────────────────────────── */
.section {
  padding: 7rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ── GOLDEN DIVIDER ─────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  margin: 0;
}

/* ── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float 8s ease-in-out infinite;
}

.hero-bg .orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(212, 168, 83, 0.08);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-bg .orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(160, 124, 46, 0.06);
  bottom: -10%;
  left: -5%;
  animation-delay: -3s;
}

.hero-bg .orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(240, 212, 138, 0.05);
  top: 40%;
  left: 30%;
  animation-delay: -5s;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-glow 2s ease infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-title .gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .italic {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-proof-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* ── TICKER BAR ─────────────────────────── */
.ticker-bar {
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  white-space: nowrap;
}

.ticker-item .symbol {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
}

.ticker-item .price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ticker-item .change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.change.up { color: #22c55e; background: rgba(34, 197, 94, 0.1); }
.change.down { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── STATS ─────────────────────────── */
.stats-section {
  padding: 5rem 3rem;
  background: var(--bg-secondary);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s;
}

.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ── FEATURES / PROGRAMME ─────────────────────────── */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.programme-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.programme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.4s;
}

.programme-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.programme-card:hover::before { opacity: 1; }

.programme-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.programme-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.programme-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.programme-card .module-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

/* ── RESULTS / TESTIMONIALS ─────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-dark);
  opacity: 0.4;
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg-primary);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-result {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-top: 0.3rem;
  display: inline-block;
}

/* ── PRICING / CTA ─────────────────────────── */
.pricing-section {
  padding: 7rem 3rem;
  text-align: center;
}

.pricing-card {
  max-width: 560px;
  margin: 3rem auto 0;
  padding: 3.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-hover);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  animation: pulse-glow 4s ease infinite;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.pricing-popular {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gradient-gold);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-weight: 600;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  margin: 1.5rem 0 0.5rem;
}

.pricing-price .currency {
  font-size: 1.8rem;
  vertical-align: super;
  color: var(--gold);
}

.pricing-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border: none; }

.pricing-features .check {
  width: 20px;
  height: 20px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-features .check svg {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.pricing-guarantee {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ── FAQ ─────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
}

.faq-item.open .faq-icon svg { color: var(--bg-primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ── FINAL CTA ─────────────────────────── */
.final-cta {
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(212, 168, 83, 0.06), transparent);
}

.final-cta .section-title { max-width: 700px; margin: 0 auto 1.5rem; }

/* ── FOOTER ─────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 3rem 2rem;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ── LEGAL PAGES ─────────────────────────── */
.legal-hero {
  padding: 10rem 3rem 4rem;
  text-align: center;
  background: var(--gradient-dark);
  position: relative;
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 3rem 0 1rem;
  color: var(--gold-light);
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.8rem;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.9;
}

.legal-content ul {
  color: var(--text-secondary);
  margin: 0.5rem 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 2;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── CHECKOUT PAGE ─────────────────────────── */
.checkout-page {
  min-height: 100vh;
  padding: 8rem 3rem 4rem;
  background: var(--gradient-dark);
}

.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.checkout-form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.checkout-form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.checkout-form-section>p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-section-title svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.card-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.checkbox-group label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.35);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.secure-badge {
  text-align: center;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.secure-badge svg {
  width: 14px;
  height: 14px;
}

/* ── ORDER SUMMARY ─────────────────────────── */
.order-summary {
  position: sticky;
  top: 6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.order-summary h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.order-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.order-item-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.order-item-details h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.order-item-details p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.order-features {
  list-style: none;
  margin-bottom: 2rem;
}

.order-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.order-features li .check-sm {
  width: 16px;
  height: 16px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order-features li .check-sm svg {
  width: 10px;
  height: 10px;
  color: var(--gold);
}

.promo-input {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.promo-input input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.promo-input input:focus {
  border-color: var(--gold);
}

.promo-input input::placeholder {
  color: var(--text-muted);
}

.promo-input button {
  padding: 0.7rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.promo-input button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.order-total-section {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.order-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.order-line .label {
  color: var(--text-secondary);
}

.order-line .value {
  font-weight: 600;
}

.order-line.discount .value {
  color: #22c55e;
}

.order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 1.3rem;
  font-weight: 700;
}

.order-total .total-price {
  font-family: 'Playfair Display', serif;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guarantee-box {
  margin-top: 2rem;
  padding: 1.2rem;
  background: rgba(212, 168, 83, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.guarantee-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.guarantee-box strong {
  color: var(--gold-light);
}

/* ── SUCCESS STATE ─────────────────────────── */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.success-overlay.show {
  display: flex;
}

.success-card {
  text-align: center;
  max-width: 480px;
  padding: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  animation: fadeInUp 0.6s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: #22c55e;
}

.success-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.success-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── BTN GOLD ─────────────────────────── */
.btn-container {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37, #ffd700, #b8860b);
  color: #111;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ── SWEEPSTAKES DEPLIANT ─────────────────────────── */
.button-depliant {
  background: none;
  text-decoration: underline;
  color: white;
  padding: 12px 20px;
  cursor: pointer;
  border: none;
  width: 200px;
  text-align: left;
  font-size: 16px;
}

.content-depliant {
  background: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
}

.content-depliant p {
  margin: 15px 0;
}

/* ── ANIMATIONS ─────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 83, 0.1); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 83, 0.25); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .programme-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--border);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .programme-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-proof { flex-direction: column; gap: 0.8rem; }
  .pricing-card { padding: 2.5rem 2rem; }
  .stats-section { padding: 3rem 1.5rem; }
  .legal-hero { padding: 8rem 1.5rem 3rem; }
  .legal-content { padding: 2rem 1.5rem 4rem; }
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .checkout-page { padding: 6rem 1rem 3rem; }
  .checkout-form-section { padding: 2rem 1.5rem; }
  .order-summary { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .card-input-row { grid-template-columns: 1fr 1fr; }
}
