/* Centralized Design System for chunki.study */
:root {
  --bg-color: #080c16;           /* Deep dark navy background */
  --text-main: #f8fafc;          /* Off-white readable text */
  --text-greyblue: #8ba2c2;      /* Secondary text accent */
  --text-gold: #fbbf24;          /* Gold highlights and links */
  
  /* Glassmorphic Background Shapes variables */
  --shape-maroon: rgba(141, 33, 56, 0.85);
  --shape-greyblue: rgba(100, 116, 139, 0.85);
  --shape-green: rgba(52, 211, 153, 0.85);
  --shape-gold: rgba(245, 158, 11, 0.85);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Linear-grid Background Overlay */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(139,162,194,0.05) 0%, rgba(8,12,22,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- LOGO SPLITTING SQUARES HEADER --- */
.header-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 0.2rem;
}

.split-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.08));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: split-level-1 10.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.split-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: split-level-2 10.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.split-cell {
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.split-left .split-cell {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--shape-gold), rgba(245, 158, 11, 0.3));
}

.split-right .split-cell {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(200, 45, 75, 0.95), rgba(200, 45, 75, 0.4));
}

@keyframes split-level-1 {
  0%, 15% { gap: 0px; }
  20%, 35% { gap: 16px; }
  40%, 55% { gap: 16px; }
  60%, 75% { gap: 16px; }
  80%, 100% { gap: 0px; }
}

@keyframes split-level-2 {
  0%, 15% { gap: 0px; }
  20%, 35% { gap: 0px; }
  40%, 55% { gap: 8px; }
  60%, 75% { gap: 0px; }
  80%, 100% { gap: 0px; }
}

/* --- NAVIGATION HEADER --- */
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 950px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
  text-decoration: none;
}

.nav-logo-text span {
  color: var(--text-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-greyblue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-gold);
}

.nav-cta {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--text-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--shape-gold);
  color: #080c16;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

/* --- BENTO GRID SYSTEM --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  width: 100%;
  max-width: 950px;
}

.bento-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  position: relative;
}

.bento-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.full-width {
  grid-column: span 2;
}

.centered-text {
  align-items: center;
  text-align: center;
}

/* Bento Typography */
.bento-text {
  font-size: 0.95rem;
  line-height: 1.6;
  text-wrap: balance;
}

h1.bento-text {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

p.description.bento-text {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  color: var(--text-greyblue);
}

h2.bento-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

h3.bento-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.highlight-gold {
  color: var(--text-gold);
  position: relative;
  white-space: nowrap;
}

.highlight-gold::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-gold);
  border-radius: 1px;
  opacity: 0.5;
}

/* Button & Link UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  width: 100%;
  max-width: 320px;
}

.btn-primary {
  background: var(--shape-gold);
  color: #080c16;
}

.btn-primary:hover {
  background: #fcd34d;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, rgba(141, 33, 56, 0.9), rgba(141, 33, 56, 0.4));
  border: 1px solid rgba(141, 33, 56, 0.5);
  color: var(--text-main);
}

.btn-cta:hover {
  background: rgba(141, 33, 56, 1);
  border-color: rgba(141, 33, 56, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(141, 33, 56, 0.4);
}

/* --- HOME PAGE SPECIFIC STYLING --- */
.hero-btn-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 1.5rem;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1rem;
}

.built-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-greyblue);
  transition: var(--transition-smooth);
}

.built-badge:hover {
  border-color: var(--text-gold);
  color: var(--text-gold);
  transform: translateY(-2px);
}

.disclaimer-tile {
  background: rgba(141, 33, 56, 0.05);
  border: 1px solid rgba(141, 33, 56, 0.2);
}

/* --- EMAIL GATE & 6-DIGIT AUTHENTICATION SYSTEM --- */
.auth-gate-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.auth-gate-card {
  width: 100%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 20;
}

.auth-input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.5rem;
}

.auth-input-group label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-greyblue);
}

.auth-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.auth-input:focus {
  border-color: var(--text-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.auth-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238ba2c2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

.auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-greyblue);
  cursor: pointer;
  text-align: left;
  user-select: none;
}

.auth-checkbox {
  margin-top: 0.2rem;
  accent-color: var(--text-gold);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

/* 6-Digit input verification layout */
.verification-code-container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 1rem 0;
}

.digit-box {
  width: 50px;
  height: 60px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: var(--transition-smooth);
}

.digit-box:focus {
  border-color: var(--text-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.digit-box.shake {
  animation: shake 0.4s ease-in-out;
  border-color: rgba(141, 33, 56, 1);
  box-shadow: 0 0 15px rgba(141, 33, 56, 0.3);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
}

/* Hidden locked content */
.locked-content {
  display: none;
  width: 100%;
  animation: fade-in 0.6s ease forwards;
}

.revealed {
  display: block !important;
}

.verification-status {
  font-size: 0.85rem;
  font-weight: 600;
  height: 20px;
}

.status-success {
  color: var(--shape-green);
}

.status-error {
  color: #ef4444;
}

/* Simulated toast alert for demo code */
.demo-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(8, 12, 22, 0.95);
  border: 1px solid var(--text-gold);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
  max-width: 90%;
  width: 450px;
}

.demo-toast.show {
  transform: translateX(-50%) translateY(0);
}

.demo-toast-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-toast-body {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.4;
}

.demo-toast-code {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-gold);
  letter-spacing: 2px;
  text-align: center;
  margin-top: 0.4rem;
  background: rgba(251, 191, 36, 0.08);
  padding: 0.3rem;
  border-radius: 6px;
  border: 1px dashed rgba(251, 191, 36, 0.3);
}

/* --- CLIPBOARD COPY TOAST --- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.copy-toast {
  background: rgba(8, 12, 22, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(50px);
  opacity: 0;
  animation: toast-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.copy-toast span {
  color: var(--shape-green);
  font-weight: 800;
}

@keyframes toast-slide-in {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- INTERACTIVE PROMPTS & WORKFLOW STYLES --- */
.prompt-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.prompt-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.prompt-tile:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prompt-title-text {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}

.prompt-number-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-gold);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.prompt-body-box {
  background: rgba(8, 12, 22, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.2rem;
  position: relative;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
  word-break: break-word;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-greyblue);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: var(--text-gold);
  color: var(--text-gold);
  transform: translateY(-1px);
}

/* Homework helper navigation cards */
.helper-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: 100%;
  margin-bottom: 1rem;
}

.helper-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-greyblue);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  user-select: none;
}

.helper-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  transform: translateY(-2px);
}

.helper-tab.active {
  background: rgba(251, 191, 36, 0.05);
  border-color: var(--text-gold);
  color: var(--text-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.helper-prompt-display {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fade-in 0.4s ease forwards;
}

/* Chunking workflow steps */
.workflow-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  position: relative;
}

.workflow-step-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  transition: var(--transition-smooth);
  align-items: flex-start;
}

.workflow-step-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.step-num-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.08);
  border: 2px solid var(--text-gold);
  color: var(--text-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.workflow-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.2rem;
}

/* --- FOOTER & MISC --- */
footer {
  margin-top: auto;
  padding: 2.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  position: relative;
  width: 100%;
  max-width: 950px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-greyblue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--text-gold);
}

.footer-disclaimer {
  color: rgba(139, 162, 194, 0.5);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
  max-width: 800px;
  margin-top: 0.5rem;
  border-radius: 12px;
}

.copyright {
  color: rgba(139, 162, 194, 0.3);
  font-size: 0.75rem;
}

/* Animations */
@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 900px) {
  .container {
    padding: 1rem 0.8rem;
    gap: 1rem;
  }

  .header-banner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.1rem;
  }
  
  .logo {
    width: clamp(140px, 45vw, 220px);
    max-width: 220px;
  }

  .split-wrapper {
    width: 60px;
    height: 60px;
    transform: scale(0.65);
    margin: 0 -12px;
    display: flex;
  }
  
  .nav-header {
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 16px;
    padding: 0.6rem 0.8rem;
    width: 100%;
  }
  
  .nav-logo-text {
    font-size: 0.95rem;
  }
  
  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.8rem;
    width: 100%;
  }
  
  .nav-link {
    font-size: 0.75rem;
  }
  
  .nav-cta {
    width: auto;
    max-width: 280px;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    margin-top: 0.1rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .bento-tile {
    padding: 1.2rem !important;
    border-radius: 16px;
  }

  .auth-gate-card {
    padding: 1.2rem !important;
    border-radius: 16px;
    gap: 1rem !important;
  }
  
  .full-width {
    grid-column: span 1;
  }
  
  .hero-btn-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0.8rem;
    gap: 0.6rem;
  }
  
  .hero-btn-container .btn {
    width: 100%;
  }

  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 12px;
  }
  
  .helper-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  .workflow-step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem !important;
  }
  
  .step-content {
    align-items: center;
  }
  
  .btn-copy {
    align-self: center;
  }
  
  .workflow-benefits {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .digit-box {
    width: 42px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 500px) {
  .helper-tabs {
    grid-template-columns: 1fr;
  }
  
  .verification-code-container {
    gap: 0.3rem;
  }
  
  .digit-box {
    width: 36px;
    height: 44px;
    font-size: 1.1rem;
    border-radius: 8px;
  }
}

/* Prompt Explainer and AI Instructions */
.prompt-explainer-inline {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-greyblue);
  background: rgba(251, 191, 36, 0.03);
  border: 1px dashed rgba(251, 191, 36, 0.2);
  border-radius: 14px;
  padding: 0.8rem 1.2rem;
  margin-top: 1rem;
  max-width: 750px;
  text-align: left;
  width: 100%;
}
.prompt-explainer-inline strong {
  color: var(--text-gold);
}

.ai-instructions-note {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-greyblue);
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--text-gold);
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  margin: 0.6rem 0 0.8rem;
  width: 100%;
  text-align: left;
}
.ai-instructions-note strong {
  color: var(--text-main);
}
