/* ========================================
   MODERN ACTIVE PLAN PAGE - 2025 REDESIGN
   Design System v1.0
   ======================================== */

/* ===== CSS VARIABLES & DESIGN TOKENS ===== */
:root {
  /* Primary Brand Colors */
  --color-primary: #8A0025;
  --color-primary-light: #A61C3C;
  --color-primary-dark: #6A001D;
  --color-primary-gradient: linear-gradient(135deg, #A61C3C 0%, #8A0025 50%, #6A001D 100%);
  
  /* Accent Colors */
  --color-accent: #FFD700;
  --color-success: #10B981;
  --color-info: #3B82F6;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  
  /* Neutral Palette */
  --white: #FFFFFF;
  --black: #000000;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Spacing Scale (4px base unit) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Typography Scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.12);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
  --shadow-primary: 0 10px 30px rgba(138,0,37,0.25);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-base: 250ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 350ms cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  overflow-x: hidden;
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(138,0,37,0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-200);
  transform: translateY(-2px);
}

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

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-6);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--space-2);
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  transition: color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: var(--space-16) var(--space-6);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138,0,37,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, rgba(138,0,37,0.1) 0%, rgba(138,0,37,0.05) 100%);
  border: 1px solid rgba(138,0,37,0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
}

.hero-content h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.hero-content h1 .highlight {
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-details {
  display: flex;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  flex-wrap: wrap;
}

.policy-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-100);
}

.policy-item i {
  color: var(--color-primary);
  font-size: var(--text-xl);
}

.policy-item span {
  font-weight: var(--font-semibold);
  color: var(--gray-700);
}

/* ===== PLAN CARD ===== */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--gray-100);
  margin-top: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary-gradient);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--color-primary);
}

.plan-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.plan-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-gradient);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.plan-icon i {
  font-size: var(--text-3xl);
  color: var(--white);
}

.plan-title h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.plan-subtitle {
  color: var(--gray-600);
  font-size: var(--text-sm);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-radius: var(--radius-lg);
}

.plan-price .amount {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
}

.plan-price .period {
  font-size: var(--text-lg);
  color: var(--gray-600);
}

.auto-debit-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.05) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16,185,129,0.2);
  margin-top: var(--space-4);
}

.auto-debit-info i {
  color: var(--color-success);
  font-size: var(--text-xl);
}

.auto-debit-info span {
  color: var(--gray-700);
  font-weight: var(--font-medium);
}

/* ===== PLAN MANAGEMENT SECTION ===== */
.plan-management {
  padding: var(--space-16) var(--space-6);
  background: var(--white);
}

.plan-management-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.option-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-100);
  transition: all var(--transition-base);
  text-align: center;
}

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

.option-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-gradient);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-primary);
}

.option-icon i {
  font-size: var(--text-4xl);
  color: var(--white);
}

.option-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.option-card p {
  color: var(--gray-600);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 2000;
  padding: var(--space-4);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 2px solid var(--gray-100);
}

.modal-header h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--gray-500);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* ===== FORMS ===== */
.login-form-container {
  display: none;
  padding: var(--space-6);
}

.login-form-container.active {
  display: block;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-semibold);
  color: var(--gray-700);
  font-size: var(--text-sm);
}

.form-group label i {
  color: var(--color-primary);
}

.form-group input {
  padding: var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  transition: all var(--transition-base);
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(138,0,37,0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.half-width {
  width: 100%;
}

/* ===== AD BANNER ===== */
.add-banner {
  padding: var(--space-8) var(--space-6);
  background: var(--gray-50);
}

.add-banner img {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* ===== GROWTH SECTION (Dark Theme) ===== */
.growth-section {
  padding: var(--space-20) var(--space-6);
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.growth-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(138,0,37,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.growth-section .section-header {
  position: relative;
  z-index: 1;
}

.growth-section .section-header h2 {
  color: var(--white);
}

.growth-section .section-header p {
  color: var(--gray-400);
}

.growth-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.growth-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.growth-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
  border-color: rgba(138,0,37,0.5);
}

.growth-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-gradient);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(138,0,37,0.4);
}

.growth-icon i {
  font-size: var(--text-4xl);
  color: var(--white);
}

.growth-card h3 {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.growth-card p {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-300);
  margin-bottom: var(--space-2);
}

.growth-subtitle {
  font-size: var(--text-sm);
  color: var(--gray-500);
  display: block;
}

/* ===== SUCCESS SECTION ===== */
.success-section {
  padding: var(--space-20) var(--space-6);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-container {
  max-width: 800px;
  margin: 0 auto;
}

.success-content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-2xl);
  border: 2px solid var(--gray-100);
  text-align: center;
}

.success-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.05) 100%);
  border-radius: 50%;
  border: 3px solid var(--color-success);
}

.success-icon i {
  font-size: 60px;
  color: var(--color-success);
}

.success-content h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.success-content p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin-bottom: var(--space-8);
}

.verification-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.detail-item i {
  color: var(--color-success);
  font-size: var(--text-xl);
}

.detail-item span {
  color: var(--gray-700);
  font-weight: var(--font-medium);
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
  padding: var(--space-16) var(--space-6);
  background: var(--white);
}

.download-container {
  max-width: 1000px;
  margin: 0 auto;
}

.download-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-100);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.feature-item i {
  color: var(--color-primary);
  font-size: var(--text-xl);
}

.feature-item span {
  font-weight: var(--font-medium);
  color: var(--gray-700);
}

.download-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin: var(--space-8) 0;
  flex-wrap: wrap;
}

.download-link {
  transition: transform var(--transition-base);
  display: block;
}

.download-link:hover {
  transform: scale(1.05);
}

.download-link img {
  height: 60px;
  width: auto;
  border-radius: var(--radius-md);
}

.additional-actions {
  margin-top: var(--space-12);
  text-align: center;
}

.additional-actions h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-6);
}

.action-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  margin-top: auto;
}

.footer-top {
  padding: var(--space-16) var(--space-6);
  border-bottom: 1px solid var(--gray-800);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-section h3 {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  color: var(--gray-400);
}

.footer-social h4 {
  color: var(--white);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition-base);
}

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

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-3);
}

.footer-section ul li a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-section ul li a:hover {
  color: var(--color-primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  gap: var(--space-3);
}

.contact-item i {
  color: var(--color-primary);
  font-size: var(--text-lg);
  margin-top: 2px;
}

.contact-item span {
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.footer-bottom {
  padding: var(--space-6);
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal p {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.legal-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 50px;
  height: 50px;
  background: var(--color-primary-gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(138,0,37,0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-base);
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .hero-content h1 {
    font-size: var(--text-4xl);
  }
  
  .plan-price .amount {
    font-size: var(--text-4xl);
  }
  
  .section-header h2 {
    font-size: var(--text-3xl);
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .growth-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: var(--text-3xl);
  }
  
  .policy-details {
    flex-direction: column;
  }
  
  .plan-price .amount {
    font-size: var(--text-3xl);
  }
  
  .section-header h2 {
    font-size: var(--text-2xl);
  }
  
  .success-icon {
    width: 100px;
    height: 100px;
  }
  
  .success-icon i {
    font-size: 50px;
  }
  
  .success-content h1 {
    font-size: var(--text-3xl);
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
