/* ==========================================================================
   GlowUpReel™ — Premium Editorial & Creator Media Design System
   Awwwards-Tier High-End Visual Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Syne:wght@500;600;700;800&family=Cinzel:wght@600;700;800&display=swap');

:root {
  /* Color Palette: Obsidian, Rose Quartz, Champagne Gold & Luminous Violet */
  --bg-primary: #08090d;
  --bg-surface: #10121a;
  --bg-surface-elevated: #161924;
  --bg-surface-glass: rgba(18, 21, 30, 0.72);
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --bg-pill: rgba(255, 255, 255, 0.06);

  --accent-rose: #f43f5e;
  --accent-blush: #fb7185;
  --accent-champagne: #fcd34d;
  --accent-lavender: #c084fc;
  --accent-glow: rgba(244, 63, 94, 0.28);
  --accent-glow-subtle: rgba(192, 132, 252, 0.15);

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(244, 63, 94, 0.4);
  --border-double-shell: rgba(255, 255, 255, 0.05);

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

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Cinzel', serif;

  /* Elevation & Motion */
  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  --ease-elastic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-ambient: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 10px 30px -5px rgba(244, 63, 94, 0.25);
  --inner-highlight: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 10%, rgba(244, 63, 94, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(192, 132, 252, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(244, 63, 94, 0.05) 0%, transparent 60%),
    var(--bg-primary);
  background-attachment: fixed;
}

/* Subtle Fixed Grain Layer */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-smooth);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top FTC Sticky Compliance Banner */
.ftc-banner {
  background: rgba(16, 18, 26, 0.95);
  border-bottom: 1px solid var(--border-hairline);
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  position: relative;
  z-index: 60;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ftc-banner a {
  color: var(--accent-blush);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  margin-left: 0.25rem;
}

/* Floating Island Header */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 50;
  padding: 0 1.25rem;
  margin-bottom: 2rem;
}

.nav-island {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.7), var(--inner-highlight);
  transition: all 0.3s var(--ease-smooth);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.logo-text span {
  background: linear-gradient(90deg, #f43f5e, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-lavender));
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Button-in-Button Architecture */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.35s var(--ease-elastic);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px -2px rgba(244, 63, 94, 0.45), var(--inner-highlight);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -2px rgba(244, 63, 94, 0.6), var(--inner-highlight);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--inner-highlight);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-elastic);
}

.btn-secondary .btn-icon-wrapper {
  background: rgba(255, 255, 255, 0.08);
}

.btn-pill:hover .btn-icon-wrapper {
  transform: translateX(2px) translateY(-1px);
}

/* Eyebrow Pill Badge */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blush);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px -5px rgba(244, 63, 94, 0.3);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 8px var(--accent-rose);
  animation: pulse-dot 2s infinite;
}

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

/* Doppelrand (Double-Bezel) Nested Architecture */
.nested-shell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-double-shell);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  transition: transform 0.4s var(--ease-elastic), border-color 0.3s ease;
  position: relative;
}

.nested-shell:hover {
  border-color: rgba(244, 63, 94, 0.3);
  transform: translateY(-3px);
}

.nested-core {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: calc(var(--radius-xl) - 0.4rem);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--inner-highlight);
  position: relative;
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 6rem;
  position: relative;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  max-width: 980px;
  margin: 0 auto 1.5rem;
  font-weight: 800;
  line-height: 1.08;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #fda4af 75%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Trust Bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: rgba(16, 18, 26, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--inner-highlight);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blush);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-item span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Section Common Layout */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-title-wrap {
  max-width: 640px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Trending Reels Section */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.reel-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  cursor: pointer;
  transition: transform 0.4s var(--ease-elastic), box-shadow 0.4s ease;
  background: #000;
}

.reel-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px -10px rgba(244, 63, 94, 0.3);
  border-color: rgba(244, 63, 94, 0.4);
}

.reel-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
  opacity: 0.75;
}

.reel-card:hover .reel-bg-image {
  transform: scale(1.06);
  opacity: 0.9;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.2) 0%, rgba(8, 9, 13, 0.85) 70%, rgba(8, 9, 13, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 2;
}

.reel-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reel-tag {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.reel-duration {
  font-size: 0.75rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.reel-play-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.6);
  transition: transform 0.3s var(--ease-elastic), background 0.2s;
  z-index: 3;
}

.reel-card:hover .reel-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #f43f5e;
}

.reel-content-bottom {
  z-index: 3;
}

.reel-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  line-height: 1.3;
}

.reel-author-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.reel-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Asymmetrical Bento Grid for Categories & Awards */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card-large {
  grid-column: span 8;
}

.bento-card-medium {
  grid-column: span 4;
}

.bento-card-half {
  grid-column: span 6;
}

.bento-badge-award {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(192, 132, 252, 0.15));
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blush);
}

.score-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}

.score-pill span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Product Comparison Specs */
.specs-list {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.specs-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.specs-label {
  color: var(--text-secondary);
}

.specs-value {
  color: var(--text-primary);
  font-weight: 600;
}

.verdict-box {
  background: rgba(244, 63, 94, 0.05);
  border-left: 3px solid var(--accent-rose);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0 1.25rem;
  font-size: 0.875rem;
  color: #e2e8f0;
}

/* Interactive Routine Finder Quiz Widget */
.quiz-container {
  background: linear-gradient(135deg, rgba(22, 25, 36, 0.95), rgba(16, 18, 26, 0.95));
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-ambient), var(--inner-highlight);
  position: relative;
  overflow: hidden;
}

.quiz-container::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.quiz-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quiz-step-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.quiz-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quiz-option-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  user-select: none;
}

.quiz-option-label:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.quiz-option-label input[type="radio"] {
  accent-color: var(--accent-rose);
}

.quiz-option-label.selected {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fff;
}

.quiz-result-area {
  display: none;
  background: rgba(8, 9, 13, 0.8);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Article Cards & Blog Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-thumb {
  height: 220px;
  border-radius: calc(var(--radius-xl) - 0.5rem) calc(var(--radius-xl) - 0.5rem) 0 0;
  position: relative;
  overflow: hidden;
  background: #1a1e29;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.article-card:hover .article-thumb img {
  transform: scale(1.05);
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-tag {
  color: var(--accent-blush);
  font-weight: 700;
}

.article-heading {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.article-card:hover .article-heading {
  color: var(--accent-blush);
}

.article-excerpt {
  font-size: 0.9125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Footer Section */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-hairline);
  padding: 5rem 0 3rem;
  position: relative;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  font-size: 0.875rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-blush);
}

.footer-ftc-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal for Reel Playback Simulation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), var(--inner-highlight);
  position: relative;
  animation: modalPop 0.35s var(--ease-elastic);
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Mobile Navigation Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 9, 13, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 90;
  padding: 6rem 2rem 3rem;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.mobile-drawer .nav-link {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card-large, .bento-card-medium, .bento-card-half {
    grid-column: span 12;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn-primary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .trust-bar {
    grid-template-columns: 1fr;
  }
  .quiz-steps {
    grid-template-columns: 1fr;
  }
  .quiz-container {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 3rem 0 4rem;
  }
}
