/* ============================================
   ScrapMyComputer.com — Design System
   Friendly & Accessible Theme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary palette */
  --primary: #0D9488;
  --primary-light: #14B8A6;
  --primary-dark: #0F766E;
  --primary-50: #F0FDFA;
  --primary-100: #CCFBF1;

  /* Accent / CTA */
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --accent-dark: #D97706;

  /* Neutrals */
  --bg: #FAFAF9;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-dark: #1C1917;
  --text: #292524;
  --text-light: #78716C;
  --text-lighter: #A8A29E;
  --border: #E7E5E4;
  --border-light: #F5F5F4;

  /* Semantic */
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: var(--space-md); }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.text-lighter { color: var(--text-lighter); }

.bg-white { background: var(--bg-white); }
.bg-primary { background: var(--primary); color: white; }
.bg-primary-50 { background: var(--primary-50); }
.bg-dark { background: var(--bg-dark); color: white; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }

.btn-accent {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: white; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn-white:hover { background: var(--primary-50); color: var(--primary-dark); }

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-flat {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
}

.card-highlight {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary);
  position: relative;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-primary { background: var(--primary-100); color: var(--primary-dark); }
.badge-accent { background: #FEF3C7; color: var(--accent-dark); }
.badge-success { background: #DCFCE7; color: #166534; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--bg-dark);
  text-decoration: none;
}

.nav-logo:hover { color: var(--bg-dark); }

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover { background: var(--primary-50); color: var(--primary); }
.nav-links a.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }

/* ---- AI Grader highlight ---- */
.nav-ai-highlight { position: relative; margin: 0 0.25rem; }
.nav-ai-highlight > a {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1C1917 !important;
  font-weight: 700 !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.nav-ai-highlight > a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: aiShine 3.5s ease-in-out infinite;
}
.nav-ai-highlight > a:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1C1917 !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}
@keyframes aiShine {
  0%   { transform: translateX(-120%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
/* Little "NEW" pulse ring */
.nav-ai-highlight::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: aiPulse 2s infinite;
}
@keyframes aiPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--text);
}

.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open a {
    padding: 0.75rem var(--space-md);
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(72px + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--bg) 50%, #FEF3C7 100%);
  z-index: -1;
}

.hero-content {
  max-width: 680px;
}

.hero-content h1 {
  margin-bottom: var(--space-lg);
}

.hero-content h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.hero-stat p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-stats { flex-direction: column; gap: var(--space-lg); }
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-header .badge {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ---------- Feature Icons ---------- */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.feature-icon-primary { background: var(--primary-100); color: var(--primary); }
.feature-icon-accent { background: #FEF3C7; color: var(--accent-dark); }
.feature-icon-success { background: #DCFCE7; color: #166534; }
.feature-icon-info { background: #DBEAFE; color: #1D4ED8; }

/* ---------- Steps ---------- */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-display);
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

/* ---------- Pricing Table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-table thead {
  background: var(--primary);
  color: white;
}

.pricing-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.pricing-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.pricing-table tbody tr {
  background: white;
  transition: background 0.15s;
}

.pricing-table tbody tr:hover {
  background: var(--primary-50);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.price-value {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

.price-trend-up { color: var(--success); }
.price-trend-down { color: var(--error); }

/* ---------- Testimonial ---------- */
.testimonial {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary-100);
  font-family: Georgia, serif;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
}

.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.85rem; color: var(--text-light); }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--text);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-lighter);
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.blog-card-footer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.form-textarea { min-height: 120px; resize: vertical; }

.form-hint {
  font-size: 0.8rem;
  color: var(--text-lighter);
  margin-top: var(--space-xs);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

/* ---------- Upload Zone ---------- */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  background: var(--bg);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--primary);
  background: var(--primary-50);
}

.upload-zone-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.upload-zone h3 {
  margin-bottom: var(--space-sm);
}

.upload-zone p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: white;
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
}

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

.faq-question .icon {
  transition: transform 0.3s;
  color: var(--text-lighter);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #D6D3D1;
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.footer-brand p {
  color: #A8A29E;
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.footer h4 {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: var(--space-sm); }

.footer-links a {
  color: #A8A29E;
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #44403C;
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: #78716C;
}

/* ---------- Blog Article ---------- */
.article {
  padding-top: calc(72px + var(--space-3xl));
}

.article-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.article-header h1 {
  max-width: 800px;
  margin: 0 auto var(--space-md);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-body h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.article-body li {
  margin-bottom: var(--space-sm);
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: var(--space-lg);
  background: var(--primary-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
  font-style: italic;
}

.article-body .callout {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.article-body .callout-title {
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner h2 { color: white; margin-bottom: var(--space-md); }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: var(--space-xl); }

/* ---------- AI Grader result ---------- */
.grade-result {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--primary-100);
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--space-lg);
}

/* ---------- Video Card ---------- */
.video-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.video-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1C1917, #44403C);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.video-card-thumb:hover .video-play-btn {
  transform: scale(1.1);
}

.video-card-body {
  padding: var(--space-lg);
}

.video-card-body h4 { margin-bottom: var(--space-xs); }
.video-card-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

/* ---------- Page Header ---------- */
.page-header {
  padding-top: calc(72px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(135deg, var(--primary-50), var(--bg));
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
  opacity: 0.5;
}

.trust-bar span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Quote Form Layout ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .quote-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.quote-form-column {
  padding-right: var(--space-xl);
}

@media (max-width: 1024px) {
  .quote-form-column {
    padding-right: 0;
  }
}

.quote-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.quote-sidebar .card {
  position: sticky;
  top: calc(72px + var(--space-lg));
}

@media (max-width: 1024px) {
  .quote-sidebar .card {
    position: static;
  }
}

/* ---------- Page Header Subtitle ---------- */
.page-header .subtitle {
  margin-bottom: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

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

/* ---------- AI Grader Result ---------- */
.grade-result {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}

.ai-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--primary-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Email Capture ---------- */
.email-capture-section {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.email-capture-section h3 {
  margin-bottom: 0.5rem;
}

.email-capture-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.email-capture-inline {
  background: var(--primary-50);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: center;
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .btn { display: none; }
  body { background: white; }
}
