/*
 * ============================================
 * VIEWPOINT REWARDS - MASTER STYLESHEET
 * ============================================
 * 
 * A single, consolidated CSS file for all pages.
 * Organized in logical sections for easy maintenance.
 * 
 * STRUCTURE:
 * 1. CSS Variables & Tokens
 * 2. Base & Reset Styles
 * 3. Layout & Containers
 * 4. Typography
 * 5. Buttons & Links
 * 6. Forms & Inputs
 * 7. Header (All Pages)
 * 8. Footer (All Pages)
 * 9. Navigation Tabs (Dashboard Pages)
 * 10. Cards & Panels (Reusable)
 * 11. Tables
 * 12. Modals
 * 13. Homepage Sections
 * 14. Dashboard Sections
 * 15. Animations & Utilities
 * 16. Media Queries
 */


/* ============================================
   1. CSS VARIABLES & TOKENS
   ============================================ */

:root {
  /* Brand Colors */
  --color-white: #ffffff;
  --color-purple-primary: #9359f2;
  --color-purple-hover: #7a3fd1;
  --color-text-dark: #222222;
  --color-text-body: #151438;
  --color-text-muted: rgba(21, 20, 56, 0.4);
  --color-border: #eaeaed;
  --color-background: #f9f7ff;

  /* Typography */
  --font-sans: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Font Sizes */
  --fs-h1: clamp(2.75rem, 7vw + 1rem, 4.1875rem);
  --fs-h2: clamp(2.25rem, 4vw + 0.5rem, 3rem);
  --fs-h3: clamp(1.75rem, 3.5vw + 0.5rem, 2.625rem);
  --fs-h4: 1.875rem;
  --fs-h5: 1.5rem;
  --fs-h6: 1.375rem;
  --fs-body-xl: clamp(1.25rem, 3vw + 0.5rem, 1.5rem);
  --fs-body-lg: 1.125rem;
  --fs-body-md: 1rem;
  --fs-body-sm: 0.875rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-xxl: 3rem;
  --space-xxxl: 5rem;

  /* Border Radius */
  --radius-card: 37px;
  --radius-button: 12px;
  --radius-input: 100px;
  --radius-small: 10px;

  /* Shadows */
  --shadow-card: 0px 15px 32px #0000001a, 0px 58px 58px #00000017, 0px 131px 79px #0000000d, 0px 233px 93px #00000003, 0px 364px 102px transparent;
  --shadow-button: 0px 1px 3px #0000001a, 0px 5px 5px #00000017, 0px 12px 7px #0000000d, 0px 22px 9px #00000003, 0px 34px 10px transparent;
  --shadow-button-hover: 0px 2px 4px #0000001a, 0px 7px 7px #00000017, 0px 14px 9px #0000000d, 0px 26px 11px #00000003, 0px 40px 12px transparent;

  /* Bootstrap Overrides */
  --bs-primary: #9359f2;
  --bs-body-font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: #151438;
}


/* ============================================
   2. BASE & RESET STYLES
   ============================================ */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-body);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}


/* ============================================
   3. LAYOUT & CONTAINERS
   ============================================ */
.page-wrapper {
  background-image:url(../media/hiafgwhq/hero-bg.png);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  width: 100%;
  overflow: hidden;
}

.vp-container {
  width: 100%;
  max-width: 1400px; /* 1188px */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.hero.vp-container {
  max-width: 1188px
}

/* Dashboard Page Layout Adjustments */
body.dashboard-page .page-wrapper,
body.rewards-page .page-wrapper,
body.account-page .page-wrapper,
body.login-page .page-wrapper,
body.signup-page .page-wrapper {
  background-image: none;
  background-color: var(--color-background);
}

/* Main content container used on homepage */

.dashboard-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}


/* ============================================
   4. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

p {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}


/* ============================================
   5. BUTTONS & LINKS
   ============================================ */

/* Base Button Styles */
.vp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.625rem 1.5rem;
  font-size: var(--fs-body-lg);
  font-weight: 500;
  line-height: 1.44;
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.vp-button--primary {
  background-color: var(--color-purple-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-button);
}

.vp-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}

.vp-button--primary:active {
  transform: translateY(0);
}

.vp-button--full-width {
  width: 100%;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.vp-button--footer {
  padding: 10px 25px;
  font-size: 18px;
  line-height: 26px;
}

.vp-button--disabled,
.vp-button:disabled {
  background: #d5d6d7;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
  transform: none !important;
}

/* Specific Button Types */
.sign-out-btn,
.update-btn,
.action-btn {
  padding: 0.625rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  background: var(--color-purple-primary);
  border: none;
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: transform 0.2s;
}

.sign-out-btn:hover,
.update-btn:hover,
.action-btn:hover {
  transform: translateY(-2px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
  background-color: var(--color-purple-primary);
  border: 0;
  border-radius: var(--radius-button);
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}

/* Links */
.vp-link {
  color: var(--color-purple-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.vp-link:hover {
  color: var(--color-purple-hover);
  text-decoration: underline;
}


/* ============================================
   6. FORMS & INPUTS
   ============================================ */

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

.form-input,
.account-input {
  width: 100%;
  height: 50px;
  padding: 0 var(--space-md);
  font-size: var(--fs-body-lg);
  font-weight: 500;
  color: var(--color-text-body);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-input);
  transition: border-color 0.2s ease-out;
}

.account-input {
  height: 46px;
  padding: 0 1.25rem;
  font-size: 1rem;
}

.form-input::placeholder,
.account-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus-visible,
.account-input:focus-visible {
  outline: none;
  border-color: var(--color-purple-primary);
}

.form-group--checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-purple-primary);
}

.form-checkbox:focus-visible {
  outline-offset: 3px;
}

.form-checkbox-label {
  font-size: var(--fs-body-md);
  font-weight: 400;
  color: var(--color-text-muted);
}


/* ============================================
   7. HEADER (ALL PAGES)
   ============================================ */

.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.header__container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
}

/* Header Navigation */
.header__nav--desktop {
  grid-column: 1;
  justify-self: start;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-link {
  font-size: var(--fs-body-md);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-white);
  opacity: 0.98;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Header Logo */
.header__logo-link {
  display: flex;
  align-items: center;
  grid-column: 2;
  justify-self: center;
  height: 44px;
}

.header__logo-img {
  display: block;
  height: 40px;
  width: auto;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.25));
}

/* Header Login/Logout Buttons */
.header__login-button {
  display: inline-flex;
  align-items: center;
  grid-column: 3;
  justify-self: end;
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-body-md);
  line-height: 1;
}

.sign-out-btn {
  display: none; /* Shown on dashboard pages via media query */
  grid-column: 3;
  justify-self: end;
}

/* Mobile Menu */
.header__mobile {
  display: flex;
  align-items: center;
  grid-column: 3;
  justify-self: end;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.header__burger-lines {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: background 0.2s ease;
}

.header__burger-lines::before,
.header__burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease;
}

.header__burger-lines::before {
  top: -6px;
}

.header__burger-lines::after {
  top: 6px;
}

.header__backdrop {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.header__sheet {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  height: 100vh;
  width: 88%;
  max-width: 360px;
  padding: var(--space-xl);
  gap: 1.25rem;
  color: #ffffff;
  background: rgba(15, 15, 30, 0.84);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: saturate(120%) blur(10px);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.header__sheet-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.header__sheet-link {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.96;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__sheet-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

.header__sheet-link:last-child {
  border-bottom: none;
}

.header__sheet-cta {
  margin-top: 0.25rem;
}

/* Mobile Menu Open State */
body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .header__backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-menu-open .header__burger-lines {
  background: transparent;
}

body.mobile-menu-open .header__burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

body.mobile-menu-open .header__burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

body.mobile-menu-open .header__sheet {
  transform: translateX(0);
}

body.mobile-menu-open .header__login-button,
body.mobile-menu-open .sign-out-btn {
  display: none;
}

/* Dashboard Page Header Overrides */
body.dashboard-page .header,
body.rewards-page .header,
body.account-page .header,
body.login-page .header,
body.signup-page .header {
  position: static;
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(90deg, #8a7cf8 0%, #5c84e1 50%, #97c4a9 100%);
}

body.dashboard-page .header__container,
body.rewards-page .header__container,
body.account-page .header__container,
body.login-page .header__container,
body.signup-page .header__container {
  min-height: 0;
  padding: 1.5rem;
  max-width: 1400px;
  background: transparent;
  border: none;
}

body.dashboard-page .header__login-button,
body.rewards-page .header__login-button,
body.account-page .header__login-button {
  display: none;
}

body.login-page .sign-out-btn,
body.signup-page .sign-out-btn {
  display: none;
}


/* ============================================
   8. FOOTER (ALL PAGES)
   ============================================ */

.footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:url(../media/wqod00i3/footer-bg.png) center/cover no-repeat;
}

.footer__overlay {
  width: 100%;
  background: linear-gradient(90deg, #8a7cf8 0%, #5c84e1 50%, #97c4a9 100%);
  opacity: 0.98;
}

.footer__container {
  padding: 3rem var(--space-md);
  text-align: center;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer__social-link img {
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__social-link:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer__logo img {
  display: block;
  width: 169px;
  height: auto;
}

.footer__legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
}

.footer__link {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.footer__link:hover {
  opacity: 0.85;
}


/* ============================================
   9. NAVIGATION TABS (DASHBOARD PAGES)
   ============================================ */

.tab-nav {
  max-width: 1400px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-btn {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-dark);
  text-align: center;
  background: white;
  border: 1px solid transparent;
  border-radius: 100px;
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #f1f3ff;
  border-color: #a2b9f2;
}

.tab-btn:hover:not(.active) {
  transform: translateY(-1px);
}


/* ============================================
   10. CARDS & PANELS (REUSABLE)
   ============================================ */

/* Generic Card */
.card {
  padding: 1.75rem 2rem;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

/* Form Container (Sign up, Login) */
.hero__form-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  padding: var(--space-xl);
  color: var(--color-text-body);
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.hero__form-title {
  margin-bottom: var(--space-lg);
  font-size: clamp(2.25rem, 5vw + 1rem, 2.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.4px;
  text-align: center;
  color: var(--color-text-dark);
}

.hero__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__form-divider {
  height: 1px;
  margin: var(--space-lg) 0;
  background-color: var(--color-border);
}

.hero__form-footer {
  font-size: var(--fs-body-lg);
  font-weight: 500;
  text-align: center;
  color: var(--color-text-muted);
}

/* Welcome/Progress Bar */
.welcome-bar {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-card);
  box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

.welcome-title {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.welcome-points {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

.welcome-points strong {
  font-weight: 700;
}

.progress-section {
  max-width: 530px;
  margin-left: auto;
}

.progress-bar-container {
  position: relative;
  height: 14px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: #eeebeb;
  border-radius: 42px;
}

.progress-bar-fill {
  height: 100%;
  background: #9CAAED;
  border-radius: 42px;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 1rem;
  font-weight: 300;
  text-align: center;
  color: var(--color-text-body);
}

.progress-text strong {
  font-weight: 600;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 17px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.14), 0 0 1px rgba(0, 0, 0, 0.17);
  cursor: pointer;
  transition: transform 0.2s;
}

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

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

/* Action Cards (Dashboard Sidebar) */
.action-card {
  padding: 1.5rem;
  text-align: center;
  background: white;
  border-radius: var(--radius-card);
  box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

.action-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.action-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.action-card h3 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.action-card p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

/* Survey Cards */
.survey-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 366px;
  padding: 24px;
  background: #ffffff;
  border-radius: 17px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.14), 0 0 1px rgba(0, 0, 0, 0.17);
}

.survey-card__title {
  font-size: 0.90rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--color-text-dark);
}

@media (max-width: 480px) {
    .survey-card__title {
        font-size: 0.70rem;
    }
}

.survey-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.survey-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #9CAAED;
}

.survey-meta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.survey-badge {
  padding: 0.125rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

.survey-badge--new {
  color: #295032;
  background: #C5DCBA;
}

/* Rewards Cards */
.rewards-card {
  margin-bottom: 1.5rem;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

.rewards-heading {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.rewards-subheading {
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--color-text-dark);
}

.rewards-body {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-body);
}

.rewards-body strong {
  font-weight: 700;
}

.rewards-note {
  margin: 10px 0 0 0;
  font-size: 0.875rem;
  color: rgba(21, 20, 56, 0.55);
}

/* Account Sections */
.account-section {
  margin-bottom: 1.5rem;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.account-heading {
  margin-bottom: 0.5rem;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.account-subheading {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

.account-section-title {
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--color-text-dark);
}

.account-section-text {
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

.account-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.account-field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.account-actions {
  margin-top: 0.5rem;
}


/* ============================================
   11. TABLES
   ============================================ */

.rewards-table-wrapper,
.account-table-wrapper {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.account-table-wrapper {
  overflow-x: auto;
}

.rewards-table,
.account-table {
  width: 100%;
  font-size: 0.9375rem;
  border-collapse: collapse;
}

.account-table {
  min-width: 480px;
  font-size: 0.95rem;
}

.rewards-table thead th,
.account-table thead th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text-dark);
}

.rewards-table thead th {
  background: #dde1ec;
}

.account-table thead tr {
  background-color: #e7e8f0;
}

.rewards-table th,
.rewards-table td,
.account-table th,
.account-table td {
  padding: 0.55rem 1rem;
  text-align: left;
}

.account-table th,
.account-table td {
  padding: 0.6rem 1.2rem;
  border-bottom: 1px solid #ececf3;
  white-space: nowrap;
}

.rewards-table tbody td,
.account-table tbody td {
  color: var(--color-text-body);
}

.rewards-table tbody td {
  border-top: 1px solid #eceff5;
}

.rewards-table tbody tr:nth-child(even) {
  background: #fafbff;
}

.account-table tbody tr:last-child td {
  border-bottom: none;
}

.extra-survey-row {
  display: none;
}

.account-view-all-btn {
  display: block;
  margin-top: 0.9rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-purple-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.account-view-all-btn:hover {
  text-decoration: underline;
}


/* ============================================
   12. MODALS
   ============================================ */

body.modal-open {
  overflow: hidden;
}

.redeem-modal-backdrop,
.unsubscribe-modal-backdrop {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 8, 40, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.modal-open .redeem-modal-backdrop,
body.modal-open .unsubscribe-modal-backdrop {
  display: flex;
}

.redeem-modal,
.unsubscribe-modal {
  width: calc(100% - 3rem);
  max-width: 520px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

.redeem-modal-inner,
.unsubscribe-modal-inner {
  padding: 2.5rem 3rem 2.25rem;
  text-align: center;
}

.redeem-modal-title,
.unsubscribe-modal-title {
  margin-bottom: 0.9rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.unsubscribe-modal-title {
  margin-bottom: 1rem;
}

.redeem-modal-subtitle,
.unsubscribe-modal-text {
  margin-bottom: 1.7rem;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

.unsubscribe-modal-text {
  margin: 0;
}

.redeem-modal-subtitle strong {
  font-weight: 700;
}

.redeem-modal-btn {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  margin-bottom: 1.6rem;
}

.redeem-modal-divider {
  margin: 0 0 1.1rem;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.redeem-modal-note,
.redeem-modal-terms {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(21, 20, 56, 0.7);
}

.redeem-modal-note {
  margin-bottom: 0.35rem;
}

.redeem-modal-link {
  font-weight: 500;
  color: var(--color-purple-primary);
  text-decoration: none;
}

.redeem-modal-link:hover {
  text-decoration: underline;
}

.unsubscribe-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.unsubscribe-secondary-btn,
.unsubscribe-primary-btn {
  width: 100%;
  max-width: 320px;
}

.unsubscribe-secondary-btn {
  color: #ffffff;
  background: #5ba9b3;
  border: none;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.unsubscribe-secondary-btn:hover {
  filter: brightness(0.97);
}

.unsubscribe-primary-btn {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}


/* ============================================
   13. HOMEPAGE SECTIONS
   ============================================ */

/* Hero Section */
.hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: var(--space-xxxl);
  color: var(--color-white);
}

.hero * {
/*  color: inherit; */
}

.hero__content {
  text-align: center;
}

.hero__title {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--color-white);
}

.hero__title span {
  font-weight: 500;
  color: var(--color-white);
}

.hero__subtext {
  font-size: var(--fs-body-xl);
  line-height: 1.375;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
}

.hero__subtext p {
  font-weight: 400;
  color: var(--color-white);
}

.hero__subtext p:not(:last-child) {
  margin-bottom: 0.5rem;
}

.hero__subtext strong {
  font-weight: 600;
  color: var(--color-white);
}

.hero__logo-bg {
  position: absolute;
  z-index: 0;
  display: none;
  opacity: 0.98;
  pointer-events: none;
}

/* Rewards Banner */
.rewards-banner {
  padding: var(--space-xxl) 0;
  color: var(--color-white);
  text-align: center;
  background-image: url(../media/mcyjmqfm/reward-banner-bg.png);
  background-size: cover;
  background-position: center;
  box-shadow: 0px 28px 61px #0000001a, 0px 111px 111px #00000017, 0px 249px 150px #0000000d, 0px 444px 177px #00000003, 0px 693px 194px transparent;
}

.rewards-banner * {
  color: inherit;
}

.rewards-banner__text {
  margin-bottom: var(--space-xxl);
}

.rewards-banner__title {
  margin-bottom: var(--space-md);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.4px;
  color: var(--color-white);
}

.rewards-banner__text p {
  font-size: var(--fs-body-xl);
  font-weight: 500;
  line-height: 1.16;
  color: var(--color-white);
}

.rewards-banner__text p:last-child {
  margin-top: 0.5rem;
}

.feature-item__icon {
  height: 60px;
  width: auto;
  margin: 0 auto var(--space-sm);
}

.feature-item__title {
  font-size: var(--fs-body-lg);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-white);
}

.feature-item__body {
  font-size: var(--fs-body-md);
  font-weight: 400;
  line-height: 1.625;
  color: var(--color-white);
}

/* UI Showcase */
.showcase {
  position: relative;
  isolation: isolate;
  padding-top: var(--space-xxl);
  padding-bottom: 3.5rem;
}

.showcase__inner {
  display: flex;
  justify-content: center;
  max-width: 1188px;
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.showcase__image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 874px;
}

.showcase::after {
  content: "";
  position: absolute;
  inset: 52% 0 0 0;
  z-index: 0;
  background: #fff;
  pointer-events: none;
}

/* Why People Love Section */
.love {
  padding: 3.5rem 0 5rem;
  color: var(--color-text-body);
  background: var(--color-white);
}

.love__intro {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  padding: 0 var(--space-md);
  text-align: center;
}

.love__title {
  margin-bottom: var(--space-md);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.love__kicker {
  font-size: var(--fs-body-xl);
  font-weight: 400;
  color: var(--color-text-body);
}

.love__item {
  max-width: 340px;
  margin: 0 auto;
}

.love__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-sm);
}

.love__item-title {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-body-lg);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text-dark);
}

.love__item-body {
  font-size: var(--fs-body-md);
  line-height: 1.625;
  color: var(--color-text-body);
}

/* FAQs Section */
.faqs {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  color: #fff;
  background-image: url("../media/fcba4yck/faqs-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2f1893;
}

.faqs * {
  color: inherit;
}

.faqs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  max-width: 1188px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.faqs__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
  text-align: center;
  color: #ffffff;
}

.faqs__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 835px;
}

.faq {
  padding: 0.25rem 0.5rem;
  color: var(--color-text-body);
  background: #fff;
  border: 1px solid #f1f2f9;
  border-radius: 16px;
  box-shadow: 0 1px 4px #19213d0f;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq[open] {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.625rem 2rem;
  list-style: none;
  cursor: pointer;
}

.faq__row::-webkit-details-marker {
  display: none;
}

.faq__row:hover {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 14px;
}

.faq__row:focus-visible {
  outline: 3px solid var(--color-purple-primary);
  outline-offset: 6px;
  border-radius: 14px;
}

.faq__question {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-dark);
}

.faq__icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  filter: drop-shadow(0 0.882px 0.882px #0000001a) drop-shadow(0 1.765px 1.765px #00000017);
}

.faq__icon .icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 180ms ease;
}

.faq__icon .icon--closed {
  opacity: 1;
}

.faq__icon .icon--open {
  opacity: 0;
}

.faq[open] .faq__icon .icon--open {
  opacity: 1;
}

.faq[open] .faq__icon .icon--closed {
  opacity: 0;
}

.faq__content {
  overflow: hidden;
  padding: 0 2rem;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding-bottom 0.35s ease;
}

.faq__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-text-dark);
}

.faq[open] .faq__content {
  padding-bottom: 1.5rem;
  max-height: 600px;
  opacity: 1;
}

/* CTA Section */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem var(--space-md);
  overflow: hidden;
  color: var(--color-text-dark);
  background: var(--color-white);
}

.cta-content {
  display: flex;
  flex-direction: column;
}

.cta-heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.cta-subheading {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-body);
}

.cta-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
}


/* ============================================
   14. DASHBOARD SECTIONS
   ============================================ */

/* Dashboard Main Page */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
}

.improve-section {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-card);
  box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

.improve-section h2 {
  margin-bottom: 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.improve-section > p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Surveys Page */
.surveys-panel {
  padding: 2.5rem;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

.surveys-header {
  margin-bottom: 2rem;
}

.surveys-heading {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.surveys-subtitle {
  margin: 0;
  font-size: 1.125rem;
  color: var(--color-text-body);
}

.surveys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Rewards Page */
.rewards-content {
  padding-top: 0.5rem;
}

.rewards-balance-title {
  margin-bottom: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.rewards-balance-copy {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
  color: var(--color-text-body);
}

.rewards-balance-copy strong {
  font-weight: 700;
}

.rewards-balance-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.rewards-balance-text {
  flex: 1;
  min-width: 260px;
}

.rewards-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.rewards-progress .progress-bar-container {
  width: 100%;
  max-width: 520px;
}

.rewards-progress-text {
  width: 100%;
  margin: 0;
  font-size: 1rem;
  text-align: center;
  color: var(--color-text-body);
}

.rewards-progress-section {
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
}

.rewards-redeem-btn {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.rewards-history-title,
.rewards-help-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text-dark);
}

.rewards-help-copy {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-text-body);
}

.rewards-support-btn,
.rewards-help-btn {
  margin-top: 1.25rem;
}

.rewards-help-btn {
  margin-top: 0.75rem;
}

/* Login & Sign-up Pages */
.login-main,
.signup-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - 230px);
  padding: 5rem 1.5rem;
}

body.login-page .hero__form-container,
body.signup-page .hero__form-container {
  max-width: 480px;
  padding: 2.5rem;
  margin: 0 auto;
}

body.login-page .hero__form-title,
body.signup-page .hero__form-title {
  font-size: 2.625rem;
  line-height: 1.2;
  text-align: center;
}

body.login-page .hero__form-footer,
body.signup-page .hero__form-footer {
  margin-top: 1.5rem;
}

body.signup-page .header__login-button {
  display: inline-flex;
}


/* ============================================
   15. ANIMATIONS & UTILITIES
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 3px solid var(--color-purple-primary);
  outline-offset: 3px;
  border-radius: var(--space-xs);
}

/* Entrance Animations */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero__title {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.1s both;
  }

  .hero__subtext {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
  }

  .hero__form-container {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
  }

  @keyframes heroLogoFloat {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(10px);
    }
  }

  .hero__logo-bg {
    will-change: transform;
    animation: heroLogoFloat 10s ease-in-out infinite alternate;
  }

  .rewards-banner__features .feature-item,
  .love__grid .love__item {
/*    opacity: 0; */
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
  }

  .rewards-banner__features.is-visible .feature-item,
  .love__grid.is-visible .love__item {
    opacity: 1;
    transform: translateY(0);
  }

  .rewards-banner__features.is-visible .feature-item:nth-child(1) {
    transition-delay: 0.05s;
  }
  .rewards-banner__features.is-visible .feature-item:nth-child(2) {
    transition-delay: 0.15s;
  }
  .rewards-banner__features.is-visible .feature-item:nth-child(3) {
    transition-delay: 0.25s;
  }

  .love__grid.is-visible .row > div:nth-child(1) .love__item {
    transition-delay: 0.05s;
  }
  .love__grid.is-visible .row > div:nth-child(2) .love__item {
    transition-delay: 0.15s;
  }
  .love__grid.is-visible .row > div:nth-child(3) .love__item {
    transition-delay: 0.25s;
  }
  .love__grid.is-visible .row > div:nth-child(4) .love__item {
    transition-delay: 0.35s;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .faq__content,
  .faq,
  .faq__icon .icon {
    transition-duration: 0.35s !important;
  }
}


/* ============================================
   16. MEDIA QUERIES
   ============================================ */

/* Tablet & Below (1024px) */
@media (max-width: 1023px) {
  .header__nav--desktop,
  .header__login-button {
    display: none;
  }

  .header__burger {
    display: inline-flex;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 6;
  }

  .header__sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background: rgba(15, 15, 30, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translateX(100%);
    transition: transform 220ms ease-out;
    z-index: 5;
  }

  .header__backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.mobile-menu-open .header__sheet {
    transform: translateX(0);
  }

  body.mobile-menu-open .header__burger {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.35);
  }

  /* Dashboard pages: adjust header for mobile */
  body.dashboard-page .sign-out-btn,
  body.rewards-page .sign-out-btn,
  body.account-page .sign-out-btn {
    display: none;
  }

  body.dashboard-page .header__mobile,
  body.rewards-page .header__mobile,
  body.account-page .header__mobile {
    display: flex;
    position: static;
    grid-column: 3;
    justify-self: end;
  }

  body.dashboard-page .header__container,
  body.rewards-page .header__container,
  body.account-page .header__container {
    grid-template-columns: 1fr auto 1fr;
  }

  body.dashboard-page .header__logo-link,
  body.rewards-page .header__logo-link,
  body.account-page .header__logo-link {
    grid-column: 2;
    justify-self: center;
  }

  body.dashboard-page .header__burger,
  body.rewards-page .header__burger,
  body.account-page .header__burger {
    position: static;
  }

  body.dashboard-page.mobile-menu-open .header__burger,
  body.rewards-page.mobile-menu-open .header__burger,
  body.account-page.mobile-menu-open .header__burger {
    position: fixed;
    top: 16px;
    right: 16px;
  }

  /* Sign-up page mobile adjustments */
  body.signup-page .header__mobile {
    display: flex;
    position: static;
  }

  body.signup-page .header__burger {
    position: static;
  }

  body.signup-page.mobile-menu-open .header__burger {
    position: fixed;
    top: 16px;
    right: 16px;
  }
}

/* Desktop & Above (1024px+) */
@media (min-width: 1024px) {
  .header__mobile {
    display: none;
  }

  body.dashboard-page .sign-out-btn,
  body.rewards-page .sign-out-btn,
  body.account-page .sign-out-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .hero__content {
    text-align: left;
  }

  .hero__form-container {
    margin-right: -5rem;
  }

  .hero__logo-bg {
    top: clamp(-10px, 4vh, 80px);
    right: -400px;
    width: clamp(720px, 58vw, 1100px);
  }

  .showcase {
    padding-bottom: 5rem;
  }
}

/* Medium Screens (900px - 1200px) */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .right-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .surveys-panel {
    padding: 2rem;
  }
}

/* Tablet Adjustments (768px - 992px) */
@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
  }

  .hero__logo-bg {
    display: block;
    top: clamp(20px, 5vh, 100px);
    right: -400px;
    width: clamp(560px, 60vw, 900px);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
    transform: rotate(-6deg);
  }

  .rewards-banner {
    padding: var(--space-xxxl) 0;
  }

  .tab-buttons {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .rewards-balance-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .rewards-progress {
    align-items: flex-start;
  }

  .rewards-progress-text {
    text-align: left;
  }

  .account-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    padding: 2.5rem var(--space-md);
  }

  .cta-subheading {
    margin-bottom: 0.5rem;
  }

  .cta-image {
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .footer__legal {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Mobile & Small Tablets (768px and below) */
@media (max-width: 768px) {
  .welcome-bar {
    padding: 1rem;
  }

  .welcome-title {
    font-size: 1.75rem;
  }

  .welcome-points {
    font-size: 1.125rem;
  }

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

  .right-column {
    grid-template-columns: 1fr;
  }

  .surveys-panel {
    padding: 1.5rem;
  }

  .surveys-heading {
    font-size: 2rem;
  }

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

  .survey-card {
    max-width: 100%;
  }

  .rewards-card {
    padding: 1.25rem;
  }

  .rewards-balance-title {
    font-size: 1.625rem;
  }

  .rewards-progress-section {
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .account-section {
    padding: 1.5rem 1.25rem;
  }

  .account-details-grid {
    grid-template-columns: 1fr;
  }

  /* Tab navigation becomes 2x2 grid on mobile */
  .tab-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .tab-btn {
    min-width: 0;
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .tab-nav {
    margin: 1.5rem auto 1rem;
    padding: 0 1rem;
  }

  .showcase::after {
    inset: 48% 0 0 0;
  }

  .redeem-modal-inner,
  .unsubscribe-modal-inner {
    padding: 2.25rem 1.75rem 2rem;
  }

  .redeem-modal-title,
  .unsubscribe-modal-title {
    font-size: 1.7rem;
  }

  .redeem-modal-subtitle,
  .unsubscribe-modal-text {
    font-size: 1rem;
  }
}

/* Small Mobile (600px and below) */
@media (max-width: 600px) {
  .cta-section {
    padding: 2rem var(--space-md);
  }

  .cta-heading {
    font-size: 2rem;
    line-height: 1.3;
  }

  .cta-subheading {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .cta-image {
    max-width: 300px;
  }
}

/* Very Small Mobile (480px and below) */
@media (max-width: 480px) {
  .progress-section {
    max-width: 100%;
  }

  .category-card {
    padding: 0.75rem 1rem;
  }

  .category-name {
    font-size: 1.125rem;
  }
}


/* ============================================
   END OF STYLESHEET
   ============================================ */
   
/* Custom CSS */
.section-content {
    margin-bottom:1.5rem;
}

.main {
    min-height: calc(100vh - 332px);
}

.startSurvey {
    border:none;
    background:inherit;
}
}