/* ===== Envision Resume — Premium Design System ===== */

/* ---------- Fonts ---------- */
/* Loaded via <link rel="preconnect"> + <link rel="stylesheet"> tags in each
   page's <head> (index.html, order.html, success.html) instead of @import,
   which blocks the render tree until the CSS itself finishes downloading. */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(212, 175, 55, 0.3);

  /* Gold palette */
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #b8941f;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --gold-gradient: linear-gradient(135deg, #d4af37, #f0d060, #d4af37);

  /* Text */
  --text-primary: #f5f5f7;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;

  /* Accent */
  --accent-blue: #4a7dff;
  --accent-purple: #8b5cf6;
  --success: #34d399;
  --warning: #fbbf24;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

/* ---------- Background Effects ---------- */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-glow::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  animation: glow-drift 15s ease-in-out infinite alternate;
}

.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(74, 125, 255, 0.03) 0%, transparent 70%);
  animation: glow-drift 12s ease-in-out infinite alternate-reverse;
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.1); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0a0a0f;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--gold-gradient);
  color: #0a0a0f !important;
  font-weight: 700 !important;
  font-size: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 120px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  position: relative;
  display: inline;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.hero-image-wrap img {
  width: 100%;
  display: block;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

/* Play Button Overlay */
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-play-btn svg {
  margin-left: 3px; /* optical centering for play triangle */
}

.hero-image-wrap:hover .hero-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.55);
}

.hero-play-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  animation: play-pulse 2s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* Video Lightbox */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  animation: lightbox-fade-in 0.3s ease-out;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 900px;
  animation: lightbox-scale-in 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightbox-scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-content video {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.hero-float-card {
  position: absolute;
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-ats {
  bottom: -20px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-card.card-video {
  top: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: -2s;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.float-icon.green {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.float-icon.gold {
  background: var(--gold-glow);
  color: var(--gold);
}

.float-icon svg {
  display: block;
  margin: auto;
}

.float-label {
  font-size: 12px;
  color: var(--text-muted);
}

.float-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 12px;
}

/* ---------- Logos / Trust Bar ---------- */
.trust-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.trust-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

.trust-logo {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.trust-logo svg {
  display: block;
}

.trust-logos:hover .trust-logo {
  opacity: 0.5;
}

.trust-logos:hover .trust-logo:hover {
  opacity: 1;
}

/* Per-brand wordmark styling */
.trust-google {
  font-family: 'Inter', 'Product Sans', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.trust-amazon {
  font-family: 'Inter', 'Amazon Ember', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0px;
  font-style: italic;
}

.trust-meta {
  font-family: 'Inter', 'Optimistic Display', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.trust-microsoft {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.trust-apple {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.3px;
}

.trust-tesla {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 6px;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.2;
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.4s;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-8px);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 auto 24px;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--gold);
}

.step-icon svg {
  display: block;
  margin: auto;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Features ---------- */
.features {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.features .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.features .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: var(--gold-glow);
  color: var(--gold);
}

.feature-icon svg {
  display: block;
  margin: auto;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.pricing .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing .section-subtitle {
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 48px 40px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.01));
}

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

.pricing-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gold-gradient);
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.pricing-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.pricing-amount .dollar {
  font-size: 28px;
  vertical-align: top;
  margin-right: 2px;
  color: var(--text-secondary);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.pricing-features li .check {
  color: var(--success);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-guarantee {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ---------- Before/After ---------- */
.transformation {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.transformation .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.transformation .section-subtitle {
  margin: 0 auto;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.transform-card {
  padding: 40px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.transform-card.before {
  opacity: 0.7;
}

.transform-card.after {
  border-color: var(--gold);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.1);
}

.transform-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.transform-card.before h3 {
  color: var(--text-muted);
}

.transform-card.after h3 {
  color: var(--gold);
}

.transform-arrow {
  font-size: 40px;
  color: var(--gold);
  animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.transform-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.transform-item .icon {
  font-size: 18px;
  flex-shrink: 0;
}

.transform-item .icon svg {
  display: block;
}

.transform-card.before .transform-item .icon {
  color: var(--text-muted);
}

.transform-card.after .transform-item .icon {
  color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.faq .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.3s;
}

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

.faq-question .icon {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

/* ---------- Pricing Subtitle ---------- */
.pricing-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: -4px 0 8px;
  font-style: italic;
  opacity: 0.8;
}

/* ---------- Real Example ---------- */
.real-example {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.real-example .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.real-example .section-subtitle {
  margin: 0 auto;
}

.real-example-cta {
  text-align: center;
}

.real-example-link {
  margin-top: 16px;
  font-size: 14px;
}

.real-example-link a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.real-example-link a:hover {
  color: var(--gold);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.testimonial-card {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 13px;
  color: var(--gold);
  opacity: 0.8;
}

/* ---------- CTA ---------- */
.cta-inner {
  text-align: center;
  padding: 80px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(74, 125, 255, 0.04));
  border: 1px solid var(--border-glow);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05), transparent 50%);
  animation: cta-glow 8s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.cta-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.cta-inner .section-title {
  position: relative;
  z-index: 1;
}

.cta-inner .section-subtitle {
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-reassurance {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 20px;
  position: relative;
  z-index: 1;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #0a0a0f;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Animations (scroll-reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .steps::before {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 60px auto 0;
  }

  .transform-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .transform-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 40px;
    gap: 24px;
    z-index: 999;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== Order Wizard — Package 3 additions ===== */

/* Disabled buttons: no hover lift, no glow, clearly inert */
.btn:disabled,
.btn[disabled] {
  opacity: .4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Visible keyboard focus ring across the order page's interactive elements */
.btn:focus-visible,
.order-page a:focus-visible,
.order-page input:focus-visible,
.order-page textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Inline error banner — replaces alert() for order-wizard errors */
.wizard-error {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .35);
  color: #f5f5f7;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.wizard-error-message {
  flex: 1;
}

.wizard-error-dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
  opacity: .7;
  border-radius: 6px;
  transition: opacity .2s, background .2s;
}

.wizard-error-dismiss:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

.wizard-error .btn {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
}

/* "What's missing" hint shown under a wizard step's nav when Continue is disabled */
.step-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Red border state for invalid inputs (e.g. malformed email) */
.input-group input.input-error,
.input-error {
  border-color: rgba(239, 68, 68, .6);
}

/* Inline validation message inside an upload zone (wrong file type) */
.upload-zone .zone-error {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ef4444;
}

/* Checkout trust line under the Stripe checkout button */
.checkout-trust {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Reused pricing-card check pattern inside the order review summary */
.review-field .check {
  color: var(--success);
  font-size: 16px;
}
