/* ==========================================================================
   VELVETSEXT - LUXURIOUS CUTE VELVET & ROSE GOLD DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Light Velvet & Rose Gold Palette */
  --bg-deep: #f5f2f9;
  --bg-velvet: #e9d5ff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --surface-pill: rgba(255, 255, 255, 0.85);
  --surface-pill-hover: rgba(236, 72, 153, 0.14);

  /* Rose Gold & Cute Velvet Accents */
  --rose-primary: #ec4899;
  --rose-glow: #ff65b3;
  --rose-dark: #be185d;
  --rose-deep: #831843;
  
  --gold-primary: #d97706;
  --gold-glow: #f59e0b;
  --gold-light: #fef08a;

  --violet-glow: #a855f7;
  --violet-deep: #4c1d95;

  /* Typography */
  --font-serif: 'Cinzel', serif, Georgia;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-main: #2e1065;
  --text-muted: #5b21b6;
  --text-subtle: #831843;

  /* Radii & Shadows */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 9999px;

  --shadow-velvet: 0 25px 70px rgba(168, 85, 247, 0.16), 0 10px 30px rgba(236, 72, 153, 0.12);
  --shadow-rose: 0 12px 35px rgba(236, 72, 153, 0.35);
  --border-gold-rose: 1px solid rgba(236, 72, 153, 0.3);
  --border-active: 1px solid rgba(190, 24, 93, 0.75);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f2f9;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
    url('assets/pg2.jpg'),
    url('assets/bg.jpg');
  background-size: cover, cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Remove overlays for pure background image clarity */
body::before {
  display: none !important;
}

body::after {
  display: none !important;
}

.app-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient Floating Sparkle Effects */
.bg-sparkle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sparkle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ec4899;
  border-radius: 50%;
  box-shadow: 0 0 10px #ec4899, 0 0 20px #a855f7;
  animation: cuteSparkleFloat 8s ease-in-out infinite alternate;
}

@keyframes cuteSparkleFloat {
  0% { transform: translateY(0) scale(0.6); opacity: 0.2; }
  50% { transform: translateY(-25px) scale(1.2); opacity: 0.9; }
  100% { transform: translateY(-50px) scale(0.6); opacity: 0.2; }
}

/* ==========================================================================
   HEADER NAVBAR (ENHANCED LIGHT GLASSMORPHISM)
   ========================================================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 3vw, 44px);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(236, 72, 153, 0.25);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.1);
}

.nav-brand-left {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: clamp(6px, 0.6vw, 9px) clamp(16px, 1.5vw, 24px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.18), 0 0 20px rgba(168, 85, 247, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.nav-brand-left:hover {
  background: #ffffff;
  border-color: #ec4899;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.3), 0 0 25px rgba(168, 85, 247, 0.2);
}

.brand-logo-left {
  height: clamp(40px, 3.8vw, 62px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(236, 72, 153, 0.25));
}

.nav-title-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

.brand-name-centered {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.85vw, 1.7rem);
  font-weight: 800;
  letter-spacing: clamp(2.5px, 0.4vw, 5px);
  background: linear-gradient(135deg, #3b0764 0%, #a855f7 40%, #ec4899 75%, #be185d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(236, 72, 153, 0.25);
}

.header-action {
  display: flex;
  align-items: center;
  z-index: 2;
}

.private-badge {
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 700;
  color: #701a75;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  border-radius: var(--radius-pill);
  padding: 8px clamp(12px, 1.5vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.15);
  backdrop-filter: blur(12px);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-primary);
  box-shadow: 0 0 12px var(--rose-primary);
  animation: pulseCuteDot 1.5s infinite alternate;
}

@keyframes pulseCuteDot {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.4); }
}

/* ==========================================================================
   MAIN 2-COLUMN PAGE LAYOUT (LEFT: QUESTIONS, RIGHT: SINGLE BALLOON)
   ========================================================================== */
.quiz-page-layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 20px 45px;
  gap: clamp(20px, 3vw, 50px);
  position: relative;
}

/* Reduced Compact Left Questions Column */
.quiz-questions-col {
  flex: 0 0 420px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ==========================================================================
   ENLARGED RIGHT SIDE 3-BALLOON CLUSTER DISPLAY
   ========================================================================== */
.balloon-display-col {
  flex: 1 1 660px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.balloon-cluster-wrapper {
  position: relative;
  width: 650px;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cluster-balloon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cluster-balloon:hover {
  transform: translateY(-14px) scale(1.05);
  z-index: 10 !important;
}

/* Balloon 1: Top Left (Enlarged) */
.balloon-top-left {
  top: 10px;
  left: 15px;
  z-index: 2;
  animation: floatClusterTopLeft 7s ease-in-out infinite alternate;
}

.balloon-top-left .translucent-balloon-bulb {
  width: 290px;
  height: 350px;
}

@keyframes floatClusterTopLeft {
  0% { transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(-1.5deg); }
  100% { transform: translateY(-9px) rotate(-5deg); }
}

/* Balloon 2: Top Right (Enlarged) */
.balloon-top-right {
  top: 50px;
  right: 15px;
  z-index: 1;
  animation: floatClusterTopRight 6.5s ease-in-out infinite alternate;
  animation-delay: -2.2s;
}

.balloon-top-right .translucent-balloon-bulb {
  width: 280px;
  height: 335px;
}

@keyframes floatClusterTopRight {
  0% { transform: translateY(0px) rotate(4deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
  100% { transform: translateY(-9px) rotate(5deg); }
}

/* Balloon 3: Center Bottom (Enlarged Foreground Overlap) */
.balloon-center-bottom {
  top: 245px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  animation: floatClusterCenterBottom 6s ease-in-out infinite alternate;
  animation-delay: -4.5s;
}

.balloon-center-bottom .translucent-balloon-bulb {
  width: 320px;
  height: 385px;
}

@keyframes floatClusterCenterBottom {
  0% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
  50% { transform: translateX(-50%) translateY(-20px) rotate(-2deg); }
  100% { transform: translateX(-50%) translateY(-10px) rotate(2deg); }
}

/* Translucent Glass Balloon Bulb Silhouette (Vibrant Pink/Violet Pop) */
.translucent-balloon-bulb {
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 105, 180, 0.4) 45%, rgba(168, 85, 247, 0.3) 80%, rgba(190, 24, 93, 0.25) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2.5px solid rgba(236, 72, 153, 0.65);
  box-shadow: 
    0 25px 65px rgba(168, 85, 247, 0.25),
    0 0 40px rgba(236, 72, 153, 0.3),
    inset 0 8px 25px rgba(255, 255, 255, 0.9),
    inset -8px -8px 20px rgba(190, 24, 93, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Glass Highlight Sheen on Upper Left Curve */
.balloon-gloss-highlight {
  position: absolute;
  top: 5%;
  left: 9%;
  width: 44%;
  height: 36%;
  background: radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  border-radius: 50%;
  transform: rotate(-25deg);
  pointer-events: none;
  z-index: 5;
}

/* Model Image Inside Translucent Balloon */
.balloon-model-img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: drop-shadow(0 12px 24px rgba(112, 26, 117, 0.3));
}

.cluster-balloon:hover .balloon-model-img {
  transform: scale(1.05);
}

/* Tied Balloon Knot */
.balloon-tied-knot {
  width: 18px;
  height: 13px;
  margin-top: -3px;
  background: linear-gradient(135deg, #f7c7a6 0%, #ec4899 50%, #be185d 100%);
  clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.5);
  z-index: 2;
}

/* Trailing Serpentine Ribbon Strings (SVG Bezier Wavy Curves) */
.balloon-wavy-ribbon {
  width: 45px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.65)) drop-shadow(0 0 12px rgba(168, 85, 247, 0.35));
  margin-top: -3px;
  z-index: 1;
  pointer-events: none;
}

.string-left {
  height: 250px;
  transform-origin: top center;
  animation: ribbonSwayLeft 4.2s ease-in-out infinite alternate;
}

.string-right {
  height: 230px;
  transform-origin: top center;
  animation: ribbonSwayRight 4.8s ease-in-out infinite alternate;
}

.string-center {
  height: 180px;
  transform-origin: top center;
  animation: ribbonSwayCenter 3.6s ease-in-out infinite alternate;
}

@keyframes ribbonSwayLeft {
  0% { transform: rotate(3deg) scaleX(0.95); }
  50% { transform: rotate(8deg) scaleX(1.1); }
  100% { transform: rotate(13deg) scaleX(0.95); }
}

@keyframes ribbonSwayRight {
  0% { transform: rotate(-3deg) scaleX(0.95); }
  50% { transform: rotate(-8deg) scaleX(1.1); }
  100% { transform: rotate(-13deg) scaleX(0.95); }
}

@keyframes ribbonSwayCenter {
  0% { transform: rotate(-4deg) scaleX(0.92); }
  50% { transform: rotate(0deg) scaleX(1.08); }
  100% { transform: rotate(4deg) scaleX(0.92); }
}

/* ==========================================================================
   LEFT SIDE QUESTIONS CONTAINER
   ========================================================================== */
.centered-quiz-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Golden & Violet Progress Bar */
.quiz-progress-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.progress-step-pill {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #be185d;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.15);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 1px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ec4899 0%, #a855f7 50%, #f59e0b 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Quiz Card Wrapper */
.quiz-card-wrapper {
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0;
  position: relative;
}

.quiz-card-wrapper::before {
  display: none !important;
}

.quiz-card {
  display: none;
  width: 100%;
  animation: velvetSlideIn 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.quiz-card.active {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@keyframes velvetSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quiz-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
}

.quiz-header .question-badge {
  display: none !important;
}

.quiz-question-title {
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 1.8vw, 1.38rem);
  font-weight: 800;
  line-height: 1.35;
  color: #2e1065;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(236, 72, 153, 0.15);
  margin-top: 2px;
}

/* Cute Option Pill Buttons */
.options-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.option-pill {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #3b0764;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.08);
}

.option-pill:hover {
  background: #ffffff;
  border-color: #ec4899;
  color: #701a75;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.25);
}

.option-pill.active {
  background: linear-gradient(135deg, #be185d 0%, #831843 50%, #5b21b6 100%);
  border: 1.5px solid #f7c7a6;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

.pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #a855f7;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.6);
}

.option-pill.active .pill-dot {
  border-color: #f7c7a6;
  background: #f7c7a6;
  box-shadow: 0 0 14px #f7c7a6;
}

.option-pill.active .pill-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #701a75;
}

.pill-label {
  flex: 1;
}

/* Cute Checkbox Grid (Step 2 Age Range) */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.option-checkbox-pill {
  cursor: pointer;
  width: 100%;
}

.option-checkbox-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.08);
}

.option-checkbox-pill:hover .pill-box {
  background: #ffffff;
  border-color: #ec4899;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.25);
}

.option-checkbox-pill input:checked + .pill-box {
  background: linear-gradient(135deg, #be185d 0%, #831843 50%, #5b21b6 100%);
  border: 1.5px solid #f7c7a6;
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

.pill-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: #3b0764;
}

.option-checkbox-pill input:checked + .pill-box .pill-text {
  color: #ffffff;
}

.check-mark {
  font-size: 0.95rem;
  font-weight: 900;
  color: transparent;
  transition: all 0.25s ease;
}

.option-checkbox-pill input:checked + .pill-box .check-mark {
  color: var(--gold-glow);
  text-shadow: 0 0 10px var(--gold-glow);
}

/* Step 6 Final Ready Screen */
.final-ready-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.12);
}

.ready-check-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
  flex-shrink: 0;
}

.ready-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #3b0764;
}

.ready-text strong {
  color: #701a75;
}

/* Action Bar & Cute Buttons */
.quiz-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
}

.quiz-action-bar.flex-center {
  justify-content: center;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(14px, 1.5vw, 18px) clamp(28px, 2.5vw, 40px);
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, #ec4899 0%, #be185d 45%, #831843 80%, #5b21b6 100%);
  color: #ffffff !important;
  font-family: var(--font-serif);
  font-size: clamp(0.94rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: var(--shadow-rose);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg);
  transition: transform 0.65s ease;
}

.btn-primary-cta:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

.btn-primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 45px rgba(236, 72, 153, 0.5);
  color: #ffffff !important;
}

.btn-access-catalog {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 40%, #a855f7 75%, #d97706 100%) !important;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  padding: clamp(16px, 1.8vw, 20px) clamp(30px, 3vw, 46px);
}

.btn-secondary-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 1.2vw, 15px) clamp(18px, 1.8vw, 26px);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  color: #701a75;
  font-family: var(--font-sans);
  font-size: clamp(0.86rem, 1.1vw, 0.94rem);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1);
}

.btn-secondary-back:hover {
  background: #ffffff;
  border-color: #ec4899;
  color: #be185d;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.2);
}

/* Bottom Logo Area */
.quiz-bottom-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  width: 100%;
}

.quiz-bottom-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 10px 20px;
  border: none;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.quiz-bottom-logo-card:hover {
  transform: scale(1.045);
}

.quiz-bottom-logo-img {
  height: clamp(110px, 10vw, 160px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 25px rgba(236, 72, 153, 0.35)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.25));
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* ==========================================================================
   SECONDARY PAGES STYLING (Contact, Privacy, Terms)
   ========================================================================== */
.page-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1.5px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  max-width: 820px;
  margin: 40px auto 64px;
  box-shadow: var(--shadow-velvet);
  text-align: left;
  width: 100%;
  color: #3b0764;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 800;
  color: #2e1065;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 15px rgba(236, 72, 153, 0.2);
}

.page-subtitle {
  font-size: 1rem;
  color: #be185d;
  font-weight: 700;
  margin-bottom: 30px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 10px;
}

.policy-section p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #3b0764;
  margin-bottom: 14px;
}

.policy-section ul {
  margin-left: 22px;
  margin-bottom: 14px;
}

.policy-section li {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #3b0764;
  margin-bottom: 8px;
}

.btn-home-link {
  display: inline-flex;
  margin-top: 24px;
}

/* Form inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-group label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #4c1d95;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  background: rgba(255, 255, 255, 0.85);
  color: #2e1065;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: #ec4899;
  background: #ffffff;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.25);
}

.form-textarea {
  min-height: 145px;
  resize: vertical;
}

.btn-submit {
  margin-top: 12px;
  width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
  margin-top: auto;
  padding: 36px 24px;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
  border-top: 1px solid rgba(236, 72, 153, 0.2);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #701a75;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #be185d;
}

.footer-links .sep {
  color: #ec4899;
}

.copyright {
  color: #f472b6;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (LAPTOP & TABLET OPTIMIZED)
   ========================================================================== */

/* 1. Large Laptops & Desktops (1441px - 1600px) */
@media (max-width: 1600px) {
  .quiz-page-layout { padding: 24px 20px 40px; gap: 30px; max-width: 1320px; }
  .quiz-questions-col { flex: 0 0 420px; max-width: 440px; }
  .balloon-display-col { flex: 1 1 540px; max-width: 620px; }
  .balloon-cluster-wrapper { transform: scale(0.85); transform-origin: center center; height: 610px; }
}

/* 2. Standard 14" Laptops & Workstations (1281px - 1440px) */
@media (max-width: 1440px) {
  .quiz-page-layout { padding: 20px 16px 36px; gap: 24px; max-width: 1180px; }
  .quiz-questions-col { flex: 0 0 400px; max-width: 420px; }
  .balloon-display-col { display: flex !important; flex: 1 1 480px; max-width: 540px; }
  .balloon-cluster-wrapper { transform: scale(0.75); transform-origin: center center; height: 530px; }
  .quiz-question-title { font-size: 1.2rem; line-height: 1.3; }
  .option-pill { padding: 12px 16px; font-size: 0.9rem; }
  .option-checkbox-pill .pill-box { padding: 14px 16px; }
  .btn-primary-cta { padding: 13px 26px; font-size: 0.96rem; }
  .btn-secondary-back { padding: 11px 20px; font-size: 0.9rem; }
}

/* 3. Compact 13" Laptops & Notebooks (1025px - 1280px) */
@media (max-width: 1280px) {
  .navbar { padding: 12px 24px; }
  .brand-logo-left { height: 44px; }
  .brand-name-centered { font-size: 1.25rem; letter-spacing: 2.5px; }
  .private-badge { font-size: 0.76rem; padding: 6px 14px; }

  .quiz-page-layout { padding: 18px 14px 30px; gap: 18px; max-width: 1060px; justify-content: center; }
  .quiz-questions-col { flex: 0 0 380px; max-width: 400px; }
  .balloon-display-col { display: flex !important; flex: 1 1 420px; max-width: 460px; }
  .balloon-cluster-wrapper { transform: scale(0.66); transform-origin: center center; height: 470px; }

  .quiz-question-title { font-size: 1.15rem; line-height: 1.28; }
  .option-pill { padding: 11px 15px; font-size: 0.88rem; }
  .option-checkbox-pill .pill-box { padding: 12px 15px; }
  .btn-primary-cta { padding: 12px 24px; font-size: 0.92rem; }
}

/* 4. Landscape Tablets & iPad Pro 1024px (900px - 1024px) */
@media (max-width: 1024px) {
  .navbar { padding: 10px 16px; }
  .brand-logo-left { height: 40px; }
  .nav-brand-left { padding: 5px 12px; border-radius: 18px; }
  .brand-name-centered { font-size: 1.1rem; letter-spacing: 2px; }
  .private-badge { font-size: 0.7rem; padding: 5px 12px; }

  .quiz-page-layout { padding: 16px 10px 24px; gap: 14px; justify-content: center; max-width: 960px; }
  .quiz-questions-col { flex: 0 0 360px; max-width: 380px; }
  .balloon-display-col { display: flex !important; flex: 1 1 360px; max-width: 400px; }
  .balloon-cluster-wrapper { transform: scale(0.56); transform-origin: center center; height: 410px; }

  .quiz-card.active { gap: 18px; }
  .quiz-question-title { font-size: 1.1rem; line-height: 1.25; margin-top: 0; }
  .quiz-progress-bar { gap: 6px; margin-bottom: 12px; }
  .progress-step-pill { font-size: 0.72rem; padding: 4px 12px; }
  .options-group { gap: 8px; margin-top: 2px; }
  .option-pill { padding: 10px 14px; font-size: 0.85rem; gap: 10px; border-radius: 14px; }
  .pill-dot { width: 18px; height: 18px; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .option-checkbox-pill .pill-box { padding: 11px 13px; border-radius: 14px; }
  .pill-text { font-size: 0.85rem; }
  .quiz-action-bar { gap: 10px; margin-top: 8px; }
  .btn-primary-cta { padding: 11px 22px; font-size: 0.9rem; }
  .btn-secondary-back { padding: 10px 16px; font-size: 0.85rem; }
  .btn-access-catalog { padding: 11px 22px; font-size: 0.9rem; }
  .quiz-bottom-logo-area { margin-top: 14px; }
  .quiz-bottom-logo-img { height: 95px; }
}

/* 5. Portrait Tablets & iPads (680px - 899px) — (e.g. 768px iPad Air/Mini View) */
@media (max-width: 899px) {
  .navbar { padding: 8px 12px; }
  .brand-logo-left { height: 34px; }
  .nav-brand-left { padding: 4px 10px; border-radius: 14px; }
  .brand-name-centered { font-size: 0.95rem; letter-spacing: 1.2px; }
  .private-badge { font-size: 0.65rem; padding: 4px 10px; }

  .quiz-page-layout { padding: 12px 6px 20px; gap: 8px; justify-content: center; }

  .quiz-questions-col { flex: 0 0 320px; max-width: 330px; }
  .balloon-display-col { display: flex !important; flex: 0 0 310px; max-width: 330px; }
  .balloon-cluster-wrapper { transform: scale(0.46); transform-origin: center center; height: 350px; }

  .quiz-card.active { gap: 14px; }
  .quiz-question-title { font-size: 1.02rem; line-height: 1.22; margin-top: 0; }
  .quiz-progress-bar { gap: 4px; margin-bottom: 8px; }
  .progress-step-pill { font-size: 0.68rem; padding: 3px 8px; }
  .progress-track { height: 6px; }
  .options-group { gap: 6px; margin-top: 0; }
  .option-pill { padding: 8px 11px; font-size: 0.8rem; gap: 8px; border-radius: 12px; }
  .pill-dot { width: 16px; height: 16px; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .option-checkbox-pill .pill-box { padding: 8px 11px; border-radius: 12px; }
  .pill-text { font-size: 0.8rem; }
  .check-mark { font-size: 0.82rem; }
  .quiz-action-bar { gap: 8px; margin-top: 6px; flex-direction: row; }
  .btn-primary-cta { padding: 9px 16px; font-size: 0.84rem; letter-spacing: 0.3px; }
  .btn-secondary-back { padding: 8px 12px; font-size: 0.78rem; }
  .btn-access-catalog { padding: 10px 18px; font-size: 0.84rem; }
  .quiz-bottom-logo-area { margin-top: 10px; }
  .quiz-bottom-logo-card { padding: 4px 10px; }
  .quiz-bottom-logo-img { height: 80px; }

  .page-card { padding: 24px 18px; margin: 16px auto 32px; max-width: 95%; }
  .page-title { font-size: 1.4rem; }
}

/* 6. Small Mobile Screens (<680px) */
@media (max-width: 679px) {
  .balloon-display-col { display: none !important; }
  .quiz-page-layout { justify-content: center; padding: 16px 14px 32px; }
  .quiz-questions-col { flex: 1 1 100%; max-width: 480px; }
  .private-badge { display: none; }
  .brand-name-centered { font-size: 0.95rem; letter-spacing: 1.5px; }
  .quiz-question-title { font-size: 1.15rem; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .quiz-action-bar { flex-direction: column-reverse; gap: 10px; }
  .quiz-action-bar .btn-primary-cta, 
  .quiz-action-bar .btn-secondary-back { width: 100%; justify-content: center; }
  .quiz-bottom-logo-img { height: 90px; }
}