/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  /* Colors from Logo */
  --primary: #1A2526;
  --accent: #FFC107;
  --primary-dark: #141C1D;
  --accent-dark: #FFB300;
  --secondary: #0ea5e9;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --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;
  --white: #ffffff;
  --black: #000000;
  
  /* Dark Mode Colors */
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-border: #334155;
  --dark-text: #f8fafc;
  --dark-text-muted: #94a3b8;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.2);
  
  /* Borders */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Animation */
  --transition: all 0.3s ease;
  --transition-slow: all 0.4s ease;
  --transition-fast: all 0.15s ease;
  
  /* Spacing - Reduced values */
  --spacing-0: 0;
  --spacing-1: 0.125rem; /* Reduced from 0.25rem */
  --spacing-2: 0.25rem;  /* Reduced from 0.5rem */
  --spacing-3: 0.375rem; /* Reduced from 0.75rem */
  --spacing-4: 0.5rem;   /* Reduced from 1rem */
  --spacing-5: 0.625rem; /* Reduced from 1.25rem */
  --spacing-6: 0.75rem;  /* Reduced from 1.5rem */
  --spacing-8: 1rem;     /* Reduced from 2rem */
  --spacing-10: 1.25rem; /* Reduced from 2.5rem */
  --spacing-12: 1.5rem;  /* Reduced from 3rem */
  --spacing-16: 2rem;    /* Reduced from 4rem */
  --spacing-20: 2.5rem;  /* Reduced from 5rem */
  --spacing-24: 3rem;    /* Reduced from 6rem */
  --spacing-32: 4rem;    /* Reduced from 8rem */
  
  /* Z-index */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-modal: 100;
  --z-tooltip: 110;
  --z-popover: 120;
  
  /* Container */
  --container-padding: 0.75rem; /* Reduced from 1.5rem */
  --container-max-width: 1280px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Reduced from 100px */
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5; /* Slightly reduced from 1.6 */
  color: var(--gray-800);
  background-color: var(--gray-50);
  transition: var(--transition-slow);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2; /* Reduced from 1.3 */
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  color: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Reduced from 2.75rem, 6vw, 4rem */
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem); /* Reduced from 2rem, 4vw, 2.5rem */
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* Reduced from 1.5rem, 3vw, 1.75rem */
}

p {
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  color: var(--gray-700);
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem); /* Reduced from 2rem, 5vw, 2.5rem */
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  position: relative;
  padding-bottom: 0.5rem; /* Reduced from 1rem */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; /* Reduced from 100px */
  height: 3px; /* Reduced from 4px */
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  font-size: 1rem; /* Reduced from 1.125rem */
  color: var(--gray-600);
  margin-bottom: 1.25rem; /* Reduced from 2.5rem */
  max-width: 700px; /* Reduced from 800px */
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem; /* Reduced from 0.875rem 2rem */
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
  gap: 0.375rem; /* Reduced from 0.5rem */
  font-size: 0.9375rem; /* Slightly reduced from 1rem */
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

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

.btn-secondary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.btn-secondary:active {
  transform: translateY(0);
}

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

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

.btn-outline:active {
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-30);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow);
  padding: 0.75rem 0; /* Reduced from 1.25rem */
  transition: var(--transition-slow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.75rem); /* Reduced from 1.75rem, 3vw, 2rem */
  font-weight: 800;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: var(--transition);
}

.navbar .logo:hover {
  transform: scale(1.03);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; /* Reduced from 32px */
  height: 20px; /* Reduced from 22px */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-30);
}

.hamburger span {
  width: 100%;
  height: 2px; /* Reduced from 3px */
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Reduced from 2.5rem */
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 0.375rem 0; /* Reduced from 0.5rem */
  transition: var(--transition);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem; /* Reduced from 1.5rem */
}

.wallet {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.375rem; /* Reduced from 0.5rem */
  color: var(--gray-700);
}

#wallet-balance {
  font-weight: 600;
  color: var(--success);
}

.deposit-btn {
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.375rem 1rem; /* Reduced from 0.5rem 1.25rem */
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.375rem; /* Reduced from 0.5rem */
}

.deposit-btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

.logout-btn {
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.375rem; /* Reduced from 0.5rem */
  transition: var(--transition);
}

.logout-btn:hover {
  color: var(--danger);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  bottom: 1.5rem; /* Reduced from 2.5rem */
  right: 1.5rem; /* Reduced from 2.5rem */
  width: 3rem; /* Reduced from 3.5rem */
  height: 3rem; /* Reduced from 3.5rem */
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem; /* Reduced from 1.5rem */
  box-shadow: var(--shadow-lg);
  z-index: var(--z-20);
  cursor: pointer;
  transition: var(--transition);
}

.dark-mode-toggle:hover {
  transform: translateY(-3px) rotate(15deg);
}

/* Trust Widget */
.trust-widget {
  position: fixed;
  top: 4rem; /* Reduced from 5rem */
  left: 1rem; /* Reduced from 1.5rem */
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 0.625rem 1rem; /* Reduced from 0.875rem 1.25rem */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Reduced from 0.75rem */
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-20);
  font-size: 0.875rem; /* Reduced from 0.9rem */
  transform: translateX(-120%);
  animation: slideIn 0.5s ease 1s forwards;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 4rem 0; /* Reduced from 8rem */
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 37, 38, 0.05), rgba(255, 193, 7, 0.05));
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(26, 37, 38, 0.15), rgba(255, 255, 255, 0));
  z-index: -1;
  animation: pulse 12s infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-banner {
  text-align: center;
  max-width: 900px; /* Reduced from 1000px */
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-banner h1 {
  font-size: clamp(2.75rem, 5vw, 4rem); /* Reduced from 3rem, 6vw, 4.5rem */
  font-weight: 800;
  margin-bottom: 1rem; /* Reduced from 1.75rem */
  line-height: 1.1; /* Reduced from 1.2 */
}

.hero-banner p {
  font-size: clamp(1rem, 2vw, 1.125rem); /* Reduced from 1.125rem, 2.5vw, 1.25rem */
  color: var(--gray-600);
  margin-bottom: 1.5rem; /* Reduced from 2.5rem */
}

.cta-buttons {
  display: flex;
  gap: 1rem; /* Reduced from 1.5rem */
  justify-content: center;
  margin-top: 1.5rem; /* Reduced from 2.5rem */
}

/* ===== TRUST SEALS ===== */
.trust-seals {
  padding: 1.5rem 0; /* Reduced from 3rem */
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.seal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem; /* Reduced from 2.5rem */
}

.seal {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Reduced from 0.75rem */
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
  font-size: 0.9375rem; /* Reduced from 1rem */
}

.seal i {
  color: var(--accent);
  font-size: 1.25rem; /* Reduced from 1.5rem */
}

.seal:hover {
  transform: translateY(-3px);
  color: var(--accent);
}

/* ===== PROXY SELECTION ===== */
.proxy-selection {
  padding: 3rem 0; /* Reduced from 6rem */
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.proxy-selection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A2526' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.proxy-options {
  display: flex;
  justify-content: center;
  gap: 0.75rem; /* Reduced from 1.25rem */
  margin-bottom: 1.5rem; /* Reduced from 3rem */
  position: relative;
  z-index: 1;
}

.proxy-option {
  padding: 0.625rem 1.5rem; /* Reduced from 0.875rem 2rem */
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--gray-700);
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.proxy-option.active,
.proxy-option:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.proxy-details {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2.5rem */
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.proxy-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Reduced from 320px */
  gap: 1rem; /* Reduced from 2rem */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Reduced from 0.75rem */
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem; /* Reduced from 1rem */
}

.quantity-control {
  display: flex;
  align-items: center;
  width: 100%;
}

.quantity-btn {
  width: 40px; /* Reduced from 48px */
  height: 40px; /* Reduced from 48px */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100);
  border: 1px solid var(--gray-300);
  font-size: 1.25rem; /* Reduced from 1.5rem */
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:first-child {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.quantity-btn:last-child {
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.quantity-btn:hover {
  background-color: var(--gray-200);
}

#quantity {
  flex: 1;
  text-align: center;
  height: 40px; /* Reduced from 48px */
  padding: 0.375rem; /* Reduced from 0.5rem */
  border: 1px solid var(--gray-300);
  border-left: none;
  border-right: none;
  margin: 0;
}

input, select, textarea {
  padding: 0.625rem 1rem; /* Reduced from 0.875rem 1.25rem */
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem; /* Reduced from 1rem */
  transition: var(--transition);
  color: var(--gray-800);
  background-color: var(--white);
  width: 100%;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231A2526' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 12a.5.5 0 0 1-.35-.15l-4-4a.5.5 0 0 1 .7-.7L8 10.79l3.65-3.64a.5.5 0 0 1 .7.7l-4 4a.5.5 0 0 1-.35.15z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center; /* Adjusted for reduced padding */
  padding-right: 2rem; /* Reduced from 2.5rem */
}

select[size] {
  background-image: none;
  height: auto;
}

select option {
  padding: 0.375rem; /* Reduced from 0.5rem */
  cursor: pointer;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.coupon-group {
  display: flex;
  gap: 0.5rem; /* Reduced from 0.75rem */
}

.apply-coupon-btn {
  padding: 0 1rem; /* Reduced from 0 1.5rem */
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  height: 40px; /* Reduced from 48px */
  white-space: nowrap;
  transition: var(--transition);
}

.apply-coupon-btn:hover {
  background-color: var(--primary-dark);
}

.price-display {
  grid-column: 1 / -1;
  text-align: right;
  font-size: 1.5rem; /* Reduced from 1.75rem */
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem; /* Reduced from 1.5rem */
  padding: 0.75rem 0; /* Reduced from 1rem */
  border-top: 1px solid var(--gray-200);
}

#total-price {
  color: var(--accent);
}

.purchase-btn {
  grid-column: 1 / -1;
  margin-top: 1rem; /* Reduced from 1.5rem */
  padding: 0.75rem; /* Reduced from 1rem */
  font-size: 1rem; /* Reduced from 1.125rem */
}

/* ===== AUTH MODAL ===== */
.auth-modal, .deposit-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.auth-modal[style*="display: flex"],
.deposit-modal[style*="display: flex"] {
  display: flex;
}

.auth-content, .deposit-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px; /* Reduced from 550px */
  padding: 1.5rem; /* Reduced from 2.5rem */
  box-shadow: var(--shadow-xl);
  position: relative;
}

.close-modal, .close-deposit-modal {
  position: absolute;
  top: 1rem; /* Reduced from 1.25rem */
  right: 1rem; /* Reduced from 1.25rem */
  font-size: 1.5rem; /* Reduced from 1.75rem */
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover, .close-deposit-modal:hover {
  color: var(--danger);
}

.auth-tabs {
  display: flex;
  margin-bottom: 1rem; /* Reduced from 2rem */
  border-bottom: 2px solid var(--gray-200);
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem; /* Reduced from 1rem */
  font-weight: 600;
  color: var(--gray-600);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  color: var(--accent);
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.auth-form {
  display: none;
}

.auth-form[style*="display: block"] {
  display: block;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 1rem; /* Reduced from 2rem */
}

.auth-error, .deposit-error {
  color: var(--danger);
  margin-top: 0.75rem; /* Reduced from 1rem */
  text-align: center;
  font-weight: 500;
  display: none;
}

.auth-error[style*="display: block"],
.deposit-error[style*="display: block"] {
  display: block;
}

/* ===== PROXY DASHBOARD ===== */
.proxy-dashboard {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, rgba(26, 37, 38, 0.05), rgba(255, 193, 7, 0.05));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Reduced from 280px */
  gap: 1.5rem; /* Reduced from 2rem */
  margin-top: 1.5rem; /* Reduced from 3rem */
  justify-items: center;
}

.dashboard-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem; /* Reduced from 1.5rem */
  box-shadow: var(--shadow-lg);
  max-width: 340px; /* Reduced from 380px */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px; /* Reduced from 220px */
}

.dashboard-card h3 {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  text-align: center;
  color: var(--primary);
}

canvas {
  width: 100% !important;
  max-width: 280px !important; /* Reduced from 320px */
  height: auto !important;
  max-height: 180px !important; /* Reduced from 200px */
  min-height: 140px; /* Reduced from 160px */
}

/* ===== COUPON OFFERS ===== */
.coupon-offers {
  padding: 3rem 0; /* Reduced from 6rem */
  background-color: var(--white);
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Reduced from 280px */
  gap: 1.5rem; /* Reduced from 2rem */
}

.coupon-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2rem */
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px; /* Reduced from 220px */
  transition: var(--transition);
}

.coupon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.coupon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.coupon-card h3 {
  font-size: 1.5rem; /* Reduced from 1.75rem */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  z-index: 1;
}

.coupon-card p {
  font-size: 0.9375rem; /* Reduced from 1rem */
  opacity: 0.9;
  z-index: 1;
}

/* ===== PAYMENT METHODS ===== */
.payment-methods {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  position: relative;
  overflow: hidden;
}

.payment-methods::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(26, 37, 38, 0.05), transparent 70%);
  z-index: -1;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduced from 220px */
  gap: 1.5rem; /* Reduced from 2.5rem */
  justify-items: center;
}

.payment-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2rem */
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  width: 100%;
  max-width: 260px; /* Reduced from 280px */
  position: relative;
  overflow: hidden;
}

.payment-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px; /* Reduced from 4px */
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.payment-card:hover::after {
  opacity: 1;
}

.payment-card img {
  width: 80px; /* Reduced from 90px */
  height: auto;
  margin: 0 auto 1rem; /* Reduced from 1.25rem */
  transition: var(--transition);
}

.payment-card h3 {
  font-size: 1.125rem; /* Reduced from 1.25rem */
  color: var(--primary);
  margin-bottom: 0.375rem; /* Reduced from 0.5rem */
}

.payment-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.payment-card:hover img {
  transform: scale(1.1);
}

/* ===== FEATURES ===== */
.features {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, rgba(26, 37, 38, 0.05), rgba(255, 193, 7, 0.05));
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.1), transparent 70%);
  z-index: -1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Reduced from 280px */
  gap: 1.5rem; /* Reduced from 2.5rem */
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2.5rem */
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(26, 37, 38, 0.05), transparent 70%);
  transition: var(--transition-slow);
}

.feature-card:hover::before {
  transform: scale(1.2);
}

.feature-card i {
  font-size: 2.5rem; /* Reduced from 3rem */
  color: var(--accent);
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  transition: var(--transition);
}

.feature-card h3 {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  color: var(--primary);
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.9375rem; /* Reduced from 1rem */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover i {
  transform: rotate(10deg);
}

/* ===== SPEED TEST ===== */
.speed-test {
  padding: 3rem 0; /* Reduced from 6rem */
  background-color: var(--white);
  position: relative;
}

.speed-test::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(26, 37, 38, 0.03), transparent);
  z-index: -1;
}

.speed-test-form {
  display: flex;
  justify-content: center;
  gap: 1rem; /* Reduced from 1.5rem */
  margin-bottom: 1.5rem; /* Reduced from 3rem */
  flex-wrap: wrap;
  max-width: 600px; /* Reduced from 650px */
  margin-left: auto;
  margin-right: auto;
}

.speed-test-form .form-group {
  flex: 1;
  min-width: 200px; /* Reduced from 220px */
}

.start-speed-test {
  padding: 0.625rem 2rem; /* Reduced from 0.875rem 2.5rem */
  font-size: 1rem; /* Reduced from 1.125rem */
  position: relative;
  overflow: hidden;
}

.start-speed-test::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-fast);
}

.start-speed-test:hover::before {
  left: 100%;
}

.speed-test-results {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem; /* Reduced from 2.5rem */
  background-color: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2.5rem */
  box-shadow: var(--shadow-md);
  max-width: 800px; /* Reduced from 850px */
  margin: 0 auto;
}

.speed-test-results[style*="display: block"] {
  display: flex;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.125rem; /* Reduced from 1.25rem */
  color: var(--gray-800);
  position: relative;
}

.result-item::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  width: 50%;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.result-item:hover::after {
  opacity: 1;
}

.result-item span:first-child {
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
}

.result-item span:last-child {
  font-weight: 700;
  color: var(--accent);
}

/* ===== NETWORK STATUS ===== */
.proxy-status {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, rgba(26, 37, 38, 0.05), rgba(255, 193, 7, 0.05));
  position: relative;
}

.proxy-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A2526' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.522 4.477-10 10-10s10 4.478 10 10-4.477 10-10 10-10-4.478-10-10zM10 10c0-5.522 4.477-10 10-10s10 4.478 10 10-4.477 10-10 10-10-4.478-10-10zM10 50c0-5.522 4.477-10 10-10s10 4.478 10 10-4.477 10-10 10-10-4.478-10-10zM50 10c0-5.522 4.477-10 10-10s10 4.478 10 10-4.477 10-10 10-10-4.478-10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduced from 220px */
  gap: 1.5rem; /* Reduced from 2rem */
  margin-bottom: 1.5rem; /* Reduced from 3rem */
}

.status-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2rem */
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  position: relative;
}

.status-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: var(--transition);
}

.status-card:hover::after {
  opacity: 0.2;
}

.status-card h3 {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  color: var(--primary);
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.status-indicator {
  display: inline-block;
  font-weight: 600;
  color: var(--gray-600);
  padding: 0.5rem 1rem; /* Reduced from 0.75rem 1.5rem */
  border-radius: var(--radius-full);
  background-color: var(--gray-100);
  transition: var(--transition);
}

.status-indicator.online {
  background-color: var(--success);
  color: var(--white);
}

.status-indicator.offline {
  background-color: var(--danger);
  color: var(--white);
}

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

.refresh-status {
  display: block;
  margin: 1.5rem auto 0; /* Reduced from 2.5rem */
  padding: 0.625rem 2rem; /* Reduced from 0.875rem 2.5rem */
  position: relative;
  overflow: hidden;
}

.refresh-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-fast);
}

.refresh-status:hover::before {
  left: 100%;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(26, 37, 38, 0.05), transparent 70%);
  z-index: -1;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px; /* Reduced from 900px */
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 1.5rem; /* Reduced from 2.5rem */
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

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

.testimonial-slide p {
  font-size: 1.125rem; /* Reduced from 1.25rem */
  color: var(--gray-700);
  margin-bottom: 1rem; /* Reduced from 1.75rem */
  font-style: italic;
  line-height: 1.5; /* Reduced from 1.6 */
}

.testimonial-slide h4 {
  font-size: 1rem; /* Reduced from 1.125rem */
  color: var(--primary);
  font-weight: 600;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem; /* Reduced from 1.5rem */
  margin-top: 1.5rem; /* Reduced from 2.5rem */
}

.slider-prev,
.slider-next {
  width: 40px; /* Reduced from 48px */
  height: 40px; /* Reduced from 48px */
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem; /* Reduced from 1.5rem */
  transition: var(--transition);
  position: relative;
}

.slider-prev::after,
.slider-next::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--primary-dark);
  opacity: 0;
  transition: var(--transition);
}

.slider-prev:hover::after,
.slider-next:hover::after {
  opacity: 0.3;
}

.slider-prev:hover,
.slider-next:hover {
  transform: translateY(-3px);
}

/* ===== BLOG PREVIEW ===== */
.blog-preview {
  padding: 3rem 0; /* Reduced from 6rem */
  background-color: var(--white);
  position: relative;
}

.blog-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231A2526' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Reduced from 280px */
  gap: 1.5rem; /* Reduced from 2rem */
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card img {
  width: 100%;
  height: 200px; /* Reduced from 220px */
  object-fit: cover;
  transition: var(--transition);
}

.blog-card h3 {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  color: var(--primary);
  padding: 1rem 1.25rem 0.5rem; /* Reduced from 1.25rem 1.5rem 0.75rem */
}

.blog-card p {
  color: var(--gray-600);
  padding: 0 1.25rem 1rem; /* Reduced from 0 1.5rem 1.25rem */
  font-size: 0.9375rem; /* Reduced from 1rem */
}

.blog-card .btn-secondary {
  margin: 0 1.25rem 1rem; /* Reduced from 0 1.5rem 1.5rem */
  padding: 0.625rem 1rem; /* Reduced from 0.75rem 1.5rem */
  position: relative;
  z-index: 1;
}

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

.blog-card:hover img {
  transform: scale(1.05);
}

/* ===== FAQ ===== */
.faq {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, rgba(26, 37, 38, 0.03), rgba(255, 193, 7, 0.03));
  position: relative;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(26, 37, 38, 0.05), transparent 70%);
  z-index: -1;
}

.faq-list {
  max-width: 800px; /* Reduced from 900px */
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.75rem; /* Reduced from 1.25rem */
  border-radius: var(--radius-md);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item summary {
  padding: 1rem 1.5rem; /* Reduced from 1.25rem 1.75rem */
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-item summary:hover {
  background-color: var(--gray-50);
}

.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent);
  transition: var(--transition);
}

.faq-item[open] summary {
  background-color: var(--gray-50);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 1rem 1.5rem; /* Reduced from 1.25rem 1.75rem */
  color: var(--gray-600);
  font-size: 0.9375rem; /* Reduced from 1rem */
  animation: slideDown 0.3s ease;
}

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

/* ===== AFFILIATE PROGRAM ===== */
.affiliate-program {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, var(--white), var(--gray-50));
}

.affiliate-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* Reduced from 2rem */
  justify-content: center;
}

.affiliate-card, .affiliate-stats {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem; /* Reduced from 2rem */
  box-shadow: var(--shadow-md);
  flex: 1;
  min-width: 280px; /* Reduced from 300px */
  max-width: 450px; /* Reduced from 500px */
}

.affiliate-card h3, .affiliate-stats h3 {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  color: var(--primary);
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.affiliate-card p, .affiliate-stats p {
  color: var(--gray-600);
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

#affiliate-link {
  width: 100%;
  padding: 0.625rem; /* Reduced from 0.875rem */
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  background-color: var(--gray-50);
  color: var(--gray-700);
}

.copy-btn, .generate-btn {
  padding: 0.625rem 1rem; /* Reduced from 0.75rem 1.5rem */
  font-size: 0.9375rem; /* Reduced from 1rem */
}

.affiliate-stats h4 {
  font-size: 1.125rem; /* Reduced from 1.25rem */
  color: var(--primary);
  margin: 0.75rem 0 0.375rem; /* Reduced from 1rem 0 0.5rem */
}

.reward-list {
  color: var(--gray-600);
  font-size: 0.9rem; /* Reduced from 0.95rem */
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 3rem 0; /* Reduced from 6rem */
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

.newsletter .section-title,
.newsletter .section-subtitle {
  color: var(--white);
}

.newsletter .section-subtitle {
  max-width: 600px; /* Reduced from 650px */
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem; /* Reduced from 1.5rem */
  max-width: 600px; /* Reduced from 650px */
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px; /* Reduced from 220px */
  border: none;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--gray-800);
  transition: var(--transition);
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn-primary {
  padding: 0.625rem 2rem; /* Reduced from 0.875rem 2.5rem */
  position: relative;
  overflow: hidden;
}

.newsletter-form .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-fast);
}

.newsletter-form .btn-primary:hover::before {
  left: 100%;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0; /* Reduced from 5rem */
  background-color: var(--primary);
  color: var(--gray-200);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top center, rgba(255, 193, 7, 0.05), transparent 70%);
  z-index: -1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduced from 220px */
  gap: 1.5rem; /* Reduced from 2.5rem */
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem; /* Reduced from 1.25rem */
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem; /* Reduced from 0.95rem */
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Reduced from 1rem */
}

.footer-links a {
  color: var(--gray-200);
  font-size: 0.9375rem; /* Reduced from 1rem */
  position: relative;
  transition: var(--transition);
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem; /* Reduced from 1.25rem */
}

.footer-social a {
  width: 40px; /* Reduced from 48px */
  height: 40px; /* Reduced from 48px */
  border-radius: var(--radius-full);
  background-color: var(--primary-dark);
  color: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem; /* Reduced from 1.5rem */
  transition: var(--transition-slow);
  position: relative;
}

.footer-social a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.footer-social a:hover::after {
  opacity: 0.3;
}

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

/* ===== MOBILE RESPONSIVENESS & HAMBURGER ADDITIONS ===== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    z-index: var(--z-20);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: var(--z-30);
  }

  .hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-banner h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
  }

  .hero-banner p {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .proxy-form {
    grid-template-columns: 1fr;
  }

  .dashboard-grid, .features-grid, .payment-grid, .status-grid, .blog-grid, .coupon-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .testimonial-slide p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .proxy-options {
    flex-direction: column;
    gap: 0.5rem;
  }

  .speed-test-form, .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .auth-content, .deposit-content {
    max-width: 90%;
    padding: 1rem;
  }

  .auth-tabs {
    flex-direction: column;
  }

  .auth-tab {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-banner h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .nav-link {
    padding: 0.25rem 0;
  }

  .user-profile {
    gap: 0.75rem;
  }

  .deposit-btn {
    padding: 0.25rem 0.75rem;
  }

  .trust-widget {
    top: 3rem;
    padding: 0.5rem 0.75rem;
  }

  .proxy-details {
    padding: 1rem;
  }

  .coupon-card, .payment-card, .feature-card, .status-card {
    padding: 1rem;
  }

  .blog-card img {
    height: 150px;
  }

  .newsletter-form .btn-primary {
    width: 100%;
  }
}