/* Hair Expert - Sharp Editorial Scalp Diagnostic System (Inter Typography) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-main: var(--font-primary);

  --maroon-deep: #2B070C;
  --maroon-dark: #4A0E17;
  --maroon-primary: #7A1C28;
  --maroon-gradient: linear-gradient(135deg, #7A1C28 0%, #3B0910 100%);
  --maroon-light: #9B2C3B;
  --gold-accent: #D4AF37;
  --gold-light: #FFF4D6;
  
  --bg-gradient-start: #FAF2F4;
  --bg-gradient-end: #F4E4E7;
  --bg-warm-card: #FFFFFF;
  --bg-card: #FFFFFF;
  
  --text-dark: #1E1718;
  --text-muted: #5C5254;
  --text-light-muted: #8C8083;
  --accent-terracotta: #C4573B;
  --emerald-green: #2D6A4F;

  --border-light: #EADBDD;
  --border-subtle: #F3E9EB;
  --border-focus: #7A1C28;

  --shadow-soft: 0 8px 24px rgba(59, 9, 16, 0.06);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 12px 32px rgba(59, 9, 16, 0.12);
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  background-color: #F7EEF0;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  line-height: 1.5;
}

/* Phone browsers zoom focused fields if font-size is under 16px */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="file"],
textarea,
select {
  font-size: 16px !important;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--maroon-deep);
}

p, span {
  font-family: var(--font-primary);
}

button {
  font-family: var(--font-primary);
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fluid Mobile Responsive Wrapper */
.web-app-wrapper {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  background: var(--bg-gradient-start);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 36px rgba(59, 9, 16, 0.1);
  margin: 0 auto;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

/* Main App Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgb(249, 242, 243);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  max-width: calc(100% - 52px);
}

.brand-logo-img {
  display: block;
  height: 20px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
}

.pdf-brand-logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 8px;
}

.logo-leaf {
  display: none;
}

.logo-text {
  display: none;
}

.menu-btn {
  background: #FAF0F2;
  border: 1px solid var(--border-light);
  width: 38px;
  height: 38px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.menu-btn:hover {
  background: #F2E0E4;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--maroon-primary);
  border-radius: 0;
}

/* Main Content Area */
.app-screen {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 30px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 14px 18px 55px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, #F5DDE2 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  flex: 1;
  max-width: 58%;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 14px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 5px 12px 5px 6px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.hero-trust-avatars {
  display: inline-flex;
  flex-shrink: 0;
}

.hero-trust-avatars img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
}

.hero-trust-avatars img:first-child {
  margin-left: 0;
}

.hero-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.hero-trust-text strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--maroon-primary);
  letter-spacing: -0.01em;
}

.hero-trust-text span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.influencer-card {
  background: #FFFFFF;
  padding: 18px 20px 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.influencer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--maroon-primary);
  background: #FFF0F2;
  border: 1px solid rgba(122, 28, 40, 0.18);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 14px;
}

.influencer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  margin-bottom: 16px;
}

.influencer-avatar-ring {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  display: block;
  text-decoration: none;
}

.influencer-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  object-fit: cover;
  display: block;
}

.influencer-row-centered {
  justify-content: center;
  text-align: center;
}

.influencer-row-centered .influencer-name {
  justify-content: center;
}

.influencer-info {
  min-width: 0;
}

.influencer-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  font-weight: 900;
  color: var(--maroon-deep);
  line-height: 1.2;
}

.influencer-handle {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.influencer-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light-muted);
  margin-top: 4px;
}

.btn-instagram-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-instagram-follow:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.32);
}

.testi-proof-line {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin: -8px 0 16px;
}

.testi-proof-line strong {
  color: var(--maroon-primary);
  font-weight: 900;
}

.btn-hero-results {
  font-family: var(--font-primary);
  background: var(--maroon-deep);
  color: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: 0;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0;
  transition: all 0.2s ease;
}

.btn-hero-results:hover {
  background: var(--maroon-primary);
}

/* Polaroid Photo Stack */
.hero-photos {
  position: relative;
  width: 130px;
  height: 140px;
  z-index: 2;
  cursor: pointer;
}

.polaroid {
  position: absolute;
  width: 92px;
  background: #FFFFFF;
  padding: 6px 6px 8px 6px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(59, 9, 16, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.polaroid .label {
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  color: var(--maroon-deep);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.polaroid.before {
  left: -10px;
  top: 0px;
  transform: rotate(-6deg);
  z-index: 1;
}

.polaroid.after {
  right: 0px;
  top: 20px;
  transform: rotate(4deg);
  z-index: 2;
}

.hero-photos:hover .polaroid.before {
  transform: rotate(-10deg) scale(1.04);
}

.hero-photos:hover .polaroid.after {
  transform: rotate(8deg) scale(1.04);
}

/* Overlapped Process Card */
.process-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin: -35px 14px 24px 14px;
  padding: 22px 18px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-elevated);
}

.process-header-small {
  font-family: var(--font-primary);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--maroon-primary);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.process-main-title {
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 800;
  color: var(--maroon-deep);
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.process-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FAF2F4;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-step-item:hover {
  transform: translateX(4px);
  border-color: var(--border-light);
}

.step-badge {
  font-family: var(--font-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--maroon-gradient);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(122, 28, 40, 0.25);
}

.step-text h4 {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon-deep);
  letter-spacing: -0.02em;
}

.step-text p {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.btn-start-hair-test {
  font-family: var(--font-primary);
  background: var(--maroon-gradient);
  color: #FFFFFF;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 20px rgba(122, 28, 40, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-start-hair-test:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(122, 28, 40, 0.4);
}

/* ================= PROBLEM PREVIEW (before payment) ================= */
.preview-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-gradient-start);
  z-index: 85;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

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

.preview-modal-overlay [hidden] {
  display: none !important;
}

.preview-modal-overlay .form-top-bar {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 2;
}

.preview-top-spacer {
  width: 36px;
}

.preview-top-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--maroon-deep);
}

.preview-body {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 16px 24px;
  flex: 1;
}

.preview-scanning {
  text-align: center;
  padding: 48px 8px;
}

.preview-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid var(--border-light);
  border-top-color: var(--maroon-primary);
  animation: preview-spin 0.9s linear infinite;
}

@keyframes preview-spin {
  to { transform: rotate(360deg); }
}

.preview-scan-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin-bottom: 18px;
}

.preview-scan-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 300px;
  text-align: left;
}

.preview-scan-steps li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light-muted);
  transition: color 0.3s ease;
}

.preview-scan-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: #FFFFFF;
}

.preview-scan-steps li.done {
  color: var(--maroon-deep);
}

.preview-scan-steps li.done::before {
  content: '✓';
  border-color: var(--emerald-green);
  background: var(--emerald-green);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  line-height: 14px;
  text-align: center;
}

.preview-hello {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.preview-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--maroon-deep);
  line-height: 1.25;
  margin: 4px 0 16px;
  letter-spacing: -0.01em;
}

.preview-title span {
  color: var(--maroon-primary);
}

.preview-score-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}

.preview-score-ring {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(#E67E22 0deg, #F3E9EB 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 22px;
  font-weight: 900;
  color: var(--maroon-deep);
}

.preview-score-ring::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #FFFFFF;
}

.preview-score-ring span,
.preview-score-ring small {
  position: relative;
}

.preview-score-ring small {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light-muted);
  margin-top: 6px;
}

.preview-score-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.preview-score-status {
  font-size: 17px;
  font-weight: 900;
  color: var(--maroon-primary);
  margin: 2px 0 4px;
}

.preview-score-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.preview-problem-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.preview-problem-card {
  --sev: #D4A017;
  --sev-bg: #FFF7DD;
  display: flex;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--sev);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
  animation: preview-pop 0.4s ease both;
}

.preview-problem-card:nth-child(2) { animation-delay: 0.08s; }
.preview-problem-card:nth-child(3) { animation-delay: 0.16s; }
.preview-problem-card:nth-child(4) { animation-delay: 0.24s; }

@keyframes preview-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.preview-problem-card.sev-moderate {
  --sev: #E67E22;
  --sev-bg: #FFEFE0;
}

.preview-problem-card.sev-severe {
  --sev: #C0392B;
  --sev-bg: #FDE8E6;
}

.preview-problem-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sev-bg);
  color: var(--sev);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-problem-main {
  min-width: 0;
  flex: 1;
}

.preview-problem-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.preview-problem-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--maroon-deep);
  line-height: 1.25;
}

.preview-sev-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--sev);
  background: var(--sev-bg);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
}

.preview-problem-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-top: 2px;
}

.preview-problem-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 6px 0 0;
}

.preview-photos-card,
.preview-locked-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.preview-photos-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 10px;
}

.preview-photos-ok {
  font-size: 12px;
  font-weight: 800;
  color: var(--emerald-green);
}

.preview-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.preview-photo {
  margin: 0;
  text-align: center;
}

.preview-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: block;
}

.preview-photo figcaption {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

.preview-photos-note {
  font-size: 12px;
  color: var(--text-light-muted);
  margin: 10px 0 0;
}

.preview-locked-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin-bottom: 8px;
}

.preview-locked-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.preview-locked-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px dashed var(--border-subtle);
}

.preview-locked-list li:last-child {
  border-bottom: none;
}

.preview-locked-list li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 13px;
}

.preview-cta-bar {
  position: sticky;
  bottom: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -6px 18px rgba(59, 9, 16, 0.08);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.preview-cta-bar .btn-start-hair-test {
  max-width: 528px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 900;
}

.preview-cta-bar .btn-start-hair-test:disabled {
  opacity: 0.7;
  cursor: wait;
}

.preview-cta-note {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light-muted);
  margin-top: 8px;
}

/* ================= FORM MODAL ================= */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

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

.form-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.form-nav-btn {
  background: #FAF0F2;
  border: 1px solid var(--border-light);
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--maroon-deep);
}

/* 2 PROGRESS BOXES */
.two-progress-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 18px;
  background: #FFFFFF;
}

.prog-box {
  font-family: var(--font-primary);
  background: #F5E8EA;
  color: var(--maroon-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 0;
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all 0.2s ease;
}

.prog-box.active {
  background: var(--maroon-deep);
  color: #FFFFFF;
  border-color: var(--maroon-deep);
}

.prog-box.pending {
  background: #FAF0F2;
  color: #A8888D;
}

.prog-track-line {
  height: 3px;
  background: #EFEFEF;
  margin: 0 18px 14px 18px;
  border-radius: 0;
  overflow: hidden;
}

.prog-fill-line {
  width: 50%;
  height: 100%;
  background: var(--maroon-primary);
  transition: width 0.3s ease;
}

/* Form Questions */
.form-question-box {
  padding: 18px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.form-q-title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

/* Compact Sleek Input Fields with Light Borders */
.form-input-field {
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--text-dark);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 0;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.form-input-field:focus {
  border-color: var(--border-focus);
}

/* Scalp Volume 2x2 Grid */
.volume-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.vol-card {
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 8px;
  background: #FFFFFF;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.vol-card:hover, .vol-card.selected {
  border-color: var(--maroon-primary);
  background: #FAF0F2;
}

.vol-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

.vol-card p {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon-deep);
  margin-top: 8px;
}

/* Stacked Full-Width Cards with Right Thumbnail Image */
.stacked-image-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.stacked-choice-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stacked-choice-card:hover, .stacked-choice-card.selected {
  border-color: var(--maroon-primary);
  background: #FAF0F2;
}

.stacked-card-left {
  flex: 1;
  padding-right: 10px;
}

.stacked-card-left h5 {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.stacked-card-left p {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.stacked-card-thumb {
  width: 75px;
  height: 65px;
  border-radius: 0;
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.btn-form-next {
  font-family: var(--font-primary);
  background: var(--maroon-deep);
  color: #FFFFFF;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 0;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  letter-spacing: 0;
  transition: all 0.2s ease;
}

.btn-form-next:hover {
  background: var(--maroon-primary);
}

/* ================= ASSESSMENT REPORT MODAL ================= */
.report-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

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

body.report-open {
  overflow: hidden;
}

/* html2pdf's invisible full-screen overlay must never swallow touches */
.html2pdf__overlay {
  pointer-events: none !important;
}

.report-top-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.report-title-wrap {
  display: flex;
  flex-direction: column;
}

.report-main-title {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 800;
  color: var(--maroon-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.report-sub-badge {
  font-size: 9px;
  font-weight: 800;
  color: #D4AF37;
  letter-spacing: 1px;
}

/* Premium Language Toggle Switch Bar */
.lang-toggle-bar {
  background: linear-gradient(135deg, #2B070C 0%, #4A0E17 100%);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.lang-label {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  color: #FFF4D6;
  letter-spacing: 0.2px;
}

.lang-btn-group {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.lang-btn.active {
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  color: #1E1718;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  transform: scale(1.03);
}

.flag-icon {
  font-size: 14px;
}

.report-content-body {
  padding: 18px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

/* Clinical Verification Header Card */
.clinical-verification-card {
  background: linear-gradient(135deg, #1E0508 0%, #3B0910 100%);
  border: 1px solid #7A1C28;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(59, 9, 16, 0.15);
}

.cert-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.cert-micro-tag {
  font-size: 10px;
  font-weight: 800;
  color: #D4AF37;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cert-main-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
}

.cert-verified-badge {
  background: rgba(46, 125, 50, 0.25);
  color: #64FFDA;
  border: 1px solid rgba(100, 255, 218, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cert-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 11px;
}

.cert-meta-item .meta-lbl {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-right: 4px;
}

.cert-meta-item .meta-val {
  color: #FFFFFF;
  font-weight: 700;
}

.cert-meta-item .meta-val.highlight {
  color: #FFF4D6;
}

.cert-meta-item .meta-val.green {
  color: #64FFDA;
}

.report-warm-card {
  background: var(--bg-warm-card);
  border-radius: 14px;
  padding: 20px 18px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.report-greeting {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.report-diag-label {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.report-diag-title {
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: 800;
  color: var(--maroon-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.report-extra-hide {
  display: none !important;
}

/* Scalp Vitality Score */
.scalp-score-card {
  background: #FAF0F2;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0 16px 0;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.score-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon-deep);
}

.score-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--maroon-primary);
}

.score-track {
  height: 8px;
  background: #EADBDD;
  border-radius: 10px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #7A1C28 0%, #D4AF37 100%);
  border-radius: 10px;
  transition: width 0.6s ease;
}

.profile-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 16px;
}

.profile-card {
  text-align: center;
}

.profile-card .img-frame {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.profile-card .img-frame.target {
  border-color: #D4AF37;
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card p {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}

.profile-arrow {
  font-size: 22px;
  color: var(--maroon-primary);
  font-weight: 800;
}

.report-encouragement {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.report-divider {
  border-top: 1px dashed var(--border-light);
  margin: 14px 0;
}

.causes-section-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.report-causes-4grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .report-causes-4grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cause-badge-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cause-badge-card.active {
  background: var(--maroon-deep);
  color: #FFFFFF;
  border-color: var(--maroon-deep);
  box-shadow: 0 4px 12px rgba(43, 7, 12, 0.2);
}

.cause-badge-card svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  margin-bottom: 4px;
}

.cause-badge-card p {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
}

.cause-active-desc-box {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
  background: #FAF3EA;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.report-expanded-block {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.report-expanded-block h4 {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.report-expanded-block p {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  white-space: pre-line;
}

/* Home Remedies Card */
.home-remedies-card {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.05);
}

/* Roadmap Timeline */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.roadmap-timeline .month-plan-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FAF5EF;
  border-left: 4px solid var(--maroon-primary);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.month-num-badge {
  background: var(--maroon-deep);
  color: #D4AF37;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.recovery-rate-banner {
  background: linear-gradient(135deg, #7A1C28 0%, #4A0E17 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  margin-top: 18px;
  border: 1.5px solid #D4AF37;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(122, 28, 40, 0.25);
}

.month-plan-item h5 {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon-deep);
  letter-spacing: -0.02em;
}

.month-plan-item p {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 0;
}

.btn-buy-solution {
  font-family: var(--font-primary);
  background: var(--maroon-deep);
  color: #FFFFFF;
  width: 100%;
  height: 46px;
  border-radius: 0;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0;
}

.btn-buy-solution:hover {
  background: var(--maroon-primary);
}

/* Toast */
.toast {
  font-family: var(--font-primary);
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--maroon-deep);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 0;
  border: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 400;
}

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

/* Full-screen loader while the paid report is generated */
.report-loader {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 3, 6, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-primary);
  touch-action: none;
}

.report-loader[hidden] {
  display: none;
}

.report-loader-card {
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: reportLoaderIn 0.25s ease-out;
}

.report-loader-spinner {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.report-loader-spinner::before,
.report-loader-spinner span {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.report-loader-spinner::before {
  border: 6px solid #F3E3E6;
}

.report-loader-spinner span {
  border: 6px solid transparent;
  border-top-color: var(--maroon-primary);
  border-right-color: var(--maroon-light);
  animation: reportLoaderSpin 0.9s linear infinite;
}

.report-loader-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}

.report-loader-badge[hidden] {
  display: none;
}

.report-loader-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: var(--maroon-deep);
}

.report-loader-step {
  min-height: 40px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #4B5563;
}

.report-loader-bar {
  height: 8px;
  border-radius: 999px;
  background: #F3E3E6;
  overflow: hidden;
}

.report-loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--maroon-gradient);
  transition: width 0.8s ease;
}

.report-loader-time {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
}

.report-loader-warn {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #9A3412;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

body.report-loading {
  overflow: hidden;
}

@keyframes reportLoaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes reportLoaderIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .report-loader-spinner span { animation-duration: 2.4s; }
  .report-loader-card { animation: none; }
}

/* ================= STEP 7: 4-GRID SCALP PHOTO UPLOADER ================= */
.scalp-grid-uploader {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.scalp-grid-card {
  position: relative;
  border: 1px dashed var(--border-light);
  border-radius: 0;
  background: #FAF0F2;
  height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.scalp-grid-card:hover {
  border-color: var(--maroon-primary);
  border-style: solid;
  background: #F5E4E7;
}

.scalp-grid-card.photo-missing {
  border-color: #C4573B;
  border-style: solid;
  box-shadow: 0 0 0 2px rgba(196, 87, 59, 0.18);
}

.scalp-watermark-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
  filter: contrast(1.1) brightness(0.98);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.scalp-watermark-text {
  font-family: var(--font-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 700;
  color: rgba(122, 28, 40, 0.22);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.scalp-grid-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6px;
}

.scalp-grid-icon {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--maroon-deep);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px auto;
}

.scalp-grid-label {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 1px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.scalp-grid-sub {
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 600;
  color: var(--maroon-dark);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.scalp-preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  display: none;
}

.scalp-grid-card.has-photo .scalp-preview-img {
  display: block;
}

.scalp-grid-card.has-photo .scalp-grid-content,
.scalp-grid-card.has-photo .scalp-watermark-text,
.scalp-grid-card.has-photo .scalp-watermark-bg {
  opacity: 0;
  pointer-events: none;
}

.scalp-uploaded-badge {
  font-family: var(--font-primary);
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 4;
  background: var(--maroon-deep);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 0;
  display: none;
}

.scalp-grid-card.has-photo .scalp-uploaded-badge {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ================= PRODUCT CAROUSEL & VALUE SECTIONS ================= */
.complete-hair-care-section, .additionally-provide-section {
  padding: 16px;
  background: #FFFFFF;
  border-radius: 0;
  margin: 14px 0;
  border: 1px solid var(--border-light);
}

.section-heading-clean {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.product-cards-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  overflow: visible;
}

.prod-reason {
  font-size: 10px;
  font-weight: 700;
  color: var(--maroon-primary);
  line-height: 1.35;
  margin: 2px 0 4px;
}

.product-cards-scroll::-webkit-scrollbar {
  display: none;
}

.home-care-grid .product-card-item {
  flex: 1 1 auto;
  min-width: 0;
}

.product-card-item {
  flex: 0 0 135px;
  background: #FFFFFF;
  border-radius: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-light);
}

.prod-img-box {
  width: 100%;
  height: 95px;
  border-radius: 0;
  background: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  border: 1px solid var(--border-subtle);
}

.prod-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-title {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 4px;
  min-height: 30px;
}

.prod-price {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon-primary);
  margin-bottom: 6px;
}

.btn-add-cart {
  font-family: var(--font-primary);
  background: #FFFFFF;
  color: var(--maroon-deep);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--maroon-primary);
  color: #FFFFFF;
  border-color: var(--maroon-primary);
}

/* Additionally Provide Feature Cards */
.value-feature-card {
  background: #FAF8F6;
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge-free {
  font-family: var(--font-primary);
  display: inline-block;
  background: var(--maroon-deep);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 0;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.badge-free .strike {
  text-decoration: line-through;
  opacity: 0.75;
  margin-left: 3px;
}

.value-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.value-sub {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.3;
}

.coach-card-right {
  width: 65px;
  height: 65px;
  border-radius: 0;
  border: 1px solid var(--border-light);
  overflow: hidden;
  flex-shrink: 0;
}

.coach-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Premium Maroon Download Report Button */
.download-report-wrap {
  margin: 24px 0 30px 0;
}

.btn-download-report {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, #4A0E17 0%, #7A1C28 50%, #3B0910 100%);
  color: #FFFFFF;
  border: 1.5px solid #9B2C3B;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-download-report:hover {
  background: linear-gradient(135deg, #7A1C28 0%, #9B2C3B 50%, #4A0E17 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(122, 28, 40, 0.5);
  border-color: #D4AF37;
}

.dl-icon {
  font-size: 18px;
}

@media print {
  body * {
    visibility: hidden;
  }
  #report-modal-overlay, #report-modal-overlay * {
    visibility: visible;
  }
  #report-modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .btn-download-report, .form-nav-btn, .lang-toggle-bar {
    display: none !important;
  }
}

/* ================= SLIDE-OUT NAVIGATION DRAWER ================= */
.nav-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer-panel {
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.nav-drawer-overlay.active .nav-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: #FAF0F2;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 700;
  color: var(--maroon-deep);
  cursor: pointer;
}

.drawer-links-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.drawer-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
}

.drawer-link-item:hover {
  background: #FAF0F2;
  color: var(--maroon-primary);
}

.link-icon {
  font-size: 18px;
}

.drawer-footer-card {
  padding: 16px 20px;
  background: #FFF8F0;
  border-top: 1px solid var(--border-light);
}

.footer-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #2E7D32;
  background: #E8F5E9;
  padding: 2px 6px;
  margin-bottom: 6px;
}

.drawer-footer-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.btn-drawer-test {
  width: 100%;
  height: 42px;
  background: var(--maroon-deep);
  color: #FFF;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ================= BUY NOW & PRODUCT CLICK BADGES ================= */
.product-card-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  padding: 10px;
}

.product-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-light);
}

.prod-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}

.prod-img-box img {
  transition: transform 0.3s ease;
}

.product-card-item:hover .prod-img-box img {
  transform: scale(1.05);
}

.btn-buy-now {
  font-family: var(--font-primary);
  width: 100%;
  padding: 9px 12px;
  background: var(--maroon-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(122, 28, 40, 0.2);
}

a.btn-buy-now {
  display: block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  color: #FFFFFF;
}

.btn-buy-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(122, 28, 40, 0.35);
}

.prod-click-badge {
  font-size: 10px;
  font-weight: 800;
  color: #C4573B;
  background: #FFF0F2;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-top: 4px;
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonials-slider {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testi-info {
  flex: 1;
}

.testi-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--maroon-deep);
}

.testi-loc {
  font-size: 11px;
  color: var(--text-muted);
}

.testi-stars {
  font-size: 13px;
  color: #FFB800;
  margin-top: 2px;
}

.testi-rating {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  margin-left: 4px;
}

.testi-badge {
  display: inline-block;
  background: var(--maroon-gradient);
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.testi-quote {
  font-size: 13px;
  color: #383032;
  line-height: 1.5;
  font-style: italic;
}

/* ================= BLOGS SECTION ================= */
.blogs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-card-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-item:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  border-color: var(--maroon-primary);
  box-shadow: var(--shadow-soft);
}

.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.blog-category {
  font-size: 10px;
  font-weight: 800;
  color: var(--maroon-primary);
  background: #FAF2F4;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.blog-read-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 6px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.blog-read-more {
  font-size: 12px;
  font-weight: 800;
  color: var(--maroon-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.blog-card-item:hover .blog-read-more {
  transform: translateX(4px);
}

.btn-view-more-blogs {
  font-family: var(--font-primary);
  width: 100%;
  margin-top: 16px;
  padding: 13px 16px;
  background: #FFFFFF;
  color: var(--maroon-primary);
  border: 1.5px solid var(--maroon-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-more-blogs svg {
  transition: transform 0.25s ease;
}

.btn-view-more-blogs:hover,
.btn-view-more-blogs:focus-visible {
  background: var(--maroon-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(122, 28, 40, 0.25);
}

.btn-view-more-blogs:hover svg {
  transform: translateX(4px);
}

.btn-view-more-blogs:active {
  transform: scale(0.98);
}

/* Blog Reader Modal */
.blog-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 23, 24, 0.7);
  backdrop-filter: blur(6px);
  z-index: 95;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.blog-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.blog-modal-card {
  width: 100%;
  max-width: 520px;
  height: 90vh;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.blog-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: #FAF2F4;
}

.blog-full-article {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  line-height: 1.65;
}

.blog-full-article h1 {
  font-size: 21px;
  color: var(--maroon-deep);
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-full-article p {
  font-size: 14px;
  color: #383032;
  margin-bottom: 16px;
}

/* ================= FAQ ACCORDION ================= */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--maroon-light);
  box-shadow: var(--shadow-card);
}

.faq-question-btn {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon-deep);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--maroon-primary);
  transition: transform 0.25s ease;
}

.faq-answer-panel {
  padding: 0 16px 14px 16px;
  display: none;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px dashed var(--border-subtle);
  margin-top: 2px;
  padding-top: 10px;
}

.faq-item.active .faq-answer-panel {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ================= CASHFREE PAYMENT MODAL ================= */
.cashfree-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(6px);
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cashfree-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cashfree-modal-card {
  width: 100%;
  max-width: 460px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cf-header {
  background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
  color: #FFF;
  padding: 18px 20px;
}

.cf-logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-badge-icon {
  font-size: 20px;
}

.cf-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.cf-verified-badge {
  font-size: 10px;
  font-weight: 700;
  color: #64FFDA;
  display: block;
}

.cf-close-btn {
  background: none;
  border: none;
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.cf-close-btn:hover {
  opacity: 1;
}

.cf-subtitle {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 4px;
}

.cf-body {
  padding: 20px;
}

.cf-amount-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.cf-amount-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.cf-amount-label {
  font-size: 10px;
  font-weight: 800;
  color: #166534;
  letter-spacing: 1px;
}

.cf-session-status {
  font-size: 10px;
  font-weight: 700;
  color: #15803D;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.6s infinite;
}

.cf-amount-val {
  font-size: 26px;
  font-weight: 900;
  color: #0A192F;
  margin: 4px 0;
}

.cf-strike {
  font-size: 14px;
  text-decoration: line-through;
  color: #888;
  margin-left: 6px;
}

.cf-disc-tag {
  font-size: 11px;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.cf-inc-tag {
  font-size: 11px;
  color: #166534;
  font-weight: 600;
}

.cf-payment-methods {
  margin-bottom: 18px;
}

.cf-method-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cf-method-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  background: #FFF;
  transition: all 0.2s ease;
}

.cf-method-option.active {
  border-color: #0077B6;
  background: #F0F9FF;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.12);
}

.cf-method-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-method-left h5 {
  font-size: 14px;
  font-weight: 700;
  color: #0A192F;
}

.cf-method-left p {
  font-size: 11px;
  color: #555;
}

.cf-radio {
  font-size: 14px;
  color: #0077B6;
  font-weight: 900;
}

.btn-cf-pay-now {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #0077B6 0%, #023E8A 100%);
  color: #FFF;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3);
  transition: all 0.25s ease;
}

.btn-cf-pay-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 119, 182, 0.4);
}

.cf-sec-footer {
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ================= CASHFREE UPI QR SCANNER STYLES ================= */
.cf-tab-group {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: var(--radius-md);
}

.cf-tab-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748B;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-tab-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.qr-scanner-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.qr-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.6s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.qr-image-wrapper {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 12px auto;
  padding: 8px;
  background: #FFFFFF;
  border: 2px solid #0B2545;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.qr-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  border: 2px solid #0A192F;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.upi-apps-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.upi-app-chip {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  color: #FFF;
}

.upi-app-chip.gpay { background: #4285F4; }
.upi-app-chip.phonepe { background: #5F259F; }
.upi-app-chip.paytm { background: #00BAF2; }
.upi-app-chip.bhim { background: #E65100; }
.upi-app-chip.amz { background: #FF9900; }

.upi-copy-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.upi-id-lbl {
  font-size: 11px;
  color: #334155;
}

.btn-copy-upi {
  background: #0F172A;
  color: #FFF;
  border: none;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy-upi:hover {
  background: #334155;
}

.qr-timer-text {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
}

/* Vertical UPI Payment App Buttons */
.vertical-upi-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.btn-upi-app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  width: 100%;
}

.btn-upi-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-upi-app.paytm { border-color: #00BAF2; background: #F0FBFF; }
.btn-upi-app.paytm:hover { background: #E0F7FF; }

.btn-upi-app.phonepe { border-color: #5F259F; background: #F6F0FD; }
.btn-upi-app.phonepe:hover { background: #EFE3FA; }

.btn-upi-app.gpay { border-color: #4285F4; background: #F0F5FE; }
.btn-upi-app.gpay:hover { background: #E3EDFD; }

.btn-upi-app.bhim { border-color: #E65100; background: #FFF6F0; }
.btn-upi-app.bhim:hover { background: #FFECE0; }

.btn-upi-app.amz { border-color: #FF9900; background: #FFFBF0; }
.btn-upi-app.amz:hover { background: #FFF5E0; }

.upi-app-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.upi-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #FFFFFF;
  flex-shrink: 0;
}

.upi-app-icon.paytm { background: #00BAF2; }
.upi-app-icon.phonepe { background: #5F259F; }
.upi-app-icon.gpay { background: #4285F4; }
.upi-app-icon.bhim { background: #E65100; }
.upi-app-icon.amz { background: #FF9900; }

.upi-app-name {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.upi-app-sub {
  font-size: 10px;
  color: #64748B;
  font-weight: 500;
}

.upi-app-arrow {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
}

/* Light Shade Recovery Banner Design - Fully Mobile Responsive */
.recovery-rate-banner-light {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1.5px solid #86EFAC;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(22, 101, 52, 0.08);
  position: relative;
  overflow: hidden;
}

.recovery-rate-banner-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #166534, #15803D);
}

.rec-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.rec-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.rec-star-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #166534;
  color: #FEF08A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
  flex-shrink: 0;
}

.rec-banner-text-group {
  min-width: 0;
  flex: 1;
}

.rec-banner-sub {
  font-size: 10px;
  font-weight: 800;
  color: #15803D;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.rec-banner-title {
  font-size: 14px;
  font-weight: 800;
  color: #064E3B;
  margin-top: 2px;
  line-height: 1.35;
  word-break: break-word;
}

.rec-banner-right {
  flex-shrink: 0;
}

.rec-perc-badge {
  background: #166534;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

/* Bio-Actives Section inside Recovery Card */
.bio-actives-card {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEFCE8 100%);
  border: 1px solid #FDE047;
  border-radius: 12px;
  padding: 14px 16px;
}

.bio-actives-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.bio-actives-img {
  width: 70px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #FACC15;
  flex-shrink: 0;
}

.bio-actives-text-group {
  min-width: 0;
  flex: 1;
}

.bio-actives-badge {
  font-size: 10px;
  font-weight: 800;
  color: #854D0E;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.bio-actives-title {
  font-size: 13px;
  font-weight: 800;
  color: #713F12;
  line-height: 1.3;
  margin-top: 2px;
}

.bio-actives-desc {
  font-size: 11px;
  color: #854D0E;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Media Queries for Mobile Screens */
@media (max-width: 576px) {
  .recovery-rate-banner-light {
    padding: 14px;
    margin-top: 16px;
    border-radius: 12px;
  }

  .rec-banner-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .rec-banner-left {
    gap: 10px;
    width: 100%;
  }

  .rec-star-pill {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .rec-banner-sub {
    font-size: 9px;
  }

  .rec-banner-title {
    font-size: 13px;
  }

  .rec-banner-right {
    align-self: flex-start;
  }

  .rec-perc-badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .bio-actives-card {
    padding: 12px;
  }

  .bio-actives-header {
    gap: 10px;
  }

  .bio-actives-img {
    width: 55px;
    height: 46px;
  }

  .bio-actives-badge {
    font-size: 9px;
  }

  .bio-actives-title {
    font-size: 12px;
  }

  .bio-actives-desc {
    font-size: 10.5px;
    line-height: 1.45;
  }
}

/* Visual Remedy Photo Cards for Accessible Learning */
.remedy-grid-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.remedy-img-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}

.remedy-img-card:hover {
  transform: translateY(-2px);
}

.remedy-img-card img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  display: block;
}

.remedy-img-card .remedy-caption {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  line-height: 1.3;
}

@media print {
  body * {
    visibility: hidden;
  }
  #report-modal-overlay, #report-modal-overlay * {
    visibility: visible;
  }
  #report-modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #FFFFFF !important;
  }
  .btn-download-report, 
  .download-report-wrap,
  .form-nav-btn, 
  .lang-toggle-bar, 
  .report-top-bar,
  .report-products-section,
  .no-print {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Legal pages — Privacy, Terms, Refund */
.legal-wrapper .app-header {
  padding-right: 16px;
}

.legal-back-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--maroon-primary);
  text-decoration: none;
}

.legal-page {
  padding: 20px 16px 40px;
}

.legal-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon-primary);
  margin-bottom: 6px;
}

.legal-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-alert {
  background: #FFF0F2;
  border: 1px solid rgba(122, 28, 40, 0.2);
  border-radius: 12px;
  padding: 14px 14px 6px;
  margin-bottom: 18px;
}

.legal-alert strong {
  display: block;
  color: var(--maroon-deep);
  font-size: 13px;
  margin-bottom: 8px;
}

.legal-alert p {
  font-size: 13px;
  line-height: 1.6;
  color: #3F2A2E;
  margin-bottom: 10px;
}

.legal-hi {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  color: #4A0E17 !important;
}

.legal-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.legal-tabs a {
  font-size: 11px;
  font-weight: 800;
  color: var(--maroon-primary);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 7px 12px;
}

.legal-tabs a.active {
  background: var(--maroon-deep);
  color: #fff;
  border-color: var(--maroon-deep);
}

.legal-body h2 {
  font-size: 16px;
  margin: 22px 0 8px;
}

.legal-body p,
.legal-body li {
  font-size: 13.5px;
  line-height: 1.65;
  color: #3A3032;
}

.legal-body p {
  margin-bottom: 10px;
}

.legal-body ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-contact {
  margin-top: 28px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.legal-contact h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.legal-contact ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.legal-contact li {
  font-size: 13px;
  margin-bottom: 6px;
  color: #3A3032;
}

.legal-contact a {
  color: var(--maroon-primary);
  font-weight: 700;
}

.legal-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

a.blog-card-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 10px;
  padding-right: 16px;
}

.blog-page-header .brand-logo-img {
  max-width: 150px;
  height: auto;
}

.blog-header-cta {
  flex-shrink: 0;
  background: var(--maroon-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(128, 24, 38, 0.25);
}

.blog-page {
  padding: 14px 16px 32px;
}

.blog-breadcrumb {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-breadcrumb a {
  color: var(--maroon-primary);
  text-decoration: none;
}

.blog-page-article {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
}

.blog-page-article h1 {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--maroon-deep);
  margin: 8px 0 14px;
}

.blog-byline {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 6px 0 14px;
}

.blog-page-cover {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.blog-page-content {
  font-size: 15px;
  line-height: 1.75;
  color: #383032;
}

.blog-page-content h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--maroon-deep);
  margin: 24px 0 10px;
}

.blog-page-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--maroon-deep);
  margin: 18px 0 8px;
}

.blog-page-content p {
  margin: 0 0 14px;
}

.blog-page-content ul,
.blog-page-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.blog-page-content li {
  margin-bottom: 8px;
}

.blog-page-content strong {
  color: #1E1718;
}

.blog-not-found p {
  font-size: 14px;
  color: var(--text-muted);
}

.blog-cta-card {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #FFF0F2 0%, #FFFFFF 70%);
  border: 1px solid #F1D5DA;
  text-align: center;
}

.blog-cta-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon-primary);
  margin: 0 0 6px;
}

.blog-cta-card h2 {
  font-size: 19px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin: 0 0 8px;
}

.blog-cta-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #4B4245;
  margin: 0 0 14px;
}

.blog-cta-btn {
  display: block;
  text-decoration: none;
  text-align: center;
}

.blog-cta-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.blog-related {
  margin-top: 22px;
}

.blogs-page-head {
  text-align: center;
  margin: 4px 0 16px;
}

.blogs-page-head h1 {
  font-size: 23px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin: 0 0 6px;
}

.blogs-page-head p:last-child {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.home-blogs-list,
.blogs-page-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a.btn-view-more-blogs {
  text-decoration: none;
}

.blog-related h2 {
  font-size: 17px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin: 0 0 12px;
}

.blog-related .blogs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 380px) {
  .blog-page-header .brand-logo-img { max-width: 120px; }
  .blog-header-cta { font-size: 11px; padding: 8px 11px; }
}

.support-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
}

.support-card h1 {
  font-size: 23px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin: 0 0 8px;
}

.support-intro {
  font-size: 13px;
  line-height: 1.55;
  color: #4B4245;
  margin: 0 0 16px;
}

.support-errors {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.support-errors p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #B91C1C;
}

.support-errors p + p {
  margin-top: 4px;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support-field > span {
  font-size: 13px;
  font-weight: 800;
  color: var(--maroon-deep);
}

.support-field em {
  color: #DC2626;
  font-style: normal;
}

.support-field small {
  font-weight: 600;
  color: var(--text-muted);
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--text-dark);
  background: #FFFBFB;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 12px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.support-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  outline: none;
  border-color: var(--maroon-primary);
  box-shadow: 0 0 0 3px rgba(128, 24, 38, 0.12);
}

.support-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-alt {
  margin: 16px 0 0;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
}

.support-alt a {
  color: var(--maroon-primary);
  font-weight: 800;
}

.support-success {
  text-align: center;
}

.support-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-success p {
  font-size: 13px;
  line-height: 1.55;
  color: #4B4245;
  margin: 0 0 10px;
}

.support-ticket-id {
  display: inline-block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--maroon-deep);
  background: #FFF0F2;
  border: 1px dashed var(--maroon-primary);
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 14px;
}

.support-secondary-link {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--maroon-primary);
}

.btn-drawer-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  margin-top: 10px;
  box-sizing: border-box;
  background: #fff;
  color: var(--maroon-deep);
  border: 1.5px solid var(--maroon-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.btn-drawer-support:hover {
  background: #FFF0F2;
}

.floating-support-btn {
  position: fixed;
  right: max(16px, calc((100vw - 520px) / 2 + 16px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--maroon-gradient);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(74, 14, 23, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(74, 14, 23, 0.42);
}

@media (max-width: 380px) {
  .floating-support-btn span { display: none; }
  .floating-support-btn { padding: 13px; }
}

.overlay-support-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--maroon-primary);
  text-decoration: underline;
}

.legal-footer {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 16px 28px;
  border-top: 1px solid var(--border-light);
  background: #FFF0F2;
}

.legal-footer a,
.app-legal-footer a {
  font-size: 12px;
  font-weight: 800;
  color: var(--maroon-primary);
  text-decoration: underline;
}

.app-legal-footer {
  padding: 24px 16px 76px;
  text-align: center;
  border-top: 1px solid var(--border-light);
  margin-top: 30px;
  background: #FFF0F2;
}

.app-legal-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.app-legal-disclaimer {
  font-size: 11px;
  color: #475569;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
  font-weight: 600;
}

.drawer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.drawer-legal-links a {
  font-size: 12px;
  font-weight: 800;
  color: var(--maroon-primary);
  text-decoration: underline;
}

.report-modal-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 16px 28px;
  background: #fff;
  color: #1E1718;
}

.look-section {
  margin: 22px 0;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.look-section.look-dark {
  background: #0B0B0B;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 18px 16px 8px;
}

.look-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.look-heading-light {
  color: #111111;
}

.look-issue-list {
  display: flex;
  flex-direction: column;
}

.look-issue-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.look-issue-list .look-issue-row:first-child {
  border-top: none;
  padding-top: 0;
}

.look-issue-row img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #E8EEF5;
  flex-shrink: 0;
}

.look-issue-row h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.look-issue-row p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
}

.look-action-card {
  background: #0B0B0B;
  color: #FFFFFF;
  border-radius: 18px;
  padding: 8px 16px 12px;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.look-action-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.look-action-card .look-action-item:first-child {
  border-top: none;
}

.look-tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #22C55E;
  color: #22C55E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.look-action-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.look-action-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.photo-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo-data-card {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.photo-data-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: #F1F5F9;
}

.photo-data-body { padding: 10px 11px 12px; }
.photo-data-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.photo-data-top strong { font-size: 13px; color: #3B0910; }
.photo-data-top span {
  font-size: 10px;
  font-weight: 700;
  color: #801826;
  background: #F9F2F3;
  border-radius: 99px;
  padding: 2px 8px;
}
.photo-data-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

.fuel-principle {
  font-size: 12.5px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 12px;
}

.fuel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #166534;
  margin: 0 0 10px;
}
.fuel-title i {
  width: 4px;
  height: 18px;
  background: #16A34A;
  border-radius: 2px;
  display: inline-block;
}

.fuel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.fuel-table th {
  text-align: left;
  background: #F8FAFC;
  color: #0F172A;
  font-size: 11px;
  padding: 8px 9px;
  border-bottom: 1px solid #E2E8F0;
}
.fuel-table td {
  padding: 10px 9px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: top;
  color: #334155;
  line-height: 1.45;
}
.fuel-table td b { color: #166534; }
.fuel-table small { color: #64748B; }

.superfood-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.superfood-card {
  border: 1px solid #E2E8F0;
  border-top: 3px solid #16A34A;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.superfood-card:nth-child(2) { border-top-color: #F59E0B; }
.superfood-card:nth-child(3) { border-top-color: #38BDF8; }
.superfood-card:nth-child(4) { border-top-color: #FB923C; }
.superfood-card h5 { margin: 0 0 6px; font-size: 13px; color: #0F172A; }
.superfood-card p { margin: 0; font-size: 12px; line-height: 1.5; color: #475569; }

.golden-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.golden-do, .golden-avoid {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
}
.golden-do { background: #F0FDF4; border: 1px solid #BBF7D0; }
.golden-avoid { background: #FEF2F2; border: 1px solid #FECACA; }
.golden-do h5 { margin: 0 0 8px; color: #166534; font-size: 13px; }
.golden-avoid h5 { margin: 0 0 8px; color: #B91C1C; font-size: 13px; }
.golden-do ul, .golden-avoid ul { margin: 0; padding-left: 16px; color: #334155; line-height: 1.55; }

@media (max-width: 640px) {
  .photo-data-grid, .superfood-grid, .golden-grid { grid-template-columns: 1fr; }
}

.cause-note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cause-note-card {
  border: 1px solid #F1D5DA;
  border-left: 4px solid #801826;
  border-radius: 10px;
  padding: 10px 12px;
  background: #FFFBFB;
  break-inside: avoid;
  page-break-inside: avoid;
}

.cause-note-card h5 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #3B0910;
}

.cause-note-card p {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

.cause-note-card p:last-child {
  margin-bottom: 0;
}

.cause-note-card b {
  color: #801826;
}

.month-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.month-plan-card {
  border: 1px solid #E2E8F0;
  border-top: 4px solid #16A34A;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
}

.month-plan-card:nth-child(2) { border-top-color: #F59E0B; }
.month-plan-card:nth-child(3) { border-top-color: #801826; }

.month-plan-tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

.month-plan-card h5 {
  margin: 2px 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
}

.month-plan-focus {
  margin: 0 0 6px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #475569;
  font-style: italic;
}

.month-plan-card ul {
  margin: 0 0 8px;
  padding-left: 16px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #334155;
}

.month-plan-milestone {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #166534;
  background: #F0FDF4;
  border-radius: 6px;
  padding: 6px 8px;
}

@media (max-width: 560px) {
  .month-plan-grid { grid-template-columns: 1fr; }
}

.pdf-brand-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #801826;
  margin-bottom: 14px;
}

.pdf-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #801826;
}

.pdf-main-title {
  font-size: 20px;
  font-weight: 800;
  color: #3B0910;
  margin: 4px 0 0;
  line-height: 1.25;
}

.pdf-meta-right {
  font-size: 11px;
  color: #475569;
  text-align: right;
  line-height: 1.5;
}

.pdf-hello {
  font-size: 16px;
  font-weight: 800;
  color: #801826;
  margin-bottom: 8px;
}

.pdf-user-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pdf-user-chips span {
  font-size: 10px;
  font-weight: 700;
  background: #F9F2F3;
  border: 1px solid #E8D0D4;
  color: #3B0910;
  border-radius: 999px;
  padding: 4px 9px;
}

.pdf-section {
  margin: 16px 0 18px;
  break-inside: avoid;
}

.pdf-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #3B0910;
  margin-bottom: 8px;
}

.pdf-step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #801826;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.user-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.user-photo-grid figure {
  margin: 0;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.user-photo-grid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  background: #EEE;
}

.user-photo-grid figcaption {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 5px 4px 6px;
  color: #475569;
}

.pdf-note, .pdf-body, .pdf-split3 p, .pdf-olist {
  font-size: 12px;
  line-height: 1.55;
  color: #334155;
  white-space: pre-line;
}

.pdf-note { font-style: italic; margin-bottom: 8px; }

.viz-chart { display: flex; flex-direction: column; gap: 8px; }
.viz-row {
  display: grid;
  grid-template-columns: 110px 1fr 28px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #3B0910;
}
.viz-track {
  height: 9px;
  background: #F1E6E8;
  border-radius: 99px;
  overflow: hidden;
}
.viz-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #801826, #C45C6A);
  border-radius: 99px;
}
.viz-fill.alt { background: linear-gradient(90deg, #AA7C11, #D4AF37); }
.viz-fill.muted { background: linear-gradient(90deg, #64748B, #94A3B8); }

.confidence-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.confidence-pills em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 7px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.pdf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.pdf-table th, .pdf-table td {
  border: 1px solid #E2E8F0;
  padding: 6px 7px;
  text-align: left;
  vertical-align: top;
}
.pdf-table th {
  background: #F9F2F3;
  color: #3B0910;
  font-size: 10px;
}

.pdf-olist { padding-left: 18px; }
.pdf-olist li { margin: 4px 0; }

.pdf-split3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.pdf-split3 div {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px;
}
.pdf-split3 h5 {
  margin: 0 0 4px;
  font-size: 10px;
  color: #801826;
}

.pdf-endbox { padding-bottom: 4px; }
.pdf-footer-line {
  font-size: 9px;
  color: #64748B;
  border-top: 1px dashed #CBD5E1;
  padding-top: 10px;
  margin-top: 8px;
}

.paytm-qr {
  width: 210px;
  height: 210px;
  margin: 12px auto;
  background: #FFF;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}
.paytm-qr img,
.paytm-qr canvas {
  display: block;
  margin: 0 auto;
}
.pay-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--maroon-deep);
  margin: 0 0 6px;
}
.pay-note,
.paytm-wait {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin: 0 0 8px;
}
#paytm-error {
  color: #991B1B;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .user-photo-grid { grid-template-columns: 1fr 1fr; }
  .pdf-split3 { grid-template-columns: 1fr; }
  .pdf-brand-bar { flex-direction: column; }
  .pdf-meta-right { text-align: left; }
  .viz-row { grid-template-columns: 90px 1fr 28px; }
}



