/* ==========================================================================
   TRYYST HAVEN - OVERLAPPING HERO ACCORDION DECK DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Mint Green Theme (Step 1) */
  --mint-primary: #2e7d32;
  --mint-dark: #1b5e20;
  --mint-light: #e8f5e9;
  --mint-accent: #81c784;
  --mint-bg: #f4f9f4;

  /* Blush Pink Theme (Step 2) */
  --pink-primary: #d81b60;
  --pink-dark: #ad1457;
  --pink-light: #fce4ec;
  --pink-accent: #f48fb1;
  --pink-bg: #fff5f8;

  /* Sky Blue Theme (Step 3) */
  --blue-primary: #1565c0;
  --blue-dark: #0d47a1;
  --blue-light: #e3f2fd;
  --blue-accent: #64b5f6;
  --blue-bg: #f3f8fe;

  /* Amber Gold Theme (Step 4) */
  --amber-primary: #b78103;
  --amber-dark: #8c6100;
  --amber-light: #fff8e1;
  --amber-accent: #ffd54f;
  --amber-bg: #fffdf5;

  /* Lavender Purple Theme (Step 5) */
  --purple-primary: #7b1fa2;
  --purple-dark: #4a148c;
  --purple-light: #f3e5f5;
  --purple-accent: #ba68c8;
  --purple-bg: #fcf6fe;

  /* Slate Cyan Theme (Step 6) */
  --slate-primary: #00838f;
  --slate-dark: #006064;
  --slate-light: #e0f7fa;
  --slate-accent: #4dd0e1;
  --slate-bg: #f1fafb;

  /* General Typography & Structure */
  --text-dark: #1c252c;
  --text-body: #37474f;
  --text-muted: #78909c;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 50px;
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

html {
  font-size: 16px;
  background-color: #f6f8f6;
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('assets/bg2.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}

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

/* ==========================================================================
   TOP HEADER NAVBAR
   ========================================================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  z-index: 50;
}

.nav-brand-left {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.nav-brand-left:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.brand-logo-left {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.nav-title-center {
  position: absolute;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name-centered {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

/* Hero Section Logo in Marked Area Across All Steps (Increased Size 135px) */
.hero-marked-logo-area {
  position: absolute;
  top: 16px;
  left: 42%;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-marked-logo-img {
  height: 135px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.16));
  opacity: 0.95;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-card:hover .hero-marked-logo-img {
  transform: scale(1.06);
  opacity: 1;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--mint-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mint-primary);
  border-radius: 2px;
}

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

.private-badge {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  animation: pulseDot 1.5s infinite alternate;
}

@keyframes pulseDot {
  from {
    opacity: 0.4;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ==========================================================================
   HERO SECTION & OVERLAPPING CARD ACCORDION DECK MECHANICS
   ========================================================================== */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  padding: 16px 28px 24px;
  width: 100%;
  max-width: 100vw;
  margin: 0;
}

.deck-viewport {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  margin-bottom: 0;
}

.hero-cards-deck {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  width: 100%;
  min-height: calc(100vh - 155px);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   HERO CARD BASE STYLE & STEP THEMES
   -------------------------------------------------------------------------- */
.hero-card {
  position: relative;
  display: flex;
  flex-direction: row;
  border-radius: 36px;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

/* Active State: Expanded full view */
.hero-card.active {
  flex: 1 1 820px;
  z-index: 20;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
}

/* Collapsed State: Narrow tab strip stacked on right */
.hero-card:not(.active) {
  flex: 0 0 68px;
  z-index: 10;
  cursor: pointer;
}

.hero-card:not(.active):hover {
  flex: 0 0 78px;
}

/* Individual Translucent Glass Themes */
.card-step-1 {
  background: rgba(244, 249, 244, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-step-2 {
  background: rgba(255, 245, 248, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-step-3 {
  background: rgba(243, 248, 254, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-step-4 {
  background: rgba(255, 253, 245, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-step-5 {
  background: rgba(252, 246, 254, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-step-6 {
  background: rgba(241, 250, 251, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Theme Accents for Headings & Highlights */
.card-step-1 .highlight-text {
  color: var(--mint-primary);
}

.card-step-2 .highlight-text {
  color: var(--pink-primary);
}

.card-step-3 .highlight-text {
  color: var(--blue-primary);
}

.card-step-4 .highlight-text {
  color: var(--amber-primary);
}

.card-step-5 .highlight-text {
  color: var(--purple-primary);
}

.card-step-6 .highlight-text {
  color: var(--slate-primary);
}

.card-step-1 .tab-accent-word {
  color: var(--mint-primary);
}

.card-step-2 .tab-accent-word {
  color: var(--pink-primary);
}

.card-step-3 .tab-accent-word {
  color: var(--blue-primary);
}

.card-step-4 .tab-accent-word {
  color: var(--amber-primary);
}

.card-step-5 .tab-accent-word {
  color: var(--purple-primary);
}

.card-step-6 .tab-accent-word {
  color: var(--slate-primary);
}

.card-step-1 .step-num-pill {
  background: var(--mint-light);
  color: var(--mint-primary);
  border-color: var(--mint-accent);
}

.card-step-2 .step-num-pill {
  background: var(--pink-light);
  color: var(--pink-primary);
  border-color: var(--pink-accent);
}

.card-step-3 .step-num-pill {
  background: var(--blue-light);
  color: var(--blue-primary);
  border-color: var(--blue-accent);
}

.card-step-4 .step-num-pill {
  background: var(--amber-light);
  color: var(--amber-primary);
  border-color: var(--amber-accent);
}

.card-step-5 .step-num-pill {
  background: var(--purple-light);
  color: var(--purple-primary);
  border-color: var(--purple-accent);
}

.card-step-6 .step-num-pill {
  background: var(--slate-light);
  color: var(--slate-primary);
  border-color: var(--slate-accent);
}

/* Buttons Theme Gradients */
.card-step-1 .btn-primary-cta {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.card-step-2 .btn-primary-cta {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%);
}

.card-step-3 .btn-primary-cta {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.card-step-4 .btn-primary-cta {
  background: linear-gradient(135deg, #b78103 0%, #8c6100 100%);
}

.card-step-5 .btn-primary-cta {
  background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
}

.card-step-6 .btn-primary-cta {
  background: linear-gradient(135deg, #00838f 0%, #006064 100%);
}

/* Floating Next Arrow Button Accents */
.card-step-1 .card-floating-next-btn {
  background: #ffffff;
  color: var(--mint-primary);
}

.card-step-2 .card-floating-next-btn {
  background: #ffffff;
  color: var(--pink-primary);
}

.card-step-3 .card-floating-next-btn {
  background: #ffffff;
  color: var(--blue-primary);
}

.card-step-4 .card-floating-next-btn {
  background: #ffffff;
  color: var(--amber-primary);
}

.card-step-5 .card-floating-next-btn {
  background: #ffffff;
  color: var(--purple-primary);
}

.card-step-6 .card-floating-next-btn {
  background: #ffffff;
  color: var(--slate-primary);
}

/* --------------------------------------------------------------------------
   COLLAPSED VERTICAL TAB HANDLE (RIGHT SIDE ACCORDION DECK STRIP)
   -------------------------------------------------------------------------- */
.deck-tab-handle {
  width: 68px;
  min-width: 68px;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  border-left: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  user-select: none;
}

.hero-card.active .deck-tab-handle {
  display: none;
}

.tab-step-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}

.tab-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.tab-vertical-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin: 16px 0;
}

.tab-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: transform 0.2s ease;
}

.deck-tab-handle:hover .tab-arrow-btn {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   EXPANDED CARD INNER VIEWPORT
   -------------------------------------------------------------------------- */
.hero-card-inner {
  flex: 1;
  display: none;
  flex-direction: row;
  padding: 44px 56px;
  gap: 48px;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
  align-items: center;
}

.hero-card.active .hero-card-inner {
  display: flex;
  opacity: 1;
}

/* Left Column: Text & Questionnaire */
.card-content-col {
  flex: 1 1 44%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.step-num-pill {
  font-size: 0.9rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid;
  margin-bottom: 12px;
  display: inline-block;
}

.card-main-heading {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.card-subtitle-desc {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 460px;
}

/* Questionnaire Container (Transparent layout with step background) */
.question-container {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0 !important;
  margin-bottom: 24px;
  box-shadow: none !important;
}

.question-badge {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 16px;
  border-radius: 50px;
  display: inline-block;
  margin: 0 auto 8px;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.question-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

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

.option-pill {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.option-pill:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.option-pill.active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #15803d;
}

.pill-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  transition: all 0.2s ease;
}

.option-pill.active .pill-dot {
  border-color: #16a34a;
  background: #16a34a;
  box-shadow: inset 0 0 0 3px #ffffff;
}

/* Checkbox Cards Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.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: 15px 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.option-checkbox-pill input:checked+.pill-box {
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pill-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
}

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

.check-mark {
  font-size: 0.88rem;
  font-weight: 800;
  color: transparent;
}

.option-checkbox-pill input:checked+.pill-box .check-mark {
  color: #16a34a;
}

/* Final Ready Box */
.final-ready-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.ready-check-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

.ready-text {
  font-size: 0.95rem;
  color: #f1f5f9;
}

/* Action Bar & Buttons */
.card-action-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.45);
  color: #ffffff !important;
}

.btn-home-link, .btn-submit {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3) !important;
}

.btn-secondary-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-back:hover {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.25);
  color: #0f172a;
}

/* Social Proof */
.social-proof-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.avatar-circle:first-child {
  margin-left: 0;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: CIRCULAR WHEEL SHOWCASE WITH CLOCKWISE ROTATING 120° LINES
   -------------------------------------------------------------------------- */
.card-visual-col {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tri-images-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tri-wheel-frame {
  position: relative;
  width: 530px;
  height: 530px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  transition: transform 0.4s ease;
}

.card-visual-col:hover .tri-wheel-frame {
  transform: scale(1.02);
}

/* Synchronized Dynamic Background Color Shift Animation as Lines Rotate */
@keyframes dynamicHexGlow {
  0% {
    background: linear-gradient(135deg, #ffffff 0%, #c8e6c9 100%);
    filter: drop-shadow(0 14px 28px rgba(46, 125, 50, 0.24));
  }
  20% {
    background: linear-gradient(135deg, #ffffff 0%, #b2ebf2 100%);
    filter: drop-shadow(0 14px 28px rgba(0, 131, 143, 0.24));
  }
  40% {
    background: linear-gradient(135deg, #ffffff 0%, #e1bee7 100%);
    filter: drop-shadow(0 14px 28px rgba(106, 27, 154, 0.24));
  }
  60% {
    background: linear-gradient(135deg, #ffffff 0%, #f8bbd0 100%);
    filter: drop-shadow(0 14px 28px rgba(173, 20, 87, 0.24));
  }
  80% {
    background: linear-gradient(135deg, #ffffff 0%, #ffe0b2 100%);
    filter: drop-shadow(0 14px 28px rgba(230, 81, 0, 0.24));
  }
  100% {
    background: linear-gradient(135deg, #ffffff 0%, #c8e6c9 100%);
    filter: drop-shadow(0 14px 28px rgba(46, 125, 50, 0.24));
  }
}

.hex-card {
  position: absolute;
  width: 235px;
  height: 265px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
  padding: 5px;
  box-sizing: border-box;
  transition: transform 0.4s ease, filter 0.4s ease, background 0.4s ease;
}

.hero-card.active .hex-card {
  animation: dynamicHexGlow 12s ease-in-out infinite;
}

.hero-card.active .hex-top-left {
  animation-delay: 0s;
}

.hero-card.active .hex-top-right {
  animation-delay: -4s;
}

.hero-card.active .hex-bottom {
  animation-delay: -8s;
}

/* Crisp Animated Electric Blue Polygon Line Border Overlay */
.hex-border-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
  overflow: visible;
}

.hex-border-stroke {
  stroke: #00e5ff;
  stroke-width: 2.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #00e5ff) drop-shadow(0 0 12px rgba(0, 150, 255, 0.85));
  animation: pulseBlueBorderStroke 2.5s ease-in-out infinite alternate;
}

@keyframes pulseBlueBorderStroke {
  0% {
    stroke: #00e5ff;
    filter: drop-shadow(0 0 6px #00e5ff) drop-shadow(0 0 14px rgba(0, 150, 255, 0.75));
  }
  50% {
    stroke: #00ffff;
    filter: drop-shadow(0 0 12px #00ffff) drop-shadow(0 0 24px rgba(0, 200, 255, 1));
  }
  100% {
    stroke: #00e5ff;
    filter: drop-shadow(0 0 6px #00e5ff) drop-shadow(0 0 14px rgba(0, 150, 255, 0.75));
  }
}

.hex-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: block;
  transition: transform 0.4s ease, opacity 0.5s ease-in-out;
}

.hex-card:hover {
  z-index: 10 !important;
  transform: scale(1.06);
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.35));
}

.hex-bottom:hover {
  transform: translateX(-50%) scale(1.06) !important;
}

.hex-card:hover .hex-img {
  transform: scale(1.08);
}

/* Exact Mathematical Centering for 530px Frame */
/* Hexagon 1: Top Left */
.hex-top-left {
  top: 10px;
  left: 20px;
  z-index: 3;
}

/* Hexagon 2: Top Right */
.hex-top-right {
  top: 10px;
  right: 20px;
  z-index: 4;
}

/* Hexagon 3: Bottom Center */
.hex-bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

/* Status Badges on Hexagon Cards */
.hex-card .image-status-badge {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.image-status-badge {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 8;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px #00e676;
}

/* Clockwise Rotating 3 Center Lines Overlay (120° Apart) */
.tri-center-lines-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

.moving-lines-svg.rotating-clockwise {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: rotateClockwise 12s linear infinite;
  transform-origin: 50% 45%;
}

@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.moving-line {
  stroke: #ffffff;
  stroke-width: 5.5px;
  stroke-linecap: round;
  stroke-dasharray: 14 8;
  animation: moveLineDash 1.2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

@keyframes moveLineDash {
  from {
    stroke-dashoffset: 44;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.center-core-dot {
  fill: #ffffff;
  stroke: #2e7d32;
  stroke-width: 4px;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  animation: pulseHexCore 1.5s infinite alternate;
}

@keyframes pulseHexCore {
  from {
    transform: scale(0.85);
    opacity: 0.8;
  }

  to {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Floating Bottom Right Next Circle Button inside expanded card */
.card-floating-next-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-floating-next-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   BOTTOM STEPPER NODE LINE TRACKER
   ========================================================================== */
.deck-stepper-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 10px 0;
}

.stepper-track-line {
  position: absolute;
  top: 36px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  z-index: 1;
}

.stepper-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2e7d32 0%, #00838f 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.stepper-nodes-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stepper-node {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.node-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #b0bec5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stepper-node.active .node-num {
  color: var(--mint-primary);
}

.stepper-node.active .node-dot {
  background: var(--mint-primary);
  border-color: var(--mint-primary);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(46, 125, 50, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
  margin-top: auto;
  padding: 24px;
  text-align: center;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: none !important;
  box-shadow: none !important;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links .sep {
  color: rgba(255, 255, 255, 0.6);
}

.copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (LAPTOP, TABLET, MOBILE)
   ========================================================================== */

/* 1. Laptops & Small Desktops (1024px - 1200px) */
@media (max-width: 1200px) {
  .hero-card-inner {
    padding: 36px 32px;
    gap: 32px;
  }

  .card-main-heading {
    font-size: 2.2rem;
  }

  .tri-wheel-frame {
    width: 440px;
    height: 440px;
  }

  .hex-card {
    width: 195px;
    height: 220px;
  }

  .hex-top-left { top: 8px; left: 16px; }
  .hex-top-right { top: 8px; right: 16px; }
  .hex-bottom { bottom: 8px; left: 50%; }

  .hero-marked-logo-img {
    height: 100px;
  }
}

/* 2. Tablets & Small Laptops (768px - 1023px) */
@media (max-width: 1023px) {
  .brand-name-centered {
    font-size: 1.25rem;
    letter-spacing: 1.8px;
  }

  .brand-logo-left {
    height: 36px;
  }

  .private-badge {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  .hero-card-inner {
    padding: 28px 24px;
    gap: 24px;
  }

  .card-main-heading {
    font-size: 1.95rem;
  }

  .tri-images-container {
    min-height: 420px;
  }

  .tri-wheel-frame {
    width: 370px;
    height: 370px;
  }

  .hex-card {
    width: 164px;
    height: 185px;
  }

  .hex-top-left { top: 6px; left: 12px; }
  .hex-top-right { top: 6px; right: 12px; }
  .hex-bottom { bottom: 6px; left: 50%; }

  .hero-marked-logo-area {
    top: 12px;
    left: 50%;
  }

  .hero-marked-logo-img {
    height: 80px;
  }
}

/* 3. Mobile Phones (767px and below) */
@media (max-width: 767px) {
  .navbar {
    padding: 10px 14px;
    height: 56px;
  }

  .brand-logo-left {
    height: 32px;
  }

  .brand-name-centered {
    font-size: 1.05rem;
    letter-spacing: 1.2px;
  }

  .private-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .hero-section {
    padding: 10px 8px 18px;
  }

  .hero-cards-deck {
    flex-direction: column;
    min-height: auto;
    border-radius: 20px;
  }

  .hero-card {
    border-radius: 20px;
    width: 100%;
  }

  .hero-card:not(.active) {
    flex: 0 0 50px;
    height: 50px;
  }

  .deck-tab-handle {
    width: 100%;
    height: 50px;
    min-width: auto;
    flex-direction: row;
    padding: 0 16px;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .tab-vertical-title {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    font-size: 0.85rem;
  }

  .hero-card-inner {
    flex-direction: column;
    padding: 24px 16px;
    gap: 20px;
    position: relative;
  }

  .hero-marked-logo-area {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 8px;
  }

  .hero-marked-logo-img {
    height: 65px;
  }

  .card-content-col {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .card-main-heading {
    font-size: 1.65rem;
    text-align: center;
  }

  .card-subtitle-desc {
    font-size: 0.92rem;
    text-align: center;
  }

  .question-title {
    font-size: 1.1rem;
    text-align: center;
  }

  .tri-images-container {
    min-height: 320px;
  }

  .tri-wheel-frame {
    width: 310px;
    height: 310px;
  }

  .hex-card {
    width: 138px;
    height: 156px;
  }

  .hex-top-left { top: 5px; left: 8px; }
  .hex-top-right { top: 5px; right: 8px; }
  .hex-bottom { bottom: 5px; left: 50%; }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary-cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .btn-secondary-back {
    width: 100%;
    justify-content: center;
  }

  .card-action-bar {
    flex-direction: column-reverse;
    gap: 10px;
  }
}

/* 4. Small Mobile Screens (480px and below) */
@media (max-width: 480px) {
  .brand-name-centered {
    font-size: 0.92rem;
    letter-spacing: 0.8px;
  }

  .private-badge {
    display: none;
  }

  .tri-wheel-frame {
    width: 275px;
    height: 275px;
  }

  .hex-card {
    width: 122px;
    height: 138px;
  }

  .hex-top-left { top: 4px; left: 6px; }
  .hex-top-right { top: 4px; right: 6px; }
  .hex-bottom { bottom: 4px; left: 50%; }
}

/* Centered Quiz Layout Over bg2.jpg */
.centered-quiz-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 24px 20px;
  width: 100%;
  max-width: 680px;
  margin: -35px auto 0; /* Lift question session up */
}

/* Prominent Large Bottom Brand Logo Card */
.quiz-bottom-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  width: 100%;
}

.quiz-bottom-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 36px;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quiz-bottom-logo-card:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.quiz-bottom-logo-img {
  height: 115px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.15));
}

.quiz-progress-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.progress-step-pill {
  font-size: 0.84rem;
  font-weight: 800;
  color: #15803d;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #15803d 100%);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
  transition: width 0.4s ease;
}

.quiz-card-wrapper {
  width: 100%;
  position: relative;
}

.quiz-card {
  display: none;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 24px 0;
  width: 100%;
  text-align: center;
  animation: fadeInStep 0.35s ease forwards;
}

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

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

.quiz-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiz-question-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.quiz-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  width: 100%;
}

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

@media (max-width: 768px) {
  .quiz-card {
    padding: 28px 20px;
  }
  .quiz-question-title {
    font-size: 1.35rem;
  }
  .quiz-action-bar {
    flex-direction: column-reverse;
  }
  .quiz-action-bar .btn-primary-cta,
  .quiz-action-bar .btn-secondary-back {
    width: 100%;
    justify-content: center;
  }
}

/* 3-Column Page Layout: Left Floating Images - Center Quiz - Right Floating Images */
.quiz-page-layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 40px;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  gap: 32px;
  position: relative;
}

/* Side Columns for Pure Floating PNG Cutouts (No Container Card / No Background) */
.side-visual-col {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.floating-photo-card {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 0 !important;
  overflow: visible !important;
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-photo-card:hover {
  transform: translateY(-8px) scale(1.04);
}

.floating-photo-card.float-top {
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-photo-card.float-bottom {
  animation: floatSlow 4s ease-in-out 2s infinite alternate;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

.floating-img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Specific height enlargement targeting image 8 and tall cutouts */
.floating-img[src*="8.png"],
.floating-img[src*="8.jpg"],
img.enlarge-tall {
  max-height: 700px !important;
  transform: scale(1.18);
}

@media (max-width: 1300px) {
  .side-visual-col {
    display: none;
  }
  .quiz-page-layout {
    justify-content: center;
    padding: 24px 16px;
  }
}