/* ===== FLARE DIGITAL STUDIOS — DESIGN SYSTEM ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ── */
:root {
  --orange: #FF4500;
  --orange-hover: #e03c00;
  --navy: #0A2540;
  --cyan: #00D4FF;
  --dark: #112233;
  --light: #F8F9FA;
  --text-light: #0A2540;
  --text-dark: #F8F9FA;
  --muted: #6b7e96;
  --card-bg: #ffffff;
  --bg: #F8F9FA;
  --border: #e4eaf0;
  --shadow: 0 4px 24px rgba(10,37,64,0.10);
  --shadow-lg: 0 12px 48px rgba(10,37,64,0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 72px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg: #0a1628;
  --card-bg: #0f1f35;
  --border: #1e3250;
  --text-light: #F8F9FA;
  --muted: #8ea8c3;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--text-light); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { color: var(--muted); font-size: 1.05rem; }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0; transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,69,0,0.4);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,69,0,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(248,249,250,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
[data-theme="dark"] .navbar {
  background: rgba(10,22,40,0.92);
}
.navbar.scrolled {
  box-shadow: var(--shadow);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
[data-theme="dark"] .nav-logo { color: var(--text-dark); }
.nav-logo img { height: 36px; width: auto; }
.nav-logo span.flare-word { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 1rem; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--card-bg);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--orange); transform: rotate(20deg); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; transition: all var(--transition); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--card-bg); border-bottom: 1px solid var(--border);
  padding: 1.5rem; z-index: 999;
  flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 500; padding: 0.5rem 0; border-bottom: 1px solid var(--border); color: var(--text-light); }
.mobile-menu .btn { margin-top: 0.5rem; text-align: center; justify-content: center; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #fff 0%, #f0f5ff 50%, #fff5f0 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f2040 50%, #1a0f08 100%);
}
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,69,0,0.08);
  border: 1px solid rgba(255,69,0,0.2);
  color: var(--orange); font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-badge span { font-size: 1rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero .sub { font-size: 1.15rem; margin-bottom: 2.5rem; color: var(--muted); max-width: 520px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 48%; max-width: 580px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img img { width: 100%; border-radius: var(--radius); }

/* Particles */
#particles-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.hero .hero-img { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 100%; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy);
  padding: 1rem 0;
  overflow: hidden;
}
.trust-bar p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem; white-space: nowrap;
  animation: scroll-left 30s linear infinite;
  display: inline-block;
}
@keyframes scroll-left {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ── Section Labels ── */
.label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
  background: rgba(255,69,0,0.08);
  border: 1px solid rgba(255,69,0,0.18);
  padding: 0.3rem 0.9rem; border-radius: 50px;
  margin-bottom: 1rem;
}

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
  background: rgba(255,69,0,0.08);
}
.card h3 { margin-bottom: 0.6rem; }

/* ── Problem Section ── */
.problem-section { background: var(--card-bg); }
.problem-card .card-icon { background: rgba(255,69,0,0.08); }

/* ── AI Demo Widget ── */
.ai-demo-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem; max-width: 780px; margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.ai-demo-widget h3 { margin-bottom: 0.5rem; }
.ai-demo-widget .desc { margin-bottom: 1.5rem; }
.url-input-row { display: flex; gap: 0.75rem; }
.url-input {
  flex: 1; padding: 0.85rem 1.2rem;
  border: 2px solid var(--border); border-radius: 50px;
  font-family: inherit; font-size: 0.95rem;
  background: var(--bg); color: var(--text-light);
  outline: none; transition: border-color var(--transition);
}
.url-input:focus { border-color: var(--orange); }
.ai-results {
  margin-top: 2rem;
  display: none;
  animation: fadeIn 0.4s ease;
}
.ai-results.show { display: block; }
.score-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.score-badge {
  display: flex; flex-direction: column; align-items: center;
  width: 100px; height: 100px; border-radius: 50%;
  border: 5px solid var(--orange);
  justify-content: center;
}
.score-badge .score-num { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.score-badge .score-label { font-size: 0.7rem; font-weight: 600; color: var(--muted); }
.score-info h4 { margin-bottom: 0.3rem; }
.red-flags { margin-top: 1.2rem; }
.red-flags h4 { color: var(--text-light); margin-bottom: 0.6rem; }
.flag-list { display: flex; flex-direction: column; gap: 0.4rem; }
.flag-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.9rem; color: var(--muted);
}
.flag-item::before { content: '⚠️'; flex-shrink: 0; }
.ai-headline-box {
  background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-sm); padding: 1.2rem; margin-top: 1.2rem;
}
.ai-headline-box h4 { color: var(--cyan); margin-bottom: 0.5rem; }
.ai-headline-box .suggested { font-size: 1.1rem; font-weight: 700; color: var(--text-light); }
.ai-cta-row { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ── Services ── */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-size: 3rem; font-weight: 900; color: rgba(255,69,0,0.08); line-height: 1; margin-bottom: 0.5rem; }

/* ── About Ryan ── */
.about-ryan-section { background: var(--navy); color: #fff; }
.about-ryan-section h2, .about-ryan-section h3 { color: #fff; }
.about-ryan-section p { color: rgba(255,255,255,0.75); }
.ryan-photo {
  border-radius: var(--radius);
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 4px solid rgba(255,255,255,0.1);
}
.ryan-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.stat-item { }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--orange); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ── Teardowns ── */
.teardown-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.teardown-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.teardown-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.teardown-card-body { background: var(--card-bg); padding: 1.2rem; border: 1px solid var(--border); border-top: none; }
.teardown-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.teardown-card-body h4 { margin: 0.3rem 0; }
.teardown-card-body p { font-size: 0.88rem; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #FF6B35 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2, .cta-section p { color: #fff; }
.cta-section p { font-size: 1.15rem; margin-bottom: 2rem; }
.cta-section > * { position: relative; z-index: 1; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 0.7rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--orange), var(--cyan)); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.5rem; top: 0.3rem;
  width: 14px; height: 14px; background: var(--orange);
  border-radius: 50%; border: 3px solid var(--card-bg);
  box-shadow: 0 0 0 3px var(--orange);
}
.timeline-year { font-size: 0.8rem; font-weight: 700; color: var(--orange); margin-bottom: 0.2rem; }
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.2rem; }
.timeline-desc { font-size: 0.9rem; color: var(--muted); }

/* ── Auditor Page ── */
.auditor-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  text-align: center;
}
.auditor-hero h1, .auditor-hero h2 { color: #fff; }
.auditor-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; }
.auditor-box {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 840px; margin: 0 auto;
}
.score-gauge {
  display: flex; flex-direction: column; align-items: center;
  margin: 2rem 0;
}
.gauge-circle {
  width: 140px; height: 140px; border-radius: 50%;
  border: 10px solid var(--orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255,69,0,0.3);
}
.gauge-num { font-size: 2.8rem; font-weight: 900; color: var(--orange); line-height: 1; }
.gauge-sub { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.issues-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.issue-box { background: var(--bg); border-radius: var(--radius-sm); padding: 1.2rem; border: 1px solid var(--border); }
.issue-box h4 { margin-bottom: 0.5rem; font-size: 0.95rem; }
.issue-box ul { display: flex; flex-direction: column; gap: 0.3rem; }
.issue-box li { font-size: 0.85rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.4rem; }
.loading-state { text-align: center; padding: 3rem 0; display: none; }
.loading-state.show { display: block; }
.spinner {
  width: 50px; height: 50px; border: 4px solid var(--border);
  border-top-color: var(--orange); border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; text-align: left; max-width: 300px; margin-inline: auto; }
.step-item { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.step-item.done { color: #22c55e; }
.step-item.done::before { content: '✓'; color: #22c55e; font-weight: 700; }
.step-item:not(.done)::before { content: '○'; color: var(--border); }
.step-item.active::before { content: '◉'; color: var(--orange); animation: pulse-icon 0.8s ease-in-out infinite alternate; }
@keyframes pulse-icon { from { opacity: 0.4; } to { opacity: 1; } }

/* ── Blog ── */
.blog-card { display: flex; flex-direction: column; }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1rem; background: linear-gradient(135deg, var(--navy), #1a3a5c); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.blog-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.4rem; display: block; }
.blog-card h3 { margin-bottom: 0.5rem; }
.blog-card .read-more { font-size: 0.88rem; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; padding-top: 1rem; }
.blog-card .read-more:hover { gap: 0.6rem; }

/* ── Contact ── */
.contact-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-light); }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem;
  background: var(--bg); color: var(--text-light);
  outline: none; transition: border-color var(--transition);
  margin-bottom: 1.2rem;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius); padding: 2.5rem;
  color: #fff; height: fit-content;
}
.contact-info-card h3 { color: #fff; margin-bottom: 1rem; }
.contact-info-card p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.info-item { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.info-item .icon { font-size: 1.2rem; }

/* ── Footer ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 4rem 0 2rem; }
[data-theme="dark"] .footer { background: #050e1a; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-logo img { height: 30px; }
.footer-logo span { font-weight: 800; font-size: 1rem; color: #fff; }
.footer-logo span .flare-word { color: var(--orange); }
.footer p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.footer h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer ul a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center;
}
.page-header h1, .page-header h2 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 540px; margin: 0.8rem auto 0; }

/* ── About Ryan Page ── */
.fun-fact-box {
  background: rgba(255,69,0,0.06);
  border: 1px solid rgba(255,69,0,0.15);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-top: 2rem;
  font-style: italic;
  color: var(--muted);
}
.fun-fact-box strong { color: var(--orange); }

/* ── Case Studies ── */
.case-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: var(--card-bg);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.case-card-body { padding: 1.8rem; border: 1px solid var(--border); border-top: none; }
.result-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  color: #16a34a; font-size: 0.8rem; font-weight: 700;
  padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 0.8rem;
}
[data-theme="dark"] .result-pill { color: #4ade80; }

/* ── Scroll Animations ── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-content { max-width: 100%; }
  .issues-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .url-input-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ryan-stats { gap: 1.5rem; }
  .ai-cta-row { flex-direction: column; }
  .hero-btns { flex-direction: column; }
}

/* ── Utility ── */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.highlight { color: var(--orange); }
.cyan { color: var(--cyan); }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
