/* ============================================
   Roast My Cart — Global Styles
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --flame: #FF6B35;
  --ember: #F7931E;
  --char: #1A1A2E;
  --smoke: #16213E;
  --ash: #0F3460;
  --white: #FAFAFA;
  --gray: #A0A0B0;
  --light-gray: #E8E8EC;
  --red: #FF4757;
  --green: #2ED573;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--char);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: var(--flame);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ============================================
   Ambient glow
   ============================================ */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.glow-orb.top-right {
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  background: var(--flame);
}
.glow-orb.bottom-left {
  width: 500px; height: 500px;
  bottom: -100px; left: -150px;
  background: var(--ember);
}

/* ============================================
   Nav (rendered by menu module)
   ============================================ */
nav {
  position: relative;
  z-index: 10;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-actions, .nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-email {
  font-size: 0.9rem;
  color: var(--gray);
}

.nav-link {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); text-decoration: none; }
.nav-link.active { color: var(--flame); }

.nav-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}
.nav-btn:hover { text-decoration: none; }

.nav-btn-ghost {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.1);
}
.nav-btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.nav-btn-primary {
  background: linear-gradient(135deg, var(--flame), var(--ember));
  color: white;
}
.nav-btn-primary:hover {
  opacity: 0.9;
  color: white;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 32px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--flame);
  margin-bottom: 32px;
  background: rgba(255, 107, 53, 0.08);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--flame), var(--ember), #FFD93D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================
   Roast input (functional form)
   ============================================ */
.roast-input {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 6px 6px 6px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}
.roast-input:focus-within {
  border-color: rgba(255, 107, 53, 0.5);
}

.url-field {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 0;
}
.url-field::placeholder {
  color: var(--gray);
}

.roast-btn {
  background: linear-gradient(135deg, var(--flame), var(--ember));
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.roast-btn:hover {
  opacity: 0.92;
  text-decoration: none;
  color: white;
}
.roast-btn:active { transform: scale(0.98); }

/* ============================================
   Stats
   ============================================ */
.stats {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
}
.stat {
  padding: 36px 24px;
  text-align: center;
  background: var(--char);
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--flame);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ============================================
   Sections (how it works, what gets roasted)
   ============================================ */
.section {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px 120px;
}
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ember);
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding: 36px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  position: relative;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 107, 53, 0.12);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.step p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.65;
}

.roast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.roast-item {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: border-color 0.3s;
}
.roast-item:hover {
  border-color: rgba(255, 107, 53, 0.3);
}
.roast-item-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}
.roast-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.roast-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   Closing
   ============================================ */
.closing {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 32px 120px;
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.closing p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   Footer
   ============================================ */
footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--gray);
}

/* ============================================
   Auth pages (sign-in, sign-up)
   ============================================ */
.auth-page {
  position: relative;
  z-index: 10;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 48px 40px;
}

.auth-card h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--light-gray);
}

.form-group input {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: rgba(255, 107, 53, 0.5);
}
.form-group input::placeholder {
  color: var(--gray);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  font-size: 1rem;
  padding: 16px;
}

.auth-error {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--red);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.auth-switch {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 24px;
}
.auth-switch a {
  color: var(--flame);
  font-weight: 500;
}

/* ============================================
   Results page
   ============================================ */
.results-page {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.results-header {
  text-align: center;
  margin-bottom: 48px;
}
.results-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 8px;
}
.results-url {
  font-size: 0.9rem;
  color: var(--gray);
  word-break: break-all;
}

.results-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 48px 40px;
  min-height: 300px;
}

.results-loading {
  text-align: center;
  padding: 40px 0;
}

.flame-spinner {
  font-size: 3rem;
  animation: pulse 1.5s ease-in-out infinite;
  margin-bottom: 20px;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.results-loading p {
  font-size: 1.1rem;
  color: var(--white);
}
.results-subtext {
  font-size: 0.9rem !important;
  color: var(--gray) !important;
  margin-top: 8px;
}

.score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 16px;
  padding: 20px 32px;
  margin-bottom: 32px;
}
.score-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--flame);
}
.score-label {
  font-size: 0.85rem;
  color: var(--gray);
}

.results-actions {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Voice picker (landing page)
   ============================================ */
.voice-picker {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.voice-option {
  flex: 1;
  cursor: pointer;
}

.voice-option input[type="radio"] {
  display: none;
}

.voice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: all 0.25s ease;
  text-align: center;
}

.voice-option input[type="radio"]:checked + .voice-card {
  border-color: var(--flame);
  background: rgba(255, 107, 53, 0.08);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.1);
}

.voice-card:hover {
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255,255,255,0.05);
}

.voice-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.voice-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.voice-desc {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ============================================
   Product card (results page)
   ============================================ */
.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  margin-bottom: 28px;
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--flame);
  display: none;
}

.product-store {
  font-size: 0.85rem;
  color: var(--gray);
  padding: 3px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  display: none;
}

/* ============================================
   Voice indicator (results page)
   ============================================ */
.voice-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.voice-indicator-emoji {
  font-size: 1.4rem;
}

.voice-indicator-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ember);
}

/* ============================================
   Roast output (results page)
   ============================================ */
.roast-output {
  line-height: 1.8;
  font-size: 1.1rem;
}

.roast-output p {
  margin-bottom: 16px;
  color: var(--white);
}

.roast-output p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Share buttons (results page)
   ============================================ */
.roast-share {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.share-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--gray);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

/* ============================================
   Section chip label
   ============================================ */
.section-chip {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ember);
  background: rgba(247,147,30,0.1);
  border: 1px solid rgba(247,147,30,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

/* ============================================
   Meme section (results page)
   ============================================ */
.meme-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.meme-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.meme-loading-text {
  font-size: 0.9rem;
  color: var(--gray);
  font-style: italic;
}

.meme-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 480px;
}

.meme-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
}

.meme-download-btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
  text-decoration: none;
}
.meme-download-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

/* ============================================
   Share section (results page)
   ============================================ */
.share-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn-twitter { color: #1DA1F2; border-color: rgba(29,161,242,0.25); }
.share-btn-twitter:hover { background: rgba(29,161,242,0.1); border-color: rgba(29,161,242,0.4); }
.share-btn-facebook { color: #4267B2; border-color: rgba(66,103,178,0.25); }
.share-btn-facebook:hover { background: rgba(66,103,178,0.1); border-color: rgba(66,103,178,0.4); }
.share-btn-instagram { color: #E1306C; border-color: rgba(225,48,108,0.25); }
.share-btn-instagram:hover { background: rgba(225,48,108,0.1); border-color: rgba(225,48,108,0.4); }
.share-btn-copy:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* ============================================
   Alternatives section (results page)
   ============================================ */
.alternatives-section {
  max-width: 700px;
  margin: 48px auto 0;
  padding: 0 20px;
}

.alternatives-header {
  text-align: center;
  margin-bottom: 32px;
}

.alternatives-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  margin-top: 12px;
}

.alternatives-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
}

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

.alt-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.alt-card:hover {
  border-color: rgba(255, 107, 53, 0.25);
}

.alt-card-body {
  padding: 20px;
  flex: 1;
}

.alt-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.alt-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.alt-witty {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  font-style: italic;
}

.alt-card-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alt-buy-btn {
  display: block;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--flame);
  text-decoration: none;
  transition: color 0.2s;
}
.alt-buy-btn:hover { color: var(--ember); text-decoration: none; }

/* ============================================
   Error state (results page)
   ============================================ */
.results-error {
  text-align: center;
  padding: 40px 0;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.error-message {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

.roast-btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.roast-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================
   Hero Mockup (new landing page design)
   ============================================ */

/* On the landing page, remove the main padding and let the hero fill edge-to-edge */
body.page-landing main {
  overflow: hidden;
}

.hero-mockup {
  position: relative;
  width: 100%;
  /* Maintain image aspect ratio: mockup is ~1122x750 */
  padding-bottom: 66.8%;
  overflow: hidden;
  margin-top: -24px; /* pull up under nav */
}

.hero-mockup-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* The overlay is positioned at the form area in the mockup (~41–82% from top, centered) */
.hero-mockup-overlay {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 560px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Voice picker — two side-by-side cards */
.mockup-voice-picker {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mockup-voice-option {
  flex: 1;
  cursor: pointer;
}

.mockup-voice-option input[type="radio"] {
  display: none;
}

.mockup-voice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  background: rgba(30, 20, 10, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.mockup-voice-option input[type="radio"]:checked + .mockup-voice-card {
  border-color: var(--flame);
  background: rgba(255, 107, 53, 0.18);
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.25);
}

.mockup-voice-card:hover {
  border-color: rgba(255, 107, 53, 0.5);
  background: rgba(255, 107, 53, 0.12);
}

.mockup-voice-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

.mockup-voice-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.mockup-voice-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
}

/* URL input + submit button */
.mockup-roast-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-url-input {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #333;
  background: rgba(255,255,255,0.92);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 11px 16px;
  outline: none;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s;
}

.mockup-url-input::placeholder { color: #888; }
.mockup-url-input:focus { border-color: var(--flame); }

.mockup-roast-btn {
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  padding: 13px 24px;
  background: linear-gradient(135deg, #c0392b, #e74c3c, #c0392b);
  color: white;
  border: 3px solid rgba(0,0,0,0.25);
  border-radius: 10px;
  cursor: pointer;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  box-shadow: 0 4px 14px rgba(192,57,43,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: opacity 0.15s, transform 0.1s;
}

.mockup-roast-btn:hover { opacity: 0.92; }
.mockup-roast-btn:active { transform: scale(0.98); }

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-actions, .nav-user { gap: 8px; }
  .nav-btn { padding: 8px 14px; font-size: 0.85rem; }
  .nav-email { display: none; }

  /* Hero mockup mobile — use a fixed min-height, scale image, reposition overlay */
  .hero-mockup {
    padding-bottom: 0;
    min-height: 92vw; /* taller aspect on mobile so form fits */
  }
  .hero-mockup-bg {
    background-position: center top;
  }
  .hero-mockup-overlay {
    top: 44%;
    width: 70%;
    min-width: 240px;
    gap: 7px;
  }
  .mockup-voice-label { font-size: 0.78rem; }
  .mockup-voice-sub { font-size: 0.6rem; }
  .mockup-voice-emoji { font-size: 1.2rem; }
  .mockup-voice-card { padding: 8px 4px; border-radius: 8px; }
  .mockup-url-input { font-size: 0.85rem; padding: 9px 12px; }
  .mockup-roast-btn { font-size: 0.95rem; padding: 11px; }

  .hero { padding: 60px 20px 60px; }
  .roast-input { flex-direction: column; padding: 16px; }
  .url-field { text-align: center; width: 100%; }
  .roast-btn { width: 100%; text-align: center; }

  .voice-picker { flex-direction: row; gap: 8px; }
  .voice-card { padding: 12px 8px; }
  .voice-emoji { font-size: 1.4rem; }
  .voice-label { font-size: 0.85rem; }
  .voice-desc { font-size: 0.7rem; }

  .product-card { flex-direction: column; text-align: center; }
  .product-image { width: 100px; height: 100px; }
  .product-meta { justify-content: center; }

  .roast-share { flex-direction: column; }
  .share-btn { justify-content: center; }

  .share-buttons { flex-direction: column; }
  .alternatives-grid { grid-template-columns: 1fr; }
  .alternatives-section { padding: 0 8px; }

  .stats { grid-template-columns: 1fr; margin-bottom: 60px; }
  .steps { grid-template-columns: 1fr; }
  .roast-grid { grid-template-columns: 1fr; }
  .section { padding-bottom: 80px; }

  .auth-card { padding: 36px 24px; }
  .results-card { padding: 32px 24px; }
}
