/* ==========================================================================
   F-11 Website Roaster — Modern Dark Glassmorphic Design System
   ========================================================================== */

:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Color Palette */
  --bg-deep: #07080c;
  --bg-surface: #0e111a;
  --bg-card: rgba(18, 22, 34, 0.85);
  --bg-card-hover: rgba(26, 32, 48, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 77, 21, 0.35);

  --flame-primary: #ff4d15;
  --flame-secondary: #ff8c00;
  --flame-gradient: linear-gradient(135deg, #ff4d15 0%, #ff8c00 100%);
  --crimson-glow: #ef4444;
  --amber-gold: #f59e0b;
  --emerald-good: #10b981;
  --blue-solid: #3b82f6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-fire: 0 0 30px rgba(255, 77, 21, 0.25), 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-red: 0 0 35px rgba(239, 68, 68, 0.35);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 77, 21, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(239, 68, 68, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    var(--bg-deep);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--flame-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-red {
  color: var(--crimson-glow);
}

.text-amber {
  color: var(--amber-gold);
}

/* Header & Nav */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.8);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
}

.logo-badge {
  background: var(--flame-gradient);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(255, 77, 21, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-link:hover {
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 77, 21, 0.1);
  border: 1px solid rgba(255, 77, 21, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff8c00;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Roaster Form Card */
.roast-card-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-fire);
  position: relative;
}

.roast-card-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--flame-gradient);
  filter: blur(1px);
}

/* Tone Selector Tabs */
.tone-selector-wrap {
  margin-bottom: 24px;
}

.tone-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

.tone-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tone-btn span.sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
}

.tone-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tone-btn.active {
  background: linear-gradient(180deg, rgba(255, 77, 21, 0.2) 0%, rgba(255, 77, 21, 0.05) 100%);
  border-color: var(--flame-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 77, 21, 0.3);
}

/* Main URL Input Group */
.input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.url-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

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

.url-input {
  width: 100%;
  padding: 18px 18px 18px 48px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  outline: none;
  transition: all 0.2s ease;
}

.url-input:focus {
  border-color: var(--flame-primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.btn-primary-roast {
  background: var(--flame-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  padding: 18px 32px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(255, 77, 21, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.btn-primary-roast:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 77, 21, 0.6);
}

.btn-primary-roast:active {
  transform: translateY(0);
}

/* Demo Preset Chips */
.presets-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-chip:hover {
  background: rgba(255, 77, 21, 0.15);
  border-color: var(--flame-primary);
  color: #fff;
}

/* Interactive Scanning Screen */
.scanner-overlay {
  display: none;
  padding: 40px 20px;
  text-align: center;
  max-width: 680px;
  margin: 30px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-fire);
}

.scanner-flame-icon {
  font-size: 3.5rem;
  animation: pulse-fire 1s infinite alternate ease-in-out;
  margin-bottom: 16px;
}

@keyframes pulse-fire {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 77, 21, 0.4)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 25px rgba(255, 77, 21, 0.8)); }
}

.scanner-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.scanner-log-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--flame-secondary);
  height: 28px;
  margin-bottom: 24px;
}

.progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--flame-gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* Results Section */
.results-section {
  display: none;
  padding: 40px 0 80px;
}

/* Score Header Card */
.score-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.score-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .score-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.grade-badge-huge {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  box-shadow: var(--shadow-glow-red);
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.grade-badge-huge .grade-code {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
}

.grade-badge-huge .grade-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.score-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-site-url {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.roast-quote-banner {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd166;
  font-style: italic;
  line-height: 1.4;
  border-left: 4px solid var(--flame-primary);
  padding-left: 16px;
  margin: 6px 0;
}

@media (max-width: 768px) {
  .roast-quote-banner {
    border-left: none;
    border-top: 2px solid var(--flame-primary);
    padding-left: 0;
    padding-top: 12px;
  }
}

.score-summary-p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Category Progress Bars */
.radar-scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.category-metric-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.cat-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

/* Findings Section */
.findings-container {
  margin-bottom: 40px;
}

.section-heading-wrap {
  margin-bottom: 24px;
}

.section-heading-wrap h3 {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.finding-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.finding-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.finding-card.critical {
  border-left: 4px solid var(--crimson-glow);
}

.finding-card.high {
  border-left: 4px solid var(--amber-gold);
}

.finding-card.medium {
  border-left: 4px solid var(--blue-solid);
}

.finding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.finding-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
}

.finding-title {
  font-size: 1.2rem;
  font-weight: 800;
}

.finding-roast {
  font-size: 1.05rem;
  color: #f1f5f9;
  margin-bottom: 14px;
  line-height: 1.5;
}

.finding-fix-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.95rem;
}

.finding-fix-box strong {
  color: var(--flame-secondary);
}

/* ==========================================================================
   Lead Generation Magnet Gate (High-Converting Unlock)
   ========================================================================== */
.lead-gate-card {
  background: linear-gradient(135deg, rgba(255, 77, 21, 0.12) 0%, rgba(239, 68, 68, 0.08) 100%), var(--bg-card);
  border: 2px solid rgba(255, 77, 21, 0.4);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin: 36px 0;
  box-shadow: var(--shadow-fire);
  position: relative;
}

.lock-icon-badge {
  width: 64px;
  height: 64px;
  background: var(--flame-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 25px rgba(255, 77, 21, 0.5);
}

.lead-gate-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.lead-gate-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 28px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

.lead-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.lead-input:focus {
  border-color: var(--flame-primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 21, 0.2);
}

.btn-unlock-report {
  background: var(--flame-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 77, 21, 0.4);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-unlock-report:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 77, 21, 0.6);
}

.privacy-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Locked Findings Preview (Blurred) */
.locked-blur-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 16px;
}

.blurred-findings-stack {
  filter: blur(8px) opacity(0.35);
  pointer-events: none;
  user-select: none;
}

/* Full Unlocked Section */
.unlocked-content-section {
  display: none;
}

/* Priority 3 Fixes Box */
.priority-fixes-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
}

.priority-fix-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.priority-fix-item:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .priority-fix-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.fix-number-badge {
  width: 44px;
  height: 44px;
  background: rgba(255, 77, 21, 0.15);
  color: var(--flame-secondary);
  border: 1px solid rgba(255, 77, 21, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.fix-impact-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-good);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Frank Can Fix It — High-Converting Authority Upsell
   ========================================================================== */
.frank-upsell-section {
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95) 0%, rgba(10, 12, 18, 0.98) 100%);
  border: 2px solid rgba(255, 140, 0, 0.4);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin: 60px 0;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 140, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.frank-upsell-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--flame-gradient);
}

.frank-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .frank-grid {
    grid-template-columns: 1fr;
  }
}

.frank-pretitle {
  color: var(--flame-secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.frank-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}

.frank-body {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.frank-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.frank-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #f1f5f9;
}

.frank-bullets li span.check {
  color: var(--emerald-good);
  font-weight: bold;
}

.frank-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-cta-main {
  background: var(--flame-gradient);
  color: #fff;
  text-decoration: none;
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  font-weight: 900;
  font-size: 1.15rem;
  text-align: center;
  box-shadow: 0 4px 25px rgba(255, 77, 21, 0.5);
  transition: all 0.25s ease;
  display: block;
}

.btn-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(255, 77, 21, 0.7);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  display: block;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.frank-card-right {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.frank-avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
  background: var(--flame-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 20px rgba(255, 77, 21, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.frank-author-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.frank-author-tagline {
  color: var(--flame-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.frank-quote-box {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* Social Share Bar */
.share-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.share-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-branding p {
  margin-top: 4px;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-link:hover {
  color: #fff;
}

/* Grading Scale Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-fire);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scale-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.scale-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.scale-code {
  font-weight: 900;
  font-size: 1.2rem;
  text-align: center;
  padding: 6px;
  border-radius: var(--radius-sm);
  color: #fff;
}

/* Print Styles for PDF Export */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .site-header, .share-action-bar, .roast-card-box, .btn-primary-roast, .lead-gate-card {
    display: none !important;
  }
  .score-hero-card, .finding-card, .frank-upsell-section {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    break-inside: avoid;
  }
  .text-gradient, .roast-quote-banner {
    color: #ea580c !important;
    -webkit-text-fill-color: initial !important;
  }
}
