/* ── FeatFilms Packages — scoped stylesheet ─────────────────────────────── */

:root {
  --ff-bg: #071421;
  --ff-gold: #FFDD88;
  --ff-gold-dim: rgba(255, 221, 136, 0.15);
  --ff-gold-border: rgba(255, 221, 136, 0.25);
  --ff-gold-faint: rgba(255, 221, 136, 0.06);
  --ff-muted: rgba(255, 221, 136, 0.45);
  --ff-transition: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── PROGRESS BAR ──────────────────────────────────────────────────────── */
.featfilms-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--ff-gold);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(255, 221, 136, 0.6);
  pointer-events: none;
}

/* ── FOOTER NOTE ───────────────────────────────────────────────────────── */
.featfilms-footer-note {
  position: fixed;
  bottom: 24px;
  right: 24px;
  font-size: 11px;
  color: rgba(255, 221, 136, 0.2);
  letter-spacing: 0.1em;
  font-family: 'DM Mono', monospace;
  pointer-events: none;
  z-index: 9998;
}

/* ── WRAPPER ───────────────────────────────────────────────────────────── */
.featfilms-wrapper {
  background: var(--ff-bg);
  color: var(--ff-gold);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  font-family: 'General Sans', 'DM Mono', monospace;
  -webkit-font-smoothing: antialiased;
}

.featfilms-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255,221,136,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(255,221,136,0.025) 0%, transparent 70%);
  pointer-events: none;
}

/* ── SCROLLBAR ─────────────────────────────────────────────────────────── */
.featfilms-wrapper ::-webkit-scrollbar { width: 4px; }
.featfilms-wrapper ::-webkit-scrollbar-track { background: var(--ff-bg); }
.featfilms-wrapper ::-webkit-scrollbar-thumb { background: var(--ff-gold-border); }

/* ── STEP ──────────────────────────────────────────────────────────────── */
.featfilms-wrapper .step {
  width: 100%;
  max-width: 680px;
  position: absolute;
  opacity: 0;
  transform: translateY(32px);
  pointer-events: none;
  transition: opacity var(--ff-transition), transform var(--ff-transition);
}

.featfilms-wrapper .step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  position: relative;
}

.featfilms-wrapper .step.exit {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
}

/* ── STEP LABEL ────────────────────────────────────────────────────────── */
.featfilms-wrapper .step-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ff-muted);
  margin-bottom: 12px;
  font-family: 'DM Mono', monospace;
}

/* ── QUESTION ──────────────────────────────────────────────────────────── */
.featfilms-wrapper .question {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ff-gold);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.featfilms-wrapper .question em {
  font-style: normal;
  color: var(--ff-muted);
}

/* ── OPTIONS ───────────────────────────────────────────────────────────── */
.featfilms-wrapper .options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featfilms-wrapper .option {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--ff-gold-border) !important;
  background: var(--ff-gold-faint) !important;
  background-color: var(--ff-gold-faint) !important;
  color: var(--ff-gold) !important;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: visible;
  text-align: left;
  width: 100%;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: inherit;
}

.featfilms-wrapper .option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ff-gold-dim);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.featfilms-wrapper .option:hover::before {
  opacity: 1;
}

.featfilms-wrapper .option:hover {
  border-color: var(--ff-gold) !important;
  transform: translateX(4px);
  background-color: var(--ff-gold-faint) !important;
  color: var(--ff-gold) !important;
}

.featfilms-wrapper .option-key {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--ff-muted);
  letter-spacing: 0.1em;
  min-width: 24px;
  text-transform: uppercase;
}

.featfilms-wrapper .option-text {
  font-size: 18px;
  color: var(--ff-gold);
  font-weight: 500;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.featfilms-wrapper .option-sub {
  font-size: 14px;
  color: var(--ff-muted);
  margin-top: 3px;
  font-weight: 400;
}

.featfilms-wrapper .option-arrow {
  margin-left: auto;
  color: var(--ff-muted);
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.featfilms-wrapper .option:hover .option-arrow {
  transform: translateX(4px);
  color: var(--ff-gold);
}

/* ── BACK BUTTON ───────────────────────────────────────────────────────── */
.featfilms-wrapper .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ff-muted) !important;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
  padding: 0;
  border-radius: 0 !important;
}

.featfilms-wrapper .back-btn:hover {
  color: var(--ff-gold) !important;
  background: none !important;
}

/* ── PACKAGES GRID ─────────────────────────────────────────────────────── */
.featfilms-wrapper .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.featfilms-wrapper .packages-grid--single {
  grid-template-columns: 1fr;
}

/* ── PACKAGE CARD ──────────────────────────────────────────────────────── */
.featfilms-wrapper .package-card {
  border: 1px solid var(--ff-gold-border);
  background: var(--ff-gold-faint);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.featfilms-wrapper .package-card:hover {
  border-color: var(--ff-gold);
  transform: translateY(-3px);
}

.featfilms-wrapper .package-card.featured {
  border-color: var(--ff-gold);
  background: rgba(255, 221, 136, 0.08);
}

.featfilms-wrapper .featured-tag {
  position: absolute;
  top: -1px;
  left: 28px;
  background: var(--ff-gold);
  color: var(--ff-bg);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 600;
  font-family: 'DM Mono', monospace;
}

.featfilms-wrapper .package-name {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ff-muted);
  margin-bottom: 16px;
  font-family: 'DM Mono', monospace;
  margin-top: 8px;
}

.featfilms-wrapper .package-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--ff-gold);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.featfilms-wrapper .package-price-suffix {
  font-size: 18px;
  font-weight: 400;
}

.featfilms-wrapper .package-price-note {
  font-size: 12px;
  color: var(--ff-muted);
  margin-bottom: 24px;
  font-family: 'DM Mono', monospace;
}

.featfilms-wrapper .package-divider {
  height: 1px;
  background: var(--ff-gold-border);
  margin-bottom: 20px;
}

.featfilms-wrapper .package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
}

.featfilms-wrapper .package-features li {
  font-size: 14px;
  color: var(--ff-gold);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.featfilms-wrapper .package-features li::before {
  content: '—';
  color: var(--ff-muted);
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
}

/* ── PACKAGE CTA ───────────────────────────────────────────────────────── */
.featfilms-wrapper .package-cta {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--ff-gold-border);
  background: transparent !important;
  color: var(--ff-gold) !important;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.featfilms-wrapper .package-cta:hover {
  background: var(--ff-gold) !important;
  color: var(--ff-bg) !important;
  border-color: var(--ff-gold);
  text-decoration: none !important;
}

.featfilms-wrapper .package-card.featured .package-cta {
  background: var(--ff-gold) !important;
  color: var(--ff-bg) !important;
  border-color: var(--ff-gold);
}

.featfilms-wrapper .package-card.featured .package-cta:hover {
  background: transparent !important;
  color: var(--ff-gold) !important;
}

/* ── CUSTOM CTA ────────────────────────────────────────────────────────── */
.featfilms-wrapper .custom-cta {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px dashed var(--ff-gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.featfilms-wrapper .custom-cta-text {
  font-size: 14px;
  color: var(--ff-muted);
}

.featfilms-wrapper .custom-cta-text strong {
  display: block;
  color: var(--ff-gold);
  font-size: 15px;
  margin-bottom: 3px;
}

.featfilms-wrapper .custom-cta-link {
  color: var(--ff-gold) !important;
  text-decoration: none !important;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ff-gold-border);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
  white-space: nowrap;
  background: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  font-family: inherit;
}

.featfilms-wrapper .custom-cta-link:hover {
  border-bottom-color: var(--ff-gold) !important;
  color: var(--ff-gold) !important;
  background: none !important;
  text-decoration: none !important;
}

/* ── FLUENT FORMS OVERRIDE ─────────────────────────────────────────────── */
.featfilms-wrapper .ff-el-group { margin-bottom: 16px !important; }

.featfilms-wrapper .ff-el-group label {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--ff-muted) !important;
  font-family: 'DM Mono', monospace !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.featfilms-wrapper .ff-el-group input[type="text"],
.featfilms-wrapper .ff-el-group input[type="email"],
.featfilms-wrapper .ff-el-group textarea,
.featfilms-wrapper .ff-el-group select {
  background: var(--ff-gold-faint) !important;
  border: 1px solid var(--ff-gold-border) !important;
  border-radius: 0 !important;
  color: var(--ff-gold) !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  font-family: 'General Sans', 'DM Mono', monospace !important;
  outline: none !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease !important;
}

.featfilms-wrapper .ff-el-group input[type="text"]:focus,
.featfilms-wrapper .ff-el-group input[type="email"]:focus,
.featfilms-wrapper .ff-el-group textarea:focus {
  border-color: var(--ff-gold) !important;
  box-shadow: none !important;
}

.featfilms-wrapper .ff-el-group input::placeholder,
.featfilms-wrapper .ff-el-group textarea::placeholder {
  color: rgba(255, 221, 136, 0.3) !important;
}

.featfilms-wrapper .ff-btn-submit {
  display: block !important;
  width: 100% !important;
  padding: 16px 32px !important;
  background: var(--ff-gold) !important;
  color: var(--ff-bg) !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-weight: bold !important;
  transition: opacity 0.2s ease !important;
  margin-top: 8px !important;
  box-shadow: none !important;
}

.featfilms-wrapper .ff-btn-submit:hover { opacity: 0.85 !important; }

.featfilms-wrapper .ff-message-success {
  background: transparent !important;
  border: 1px solid var(--ff-gold-border) !important;
  color: var(--ff-gold) !important;
  border-radius: 0 !important;
}

.featfilms-wrapper .ff-el-progress-bar,
.featfilms-wrapper .ff-step-body,
.featfilms-wrapper .ff-step-header { display: none !important; }

.featfilms-wrapper .fluentform { background: transparent !important; }

/* Radio buttons as selection boxes */
.featfilms-wrapper .ff-el-group .ff-el-form-check-input.ff-el-form-check-radio {
  display: none !important;
}
.featfilms-wrapper .ff-el-group .ff-el-input--content {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
.featfilms-wrapper .ff-el-group .ff-el-form-check {
  flex: 1 1 auto !important;
  display: block !important;
}
.featfilms-wrapper .ff-el-group .ff-el-form-check-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid var(--ff-gold-border) !important;
  background: var(--ff-gold-faint) !important;
  color: var(--ff-muted) !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
.featfilms-wrapper .ff-el-group .ff-el-form-check-label:hover {
  border-color: rgba(255,221,136,0.5) !important;
  color: var(--ff-gold) !important;
}
.featfilms-wrapper .ff-el-group .ff-el-form-check.ff_item_selected .ff-el-form-check-label {
  border-color: var(--ff-gold) !important;
  background: var(--ff-gold-dim) !important;
  color: var(--ff-gold) !important;
}

/* ── LINK RESETS (Elementor overrides) ─────────────────────────────────── */
.featfilms-wrapper a:not(.package-cta):not(.ff-btn-submit) {
  color: var(--ff-gold) !important;
  background-color: transparent !important;
  text-decoration: none !important;
}
.featfilms-wrapper a:not(.package-cta):not(.ff-btn-submit):hover,
.featfilms-wrapper a:not(.package-cta):not(.ff-btn-submit):visited {
  color: var(--ff-gold) !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

.featfilms-wrapper button:not(.ff-btn-submit):not(.option):not(.back-btn):not(.custom-cta-link) {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .featfilms-wrapper .packages-grid {
    grid-template-columns: 1fr;
  }
  .featfilms-wrapper .custom-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .featfilms-wrapper .option {
    padding: 16px 18px;
    gap: 14px;
  }
  .featfilms-wrapper .option-text {
    font-size: 15px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .featfilms-wrapper .option-sub {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .featfilms-wrapper .option-arrow {
    flex-shrink: 0;
  }
}
