/* ===== CSS Custom Properties (Variables) - Light Mode (Default) ===== */
:root {
  /* Colors */
  --primary-color: #ff9933;
  --primary-dark: #e67e22;
  --primary-light: #ffb366;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8f7f4;
  --bg-tertiary: #f0ede8;
  
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;
  
  --accent-purple: #6b4ce3;
  --accent-pink: #e85d9d;
  --accent-blue: #00a3e0;
  
  --border-light: #e5e5e5;
  --border-medium: #d0d0d0;
  
  --navbar-bg: #ffffff;
  --navbar-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --hero-bg: linear-gradient(135deg, #fff5e8 0%, #ffe8d6 100%);
  
  --footer-bg: #f8f7f4;
  --footer-text: #1a1a1a;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ===== Dark mode — these variables are now handled by each theme's -dark.css file.
   Only non-theme vars that aren't covered by theme CSS are overridden here. ===== */

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Navigation Bar ===== */
#navbar {
  background-color: var(--navbar-bg);
  color: var(--text-primary);
  box-shadow: var(--navbar-shadow);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.navbar {
  width: 100%;
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-desktop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}

.nav-brand-area {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.nav-brand-area:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Icon Badge: stacked A / FH emblem ── */
.nav-icon-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #ff9933 0%, #c96a00 55%, #8b4400 100%);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255,153,51,0.4),
    0 4px 14px rgba(201,106,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  gap: 0;
}

/* subtle shimmer line */
.nav-icon-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}

.nav-icon-a {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-icon-fh {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 0.6rem;
  color: rgba(255,235,200,0.92);
  line-height: 1;
  letter-spacing: 3px;
  margin-top: -1px;
  text-transform: uppercase;
}

/* ── Brand wordmark ── */
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-wordmark {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-brand-accent {
  color: #ff9933;
}

.nav-brand-tagline {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
}

/* Theme-based logo visibility */
.logo-dark {
  display: none !important;
}

.logo-light {
  display: block !important;
}

html.dark-mode .logo-light {
  display: none !important;
}

html.dark-mode .logo-dark {
  display: block !important;
}

/* Ensure inline-block for footer and auth logos */
.footer-logo.logo-dark, .auth-logo-top .logo-dark {
  display: none !important;
}

html.dark-mode .footer-logo.logo-light,
html.dark-mode .auth-logo-top .logo-light {
  display: none !important;
}

html.dark-mode .footer-logo.logo-dark,
html.dark-mode .auth-logo-top .logo-dark {
  display: block !important;
}

.nav-desktop-primary {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.nav-menu,
.nav-menu-list,
.nav-menu-fallback {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  white-space: nowrap;
}

.nav-menu-list {
  list-style: none;
  margin: 0;
  padding: 0 1rem 0 0;
  overflow-x: auto;
}

.nav-menu-fallback {
  overflow-x: auto;
  padding-right: 1rem;
}

.nav-item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-desktop-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-mobile-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu {
  scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-link:hover {
  color: #111;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffe68a 0%, #ffbf3b 100%);
  box-shadow: 0 14px 28px rgba(255, 191, 59, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  inset: auto 1rem 0.4rem;
  width: 0;
  height: 2px;
  background-color: rgba(17, 17, 17, 0.6);
  transition: width 0.28s ease;
}

.nav-link:hover::after {
  width: calc(100% - 2rem);
}

.icon-btn {
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid var(--border-light);
}

.icon-btn:hover {
  color: #111;
  background: linear-gradient(135deg, #ffe68a 0%, #ffbf3b 100%);
  box-shadow: 0 12px 26px rgba(255, 191, 59, 0.24);
}

/* ===== Mobile Menu ===== */
.menu-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  padding: 0.5rem;
}

#mobile-menu {
  background-color: var(--navbar-bg);
  border-bottom: 1px solid var(--border-light);
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem 2rem;
}

#mobile-menu.active {
  display: flex;
}

.mobile-menu-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.95rem 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border-radius: 16px;
}

.mobile-menu-link:hover {
  color: #111;
  background: linear-gradient(135deg, #ffe68a 0%, #ffbf3b 100%);
}

@media (max-width: 768px) {
  .nav-shell {
    padding: 0 1rem;
  }

  .nav-desktop-row {
    display: none;
  }

  .nav-mobile-row {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (min-width: 769px) {
  #mobile-menu {
    display: none !important;
  }
}

/* ===== Currency Pill ===== */
.currency-pill {
  position: relative;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.currency-pill:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

html.dark-mode .currency-pill {
  border-color: var(--border-medium);
}

/* ===== Currency Dropdown ===== */
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  max-height: 380px;
  overflow-y: auto;
  animation: slideDown 0.18s ease-out;
}

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

.currency-option {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-primary);
}

html.dark-mode .currency-option {
  border-bottom-color: var(--border-medium);
}

.currency-option:last-child {
  border-bottom: none;
}

.currency-option:hover,
.currency-option--active {
  background-color: var(--primary-color);
  color: white;
}

.currency-option span:first-child {
  flex: 1;
}

.currency-option span:last-child {
  font-weight: 700;
  margin-left: auto;
  margin-left: 16px;
  white-space: nowrap;
}

/* ===== CTA Button ===== */
.nav-cta, .logout-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-cta:hover, .logout-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Auth Buttons (Login/Signup) ===== */
.nav-auth-link {
  padding: 0.68rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 0.84rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.login-btn {
  color: var(--text-primary);
  background-color: transparent;
  border: 1px solid var(--border-medium);
}

.login-btn:hover {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #ffe68a 0%, #ffbf3b 100%);
  box-shadow: 0 12px 26px rgba(255, 191, 59, 0.24);
}

.nav-user-menu {
  position: relative;
}

.nav-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nav-user-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 51, 0.28);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb347 0%, #ff9933 58%, #00a3e0 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-user-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-user-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-user-menu.is-open .nav-user-chevron {
  transform: rotate(180deg);
}

.nav-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  min-width: 210px;
  padding: 0.5rem;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 70;
}

.nav-user-menu.is-open .nav-user-dropdown {
  display: block;
}

.nav-user-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-user-item:hover {
  background: rgba(255, 153, 51, 0.1);
  color: var(--primary-color);
}

.nav-user-item-danger:hover {
  background: rgba(232, 93, 157, 0.1);
  color: var(--accent-pink);
}

.signup-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
  color: #0B1020;
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.35);
}

.signup-btn:hover {
  background: linear-gradient(135deg, #E8C84A 0%, #D4AF37 100%);
  color: #0B1020;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.45);
}

html.dark-mode .login-btn {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background-color: transparent;
}

html.dark-mode .login-btn:hover {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #ffe68a 0%, #ffbf3b 100%);
  box-shadow: 0 12px 26px rgba(255, 191, 59, 0.24);
}

html.dark-mode .nav-user-trigger,
html.dark-mode .nav-user-dropdown {
  background: rgba(18, 18, 22, 0.98);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark-mode .nav-user-item:hover {
  background: rgba(255, 196, 90, 0.12);
  color: #ffd466;
}

html.dark-mode .nav-user-item-danger:hover {
  background: rgba(232, 93, 157, 0.16);
  color: #ffb9d6;
}

/* ===== Theme Toggle Button ===== */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: linear-gradient(135deg, #ffe68a 0%, #ffbf3b 100%);
  border-color: transparent;
  color: #111;
  transform: scale(1.05);
}

.theme-icon {
  font-size: 1rem;
  animation: rotate 0.3s ease;
}

@media (max-width: 1280px) {
  .nav-link {
    font-size: 0.84rem;
    padding: 0.62rem 0.82rem;
  }

  .nav-auth-link,
  .nav-cta,
  .logout-btn,
  .currency-pill {
    font-size: 0.76rem;
  }
}

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

/* ===== Main Content ===== */
main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 80px auto 0;
}

main > :not(#global-messages) {
  margin-left: auto;
  margin-right: auto;
}

main > .container,
main > .container-fluid,
main > .shop-page,
main > .page-section,
main > .content-section {
  width: 100%;
}

/* ===== Button Styles ===== */
.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ===== Links ===== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ===== Dashboard Hero Section ===== */
.dashboard-hero {
  background: var(--hero-bg);
  color: var(--text-primary);
  padding: 4rem 2rem;
  border-radius: 0;
  margin-top: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.dashboard-hero h1 {
  font-size: 3.5rem;
  font-family: 'Cinzel Decorative', serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.dashboard-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
footer.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-panel {
  display: flex;
  flex-direction: column;
}

.footer-panel.wide {
  grid-column: 1 / 2;
  padding-right: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-brand-name:hover {
  color: var(--primary-light);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.footer-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
}

.footer-cta-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-cta-link:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-list li {
  margin: 0;
  padding: 0;
}

.footer-list a {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-list a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-legal {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem 1rem;
  }
  
  .footer-panel.wide {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
    padding: 0.75rem 1rem;
  }
}

/* ===== Utility Classes ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.bg-primary {
  background-color: var(--bg-primary);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.mt-4 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .dashboard-hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .features-section,
  .platform-section,
  .about-section,
  .pricing-section {
    padding: 2rem 0.5rem;
  }

  .feature-item {
    padding: 1.5rem;
  }

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

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

  .pricing-card.featured {
    transform: scale(1);
  }

  .nav-link::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .dashboard-hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.95rem;
  }

  .pricing {
    padding: 2rem 1rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .pricing-value .amount {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }
}

/* ===== Features Section ===== */
.features {
  padding: 5rem 2rem;
  background-color: var(--bg-secondary);
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  color: var(--text-secondary);
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  border-radius: 12px;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background-color: #f5f5f5;
}

/* ===== Highlight Box ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(107, 76, 227, 0.1) 100%);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.highlight-box h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.pricing-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-intro p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-included {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0;
}

.pricing-included li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--text-primary);
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--primary-color);
}

.pricing-duration {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  color: var(--text-secondary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}

.pricing-button:hover {
  background-color: var(--primary-color);
  color: white;
}

.pricing-button.primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pricing-button.primary:hover {
  opacity: 0.9;
}

.pricing-addons {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.pricing-addons h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-addons > p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.addon-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 153, 51, 0.1);
}

.addon-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.addon-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.addon-card li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.addon-card li:last-child {
  border-bottom: none;
}

.pricing-faq {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.pricing-faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--link-color);
  border-radius: 4px;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Platform Section Specific Styles ===== */
.data-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  border-left: 4px solid var(--link-color);
}

.data-section h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.system-requirements {
  background-color: var(--bg-secondary);
  margin-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.req-card {
  background-color: var(--bg-primary);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.req-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.req-card ul {
  list-style: none;
}

.req-card li {
  color: var(--text-secondary);
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

/* ===== About Section Specific Styles ===== */
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pillar {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pillar:hover {
  box-shadow: 0 10px 25px rgba(255, 153, 51, 0.1);
}

.pillar h3 {
  margin-bottom: 1rem;
  color: var(--link-color);
  font-size: 1.3rem;
}

.pillar p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.values-section {
  background-color: var(--bg-secondary);
  margin-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 153, 51, 0.15);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background-color: var(--hero-bg);
  padding: 3rem 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.hero-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

/* ===== Small List Styles ===== */
.small-list {
  list-style: none;
  margin-left: 0;
}

.small-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.small-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--link-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .features-section,
  .platform-section,
  .about-section,
  .pricing-section {
    padding: 2rem 0.5rem;
  }

  .feature-item {
    padding: 1.5rem;
  }

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

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

  .philosophy-pillars {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.95rem;
  }

  .pricing-value .amount {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

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

/* ===== Scroll Animation Keyframes ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== Scroll Animation Classes ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.scroll-animate.animate-fade {
  animation: fadeIn 0.6s ease forwards;
}

.scroll-animate.animate-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.scroll-animate.animate-right {
  animation: fadeInRight 0.6s ease forwards;
}

.scroll-animate.animate-scale {
  animation: scaleIn 0.6s ease forwards;
}

/* Staggered animations for multiple elements */
.scroll-animate:nth-child(1) { animation-delay: 0s; }
.scroll-animate:nth-child(2) { animation-delay: 0.1s; }
.scroll-animate:nth-child(3) { animation-delay: 0.2s; }
.scroll-animate:nth-child(4) { animation-delay: 0.3s; }
.scroll-animate:nth-child(5) { animation-delay: 0.4s; }
.scroll-animate:nth-child(6) { animation-delay: 0.5s; }

/* Sections with scroll animations */
.dashboard-hero.scroll-animate {
  opacity: 0;
  transform: translateY(60px);
}

.dashboard-hero.scroll-animate.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

.features.scroll-animate .features-grid {
  opacity: 0;
}

.features.scroll-animate.animate-in .features-grid {
  animation: fadeInUp 0.8s ease forwards;
}

.feature-card.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.scroll-animate.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.section-header.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
}

.section-header.scroll-animate.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Luxury Enhancements */
.cta-section {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 30, 50, 0.95) 100%) !important;
    border: 1px solid var(--border-medium) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.feature-card {
    border-bottom: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    border-bottom-color: var(--primary-color);
    transform: translateY(-8px);
}

.nav-premium-badge {
    padding: 2px 8px;
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}
