:root {
  /* Core background & surfaces */
  --bg: #F0FDF4;
  --bg-alt: #DCFCE7;
  --card: #FFFFFF;

  /* Brand gradient & accents - Green palette */
  --primary-start: #34D399;
  --primary-end: #10B981;
  --accent: #059669;

  /* Text colors */
  --text: #1C1C1C;
  --text-muted: #6E6E6E;
  --help-text: #666666;

  /* Semantic colors - Green primary */
  --color-primary: #10B981;
  --color-primary-dark: #059669;
  --color-primary-light: #34D399;
  --color-secondary: #10b981;
  --color-accent: #059669;
  --color-danger: #ef4444;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  /* Status tints */
  --color-success-light: #d1fae5;
  --color-error-light: #fee2e2;
  --color-info-light: #dbeafe;

  /* Strong text colors for alerts/info */
  --color-success-strong: #059669;
  --color-success-deep: #065f46;
  --color-error-strong: #991b1b;
  --color-info-strong: #1e40af;

  /* Stars / rating */
  --color-star: #fbbf24;

  /* Live report greens */
  --live-success-soft-1: #d1fae5;
  --live-success-soft-2: #a7f3d0;
  --live-success-soft-3: #6ee7b7;

  /* Hero / live section background */
  --hero-bg-from: #f0fdf4;
  --hero-bg-to: #ffffff;

  /* Brand gradients - Green */
  --gradient-brand-from: #34D399;
  --gradient-brand-mid: #10B981;
  --gradient-accent-from: #6ee7b7;
  --gradient-accent-to: #34d399;
  --gradient-accent-alt: #2dd4bf;

  /* Grays - Green tinted */
  --color-gray-50: #f0fdf4;
  --color-gray-100: #dcfce7;
  --color-gray-200: #bbf7d0;
  --color-gray-300: #86efac;
  --color-gray-400: #4ade80;
  --color-gray-500: #22c55e;
  --color-gray-600: #16a34a;
  --color-gray-700: #15803d;
  --color-gray-800: #166534;
  --color-gray-900: #14532d;

  /* Plain surfaces */
  --color-white: #ffffff;


/* Dark mode palette - removed, using green as primary */
/* :root[data-theme='dark'] {
  --bg: #F0FDF4;
  --bg-alt: #DCFCE7;
  --card: #FFFFFF;

  /* Brand gradient & accents */
  --primary-start: #34D399;
  --primary-end: #10B981;
  --accent: #059669;

  /* Text colors */
  --text: #1C1C1C;
  --text-muted: #6E6E6E;
  --help-text: #666666;

  /* Semantic colors */
  --color-primary: #10B981;
  --color-primary-dark: #059669;
  --color-primary-light: #34D399;
  --color-secondary: #10b981;
  --color-accent: #059669;
  --color-danger: #ef4444;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  /* Status tints */
  --color-success-light: #d1fae5;
  --color-error-light: #fee2e2;
  --color-info-light: #dbeafe;

  /* Strong text colors */
  --color-success-strong: #047857;
  --color-success-deep: #065f46;
  --color-error-strong: #991b1b;
  --color-info-strong: #1e40af;

  /* Stars */
  --color-star: #fbbf24;

  /* Live report greens */
  --live-success-soft-1: #dcfce7;
  --live-success-soft-2: #bbf7d0;
  --live-success-soft-3: #86efac;

  /* Hero BG */
  --hero-bg-from: #f0fdf4;
  --hero-bg-to: #ffffff;

  /* Brand gradients */
  --gradient-brand-from: #34D399;
  --gradient-brand-mid: #10B981;
  --gradient-accent-from: #6ee7b7;
  --gradient-accent-to: #34d399;
  --gradient-accent-alt: #2dd4bf;

  /* Grays */
  --color-gray-50: #f0fdf4;
  --color-gray-100: #dcfce7;
  --color-gray-200: #bbf7d0;
  --color-gray-300: #86efac;
  --color-gray-400: #4ade80;
  --color-gray-500: #22c55e;
  --color-gray-600: #16a34a;
  --color-gray-700: #15803d;
  --color-gray-800: #166534;
  --color-gray-900: #14532d;

  --color-white: #ffffff;
}
/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}



:root {
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 24px;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows - HakaReach Style */
  --shadow: 0 16px 50px rgba(18, 34, 69, 0.12);
  --shadow-soft: 0 10px 30px rgba(194, 206, 255, 0.35);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 70px;
}


/* Base Styles - HakaReach Design - Premium Typography */
body {
  color: var(--text);
  background-color: var(--bg);
  font-family: 'Crimson Text', 'Lora', Georgia, serif;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium H1 - Playfair Display (Royal, Elegant, Luxurious) */
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Elegant H2 & H3 - Cormorant Garamond (Sophisticated, Royal) */
h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--text);
  letter-spacing: -0.01em;
}

h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: var(--spacing-md);
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Regular but nice fonts for H4-H6 and body text - Premium feel */
h4, h5, h6 {
  font-family: 'Crimson Text', 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  color: var(--text);
  letter-spacing: -0.01em;
}

h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  text-align: justify;
}

a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
}


/* Exclusive Package Badge */
.exclusive-package {
  position: relative;
  padding-top: 1.2rem !important;
}

/* Exclusive package button - white border */
.btn.btn-outline.btn-sm.exclusive-package {
  border: 2px solid white !important;
}

.exclusive-package::before {
  content: 'EXCLUSIVE';
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-primary);
  color: white;
  font-size: 0.5rem;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-weight: 700;
  z-index: 10;
  white-space: nowrap;
}

.exclusive-package > * {
  position: relative;
  z-index: 2;
}

/* Why People Trust - Image rounded borders */
.why-trust-image {
  border-radius: 20px !important;
}

/* How to Order - Image container */
.how-it-works-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-works-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}

/* FAQ Section - Improved Design */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
}

.faq-item {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--color-gray-300);
  transform: translateY(-1px);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition-fast);
  position: relative;
}

.faq-question:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: var(--spacing-md);
}

.faq-icon {
  font-size: 0.75rem;
  color: var(--color-primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 var(--spacing-xl) var(--spacing-lg) var(--spacing-xl);
  color: var(--text-muted);
  line-height: 1.8;
  animation: faq-slide-down 0.3s ease-out;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
}

.faq-answer p {
  margin: 0;
}

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

/* FAQ Preview Section */
.faq-preview {
  margin-bottom: var(--spacing-xl);
}

.faq-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.faq-preview-item {
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.faq-preview-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-success) !important;
  color: white !important;
  border: 2px solid var(--color-success) !important;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary.btn-lg {
  background: var(--color-success) !important;
  color: white !important;
  border: 2px solid white !important;
  transition: all 0.3s ease;
}

.btn-primary.btn-lg:hover {
  background: var(--color-primary-dark) !important;
  color: white !important;
  border: 2px solid white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--color-success);
  color: white !important;
  border-color: var(--color-success);
}

/* Ensure button text is always visible after animation - all variants */
.btn-primary,
.btn-primary.btn-lg,
.btn-primary.btn-sm,
.btn-primary.mt-md,
.btn-primary.w-full,
.btn-primary.btn-sm.nav-cta {
  position: relative;
  z-index: 1;
}

/* Button text and content - must be above all pseudo-elements */
.btn-primary > *,
.btn-primary.btn-lg > *,
.btn-primary.btn-sm > *,
.btn-primary.mt-md > *,
.btn-primary.w-full > *,
.btn-primary.btn-sm.nav-cta > *,
.btn-primary,
.btn-primary.btn-lg,
.btn-primary.btn-sm,
.btn-primary.mt-md,
.btn-primary.w-full,
.btn-primary.btn-sm.nav-cta {
  position: relative;
  z-index: 2 !important; /* Above ::before and ::after */
  color: inherit;
  transition: color 0.3s ease;
}

.btn-primary:hover > *,
.btn-primary.btn-lg:hover > *,
.btn-primary.btn-sm:hover > *,
.btn-primary.mt-md:hover > *,
.btn-primary.w-full:hover > *,
.btn-primary.btn-sm.nav-cta:hover > *,
.btn-primary:active > *,
.btn-primary.btn-lg:active > *,
.btn-primary.btn-sm:active > *,
.btn-primary.mt-md:active > *,
.btn-primary.w-full:active > *,
.btn-primary.btn-sm.nav-cta:active > *,
.btn-primary:hover,
.btn-primary.btn-lg:hover,
.btn-primary.btn-sm:hover,
.btn-primary.mt-md:hover,
.btn-primary.w-full:hover,
.btn-primary.btn-sm.nav-cta:hover {
  color: white !important;
  z-index: 2 !important; /* Keep text above animation layers */
}

/* Button color logic: green bg = white text, white bg = green text */
/* Default state: white background, green text */
.btn-primary {
  background: white !important;
  color: var(--color-success) !important;
  border: 2px solid var(--color-success);
}

/* When button has green background (hover/active), text should be white */
.btn-primary:hover,
.btn-primary:active,
.btn-primary.btn-lg:hover,
.btn-primary.btn-lg:active,
.btn-primary.btn-sm:hover,
.btn-primary.btn-sm:active,
.btn-primary.mt-md:hover,
.btn-primary.mt-md:active,
button.btn-primary:hover,
button.btn-primary:active,
button[onclick*="goToCheckout"].btn-primary:hover,
button[onclick*="goToCheckout"].btn-primary:active {
  background: var(--color-success) !important;
  color: white !important;
  border-color: var(--color-success);
}

/* Nav CTA button - ensure white text on hover */
.btn-primary.btn-sm.nav-cta {
  background: white !important;
  color: var(--color-success) !important;
}

.btn-primary.btn-sm.nav-cta:hover,
.btn-primary.btn-sm.nav-cta:active {
  background: var(--color-success) !important;
  color: white !important;
}

/* mt-md buttons - ensure white text on hover */
.btn-primary.mt-md {
  background: white !important;
  color: var(--color-success) !important;
}

.btn-primary.mt-md:hover,
.btn-primary.mt-md:active {
  background: var(--color-success) !important;
  color: white !important;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Ensure button text is above pseudo-elements */
.btn-primary > * {
  position: relative;
  z-index: 2;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure text stays white on hover with animation */
.btn-primary:hover > *,
.btn-primary.btn-lg:hover > *,
.btn-primary.btn-lg:hover,
.btn-primary.btn-lg:active,
.btn-primary.btn-lg:focus {
  color: white !important;
}

/* Ensure all btn-lg variants have white text when background is green */
.btn-primary.btn-lg[style*="background"]:not([style*="background: white"]),
.btn-primary.btn-lg[style*="background-color"]:not([style*="background-color: white"]) {
  color: white !important;
}

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

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

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

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

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.875rem;
}

/* btn-outline btn-sm - Green background, white text */
.btn-outline.btn-sm {
  background: var(--color-success) !important;
  border: 2px solid var(--color-success) !important;
  color: white !important;
}

.btn-outline.btn-sm:hover {
  background: var(--color-primary-dark) !important;
  color: white !important;
  border-color: var(--color-primary-dark) !important;
}

.btn-outline.btn-sm .badge-primary,
.btn-outline.btn-sm .badge {
  background: var(--color-success) !important;
  color: white !important;
}

/* All buttons hover to green with white text */
.btn:hover:not(.btn-primary):not(.btn-secondary):not(.btn-outline) {
  background-color: var(--color-success);
  color: white;
}

/* Cards - HakaReach Style */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-soft);
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card-header {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-gray-200);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--color-gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

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

.badge-success {
  background-color: var(--color-success);
  color: white;
}

.badge-warning {
  background-color: var(--color-warning);
  color: white;
}

.badge-danger {
  background-color: var(--color-danger);
  color: white;
}

/* Alerts */
.alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.alert-success {
  background-color: var(--color-success-light);
  color: var(--color-success-deep);
  border: 1px solid var(--color-success);
}

.alert-error {
  background-color: var(--color-error-light);
  color: var(--color-error-strong);
  border: 1px solid var(--color-danger);
}

.alert-info {
  background-color: var(--color-info-light);
  color: var(--color-info-strong);
  border: 1px solid var(--color-info);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--color-gray-700);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Stars (for reviews) */
.stars {
  display: flex;
  gap: var(--spacing-xs);
  color: var(--color-accent);
}

.star {
  font-size: 1.25rem;
}

/* Pricing Tiers - HakaReach Style */
.pricing-tiers {
  display: flex;
  gap: 4px;
  background: linear-gradient(
    135deg,
    var(--gradient-brand-from) 0%,
    var(--gradient-brand-mid) 25%,
    var(--gradient-accent-from) 50%,
    var(--gradient-accent-to) 75%,
    var(--gradient-accent-alt) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  padding: 12px;
  border-radius: 6px;
  margin: var(--spacing-xl) auto;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
}

/* Platform Filter Tiers - based on pricing-tiers, slightly larger */
.platform-tiers {
  display: flex;
  gap: 6px;
  background: linear-gradient(
    135deg,
    var(--gradient-brand-from) 0%,
    var(--gradient-brand-mid) 25%,
    var(--gradient-accent-from) 50%,
    var(--gradient-accent-to) 75%,
    var(--gradient-accent-alt) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  padding: 12px;
  border-radius: 9999px;
  margin: var(--spacing-lg) auto 0 auto;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 720px;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tier-btn {
  flex: 1;
  min-width: 100px;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.625rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  line-height: 1.2;
}

.platform-tier-btn {
  flex: 1;
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer !important;
  border: 2px solid white !important;
  pointer-events: auto !important;
  z-index: 10 !important;
  position: relative !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid white !important;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-tier-btn img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  flex-shrink: 0;
  pointer-events: none !important;
}

.platform-tier-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.platform-tier-btn.btn-primary {
  background: white;
  color: var(--color-success);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.platform-tier-btn.btn-primary:hover,
.platform-tier-btn.btn-primary:active,
.platform-tier-btn.btn-primary.active {
  background: var(--color-success);
  color: white !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  /* Remove animation after click */
  transition: all 0.2s ease;
}

/* Platform filter buttons - green bg = white text, white bg = green text */
.platform-tier-btn.platform-filter-btn.btn-primary {
  background: white;
  color: var(--color-success);
}

.platform-tier-btn.platform-filter-btn.btn-primary:hover,
.platform-tier-btn.platform-filter-btn.btn-primary:active,
.platform-tier-btn.platform-filter-btn.btn-primary.active {
  background: var(--color-success);
  color: white !important;
}

/* Remove animation from platform filter buttons after click */
.platform-tier-btn.platform-filter-btn.btn-primary:active,
.platform-tier-btn.platform-filter-btn.btn-primary.active {
  animation: none !important;
  transition: all 0.2s ease !important;
}

.tier-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tier-btn.btn-primary {
  background: white;
  color: var(--gradient-brand-from);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.tier-btn.btn-primary:hover,
.tier-btn.btn-primary:active,
.tier-btn.btn-primary.active {
  background: white;
  color: var(--color-success) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tier-btn.btn-primary::before {
  display: none;
}

.tier-packages {
  animation: fadeIn 0.3s ease-in;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  width: 100%;
}

/* When 1-3 cards, keep them centered and close to pricing-tiers */
.package-cards-few {
  max-width: fit-content !important;
  width: fit-content !important;
  margin: 0 auto !important;
  justify-content: center !important;
}

/* When 4+ cards, use full width grid - grid-3 on all devices */
.package-cards-container.package-cards-many,
.package-cards-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 16px !important;
}

/* Packages container max-width */
#packages-container,
.packages-container {
  max-width: 450px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  .package-cards-container.package-cards-many {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .package-cards-container.package-cards-many {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-sm) !important;
  }
  
  .package-cards-container.package-cards-many .package-card-square {
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--spacing-sm) !important;
  }
}

@media (max-width: 480px) {
  .package-cards-container.package-cards-many {
    grid-template-columns: 1fr !important;
  }
}

/* When 4+ cards, use full width grid */
.package-cards-many {
  width: 100% !important;
}

.package-card-square {
  aspect-ratio: 1;
  text-align: center;
  width: 120px !important;
  height: 120px !important;
  padding: 0.25rem !important;
  min-width: 120px !important;
  min-height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto; /* Always center individual cards */
}

.package-card-square h3 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  flex-shrink: 0;
}

.package-card-square .service-price {
  font-size: 1.25rem;
  text-align: center;
  margin: 0.25rem 0;
  flex-shrink: 0;
}

.package-card-square .btn {
  font-size: 0.8125rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  flex-shrink: 0;
  margin-top: auto;
}

.package-card-square .discount-badge {
  font-size: 0.625rem;
  margin: 0.125rem 0;
  flex-shrink: 0;
}

.discount-badge {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.125rem;
  background: #ef4444 !important; /* All discount badges are red */
  color: white !important;
}

.discount-badge.red {
  background: #ef4444 !important;
  color: white !important;
}

.discount-badge.green {
  background: #ef4444 !important; /* Changed from green to red */
  color: white !important;
}

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

/* Checkout */
.checkout-step {
  animation: fadeIn 0.3s ease-in;
}

/* text-sm - center text, aligned bottom, always show '-' in front */
.text-sm {
  font-size: 0.875rem !important;
  text-align: center !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.text-sm::before {
  content: '- ' !important;
}

.text-gray-600 {
  color: var(--color-gray-600);
}

/* Form Select */
.form-input[type="select"],
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--spacing-sm) center;
  padding-right: var(--spacing-xl);
}

/* Badge Styling - HakaReach Style */
.badge-popular {
  background: linear-gradient(135deg, var(--gradient-brand-from) 0%, var(--gradient-brand-mid) 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-best-value {
  background: linear-gradient(135deg, var(--gradient-accent-from) 0%, var(--gradient-accent-to) 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stat Cards - HakaReach Style */
.stat-card {
  text-align: center;
  padding: 1.4rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Hero Section - HakaReach Style */
.hero {
  padding: 3.15rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(238, 243, 255, 0.75) 100%);
}

/* Ensure buttons with mt-md align at bottom of card */
.card.text-center {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: 1px solid var(--color-gray-200);
}

.card.text-center .btn.btn-primary.mt-md {
  margin-top: auto !important;
  align-self: flex-end !important;
  font-size: 0.75rem;
  padding: calc(var(--spacing-sm) - 2px) calc(var(--spacing-md) - 2px);
}

/* Responsive: reduce card and element sizes for btn-primary mt-md */
@media (max-width: 768px) {
  .card.text-center .btn.btn-primary.mt-md {
    font-size: 0.65rem;
    padding: calc(var(--spacing-xs) - 1px) calc(var(--spacing-sm) - 1px);
  }
  
  .card.text-center {
    padding: var(--spacing-md) !important;
  }
  
  .card.text-center h3 {
    font-size: 1rem !important;
    margin-bottom: var(--spacing-xs) !important;
  }
  
  .card.text-center p {
    font-size: 0.75rem !important;
    margin-bottom: var(--spacing-xs) !important;
  }
}

/* Package Card Square - Centered content with button at bottom - 120px fixed size */
.package-card-square {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important; /* Start from top */
  align-items: center !important;
  text-align: center !important;
  height: 120px !important;
  width: 120px !important;
  position: relative;
  padding: 0 !important; /* No padding to maximize space */
  box-sizing: border-box !important;
  min-width: 120px !important;
  min-height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  overflow: hidden !important; /* Ensure content fits */
}

.package-card-square > div:first-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important; /* Start from top */
  align-items: center;
  width: 100%;
  padding: 0 !important; /* No padding */
}

.package-card-square h3 {
  text-align: center !important;
  margin: 16px 0 4px 0 !important; /* 16px from top, 4px spacing below */
  padding: 0 !important;
  font-size: 1.17rem !important; /* 0.9rem * 1.3 */
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.package-card-square .service-price {
  text-align: center !important;
  margin: 4px 0 !important; /* 4px spacing above and below */
  padding: 0 !important;
  font-size: 1.7rem !important; /* Keep as is - good */
  font-weight: 700 !important;
}

.package-card-square p {
  text-align: center !important;
  margin: 4px 0 !important; /* 4px spacing */
  padding: 0 !important;
  font-size: 0.65rem !important; /* 0.5rem * 1.3 */
}

.package-card-square .discount-badge {
  font-size: 0.585rem !important; /* 0.45rem * 1.3 */
  padding: 0.05rem 0.15rem !important; /* Reduced padding */
  margin: 0 0 4px 0 !important; /* 4px spacing below */
  position: relative !important;
  z-index: 1 !important;
  background: #ef4444 !important; /* Red background */
  color: white !important;
}

.package-card-square .btn,
.package-card-square .btn.btn-primary.w-full {
  margin-top: 4px !important; /* 4px spacing above */
  align-self: center !important;
  width: 70% !important;
  max-width: 70% !important;
  padding: 0.15rem 0.25rem !important; /* Reduced padding */
  font-size: 0.715rem !important; /* 0.55rem * 1.3 */
  min-height: auto !important;
  height: auto !important;
}

.package-card-square .badge-popular {
  font-size: 0.52rem !important; /* 0.4rem * 1.3 */
  padding: 0.05rem 0.2rem !important; /* Reduced padding */
  top: 0.05rem !important; /* Reduced top */
  right: 0.05rem !important; /* Reduced right */
  position: absolute !important;
  z-index: 2 !important;
}

/* Ensure text is visible above badges */
.package-card-square h3,
.package-card-square .service-price {
  position: relative !important;
  z-index: 3 !important;
}


/* Homepage Platform Cards */
.homepage-platform-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homepage-platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.homepage-platform-card.active {
  box-shadow: var(--shadow-md);
}

/* Homepage Service Buttons */
.homepage-service-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.homepage-service-btn {
  padding: calc(var(--spacing-md) - 2px) calc(var(--spacing-lg) - 2px);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: calc(100% - 120px);
  max-width: calc(100% - 120px);
  height: auto;
  min-height: 40px;
}

.homepage-service-btn-analytics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--spacing-md) - 2px) calc(var(--spacing-lg) - 2px);
  width: calc(100% - 120px);
  max-width: calc(100% - 120px);
  height: auto;
  min-height: 40px;
  font-size: 0.875rem;
  border-radius: 20px;
}

/* Analytics buttons same size as regular service buttons */
.btn-outline.homepage-service-btn.homepage-service-btn-analytics {
  width: 100% !important;
  max-width: 100% !important;
  padding: calc(var(--spacing-md) - 2px) calc(var(--spacing-lg) - 2px) !important;
  height: auto !important;
  min-height: 40px !important;
  font-size: 0.875rem !important;
  border-radius: 20px !important;
  border: 2px solid;
  border-image: linear-gradient(135deg, #9333ea, #3b82f6) 1;
}

/* btn-primary w-full - Green background, white text */
.btn-primary.w-full {
  background: var(--color-success) !important;
  color: white !important;
  border-color: var(--color-success) !important;
  width: calc(100% - 2px) !important;
  max-width: calc(100% - 2px) !important;
}

.btn-primary.w-full:hover {
  background: var(--color-primary-dark) !important;
  color: white !important;
  border-color: var(--color-primary-dark) !important;
}

/* Homepage service buttons - green background */
.homepage-service-btn:not(.homepage-service-btn-analytics) {
  background: var(--color-success) !important;
  color: white !important;
  border: none !important;
}

.homepage-service-btn:not(.homepage-service-btn-analytics):hover {
  background: var(--color-primary-dark) !important;
  color: white !important;
}

/* Package Card Best Selling Style */
.package-card-best-selling {
  background: var(--color-success) !important;
  color: white !important;
  border: none !important;
  box-shadow: var(--shadow-md) !important;
}

/* Cards with Read More button - align button to bottom */
.card:has(.btn-outline) {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.card:has(.btn-outline) p {
  flex: 1;
}

.card:has(.btn-outline) .btn-outline {
  margin-top: auto !important;
}



/* Header */
.header {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  border-bottom: 1px solid #bbf7d0;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

.header-content .logo {
  flex: 0 0 auto;
}

.header-content .header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.header-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.header-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}


@media (max-width: 768px) {
  .header-menu-toggle {
    display: flex;
  }
  .nav-desktop {
    display: none;
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-inner {
  padding: var(--spacing-xl);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--color-gray-200);
  margin: var(--spacing-md) 0;
}

.mobile-nav-section-title {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.mobile-nav-link {
  display: block;
  color: var(--color-gray-800);
}

.mobile-nav-link {
  display: block;
  padding: var(--spacing-md);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.mobile-nav-link:hover {
  background: var(--color-gray-50);
}

.mobile-nav-cta {
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  color: white;
  text-align: center;
  margin-top: var(--spacing-sm);
}

.mobile-nav-section-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.mobile-platform {
  margin-bottom: var(--spacing-sm);
}

.mobile-platform-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: var(--spacing-md);
  border: none;
  background: var(--color-gray-50);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.mobile-platform-toggle:hover {
  background: var(--color-gray-100);
}

.mobile-platform-arrow {
  transition: transform 0.3s ease;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mobile-services {
  display: none;
  margin-top: var(--spacing-xs);
  padding-left: var(--spacing-md);
  padding-top: var(--spacing-sm);
}

.mobile-service-link {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-gray-700);
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
  }
}

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

/* Footer - White Background Style */
.footer {
  background: white;
  color: var(--text);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-3xl);
  border-top: 1px solid var(--color-gray-200);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid var(--color-gray-200);
  align-items: start;
}

.footer .footer-main {
  grid-template-columns: 1fr 2fr !important;
}

.footer .container {
  max-width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
}

.footer-brand .logo-link {
  margin-bottom: var(--spacing-sm);
}

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

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  transition: all var(--transition-base);
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-link img {
  filter: none;
  opacity: 0.8;
}

.social-link:hover img {
  opacity: 1;
}

.footer-services {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  flex: 1;
}

.footer-services-grid-2x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: var(--spacing-xl);
  max-width: 100%;
  width: 100%;
}

.footer-platform {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  width: fit-content;
  min-width: 0;
}

.footer-platform-name {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-xs) 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-service-list li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
  display: block;
}

.footer-service-list li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

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

.footer-link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-link-group ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-disclaimer {
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  border: 1px solid var(--color-gray-200);
}

.footer-disclaimer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.footer-disclaimer strong {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-separator {
  color: var(--color-gray-300);
  font-size: 0.875rem;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-links {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: var(--spacing-2xl);
  }
}

/* Tablet Responsive (1024px and below) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  /* Analytics section - stack on tablet */
  .analytics-content,
  section[style*="grid-template-columns: 1fr 1fr"] > div,
  section[style*="display: grid"] > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  /* Share grid - reduce columns */
  .share-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: var(--spacing-sm) !important;
  }
  
  /* Blog grid - 2 columns on tablet */
  .grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  /* Grid-3 responsive on all devices */
  .grid.grid-3.mt-lg {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

/* Grid-3 device friendly - mobile */
@media (max-width: 768px) {
  .grid.grid-3 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  .grid.grid-3.mt-lg {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  @media (max-width: 768px) {
    .grid.grid-3.mt-lg {
      grid-template-columns: 1fr;
      gap: var(--spacing-md);
    }
  }
  
  /* Review grid - 2 columns on tablet */
  section[style*="grid grid-3"],
  section .grid.grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-md) !important;
  }
  
  /* Features grid - 2 columns on tablet */
  section[style*="margin-top: var(--spacing-3xl)"] .grid.grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Package cards - 2 per row on tablet */
  .tier-packages > div[style*="display: flex"] {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
  }
  
  .package-card-square {
    width: 100% !important;
    max-width: 200px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    height: 100% !important;
  }
  
  .package-card-square > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .package-card-square .btn {
    margin-top: auto !important;
    align-self: stretch !important;
  }
}

/* Revert package page changes - keep original mobile behavior */

@media (max-width: 768px) {
  .footer .footer-main{
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-services-grid-2x4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .get-started-section {
    padding: 3rem 0 !important;
  }
  
  .service-card-square-home {
    min-height: 150px;
  }
  
  .footer-links {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  text-align: center;
  }
  
  /* Services page sections */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  /* Features section */
  .features-grid,
  .features-section .grid.grid-3,
  section[style*="margin-top: var(--spacing-3xl)"] .grid.grid-3 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  /* Analytics section - full width on mobile */
  .analytics-content,
  .analytics-section > .container > div[style*="grid-template-columns: 1fr 1fr"],
  section[style*="background: linear-gradient"] > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  /* Share grid - 2 columns on mobile */
  .share-grid-services,
  .share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--spacing-sm) !important;
  }
  
  /* Blog section */
  .blog-grid-services,
  .blog-section-services .grid.grid-3,
  section[style*="border-top: 2px solid"] .grid.grid-3 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  /* Reviews section */
  .reviews-grid-services,
  .reviews-section-services .grid.grid-3,
  section[style*="background: var(--bg-alt)"] .grid.grid-3 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  /* Platform filter buttons */
  .platform-tiers {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm) !important;
  }
  
  .platform-tier-btn {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  /* Tier packages - stack on mobile */
  .tier-packages {
    flex-direction: column;
    align-items: stretch;
  }
  
  .tier-packages > div[style*="display: flex"],
  .tier-packages > div[style*="justify-content: center"] {
    flex-direction: column !important;
    align-items: stretch !important;
    display: flex !important;
  }
  
  /* Package cards - full width on mobile */
  .package-card-square {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 180px;
    margin: 0 auto;
  }
  
  /* FAQ container - full width on mobile */
  .faq-container {
    max-width: 100% !important;
  }
  
  div[style*="grid-template-columns: 1fr 400px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Analytics section card */
  section[style*="background: linear-gradient"] .card {
    margin-top: var(--spacing-lg);
  }
  
  /* Platform filter - wrap on mobile, show only icons */
  .platform-tiers {
    padding: var(--spacing-sm) !important;
  }
  
  .platform-tier-btn {
    padding: var(--spacing-xs) !important;
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .platform-tier-btn img {
    margin: 0 !important;
    width: 24px !important;
    height: 24px !important;
  }
  
  /* Hide platform name text, keep only icon */
  .platform-tier-btn > *:not(img) {
    display: none !important;
  }
  
  .platform-tier-btn {
    font-size: 0 !important;
    line-height: 0 !important;
  }
}

@media (max-width: 1024px) {
  .platform-tier-btn {
    padding: var(--spacing-xs) !important;
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .platform-tier-btn img {
    margin: 0 !important;
    width: 24px !important;
    height: 24px !important;
  }
  
  /* Hide text, keep only icon */
  .platform-tier-btn > *:not(img) {
    display: none !important;
  }
  
  .platform-tier-btn {
    font-size: 0 !important;
    line-height: 0 !important;
  }
}

/* Grid */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

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

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex */
.flex {
  display: flex;
}

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

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

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

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Hero Section - Professional Design */
.hero {
  background: white;
  color: var(--text);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #bbf7d0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-image {
    max-width: 100%;
  }
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-gif {
  animation: hero-gif-bounce 2s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes hero-gif-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-highlight-text {
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero-subtext {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
  margin: 0 0 var(--spacing-xl) 0;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: flex-start;
  margin-top: var(--spacing-xl);
}

.emoji-bounce {
  display: inline-block;
  animation: emoji-bounce 1.5s ease-in-out infinite;
  margin: 0 0.25rem;
}

.emoji-pulse {
  display: inline-block;
  animation: emoji-pulse 1.8s ease-in-out infinite;
  margin: 0 0.25rem;
}

@keyframes emoji-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.1); }
}

@keyframes emoji-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Live Report Section - Buzzoid Style */
.live-report-section {
  background: linear-gradient(135deg, var(--hero-bg-from) 0%, var(--hero-bg-to) 100%);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.live-report-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

/* Share with your friends section */
.share-section {
  background: white;
}

.share-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.share-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

.share-content {
  position: relative;
  text-align: left;
}

.share-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-sm);
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  padding: var(--spacing-sm) 0;
}

@media (max-width: 1024px) {
  .faq-container {
    max-width: 100% !important;
  }
  
  /* Blog article layout - stack on tablet */
  .container > div[style*="grid-template-columns: 1fr 300px"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .share-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .share-content {
    text-align: center;
  }
  
  .share-image {
    max-width: 100%;
  }
  
  .share-grid {
    justify-content: center;
    padding: var(--spacing-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .share-card {
    min-width: 70px;
    padding: 0.4rem 0.6rem;
    font-size: 11px;
  }
  
  .share-icon-circle {
    width: 28px;
    height: 28px;
  }
  
  /* Blog article sidebar - full width on mobile */
  aside .card {
    position: static !important;
  }
}

.share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  border: none;
  font-size: 12px;
  min-width: 80px;
  flex-shrink: 0;
}

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

.share-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.share-icon-circle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.share-text h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.share-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.live-report-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-width: 0;
}

.live-report-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.live-report-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.star-icon {
  font-size: 1.25rem;
  color: var(--color-star);
  line-height: 1;
}

.live-report-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.live-report-payment-methods {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.payment-separator {
  color: var(--color-gray-300);
  font-weight: 300;
}


.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: live-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  transition: none;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.live-report-scroll {
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--live-success-soft-1) 0%,
    var(--live-success-soft-2) 50%,
    var(--live-success-soft-3) 100%
  );
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  box-sizing: border-box;
}

/* Compact variant for non-home pages */
.live-report-container-secondary {
  max-width: 35%;
  margin: 0 auto;
}

.live-report-scroll-secondary {
  max-width: 35%;
  padding: 20%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .live-report-scroll-secondary {
    padding: 0;
  }
}

.live-report-messages {
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.live-report-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.5rem 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.live-report-text {
  flex: 1;
}

/* Stars & meta inside review cards */
.review-card .stars {
  justify-content: center;
  gap: 0.35rem;
}

.review-meta {
  text-align: center;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.mt-md.review-meta {
  text-align: center;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* Ensure review cards fill their grid cell */
.reviews-grid-5x4 .review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card .star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  border: 1px solid var(--color-success);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.review-card .star-full {
  background: var(--color-success);
}

.review-card .star-empty {
  background: transparent;
}

.review-card .star-half {
  background: linear-gradient(to right, var(--color-success) 50%, transparent 50%);
}

.review-card .star-full::before,
.review-card .star-half::before,
.review-card .star-empty::before {
  content: '★';
  font-size: 0.7rem;
  line-height: 1;
  color: var(--color-success);
}

.review-card .star-full::before {
  color: #ffffff;
}

/* 4 columns grid for reviews page */
.reviews-grid-4,
.reviews-grid-5x4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
  .reviews-grid-5x4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .reviews-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .reviews-grid-5x4 {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .reviews-grid-4 {
    grid-template-columns: 1fr !important;
  }
}

.live-report-item::before {
  content: '';
  display: none;
}

@media (max-width: 768px) {
  .live-report-container {
    padding: 1rem;
  }
  
  .live-report-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .live-report-left {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }
  
  .live-report-stars {
    justify-content: center;
  }
  
  .live-report-scroll {
    width: 100%;
    text-align: center;
  }
  
  .live-report-item {
    white-space: normal;
  text-align: center;
}

  .live-report-right {
    width: 100%;
    justify-content: center;
  }
  
  .live-report-payment-methods {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8rem;
  }
  
  .faq-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Partners Section */
.partners-section {
  background: var(--color-gray-50);
  padding: var(--spacing-2xl) 0;
}

/* Homepage alternating section backgrounds */
.homepage-section:nth-child(even) {
  background: #F0FDF4;
}

.homepage-section:nth-child(odd) {
  background: #DCFCE7;
}

/* FAQ and Growth Calculator side by side layout */
/* Growth Calculator card styling is inline in the HTML */

/* Responsive: Stack FAQ and Growth Calculator on mobile */
@media (max-width: 768px) {
  .homepage-section .container > div[style*="grid-template-columns: 1fr 400px"] {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  .homepage-section .card[style*="position: sticky"] {
    position: relative !important;
    top: 0 !important;
  }
}

.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: flex;
  gap: var(--spacing-2xl);
  animation: marquee 30s linear infinite;
  width: fit-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  min-height: 80px;
  min-width: 150px;
  max-width: 200px;
  flex-shrink: 0;
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-logo-placeholder {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.7;
}

/* Stats Section */
.stats-section {
  padding: var(--spacing-3xl) 0;
}

.stats-card {
  padding: var(--spacing-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.stats-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto var(--spacing-sm);
}

.stats-card h3 {
  font-size: 1rem;
  margin: 0;
}

.stats-card p {
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.stats-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
}

.stats-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: var(--spacing-sm);
}

.stats-stars span {
  font-size: 1.25rem;
  color: var(--color-star);
}

/* How It Works Section */
.how-it-works-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 243, 255, 0.85) 100%);
  padding: var(--spacing-3xl) 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.how-it-works-step {
  text-align: center;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
  position: relative;
}

.how-it-works-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.how-it-works-step h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--text);
  letter-spacing: -0.01em;
}

.how-it-works-step p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.875rem;
}

.get-started-section .container > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .get-started-section .container > div {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .get-started-section .container > div > div:last-child {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
  
  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }
  
  .how-it-works-step {
    padding: var(--spacing-md);
    margin: 0;
  }
  
  .how-it-works-step .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .how-it-works-step h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .how-it-works-step p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
  }
  
  /* Grid-3 - 1 column on mobile */
  .grid.grid-3,
  .grid.grid-3.mt-lg {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
    justify-items: center;
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }
  
  .grid.grid-3 .card.text-center {
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-md);
    margin: 0;
  }
  
  .grid.grid-3 .card.text-center .stats-number {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .grid.grid-3 .card.text-center .stats-label {
    font-size: 0.75rem;
  }
  
  /* Override other grid-3 rules for mobile - 1 column */
  section .grid-3,
  .grid-3:not(.reviews-grid-services) {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    gap: var(--spacing-md) !important;
  }
  
  .pricing-tiers {
    max-width: 100%;
    padding: 12px;
  }
  
  .tier-btn {
    min-width: 80px;
    padding: 6px 12px;
    font-size: 0.5rem;
  }
  
  .services-grid-5x4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-column-header h3 {
    font-size: 0.75rem !important;
  }
  
  .live-report-container {
    max-width: 100% !important;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  justify-items: center;
  align-items: center;
  justify-content: center;
}

/* Desktop: 4 cards per row for package-card-square, but keep 1-3 cards centered */
@media (min-width: 1025px) {
  .package-cards-few {
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Only use grid when there are 4+ cards */
  .package-cards-many {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Tablet/Smaller devices: 3 cards per row, but keep 1-3 cards centered */
  .package-cards-few {
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Only use grid when there are 4+ cards */
  .package-cards-many {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--spacing-sm) !important;
  }
  
  .service-card {
    min-height: 200px !important;
    padding: var(--spacing-sm) !important;
    font-size: 0.875rem !important;
  }
  
  .service-card .service-icon {
    height: 32px !important;
  }
  
  .service-card .service-icon img {
    width: 24px !important;
    height: 24px !important;
  }
  
  .service-card .service-title {
    font-size: 0.875rem !important;
    min-height: 2.5rem !important;
  }
  
  .service-card p {
    font-size: 0.75rem !important;
    min-height: 3rem !important;
  }
  
  .service-card .btn {
    font-size: 0.75rem !important;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
  }
  
  /* Homepage service buttons - grid 1 on mobile */
  .service-btn-slide {
    width: 100% !important;
  }
  
  div[style*="display: grid"][style*="grid-template-columns: 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Service cards - same size on all devices */
  .service-card {
    min-height: 280px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--spacing-xl) !important;
  }
  
  .service-card .service-icon {
    height: 48px !important;
    margin-bottom: var(--spacing-md) !important;
  }
  
  .service-card .service-title,
  .service-card h3 {
    min-height: 3.5rem !important;
    margin-bottom: var(--spacing-md) !important;
    font-size: 1rem !important;
  }
  
  .service-card p {
    min-height: 4.5rem !important;
    margin-bottom: var(--spacing-md) !important;
    font-size: 0.875rem !important;
  }
  
  .service-card .btn {
    font-size: 0.875rem !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
  }
}

/* Services row on /services page */
.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.services-row-card {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-row-card-inner {
  position: relative;
  z-index: 1;
}

.services-row-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.services-row-card.in-top .services-row-card-overlay {
  transform: translateY(0);
}

.services-row-card.out-top .services-row-card-overlay {
  transform: translateY(-100%);
}

.services-row-card.in-right .services-row-card-overlay {
  transform: translateX(0);
}

.services-row-card.out-right .services-row-card-overlay {
  transform: translateX(100%);
}

.services-row-card.in-bottom .services-row-card-overlay {
  transform: translateY(0);
}

.services-row-card.out-bottom .services-row-card-overlay {
  transform: translateY(100%);
}

.services-row-card.in-left .services-row-card-overlay {
  transform: translateX(0);
}

.services-row-card.out-left .services-row-card-overlay {
  transform: translateX(-100%);
}

@media (max-width: 1024px) {
  .services-row-card {
    width: 45%;
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .services-row-card {
    width: 100%;
    max-width: 260px;
  }
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 8px !important; /* Reduced to 8px */
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px; /* Ensure consistent minimum height */
  width: 100%;
  max-width: 100%;
}

/* Align all service card elements at exact same positions */
.service-card .service-icon {
  height: 40px !important; /* Reduced */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px !important; /* Reduced margin */
  flex-shrink: 0;
}

.service-card .service-title,
.service-card h3 {
  min-height: 2.5rem !important; /* Reduced */
  margin-bottom: 4px !important; /* Reduced margin */
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
  flex-shrink: 0;
  font-size: 0.875rem !important; /* Reduced text size */
}

.service-card p {
  flex: 1;
  min-height: 3rem !important; /* Reduced */
  margin-bottom: 4px !important; /* Reduced margin */
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  font-size: 0.75rem !important; /* Reduced text size */
}

.service-card > *:last-child {
  margin-top: auto;
  flex-shrink: 0;
}

/* Ensure buttons are at same position */
.service-card .btn {
  width: 100%;
  margin-top: 0;
  font-size: 0.75rem !important; /* Reduced btn size */
  padding: 0.4rem 0.6rem !important; /* Reduced padding */
}

/* Homepage Service Buttons Container */
.homepage-service-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: var(--spacing-md) !important;
  min-height: 60px !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.homepage-service-btn {
  flex-shrink: 0 !important;
  transition: none !important;
}

/* Service Buttons Table */
.service-buttons-table {
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-buttons-table td {
  padding: var(--spacing-sm);
  border: none;
}

.service-buttons-table tr:first-child td:first-child {
  border-top-left-radius: var(--radius-md);
}

.service-buttons-table tr:first-child td:last-child {
  border-top-right-radius: var(--radius-md);
}

.service-buttons-table tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-md);
}

.service-buttons-table tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .service-buttons-table {
    width: 100%;
    max-width: 100%;
  }
  
  .service-buttons-table td {
    padding: var(--spacing-xs);
    display: block;
    width: 100%;
  }
  
  .service-buttons-table tr {
    display: block;
    margin-bottom: var(--spacing-xs);
  }
}

/* Services Grid 5x4 (5 columns, 4 rows) */
.services-grid-5x4 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

/* Services Grid 2x4 (2 columns, 4 rows) for homepage */
.services-grid-2x4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  max-width: 100%;
}

.services-column-2x4 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.services-column-header-2x4 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  padding: var(--spacing-md);
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
}

.service-card-home {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-empty {
  opacity: 0;
  pointer-events: none;
}

.service-card-home:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-square-small {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 200px;
  height: 200px;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.services-column-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  padding: var(--spacing-sm);
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  text-align: center;
}

.service-card-small {
  background: white;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: center;
}

.service-card-small:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-empty {
  opacity: 0;
  pointer-events: none;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.service-icon img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  display: block !important;
}

.service-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  background-clip: text;
  margin: var(--spacing-md) 0;
}

/* Admin Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - var(--header-height));
}

.admin-sidebar {
  background: var(--color-gray-900);
  color: white;
  padding: var(--spacing-xl);
}

.admin-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.admin-sidebar a {
  color: var(--color-gray-300);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: block;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: var(--color-primary);
  color: white;
}

.admin-content {
  padding: var(--spacing-xl);
  background: var(--color-gray-50);
}

/* Reviews - shared styling */
.review-text {
  text-align: justify;
}

.review-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: white;
  text-align: center;
  margin: 30px 0;
  opacity: 0.95;
}

.reviews-marquee-track .review-card {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
  opacity: 1;
}

/* Reviews marquee on homepage */
.reviews-marquee {
  position: relative;
  overflow: hidden;
}

.reviews-marquee-viewport {
  overflow: hidden;
  padding: 10px 0;
}

.reviews-marquee-track {
  display: flex;
  gap: 10px;
  animation: reviews-marquee-scroll 40s linear infinite;
}

.reviews-marquee-viewport:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes reviews-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Table */
.table {
  width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
}

.table th {
  background: var(--color-gray-100);
  font-weight: 600;
  color: var(--color-gray-900);
}

.table tr:hover {
  background: var(--color-gray-50);
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtext {
    font-size: 1.125rem;
  }
  
  .services-grid-2x4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid-5x4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-services-grid-2x4 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .get-started-section {
    padding: 4rem 0 !important;
  }
  
  .get-started-section > .container > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Reduce padding between homepage sections */
.homepage-section {
  padding-top: var(--spacing-lg) !important;
  padding-bottom: var(--spacing-lg) !important;
}

.homepage-section:first-child {
  padding-top: var(--spacing-xl) !important;
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Header */
  .header {
    height: auto;
    min-height: 60px;
  }
  
  /* Reduce padding between homepage sections on mobile */
  .homepage-section {
    padding-top: var(--spacing-md) !important;
    padding-bottom: var(--spacing-md) !important;
  }
  
  .header-content {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
  }
  
  .header-content .logo {
    flex: 0 0 auto;
    margin-right: auto;
    order: 1;
  }
  
  .header-content .header-right {
    flex: 0 0 auto;
    margin-left: auto;
    order: 2;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .header-menu-toggle {
    order: 3;
  }
  
  /* Hero */
  .hero {
    padding: 2rem 0;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .hero-content {
    text-align: center !important;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
    justify-content: center !important;
  }
  
  .hero-subtext {
    font-size: 1rem;
    margin: 0 auto var(--spacing-xl) auto !important;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center !important;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Live Report */
  .live-report-container {
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .live-report-scroll {
    max-width: 100% !important;
    font-size: 0.75rem;
  }
  
  /* Services Grid */
  .services-grid-2x4 {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .services-grid-5x4 {
    grid-template-columns: 1fr;
  }
  
  /* Show 3 card text-center in mobile view */
  .grid.grid-3 .card.text-center {
    width: 100%;
    max-width: 100%;
  }
  
  /* Checkout page - stack cards on mobile */
  .container[style*="max-width: 1400px"] > div[style*="grid-template-columns: 350px 1fr"],
  .container[style*="max-width: 1200px"] > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  .container[style*="max-width: 1400px"] .card[style*="position: sticky"] {
    position: relative !important;
    top: 0 !important;
    max-height: none !important;
  }
  
  .services-column-header {
    flex-direction: column;
    text-align: center;
  }
  
  /* Grid Layouts */
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Homepage reviews marquee – single card view on mobile */
  .reviews-marquee-viewport {
    overflow: hidden;
    padding: 10px 0;
  }
  
  .reviews-marquee-track {
    gap: var(--spacing-md);
  }

  .review-card {
    flex: 0 0 90% !important;
    max-width: 90% !important;
    margin: 0 auto;
    width: 90% !important;
  }
  
  /* Reviews page - show 1 review at a time with marquee on mobile */
  .reviews-grid-5x4 {
    display: block;
    overflow: hidden;
  }
  
  .reviews-grid-5x4 .reviews-marquee-viewport {
    overflow: hidden;
    padding: var(--spacing-md) 0;
  }
  
  .reviews-grid-5x4 .reviews-marquee-track {
    display: flex;
    gap: var(--spacing-md);
    animation: reviews-marquee-scroll 60s linear infinite;
    width: fit-content;
  }
  
  .reviews-grid-5x4 .reviews-marquee-viewport:hover .reviews-marquee-track {
    animation-play-state: paused;
  }
  
  .reviews-grid-5x4 .review-card {
    flex: 0 0 90%;
    max-width: 90%;
    margin: 0;
    min-width: 280px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  /* Pricing Tiers */
  .pricing-tiers {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--spacing-sm) !important;
    padding: 12px !important;
  }
  
  .tier-btn {
    width: 100%;
    font-size: 0.875rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  /* Package Cards - Keep 1-3 cards centered, use grid for 4+ */
  .package-cards-few {
    display: flex !important;
    justify-content: center !important;
    gap: var(--spacing-xs) !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  /* Only use grid when there are 4+ cards */
  .package-cards-many {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    gap: 8px !important;
  }
  
  /* Package cards container - grid-3 on all devices with max 8px gap */
  .package-cards-container.package-cards-many {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  
  @media (max-width: 1024px) {
    .package-cards-container.package-cards-many,
    .package-cards-container {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 8px !important;
    }
  }
  
@media (max-width: 768px) {
  .package-cards-container.package-cards-many,
  .package-cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  
  /* Responsive Images */
  .card.text-center img {
    width: 60px !important;
    height: 60px !important;
  }
  
  .stats-card img {
    width: 50px !important;
    height: 50px !important;
  }
  
  .hero img[src*="hero.png"] {
    opacity: 0.05 !important;
  }
    
    .package-cards-container.package-cards-many .package-card-square {
      width: 100% !important;
      max-width: 100% !important;
      padding: var(--spacing-sm) !important;
    }
    
    /* The HakaReach Advantage - Mobile (1 card per row) */
    .haka-advantage-grid {
      grid-template-columns: 1fr !important;
      gap: var(--spacing-md) !important;
    }
    
    /* Why People Trust HakaReach - Mobile (1 card per row) */
    .why-choose-grid {
      grid-template-columns: 1fr !important;
      gap: var(--spacing-md) !important;
    }
  }
  
  @media (max-width: 480px) {
    /* Small mobile: still 3 cards per row */
    .package-cards-container.package-cards-many,
    .package-cards-container {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 4px !important;
    }
  }
  
  /* Mobile package card square - 3 per row */
  @media (max-width: 768px) {
    .package-card-square {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important; /* No padding to maximize space */
      min-height: 80px !important;
      aspect-ratio: 1 !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      justify-content: flex-start !important; /* Start from top */
    }
    
    .package-card-square h3 {
      font-size: 1.17rem !important; /* 1.3x */
      margin: 16px 0 4px 0 !important; /* 16px from top, 4px spacing below */
      padding: 0 !important;
      line-height: 1.1 !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
    }
    
    .package-card-square .service-price {
      font-size: 1.7rem !important; /* Keep as is */
      margin: 4px 0 !important; /* 4px spacing */
      padding: 0 !important;
    }
    
    .package-card-square .btn,
    .package-card-square .btn.btn-primary.w-full {
      font-size: 0.715rem !important; /* 1.3x */
      padding: 0.15rem 0.25rem !important; /* Reduced padding */
      margin: 4px 0 0 0 !important; /* 4px spacing above */
      min-height: auto !important;
    }
    
    .package-card-square .discount-badge {
      font-size: 0.585rem !important; /* 1.3x */
      padding: 0.05rem 0.15rem !important; /* Reduced padding */
      margin: 0 0 4px 0 !important; /* 4px spacing below */
      background: #ef4444 !important; /* Red */
      color: white !important;
    }
  }
  
  .package-card-square .btn {
    font-size: 0.6rem !important;
    padding: 0.15rem 0.3rem !important;
    margin: 0 !important;
    min-height: auto !important;
  }
  
  .package-card-square .discount-badge {
    font-size: 0.4rem !important;
    padding: 0.05rem 0.15rem !important;
    margin: 0 !important;
  }
  
  .package-card-square > * {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .tier-packages {
    padding: var(--spacing-md) 0;
  }
  
  /* Footer - Mobile responsive */
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-md) !important;
  }
  
  .footer .container {
    padding: 0 var(--spacing-md) !important;
  }
  
  .footer-main {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  .footer-brand {
    text-align: center;
    width: 100%;
  }
  
  .footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
  
  .footer-social .social-link {
    width: 32px;
    height: 32px;
  }
  
  .footer-social .social-link img {
    width: 20px;
    height: 20px;
  }
  
  .footer-services {
    width: 100%;
  }
  
  .footer-services-grid-2x4 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  .footer-platform {
    margin-bottom: var(--spacing-md);
  }
  
  .footer-platform-name {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-service-list {
    font-size: 0.875rem;
  }
  
  .footer-service-list li {
    margin-bottom: var(--spacing-xs);
  }
  
  .footer-service-list a {
    padding: var(--spacing-xs) 0;
    display: block;
  }
  
  .footer-disclaimer {
    font-size: 0.75rem;
    padding: var(--spacing-md) var(--spacing-sm);
    line-height: 1.5;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
    padding-top: var(--spacing-md);
  }
  
  .footer-copyright,
  .footer-legal {
    font-size: 0.875rem;
  }
  
  .footer-separator {
    display: none;
  }
  
  .footer-legal a {
    display: block;
    margin: var(--spacing-xs) 0;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  /* Get Started Section */
  .get-started-section {
    padding: 3rem 0 !important;
  }
  
  .get-started-section h2 {
    font-size: 1.75rem;
  }
  
  .get-started-section > .container > div {
    grid-template-columns: 1fr !important;
  }
  
  .get-started-section > .container > div > div:last-child {
    grid-template-columns: 1fr !important;
  }
  
  /* Trust Badges */
  .get-started-section .trust-badges {
    grid-template-columns: 1fr !important;
  }
  
  /* FAQ */
  .faq-container {
    gap: var(--spacing-xs);
  }
  
  .faq-question {
    padding: var(--spacing-md);
    font-size: 0.9rem;
  }
  
  /* Cards */
  .card {
    padding: var(--spacing-md);
  }
  
  /* Stats Grid - keep 3 columns on mobile */
  .grid.grid-3:not(.reviews-grid-services) {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--spacing-xs) !important;
  }
  
  .grid.grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Partners Marquee */
  .partners-marquee {
    padding: var(--spacing-md) 0;
  }
  
  /* Service Cards - Same size on mobile */
  .service-card-square-small {
    min-height: 150px;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    padding: 0.75rem !important;
  }
  
  .service-card-home {
    min-height: 120px;
  }
  
  .service-card {
    padding: var(--spacing-md) !important;
    min-height: 200px;
    display: flex;
    flex-direction: column;
  }
  
  .service-card h3 {
    font-size: 1rem !important;
  }
  
  .service-card p {
    font-size: 0.875rem !important;
    flex: 1;
  }
  
  .service-card .btn {
    font-size: 0.875rem !important;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    margin-top: auto;
  }
  
  /* Features and Reviews sections - one by one on mobile */
  section[style*="margin-top: var(--spacing-3xl)"] .grid.grid-3,
  section[style*="background: var(--bg-alt)"] .grid.grid-3 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  /* Features and Reviews Section - stack on mobile */
  .features-reviews-section {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }
  
  /* Footer mobile fixes */
  .footer {
    padding: var(--spacing-lg) 0 !important;
  }
  
  .footer .container {
    padding: 0 var(--spacing-md) !important;
  }
  
  .footer-services-grid-2x4 {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
  
  .footer-platform {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
  }
  
  .footer-platform-name {
    font-size: 0.875rem !important;
    margin-bottom: var(--spacing-xs) !important;
  }
  
  .footer-service-list {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
  }
  
  .footer-service-list li {
    margin-bottom: 0.25rem !important;
  }
  
  .footer-service-list a {
    word-break: break-word;
  }
  
  .footer-disclaimer {
    font-size: 0.7rem !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    line-height: 1.4 !important;
    text-align: justify !important;
  }
  
  .footer-about {
    font-size: 0.8rem !important;
    padding: var(--spacing-sm) !important;
  }
  
  .footer-bottom {
    padding: var(--spacing-md) var(--spacing-sm) !important;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    gap: var(--spacing-xs) !important;
  }
  
  .footer-legal a {
    font-size: 0.75rem !important;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtext {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
  }
  
  .footer-services-grid-2x4 {
    grid-template-columns: 1fr;
  }
  
  .package-card-square {
    padding: 0.75rem !important;
  }
  
  .package-card-square h3 {
    font-size: 1rem !important;
  }
  
  .package-card-square .service-price {
    font-size: 1.5rem !important;
  }
  
  /* Services page sections - extra small mobile */
  section[style*="margin-top: var(--spacing-3xl)"] {
    margin-top: var(--spacing-xl) !important;
    padding-top: var(--spacing-xl) !important;
  }
  
  /* Analytics section - smaller padding */
  section[style*="background: linear-gradient"] {
    padding: var(--spacing-xl) 0 !important;
  }
  
  /* Share cards - smaller on tiny screens */
  .share-card {
    min-width: auto;
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .share-icon-circle {
    width: 24px;
    height: 24px;
  }
  
  /* Hero section adjustments */
  .hero-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .hero-subtext {
    font-size: 0.85rem;
  }
  
  /* Container padding */
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  /* Section padding */
  .section {
    padding: var(--spacing-lg) 0;
  }
}



/* Toast Notification Styles */
.toast-container {
  position: fixed;
  top: 80px; /* Below header (header is 70px) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
  max-width: 90%;
  width: 280px;
  max-width: 280px;
}

.toast-notification {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: var(--spacing-xs);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
  position: relative;
}

.toast-notification.toast-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.toast-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
}

.toast-text {
  flex: 1;
  min-width: 0;
}

.toast-title {
  display: none;
}

.toast-message {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  font-weight: 400;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.6;
}

.toast-close:hover {
  background: var(--color-gray-100);
  color: var(--text);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(16, 185, 129, 0.3);
  width: 100%;
  transform-origin: left;
  animation: toast-progress 3s linear forwards;
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Live dot indicator */
.toast-message::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(16, 185, 129, 0.6);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .toast-container {
    top: 70px; /* Below header on mobile too */
    left: 10px;
    right: 10px;
    transform: none;
    max-width: none;
  }
  
  .toast-content {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .toast-icon {
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
  }
  
  .toast-message {
    font-size: 0.7rem;
  }
  
  .toast-close {
    width: 14px;
    height: 14px;
    font-size: 0.875rem;
  }
}


/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }
.p-2xl { padding: var(--spacing-2xl); }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Width Utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }

/* Text Utilities */
.text-xs { font-size: 0.75rem; }
/* text-sm styling moved to components.css for special requirements */
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-700 { color: var(--color-gray-700); }
.text-gray-900 { color: var(--color-gray-900); }

/* Background Utilities */
.bg-white { background-color: white; }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-gray-50 { background-color: var(--color-gray-50); }
.bg-gray-100 { background-color: var(--color-gray-100); }
.bg-gray-900 { background-color: var(--color-gray-900); }

/* Border Utilities */
.border { border: 1px solid var(--color-gray-300); }
.border-top { border-top: 1px solid var(--color-gray-300); }
.border-bottom { border-bottom: 1px solid var(--color-gray-300); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Responsive Utilities */
@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .admin-layout {
    grid-template-columns: 1fr;
  }
  
  .admin-sidebar {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}


