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

:root {
  /* Light mode colors - Premium palette */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --accent-red: #C80F2E;
  --accent-red-light: #fee2e2;
  --accent-red-bg: #fef2f2;
  --pif-bg: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  --pif-border: #fecaca;
  --monthly-bg: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  --monthly-border: #e5e7eb;
  --tier-border: rgba(229, 231, 235, 0.5);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] {
  /* Dark mode colors - Premium dark palette */
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-tertiary: #9ca3af;
  --border-color: #374151;
  --border-light: #1f2937;
  --accent-red: #ff4d6d;
  --accent-red-light: #4a1a1a;
  --accent-red-bg: #2a1a1a;
  --pif-bg: linear-gradient(135deg, #3a1f1f 0%, #1f1f1f 100%);
  --pif-border: #5a2a2a;
  --monthly-bg: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  --monthly-border: #374151;
  --tier-border: rgba(55, 65, 81, 0.5);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  padding: 0;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

/* Premium Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-red);
  background: var(--bg-secondary);
}

.theme-toggle:active {
  transform: translateY(0);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-bottom: 40px;
}

.logo-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  opacity: 0.4;
}

.logo {
  height: 90px;
  width: auto;
  filter: brightness(0);
  display: block;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .logo {
  filter: none;
}

/* Premium Benefits Section */
.benefits-section {
  margin-bottom: 65px;
  margin-top: -15px;
  text-align: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  position: relative;
  overflow: visible;
}

.benefits-section:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

[data-theme="dark"] .benefits-section {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.benefits-section::before {
  content: "MEMBERSHIP BENEFITS";
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
}


.benefits-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  font-size: 15px;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.benefits-list li {
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 32px;
  line-height: 1.8;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.benefits-list li:hover {
  transform: translateX(4px);
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-red);
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-red-light);
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}

.benefits-list li.no-checkmark:before {
  display: none;
}

.benefits-list li.no-checkmark {
  padding-left: 0;
  font-size: 12px;
  font-weight: 700;
}

/* Premium Pricing Filter Tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  padding: 0 20px;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: -24px;
  margin-bottom: 48px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  left: 0;
  right: 0;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tabs.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
}

.pricing-tabs.scrolled::after {
  opacity: 1;
}

[data-theme="dark"] .pricing-tabs {
  background: transparent;
}

[data-theme="dark"] .pricing-tabs.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: rgba(15, 15, 15, 0.8);
}

.pricing-tab {
  padding: 14px 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}

.tab-text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
}

.pricing-tab[data-filter="all"] .tab-icon {
  font-size: 20px;
  transform: translateY(-3px);
}

.pricing-tab[data-filter="unlimited"] .tab-icon {
  font-size: 28px;
}

.pricing-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 15, 46, 0.1), transparent);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tab:hover::before {
  left: 100%;
}

.pricing-tab:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pricing-tab.active {
  background: linear-gradient(135deg, var(--accent-red) 0%, #ff4d6d 100%);
  color: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(200, 15, 46, 0.3), 0 2px 4px rgba(200, 15, 46, 0.2);
}

.pricing-tab.active:hover {
  background: linear-gradient(135deg, #ff4d6d 0%, var(--accent-red) 100%);
  box-shadow: 0 6px 16px rgba(200, 15, 46, 0.4), 0 3px 6px rgba(200, 15, 46, 0.3);
  transform: translateY(-3px);
}

[data-theme="dark"] .pricing-tab {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .pricing-tab:hover {
  background: var(--bg-primary);
  border-color: var(--accent-red);
}

[data-theme="dark"] .pricing-tab.active {
  background: linear-gradient(135deg, var(--accent-red) 0%, #ff4d6d 100%);
  border-color: var(--accent-red);
}

/* Premium Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
  transition: grid-template-columns 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-grid.filtered {
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  width: 100%;
}

.pricing-tier {
  border: 1px solid var(--tier-border);
  border-radius: 24px;
  padding: 40px;
  background-color: var(--bg-primary);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  transform: translateY(0);
  width: 100%;
  max-width: 400px;
}

.pricing-grid.filtered .pricing-tier {
  max-width: 100%;
}

.pricing-tier.filtered-tier {
  max-width: 1100px !important;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px;
  align-items: stretch;
  width: 100%;
  justify-self: center;
}

.pricing-tier.filtered-tier .tier-title {
  grid-column: 1 / -1;
  margin-bottom: 32px;
}

.pricing-tier.filtered-tier .pricing-option {
  margin-bottom: 0 !important;
  width: 100%;
  min-width: 0;
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-tier.filtered-tier .pricing-option .enroll-button,
.pricing-tier.filtered-tier .pricing-option .renew-button {
  margin-top: auto;
}

.pricing-tier:not(.filtered-tier) .pricing-option {
  margin-bottom: 32px;
}

.pricing-tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tier:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-red);
}

.pricing-tier:hover::before {
  opacity: 1;
}

[data-theme="dark"] .pricing-tier {
  border-color: var(--tier-border);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .pricing-tier:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-red);
}

.tier-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-red);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-bottom: 20px;
  white-space: nowrap;
}

.tier-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  border-radius: 1px;
  opacity: 0.6;
}

.pricing-option {
  margin-bottom: 32px;
  padding: 32px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-option::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-option:hover::before {
  opacity: 1;
}

.pricing-option.pif-option {
  background: var(--pif-bg);
  border: 1px solid var(--pif-border);
  box-shadow: var(--shadow-sm);
}

.pricing-option.pif-option:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-red);
}

.pricing-option.monthly-option {
  background: var(--monthly-bg);
  border: 1px solid var(--monthly-border);
  box-shadow: var(--shadow-sm);
}

  .pricing-option.monthly-option:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
  }

.option-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.5px;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  font-size: 14px;
}

.pricing-option:hover .option-title {
  color: var(--accent-red);
}

.highlight-badge {
  display: block;
  background: linear-gradient(135deg, var(--accent-red) 0%, #ff4d6d 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 12px rgba(200, 15, 46, 0.3), 0 2px 4px rgba(200, 15, 46, 0.2);
  white-space: nowrap;
  position: relative;
  width: fit-content;
  margin: 0 auto 16px auto;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(200, 15, 46, 0.4), 0 3px 6px rgba(200, 15, 46, 0.3);
}

.highlight-badge:focus {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
  border-radius: 24px;
}

.price {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  letter-spacing: -2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.pricing-option:hover .price {
  transform: scale(1.05);
}

.price-period {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 4px;
  letter-spacing: 0.5px;
}

.price-per-session {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: -8px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.price-note {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.option-note {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.6;
  font-weight: 400;
}

/* Premium Button Design */
.enroll-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  text-align: center;
  padding: 18px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: none;
}

.enroll-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.enroll-button:hover::before {
  left: 100%;
}

.enroll-button:hover {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.enroll-button:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.enroll-button:focus {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
}

[data-theme="dark"] .enroll-button {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  color: #000000;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .enroll-button:hover {
  background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .enroll-button::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Renew button uses same styles as enroll button */
.renew-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  text-align: center;
  padding: 18px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: none;
}

.renew-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.renew-button:hover::before {
  left: 100%;
}

.renew-button:hover {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.renew-button:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.renew-button:focus {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
}

[data-theme="dark"] .renew-button {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  color: #000000;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .renew-button:hover {
  background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .renew-button::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.guest-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 60px;
  margin-bottom: 40px;
  padding: 24px 32px;
  background: var(--bg-secondary);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
  border-left: 3px solid var(--accent-red);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .guest-note {
  background: var(--bg-secondary);
  border-left-color: var(--accent-red);
}

.guest-note p {
  margin: 0;
  line-height: 1.7;
}

.referral-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 40px;
  padding: 24px 32px;
  background: transparent;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
  border: 2px dashed var(--border-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .referral-note {
  border-color: var(--border-color);
}

.referral-note p {
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

footer {
  width: 100%;
  background-color: var(--bg-primary);
  padding: 50px 40px;
  margin-top: 80px;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin-bottom: 32px;
  transition: background-color 0.3s ease;
}

.footer-content {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
}

.footer-content p {
  margin: 12px 0;
}

.copyright {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-info {
  font-size: 14px;
  font-weight: 500;
}

.contact-info a {
  color: var(--accent-red);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  position: relative;
}

.contact-info a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--accent-red);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.contact-info a:hover {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.contact-info a:focus {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

/* Premium Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.modal-content {
  background-color: var(--bg-primary);
  border-radius: 24px;
  max-width: 95%;
  max-height: 95vh;
  max-height: 95dvh;
  width: 1200px;
  height: 90vh;
  height: 90dvh;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #374151;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 32px;
  padding-top: max(14px, env(safe-area-inset-top));
  border-bottom: 1px solid #374151;
  transition: border-color 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
  background: #1a1a1a;
  min-height: auto;
  gap: 16px;
}

.modal-title-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

[data-theme="dark"] .modal-header {
  background: #1a1a1a;
  border-bottom-color: #374151;
}

.modal-title {
  font-size: 20px;
  font-weight: 900;
  color: #ff4d6d;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  transition: color 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
}

.modal-title-line1 {
  white-space: nowrap;
  display: inline;
}

.modal-title-line2 {
  white-space: nowrap;
  display: inline;
  margin-left: 8px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #d1d5db;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  margin: 0;
}

.modal-refresh {
  background: none;
  border: 1px solid #374151;
  padding: 6px 12px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  margin-right: 8px;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.refresh-icon {
  font-size: 16px;
  line-height: 1;
}

.refresh-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.modal-refresh:hover {
  color: #f9fafb;
  background: #2a2a2a;
  border-color: #4b5563;
}

.modal-refresh:active {
  transform: scale(0.96);
}

.modal-close:hover {
  color: #f9fafb;
  background: #2a2a2a;
  transform: rotate(90deg);
}

.modal-close:active {
  transform: rotate(90deg) scale(0.95);
}

.modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 77, 109, 0.2);
  border-top-color: #ff4d6d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loader-text {
  color: #f9fafb;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 1px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-iframe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 110px;
  max-height: 110px;
  height: 16.1%;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-bottom: 1px solid #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .modal-iframe-overlay {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  border-bottom-color: #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.modal-overlay-content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  width: 100%;
}

.modal-overlay-logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  padding: 6px;
  filter: none;
  transition: filter 0.3s ease;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .modal-overlay-logo {
  filter: none;
}

[data-theme="dark"] .modal-overlay-logo {
  filter: none;
}

.modal-overlay-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.modal-overlay-name {
  font-size: 16px;
  font-weight: 800;
  color: #f9fafb;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.modal-overlay-address {
  font-size: 11px;
  color: #d1d5db;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.modal-overlay-phone {
  font-size: 11px;
  color: #ff4d6d;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.modal-overlay-phone:hover {
  color: #ff4d6d;
  opacity: 0.8;
  text-decoration: underline;
}

.modal-overlay-phone:active {
  opacity: 0.6;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  clip-path: inset(110px 0 0 0);
  position: relative;
}

/* Premium Savings Modal */
.savings-modal-content {
  width: 520px;
  max-width: 90vw;
  height: auto;
  max-height: 85vh;
}

.savings-modal-body {
  padding: 40px;
  overflow-y: auto;
}

.savings-content {
  text-align: center;
}

.savings-membership-info {
  margin-bottom: 32px;
  padding-bottom: 24px;
  position: relative;
}

.savings-membership-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  border-radius: 1px;
  opacity: 0.6;
}

.savings-membership-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.savings-membership-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.savings-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.savings-line span {
  font-weight: 500;
  color: var(--text-secondary);
}

.savings-line strong {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.savings-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, var(--accent-red-bg) 0%, var(--bg-primary) 100%);
  border-radius: 16px;
  border: 2px solid var(--accent-red);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.savings-total span {
  font-weight: 700;
}

.savings-total strong {
  font-weight: 900;
  font-size: 28px;
  color: var(--accent-red);
  letter-spacing: -1px;
}

.savings-note {
  margin-top: 24px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 500;
}

.savings-modal-enroll,
.savings-modal-renew {
  margin-top: 32px;
  width: 100%;
}

/* Premium Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .container {
    padding: 40px 20px;
  }

  .theme-toggle {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 10px;
  }

  .logo-container {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .logo {
    height: 70px;
  }

  .benefits-section {
    padding: 0;
    margin-bottom: 35px;
    margin-top: -15px;
    border-radius: 0;
  }

  .benefits-section::before {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }


  .benefits-list {
    font-size: 14px;
    gap: 16px 24px;
  }

  .benefits-list li {
    padding-left: 28px;
    display: flex;
    align-items: center;
  }

  .benefits-list li:before {
    width: 18px;
    height: 18px;
    font-size: 11px;
    top: 50%;
    transform: translateY(-50%);
  }

  .benefits-list li.no-checkmark {
    font-size: 12px;
    font-weight: 700;
  }

  .pricing-tabs {
    gap: 8px;
    margin-bottom: 32px;
    padding: 0 10px;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: -24px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    left: 0;
    right: 0;
    top: 0;
  }

  .pricing-tab {
    padding: 14px;
    min-width: 56px;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    max-width: 56px;
    border-radius: 12px;
  }

  .tab-icon {
    display: block;
    font-size: 24px;
    line-height: 1;
  }

  .tab-text {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
    justify-items: center;
  }

  .pricing-grid.filtered {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-items: center;
    width: 100%;
  }

  .pricing-grid.filtered .pricing-tier {
    max-width: 100%;
    width: 100%;
  }

  .pricing-tier {
    padding: 32px 24px;
    border-radius: 20px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }

  .pricing-tier.filtered-tier {
    grid-template-columns: 1fr !important;
    gap: 24px;
    max-width: 100% !important;
    padding: 32px 24px;
    display: grid !important;
    margin: 0 auto !important;
    width: 100% !important;
    justify-self: center;
  }

  .pricing-tier.filtered-tier .pricing-option {
    margin-bottom: 24px;
    padding: 32px 24px;
    width: 100%;
  }

  .pricing-tier {
    max-width: 100%;
    margin: 0 auto;
  }

  .tier-title {
    font-size: 18px;
    margin-bottom: 32px;
    padding-bottom: 16px;
  }

  .option-title {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .price {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .price-period {
    font-size: 18px;
  }

  .highlight-badge {
    font-size: 9px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .enroll-button,
  .renew-button {
    padding: 16px 24px;
    font-size: 13px;
    margin-top: 24px;
    border-radius: 10px;
  }

  .guest-note {
    font-size: 12px;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 20px 24px;
    border-radius: 14px;
  }

  .referral-note {
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 20px 24px;
    border-radius: 14px;
  }


  footer {
    padding: 40px 24px;
    margin-top: 50px;
  }

  .footer-content {
    font-size: 12px;
  }

  .copyright {
    font-size: 11px;
  }

  .contact-info {
    font-size: 13px;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    align-self: flex-start;
    padding-top: env(safe-area-inset-top);
  }

  .modal-header {
    padding: 10px 20px;
    padding-top: max(20px, calc(env(safe-area-inset-top) + 20px));
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    min-height: auto;
  }

  .modal-title-wrapper {
    flex: 1;
    min-width: 0;
  }

  .modal-title {
    font-size: 16px;
    letter-spacing: 1.5px;
    line-height: 1.2;
    display: inline;
  }

  .modal-title-line1 {
    display: inline;
    white-space: nowrap;
  }

  .modal-title-line2 {
    display: block;
    white-space: nowrap;
    margin-left: 0;
    margin-top: 2px;
  }

  .modal-header-actions {
    flex-shrink: 0;
    margin-top: 0;
  }

  .modal-refresh {
    padding: 6px;
    width: 32px;
    gap: 0;
  }

  .refresh-text {
    display: none;
  }

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

  .modal-iframe-overlay {
    padding: 0 20px;
    min-height: 110px;
    max-height: 110px;
    height: 16.1%;
  }

  .modal-overlay-content {
    gap: 12px;
  }

  .modal-overlay-logo {
    width: 43px;
    height: 43px;
    padding: 4px;
  }

  .modal-overlay-name {
    font-size: 14px;
  }

  .modal-overlay-address,
  .modal-overlay-phone {
    font-size: 10px;
  }

  .loader-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
    margin-bottom: 16px;
  }

  .loader-text {
    font-size: 14px;
  }

  .modal-close {
    font-size: 28px;
    width: 36px;
    height: 36px;
  }

  .savings-modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
  }

  .savings-modal-body {
    padding: 24px;
  }

  .savings-membership-info {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .savings-membership-title {
    font-size: 18px;
  }

  .savings-membership-subtitle {
    font-size: 12px;
  }

  .savings-line {
    font-size: 13px;
    padding: 16px 20px;
    margin-bottom: 16px;
  }

  .savings-line strong {
    font-size: 16px;
  }

  .savings-total {
    font-size: 16px;
    padding: 20px;
    margin-top: 24px;
  }

  .savings-total strong {
    font-size: 24px;
  }

  .savings-note {
    font-size: 12px;
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .savings-modal-enroll,
  .savings-modal-renew {
    margin-top: 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid.filtered {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-items: center;
    width: 100%;
  }

  .pricing-grid.filtered .pricing-tier {
    max-width: 100%;
    width: 100%;
  }

  .pricing-tier.filtered-tier {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 100% !important;
    padding: 36px 28px;
    margin: 0 auto !important;
    width: 100% !important;
    justify-self: center;
  }

  .pricing-tier.filtered-tier .pricing-option {
    padding: 32px 24px;
  }

  .container {
    padding: 50px 30px;
  }

  .pricing-tabs {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    left: 0;
    right: 0;
    padding: 0 20px;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: -24px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 60px;
  }

  .benefits-section {
    padding: 0;
    margin-top: -15px;
  }

  .benefits-list {
    font-size: 13px;
    gap: 12px 20px;
  }

  .benefits-list li.no-checkmark {
    font-size: 12px;
    font-weight: 700;
  }

  .pricing-tabs {
    gap: 6px;
    margin-bottom: 28px;
    padding: 0 8px;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: -24px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    left: 0;
    right: 0;
    top: 0;
  }

  .pricing-tab {
    padding: 12px;
    min-width: 52px;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    max-width: 52px;
    border-radius: 10px;
  }

  .tab-icon {
    display: block;
    font-size: 22px;
    line-height: 1;
  }

  .tab-text {
    display: none;
  }

  .tier-title {
    font-size: 16px;
  }

  .price {
    font-size: 36px;
  }

  .pricing-tier {
    padding: 24px 20px;
    max-width: 100%;
    margin: 0 auto;
  }

  .pricing-tier.filtered-tier {
    grid-template-columns: 1fr !important;
    gap: 20px;
    max-width: 100% !important;
  }

  .pricing-tier.filtered-tier .pricing-option {
    margin-bottom: 20px;
  }

  .pricing-option {
    padding: 24px 20px;
  }

}
