/* ==========================================================================
   MINDFULVOICES: MENTAL HEALTH DAY 2026 PLATFORM STYLESHEET
   Aesthetic: Vibrant Neon & Attractive High-Tech Empathy
   Affiliation: Department of Psychiatry, RIMS, Raipur, CG, India
   Helpline: 9479144509
   ========================================================================== */

:root {
  /* Vibrant Neon & Attractive Accent Colors */
  --neon-cyan: #00f5d4;
  --neon-cyan-glow: rgba(0, 245, 212, 0.45);
  --neon-aqua: #00e5ff;
  --neon-purple: #9d4edd;
  --neon-purple-glow: rgba(157, 78, 221, 0.45);
  --neon-emerald: #10e599;
  --neon-emerald-glow: rgba(16, 229, 153, 0.45);
  --neon-pink: #ff3377;
  --neon-pink-glow: rgba(255, 51, 119, 0.45);
  --neon-yellow: #fcee0a;
  --neon-blue: #00b4d8;

  /* Surfaces & Backgrounds */
  --dark-hero-bg: #0b151c;
  --dark-surface: #102029;
  --dark-border: #1b3542;
  --page-bg: #f2f7f7;
  --card-bg: #ffffff;
  --text-main: #0c1c22;
  --text-muted: #4a636c;
  --text-subtle: #738e96;
  --border-light: #d6e4e5;
  --border-focus: #00f5d4;

  /* UI Tokens */
  --shadow-sm: 0 2px 8px rgba(0, 180, 216, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 180, 216, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
  --shadow-neon: 0 0 20px var(--neon-cyan-glow);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", "Mukta", sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--page-bg);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Crisis & Institutional Contact Banner (Top) */
.crisis-bar {
  background: #081116;
  color: #e2f4f7;
  font-size: 0.86rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #162f3a;
  position: relative;
  z-index: 101;
}

.crisis-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-purple), var(--neon-emerald));
}

.crisis-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.crisis-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.crisis-tag {
  background: linear-gradient(135deg, #ff3377, #ff6b4a);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 0 10px rgba(255, 51, 119, 0.6);
  animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--neon-pink)); }
  50% { opacity: 0.85; filter: drop-shadow(0 0 10px var(--neon-pink)); }
}

.crisis-nums {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.crisis-nums a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1.5px solid var(--neon-cyan);
  transition: var(--transition);
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.6);
}

.crisis-nums a:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-shadow: 0 0 14px var(--neon-cyan);
}

/* Main Navigation Header */
.main-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.6rem;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 50%, var(--neon-purple) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #08161b;
  font-size: 1.5rem;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.5);
}

.brand-text h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #092229;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-badge {
  font-size: 0.72rem;
  color: #028090;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.nav-tabs {
  display: flex;
  background: #eaf1f2;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid #d0e0e3;
  gap: 0.25rem;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-tab-btn:hover {
  color: #082129;
}

.nav-tab-btn.active {
  background: #ffffff;
  color: #052930;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.nav-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-cyan);
}

.lang-btn {
  background: linear-gradient(135deg, #e4faf5, #e0f4fc);
  border: 1.5px solid #a3ebde;
  color: #055a60;
  font-weight: 800;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(0, 245, 212, 0.15);
}

.lang-btn:hover {
  background: var(--neon-cyan);
  color: #05161a;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

/* Suicide Prevention Helpline Header Card (Telemanas) */
.telemanas-header-card {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
  border: 1.5px solid #ff8787;
  color: #9b1c1c;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
}

.telemanas-header-card:hover {
  background: #e03131;
  color: #ffffff;
  border-color: #c92a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(224, 49, 49, 0.3);
}

.telemanas-header-card:hover .telemanas-line1 {
  color: #ffffff;
}

.telemanas-header-card:hover .telemanas-num {
  background: #ffffff;
  color: #c92a2a;
}

.telemanas-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.telemanas-lines {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.22;
}

.telemanas-line1 {
  font-size: 0.76rem;
  font-weight: 700;
  color: #842029;
  letter-spacing: -0.15px;
  white-space: nowrap;
  transition: var(--transition);
}

.telemanas-line2 {
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.telemanas-num {
  background: #c92a2a;
  color: #ffffff;
  padding: 0.12rem 0.55rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  transition: var(--transition);
  display: inline-block;
}

.btn-gform-config {
  background: #fff;
  border: 1.5px dashed var(--neon-purple);
  color: var(--neon-purple);
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-gform-config:hover {
  background: #f5edff;
  box-shadow: 0 0 14px var(--neon-purple-glow);
}

/* Welcoming Hero Section with Neon Glow & Cyber-Empathy Depth */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, #091720 0%, #0d222b 50%, #151a36 100%);
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid #1c3642;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.22) 0%, rgba(0, 180, 216, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.22) 0%, rgba(255, 51, 119, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.3rem;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--neon-cyan) 80%, #b388ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #c7e1e5;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

/* Dual Themes 2026 Showcase Banner (International & India) */
.dual-themes-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.theme-chip {
  background: rgba(16, 32, 41, 0.7);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-chip-intl {
  border: 1.5px solid rgba(0, 245, 212, 0.45);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.15);
}

.theme-chip-intl:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 24px var(--neon-cyan-glow);
  transform: translateY(-2px);
}

.theme-chip-intl .chip-badge {
  background: rgba(0, 245, 212, 0.18);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 212, 0.4);
}

.theme-chip-intl strong {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.35;
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.4);
}

.theme-chip-india {
  border: 1.5px solid rgba(255, 158, 0, 0.45);
  box-shadow: 0 0 16px rgba(255, 158, 0, 0.15);
}

.theme-chip-india:hover {
  border-color: #ff9e00;
  box-shadow: 0 0 24px rgba(255, 158, 0, 0.4);
  transform: translateY(-2px);
}

.theme-chip-india .chip-badge {
  background: rgba(255, 158, 0, 0.18);
  color: #ffbe0b;
  border: 1px solid rgba(255, 158, 0, 0.4);
}

.theme-chip-india strong {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.35;
  text-shadow: 0 0 8px rgba(255, 190, 11, 0.4);
}

.chip-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.india-map-icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  width: 15px;
  height: 17.5px;
  flex-shrink: 0;
}

/* Institutional Affiliation Badge in Hero */
.hero-inst-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-inst-badge .inst-icon {
  font-size: 1.5rem;
}

.hero-inst-badge .inst-text strong {
  color: var(--neon-cyan);
  display: block;
  font-size: 0.95rem;
}

.hero-inst-badge .inst-text span {
  color: #a3c4cb;
  font-size: 0.84rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 60%, var(--neon-purple) 100%);
  color: #06191f;
  border: none;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 245, 212, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1.5px solid var(--neon-cyan);
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--neon-cyan);
  color: #06171b;
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.6);
}

.hero-visual {
  background: rgba(16, 32, 41, 0.85);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(0, 245, 212, 0.45);
  padding: 2rem;
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.18), 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  backdrop-filter: blur(12px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--neon-cyan);
  padding: 1.1rem 1.35rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.25rem;
  font-style: italic;
  font-size: 1rem;
  color: #d8edf0;
  line-height: 1.6;
  box-shadow: inset 0 0 10px rgba(0, 245, 212, 0.05);
}

.hero-badges-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.mini-badge {
  background: rgba(0, 245, 212, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 212, 0.4);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.2);
}

/* Visual Aids: Step Flowchart */
.flowchart-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.2rem;
}

.section-tag {
  color: var(--neon-purple);
  background: #f4ecff;
  border: 1px solid #dcc6ff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0a2128;
  margin-bottom: 0.85rem;
  letter-spacing: -0.4px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.flowchart-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  position: relative;
}

.flowchart-card {
  background: #f8fbfa;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.1rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flowchart-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 245, 212, 0.22);
}

.flowchart-card::after {
  content: "➔";
  position: absolute;
  right: -0.85rem;
  top: 40%;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 6px var(--neon-cyan);
}

.flowchart-card:last-child::after {
  display: none;
}

.flowchart-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e4faf5, #eef4ff);
  border: 1.5px solid #a3ebde;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #064047;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
  transition: var(--transition);
}

.flowchart-card:hover .flowchart-icon {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
}

.flowchart-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #0c272e;
  margin-bottom: 0.5rem;
}

.flowchart-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Main Form Section */
.form-section {
  padding: 5rem 0;
  background: var(--page-bg);
}

/* Form Mode Switcher */
.form-mode-switch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-mode-tabs {
  display: flex;
  background: #eef5f4;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid #d0e5e2;
  gap: 0.3rem;
}

.mode-tab-btn {
  background: transparent;
  border: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #315860;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.mode-tab-btn.active {
  background: #ffffff;
  color: #06191f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 800;
}

.form-external-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.link-pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: #065b66;
  background: #e4faf5;
  border: 1px solid #a3ebde;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.link-pill:hover {
  background: #00f5d4;
  color: #06191f;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.4);
}

.link-pill.highlight {
  background: #f4ecff;
  color: #6a1bb0;
  border-color: #d8baff;
}

.link-pill.highlight:hover {
  background: #9d4edd;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}

/* Embedded Google Form Wrapper */
.embedded-gform-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid #cce8e4;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.gform-embed-header {
  padding: 1.4rem 1.8rem;
  background: linear-gradient(135deg, #0b2f37 0%, #10414c 100%);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 2px solid var(--neon-cyan);
}

.gform-embed-title-group h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.4rem 0 0.2rem;
  color: #ffffff;
}

.gform-embed-title-group p {
  font-size: 0.86rem;
  color: #a4cdd4;
}

.gform-iframe-container {
  width: 100%;
  height: 850px;
  background: #fafafa;
}

.gform-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.form-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Stepper Progress Bar */
.stepper-header {
  background: #f3f8f9;
  border-bottom: 1.5px solid var(--border-light);
  padding: 1.75rem 1.5rem 1.25rem;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  background: transparent;
  border: none;
}

.step-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-subtle);
  transition: var(--transition);
}

.stepper-step.active .step-bubble {
  background: var(--neon-cyan);
  border-color: #00d2b7;
  color: #06191f;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
  transform: scale(1.08);
}

.stepper-step.completed .step-bubble {
  background: var(--neon-purple);
  border-color: var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 12px var(--neon-purple-glow);
}

.step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.45rem;
  text-align: center;
}

.stepper-step.active .step-label {
  color: #03484f;
  font-weight: 800;
}

.stepper-progress-fill {
  position: absolute;
  top: 21px;
  left: 35px;
  right: 35px;
  height: 4px;
  background: var(--border-light);
  z-index: 1;
  border-radius: 2px;
}

.stepper-bar-active {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue), var(--neon-cyan));
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Form Body & Steps */
.form-body {
  padding: 2.75rem;
}

.form-step-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step-content.active {
  display: block;
}

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

.step-title-area {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--border-light);
}

.step-title-area h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0a262e;
  margin-bottom: 0.35rem;
}

.story-title-highlight {
  background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
  color: #0f172a;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #facc15;
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.3);
  display: inline-block;
  font-weight: 900;
  text-shadow: none;
}

.step-title-area p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Privacy & Consent Callout */
.consent-box {
  background: linear-gradient(135deg, #f0fbfc 0%, #edf7fa 100%);
  border: 1.5px solid #a3ebde;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 245, 212, 0.08);
}

.consent-intro {
  font-size: 0.98rem;
  color: #0b343a;
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.consent-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.consent-points li {
  font-size: 0.92rem;
  color: #123e45;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.55;
}

.consent-points li::before {
  content: "🛡️";
  font-size: 1.05rem;
  line-height: 1.2;
}

.consent-checkbox-wrap {
  background: #ffffff;
  border: 2px solid #99dcd0;
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.consent-checkbox-wrap:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.consent-checkbox-wrap input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: #00b4d8;
  cursor: pointer;
}

.consent-checkbox-wrap label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b252b;
  cursor: pointer;
  line-height: 1.5;
}

/* Field Groups */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-help {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #00b4d8;
  box-shadow: 0 0 0 4px var(--neon-cyan-glow);
}

textarea.form-control {
  min-height: 115px;
  resize: vertical;
  line-height: 1.65;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.checkbox-pill {
  background: #f6faf9;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-pill:hover {
  background: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 2px 10px rgba(0, 245, 212, 0.2);
}

.checkbox-pill input[type="checkbox"] {
  accent-color: #00b4d8;
  width: 18px;
  height: 18px;
}

.checkbox-pill span {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

/* Step Optional Pill */
.step-optional-pill {
  background: rgba(0, 245, 212, 0.15);
  color: #008779;
  border: 1px solid rgba(0, 245, 212, 0.5);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

/* Mental Health Advice Box in Step 3 */
.scales-advice-box {
  background: linear-gradient(135deg, #f0f9f9 0%, #e6f7f6 100%);
  border: 1.5px solid #a8dadc;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 92, 83, 0.08);
  position: relative;
  overflow: hidden;
}

.scales-advice-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #00f5d4, #7b2cbf);
}

.advice-box-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(0, 119, 137, 0.12);
}

.advice-icon-wrap {
  font-size: 2rem;
  line-height: 1;
  background: #ffffff;
  padding: 0.6rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 180, 216, 0.15);
  border: 1px solid #cce8e4;
  flex-shrink: 0;
}

.advice-content {
  flex-grow: 1;
}

.advice-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b3d45;
  margin: 0 0 0.4rem 0;
  line-height: 1.4;
}

.advice-email-link {
  color: #0077b6;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
  transition: var(--transition);
}

.advice-email-link:hover {
  color: #023e8a;
  text-decoration: underline;
}

.advice-desc {
  font-size: 0.92rem;
  color: #2b555e;
  line-height: 1.55;
  margin: 0 0 0.85rem 0;
}

.advice-contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.advice-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #005c53;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 24px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 92, 83, 0.25);
}

.advice-call-btn:hover {
  background: #042f2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 92, 83, 0.35);
  color: #ffffff;
}

.advice-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #005c53;
  border: 1.5px solid #005c53;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 24px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 92, 83, 0.12);
}

.advice-email-btn:hover {
  background: #005c53;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 92, 83, 0.3);
}

.advice-timings-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #006d77;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #b2ded7;
}

/* Scales Jump Links Group (Collapsible) */
.scales-links-section {
  border-top: 1.5px dashed #b2ded7;
  padding-top: 1rem;
  margin-top: 1rem;
}

.scales-links-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  list-style: none;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #c2e5e0;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.scales-links-summary::-webkit-details-marker {
  display: none;
}

.scales-links-summary:hover {
  background: #ffffff;
  border-color: #83c5be;
  box-shadow: 0 2px 8px rgba(0, 92, 83, 0.08);
}

.scales-links-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0b3d45;
  letter-spacing: 0.3px;
}

.scales-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #005c53;
  background: #e6f6f4;
  border: 1px solid #b2ded7;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.scales-links-collapsible .toggle-status::before {
  content: "Show Links";
}

.scales-links-collapsible[open] .toggle-status::before {
  content: "Hide Links";
}

.scales-toggle-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 0.65rem;
}

.scales-links-collapsible[open] .scales-toggle-arrow {
  transform: rotate(180deg);
}

.scales-links-pills {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  animation: fadeIn 0.25s ease;
}

/* Master Collapsible Wrapper for Standardized Scales */
.scales-collapsible-wrapper {
  background: #f8fbfb;
  border: 1.5px solid #b2ded7;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 92, 83, 0.06);
  transition: var(--transition);
}

.scales-collapsible-wrapper[open] {
  background: #ffffff;
  border-color: #00818a;
  box-shadow: 0 6px 24px rgba(0, 92, 83, 0.12);
}

.scales-collapsible-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #f0f9f8 0%, #e8f4f2 100%);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: var(--transition);
  gap: 1rem;
}

.scales-collapsible-summary::-webkit-details-marker {
  display: none;
}

.scales-collapsible-summary:hover {
  background: linear-gradient(135deg, #e6f6f4 0%, #dcf0ed 100%);
}

.scales-summary-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.scales-summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005c53, #00818a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 92, 83, 0.25);
}

.scales-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.scales-summary-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #042f2e;
}

.scales-summary-subtitle {
  font-size: 0.84rem;
  color: #4b7b75;
}

.scales-accordion-toggle-status::before {
  content: "Click to View Scales";
}

.scales-collapsible-wrapper[open] .scales-accordion-toggle-status::before {
  content: "Collapse Scales";
}

.scales-collapsible-wrapper[open] .scales-toggle-arrow {
  transform: rotate(180deg);
}

.scales-collapsible-content {
  padding: 1.75rem 1.6rem 0.5rem;
  animation: fadeIn 0.3s ease;
}

.scale-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1.5px solid #83c5be;
  color: #006d77;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 24px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.scale-link-pill:hover {
  background: #006d77;
  color: #ffffff;
  border-color: #006d77;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 109, 119, 0.25);
}

.scale-link-pill .pill-icon {
  font-size: 1rem;
}

/* Active Highlight Pulse on Jump Target */
.scale-target-active {
  animation: scaleBlockPulse 2s ease;
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.5) !important;
}

@keyframes scaleBlockPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.6);
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 25px 6px rgba(0, 245, 212, 0.4);
    transform: scale(1.015);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0);
    transform: scale(1);
  }
}

/* Psychometric Scale Blocks */
.scale-block {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.scale-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.scale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px dashed var(--border-light);
}

.scale-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b2f37;
}

.scale-badge {
  background: #e4faf5;
  color: #026b75;
  border: 1px solid #99dcd0;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.25);
}

.scale-instruction {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.scale-item {
  margin-bottom: 1.25rem;
}

.scale-item-prompt {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1a3c42;
  margin-bottom: 0.4rem;
}

/* Stepper Actions */
.form-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.85rem;
  margin-top: 2.2rem;
  border-top: 1.5px solid var(--border-light);
}

.btn-form-prev {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-prev:hover {
  background: #f1f7f7;
  color: var(--text-main);
  border-color: #00b4d8;
}

.btn-form-next {
  background: linear-gradient(135deg, var(--neon-cyan), #00b4d8);
  color: #06191f;
  border: none;
  padding: 0.85rem 1.95rem;
  font-size: 0.98rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
  transition: var(--transition);
}

.btn-form-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 245, 212, 0.7);
}

.btn-form-submit {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 40%, var(--neon-purple) 100%);
  color: #ffffff;
  border: none;
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.5), 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-form-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 245, 212, 0.8);
}

/* Submission Success State */
.submit-success-box {
  display: none;
  text-align: center;
  padding: 3.8rem 2rem;
}

.success-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--neon-cyan);
  color: #06191f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto 1.6rem;
  box-shadow: 0 0 25px var(--neon-cyan-glow);
}

.submit-success-box h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #09262f;
  margin-bottom: 0.85rem;
}

.submit-success-box p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.2rem;
  font-size: 1.1rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Presentation Dashboard Section (High-Tech Neon Stage Theme) */
.dashboard-section {
  padding: 5rem 0;
  background: #0d1a22;
  color: #ffffff;
  border-top: 1px solid #1a3340;
  position: relative;
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.dash-heading h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #ffffff 40%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dash-heading p {
  color: #8faec4;
  font-size: 1rem;
}

.dash-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-dash {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-dash:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.btn-presenter {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: #06191f;
  border: none;
  font-weight: 900;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
}

.btn-presenter:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 245, 212, 0.8);
  color: #000;
}

.btn-export-excel {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(0, 180, 216, 0.2));
  border: 1.5px solid var(--neon-cyan);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.25);
}

.btn-export-excel:hover {
  background: var(--neon-cyan);
  color: #06191f;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.7);
}

/* Live Google Sheet Data Source Bar */
.sheet-sync-bar {
  background: #11222c;
  border: 1.5px solid #1f4254;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.sheet-sync-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.sheet-sync-info {
  flex: 1;
  min-width: 280px;
}

.sheet-sync-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.sheet-sync-status strong {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 800;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.live {
  background: #00f5d4;
  box-shadow: 0 0 10px #00f5d4;
}

.status-indicator.syncing {
  background: #ffbe0b;
  box-shadow: 0 0 10px #ffbe0b;
  animation: pulse 1s infinite alternate;
}

.status-indicator.error {
  background: #ff3377;
  box-shadow: 0 0 10px #ff3377;
}

.status-indicator.warning {
  background: #ffbe0b;
  box-shadow: 0 0 10px #ffbe0b;
}

.status-indicator.idle {
  background: #6d888c;
}

.sheet-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(0, 245, 212, 0.15);
  color: #00f5d4;
  border: 1px solid rgba(0, 245, 212, 0.4);
}

.sheet-badge.connected {
  background: rgba(0, 245, 212, 0.18);
  color: #00f5d4;
  border-color: #00f5d4;
}

.sheet-badge.syncing {
  background: rgba(255, 190, 11, 0.18);
  color: #ffbe0b;
  border-color: #ffbe0b;
}

.sheet-badge.warning {
  background: rgba(255, 190, 11, 0.18);
  color: #ffbe0b;
  border-color: #ffbe0b;
}

.sheet-badge.error {
  background: rgba(255, 51, 119, 0.18);
  color: #ff3377;
  border-color: #ff3377;
}

.sheet-badge.idle {
  background: rgba(255, 255, 255, 0.08);
  color: #8da9b5;
  border-color: rgba(255, 255, 255, 0.15);
}

.sheet-badge-count {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(157, 78, 221, 0.2);
  color: #d0a5ff;
  border: 1px solid rgba(157, 78, 221, 0.5);
}

.sheet-sync-hint {
  font-size: 0.82rem;
  color: #8da9b5;
  margin: 0;
  line-height: 1.4;
}

.sheet-sync-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sheet-input-group {
  display: flex;
  align-items: center;
  background: #09171f;
  border: 1.5px solid #204558;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.sheet-url-input {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-family: monospace;
  width: 320px;
  outline: none;
}

.sheet-url-input::placeholder {
  color: #557785;
}

.sheet-url-input:focus {
  background: rgba(0, 245, 212, 0.04);
}

.btn-sheet-sync {
  background: linear-gradient(135deg, var(--neon-cyan), #00b4d8);
  color: #06191f;
  border: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.62rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sheet-sync:hover {
  background: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}

.btn-sheet-clear {
  background: rgba(255, 51, 119, 0.12);
  border: 1px solid rgba(255, 51, 119, 0.35);
  color: #ff6699;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.btn-sheet-clear:hover {
  background: rgba(255, 51, 119, 0.25);
  border-color: #ff3377;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 51, 119, 0.4);
}

.btn-sheet-help {
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: var(--neon-cyan);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-sheet-help:hover {
  background: rgba(0, 245, 212, 0.25);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

.sheet-quick-link {
  font-size: 0.82rem;
  color: #00b4d8;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  transition: var(--transition);
}

.sheet-quick-link:hover {
  background: rgba(0, 180, 216, 0.25);
  border-color: #00b4d8;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.35);
}

/* Sheet Setup Guide Modal Steps */
.sheet-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.guide-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #f6fbfb;
  border: 1.5px solid #d4ecee;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: var(--transition);
}

.guide-step:hover {
  border-color: #00b4d8;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.12);
}

.guide-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), #00b4d8);
  color: #06191f;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.guide-step-body {
  flex: 1;
}

.guide-step-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #082d35;
  margin-bottom: 0.3rem;
}

.guide-step-body p {
  font-size: 0.86rem;
  color: #486e77;
  margin: 0;
  line-height: 1.45;
}

.guide-step-body code {
  background: #e4f3f4;
  color: #084c5a;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* KPI Cards with Neon Highlights */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.kpi-card {
  background: #11222c;
  border: 1.5px solid #1a3947;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 12px 32px rgba(0, 245, 212, 0.2);
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.kpi-card:nth-child(2)::before {
  background: var(--neon-purple);
  box-shadow: 0 0 10px var(--neon-purple);
}

.kpi-card:nth-child(3)::before {
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
}

.kpi-card:nth-child(4)::before {
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}

.kpi-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #8da9b5;
  letter-spacing: 0.6px;
  margin-bottom: 0.45rem;
}

.kpi-value {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.kpi-card:nth-child(1) .kpi-value { color: var(--neon-cyan); text-shadow: 0 0 12px var(--neon-cyan-glow); }
.kpi-card:nth-child(2) .kpi-value { color: #d0a5ff; text-shadow: 0 0 12px var(--neon-purple-glow); }
.kpi-card:nth-child(3) .kpi-value { color: var(--neon-emerald); text-shadow: 0 0 12px var(--neon-emerald-glow); }
.kpi-card:nth-child(4) .kpi-value { color: #ff7096; text-shadow: 0 0 12px var(--neon-pink-glow); }

.kpi-sub {
  font-size: 0.82rem;
  color: #7b9ba7;
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2.8rem;
}

.chart-card {
  background: #11222c;
  border: 1.5px solid #1a3947;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.chart-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.1);
}

.chart-card-header {
  margin-bottom: 1.35rem;
}

.chart-card-header h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.chart-card-header p {
  font-size: 0.84rem;
  color: #8da9b5;
}

.canvas-container {
  width: 100%;
  height: 260px;
  position: relative;
}

canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Story Spotlight Area */
.spotlight-area {
  background: #11222c;
  border: 1.5px solid #1a3947;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.filter-tags {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.filter-tag-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #234859;
  color: #a4c4cf;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tag-btn:hover, .filter-tag-btn.active {
  background: var(--neon-cyan);
  color: #06191f;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

.stories-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.story-card {
  background: #0d1a22;
  border: 1.5px solid #1b3542;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 24px rgba(0, 245, 212, 0.18);
}

.story-card-top {
  margin-bottom: 1.1rem;
}

.story-badge {
  display: inline-block;
  background: rgba(0, 245, 212, 0.15);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.2);
}

.story-quote {
  font-size: 0.96rem;
  color: #e0f2f5;
  line-height: 1.6;
  font-style: italic;
  position: relative;
}

.story-quote::before {
  content: "“";
  font-size: 1.8rem;
  color: var(--neon-cyan);
  line-height: 0;
  margin-right: 3px;
}

.story-author-meta {
  border-top: 1px solid #1b3542;
  padding-top: 0.85rem;
  font-size: 0.82rem;
  color: #7b9ea9;
  display: flex;
  justify-content: space-between;
}

/* Wireframe Blueprint Section */
.wireframe-section {
  padding: 5rem 0;
  background: #081116;
  color: #d6eef3;
  border-top: 1px solid #162f3a;
}

.blueprint-header {
  text-align: center;
  margin-bottom: 3.2rem;
}

.blueprint-badge {
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 0.6rem;
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.3);
}

.blueprint-header h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.blueprint-header p {
  color: #8da9b5;
  max-width: 720px;
  margin: 0 auto;
}

.blueprint-container {
  background: #0b171e;
  border: 1.5px solid #1c3d4a;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.blueprint-view-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.bp-tab-btn {
  background: #11252f;
  border: 1px solid #234d5e;
  color: #b0d9e2;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 700;
}

.bp-tab-btn.active {
  background: var(--neon-cyan);
  color: #06191f;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

.wireframe-mockup-box {
  background: #081116;
  border: 1.5px dashed #204c5c;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  color: var(--neon-cyan);
  line-height: 1.45;
  overflow-x: auto;
  font-size: 0.84rem;
  white-space: pre;
}

.wf-annotated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.wf-annotated-card {
  background: #0f212a;
  border: 1px solid #1d4352;
  border-radius: 10px;
  padding: 1.35rem;
}

.wf-annotated-card h4 {
  color: var(--neon-cyan);
  font-size: 0.96rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wf-annotated-card p {
  font-size: 0.84rem;
  color: #b3d1d9;
  line-height: 1.55;
}

/* Google Form Configuration Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 22, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 245, 212, 0.2);
  border: 1.5px solid #a3ebde;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-subtle);
  cursor: pointer;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0b2f37;
  margin-bottom: 0.45rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.35rem;
}

.modal-guide-steps {
  background: #f1f8f9;
  border: 1px solid #c9e4e6;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.6rem;
  font-size: 0.88rem;
  color: #11353c;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

/* Excel Export Hub Modal Styles */
.modal-card-excel {
  max-width: 960px;
  width: 95%;
  max-height: 90vh;
  padding: 2.2rem;
  overflow-y: auto;
  border: 1.5px solid #00f5d4;
  box-shadow: 0 0 45px rgba(0, 245, 212, 0.2), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.excel-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.85rem;
}

.excel-meta-card {
  background: #f8fbfa;
  border: 1px solid #d2e7e3;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.meta-icon {
  font-size: 1.6rem;
}

.meta-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0b343b;
  line-height: 1.2;
}

.meta-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.export-formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.format-card {
  background: #ffffff;
  border: 1.5px solid #dce8e7;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.format-card:hover {
  border-color: #00b4d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.15);
}

.format-card.primary-format {
  border: 2px solid #00c9a7;
  background: linear-gradient(180deg, #f3fdfa 0%, #ffffff 100%);
  box-shadow: 0 4px 18px rgba(0, 201, 167, 0.18);
}

.format-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.format-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.format-title-group h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #092f36;
  margin-bottom: 0.2rem;
}

.format-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #037f6e;
  background: #def7ee;
  border: 1px solid #99e2cc;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

.format-tag.alt {
  color: #6a1bb0;
  background: #f4ecff;
  border-color: #d8baff;
}

.format-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-export-action {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

/* Excel Preview Table */
.excel-preview-section {
  background: #f8fbfa;
  border: 1px solid #d5e5e4;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.95rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-header h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0b343b;
}

.preview-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preview-table-wrapper {
  overflow-x: auto;
  border: 1px solid #d2e3e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  max-height: 240px;
  overflow-y: auto;
}

.excel-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.excel-preview-table th {
  background: #eef7f6;
  color: #0b343b;
  font-weight: 800;
  padding: 0.65rem 0.85rem;
  border-bottom: 1.5px solid #c9dedb;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}

.excel-preview-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #eef4f3;
  color: #21353a;
  vertical-align: top;
}

.excel-preview-table tr:hover {
  background: #f4faf9;
}

.preview-id-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  color: #008779;
  background: #e3faf4;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #a6eadb;
  white-space: nowrap;
}

.score-pill {
  display: inline-block;
  font-weight: 800;
  font-size: 0.76rem;
  background: #f1f3f9;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #3b506c;
  white-space: nowrap;
}

.preview-narrative-cell {
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
  color: #557279;
}

@media (max-width: 860px) {
  .excel-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .export-formats-grid {
    grid-template-columns: 1fr;
  }
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  background: #091720;
  border: 1.5px solid var(--neon-cyan);
  color: #ffffff;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 0 25px var(--neon-cyan-glow), 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  font-weight: 700;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  background: #060d11;
  color: #89a8b1;
  padding: 3.5rem 0 2.2rem;
  font-size: 0.9rem;
  border-top: 1px solid #142831;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  font-weight: 800;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #698790;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.4rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .flowchart-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
  .flowchart-card:nth-child(3)::after {
    display: none;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stories-carousel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .form-body {
    padding: 1.6rem;
  }
  .sheet-sync-bar {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .sheet-sync-controls {
    flex-direction: column;
    width: 100%;
  }
  .sheet-input-group {
    width: 100%;
  }
  .sheet-url-input {
    width: 100%;
  }
  .btn-sheet-sync, .btn-sheet-clear {
    width: 100%;
    justify-content: center;
  }
  .form-grid-2, .checkbox-grid, .charts-grid, .stories-carousel, .wf-annotated-grid {
    grid-template-columns: 1fr;
  }
  .stepper-header {
    overflow-x: auto;
  }
  .stepper-track {
    min-width: 320px;
  }
  .advice-box-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .flowchart-grid {
    grid-template-columns: 1fr;
  }
  .flowchart-card::after {
    display: none;
  }
  .nav-wrapper {
    height: auto;
    padding: 0.85rem 0;
    flex-wrap: wrap;
  }
  .nav-tabs {
    order: 3;
    width: 100%;
    justify-content: space-around;
  }
  .telemanas-header-card {
    font-size: 0.76rem;
    padding: 0.35rem 0.65rem;
    white-space: normal;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}
