:root {
  /* Colors from Figma Design */
  --color-background: #FFFFFF;
  --color-surface: #F5F7FA;  /* Slightly darker surface for better contrast */
  --color-text: #1A202C;     /* Darker text for better readability */
  --color-text-secondary: #4A5568; /* Darker secondary text */
  
  /* Cricket themed colors based on Figma */
  --color-primary: #22C55E;       /* Green primary color */
  --color-primary-hover: #16A34A; /* Darker green on hover */
  --color-primary-active: #15803D;
  
  --color-secondary: #F3F4F6;
  --color-secondary-hover: #E5E7EB;
  --color-secondary-active: #D1D5DB;
  --color-border: #E2E8F0;
  --color-btn-primary-text: #FFFFFF;
  --color-card-border: #E2E8F0;
  --color-card-border-inner: #E2E8F0;
  --color-error: #EF4444;
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;
  --color-focus-ring: rgba(34, 197, 94, 0.4);
  --color-select-caret: rgba(51, 51, 51, 0.8);

  /* Cricket theme colors - from Figma */
  --color-cricket-green: #22C55E;  /* Primary green */
  --color-cricket-orange: #F59E0B; /* Accent orange */
  --color-cricket-gold: #FBBF24;   /* Gold for highlights */
  --color-cricket-light-green: #4ADE80;
  --color-cricket-blue: #3B82F6;   /* Blue accent */
  --color-cricket-red: #EF4444;    /* Red for alerts/badges */

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors - updated with more vibrant cricket theme */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: rgba(31, 33, 33, 1);
    --color-surface: rgba(38, 40, 40, 1);
    --color-text: rgba(245, 245, 245, 1);
    --color-text-secondary: rgba(167, 169, 169, 0.7);
    --color-primary: #2196F3;  /* Brighter blue for dark mode */
    --color-primary-hover: #42A5F5;
    --color-primary-active: #1E88E5;
    
    /* Cricket theme colors for dark mode - enhanced */
    --color-cricket-green: #00C853;  /* Brighter green for dark mode */
    --color-cricket-orange: #FF9100;
    --color-cricket-gold: #FFECB3;
    --color-cricket-light-green: #69F0AE;
    --color-cricket-blue: #40C4FF;
    --color-cricket-red: #FF5252;
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  --color-background: rgba(31, 33, 33, 1);
  --color-surface: rgba(38, 40, 40, 1);
  --color-text: rgba(245, 245, 245, 1);
  --color-text-secondary: rgba(167, 169, 169, 0.7);
  --color-primary: #2196F3;  /* Brighter blue for dark mode */
  --color-primary-hover: #42A5F5;
  --color-primary-active: #1E88E5;
  --color-secondary: rgba(119, 124, 124, 0.15);
  --color-secondary-hover: rgba(119, 124, 124, 0.25);
  --color-secondary-active: rgba(119, 124, 124, 0.3);
  --color-border: rgba(119, 124, 124, 0.3);
  --color-error: rgba(255, 84, 89, 1);
  --color-success: rgba(50, 184, 198, 1);
  --color-warning: rgba(230, 129, 97, 1);
  --color-info: rgba(167, 169, 169, 1);
  --color-focus-ring: rgba(50, 184, 198, 0.4);
  --color-btn-primary-text: rgba(19, 52, 59, 1);
  --color-card-border: rgba(119, 124, 124, 0.15);
  --color-card-border-inner: rgba(119, 124, 124, 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(119, 124, 124, 0.2);
  --color-select-caret: rgba(245, 245, 245, 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: 50, 184, 198;
  --color-error-rgb: 255, 84, 89;
  --color-warning-rgb: 230, 129, 97;
  --color-info-rgb: 167, 169, 169;
}

[data-color-scheme="light"] {
  --color-background: rgba(252, 252, 249, 1);
  --color-surface: rgba(255, 255, 253, 1);
  --color-text: rgba(19, 52, 59, 1);
  --color-text-secondary: rgba(98, 108, 113, 1);
  --color-primary: rgba(33, 128, 141, 1);
  --color-primary-hover: rgba(29, 116, 128, 1);
  --color-primary-active: rgba(26, 104, 115, 1);
  --color-secondary: rgba(94, 82, 64, 0.12);
  --color-secondary-hover: rgba(94, 82, 64, 0.2);
  --color-secondary-active: rgba(94, 82, 64, 0.25);
  --color-border: rgba(94, 82, 64, 0.2);
  --color-btn-primary-text: rgba(252, 252, 249, 1);
  --color-card-border: rgba(94, 82, 64, 0.12);
  --color-card-border-inner: rgba(94, 82, 64, 0.12);
  --color-error: rgba(192, 21, 47, 1);
  --color-success: rgba(33, 128, 141, 1);
  --color-warning: rgba(168, 75, 47, 1);
  --color-info: rgba(98, 108, 113, 1);
  --color-focus-ring: rgba(33, 128, 141, 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

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

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-cricket-green);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-cricket-light-green);
}

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

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

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

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

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

.btn--outline:hover {
  background: var(--color-cricket-green);
  color: var(--color-btn-primary-text);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
  max-width: var(--container-xl);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Responsive Media Queries - Figma Design Implementation */
@media (max-width: 992px) {
  .container {
    padding: 0 var(--space-24);
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-xl);
  }

  .features__grid,
  .pricing__grid,
  .testimonials__grid,
  .legal__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-lg);
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    margin-bottom: var(--space-16);
  }

  .features__grid,
  .pricing__grid,
  .testimonials__grid,
  .legal__content {
    grid-template-columns: 1fr;
  }

  .section__title {
    font-size: var(--font-size-2xl);
  }

  .cta__title {
    font-size: var(--font-size-2xl);
  }

  .footer__content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-24);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-16);
  }

  .hero {
    padding: var(--space-24) 0;
  }

  .hero__title {
    font-size: var(--font-size-xl);
  }

  .hero__badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge {
    margin-bottom: var(--space-8);
  }

  .pricing-card,
  .feature-card,
  .testimonial-card,
  .legal__card {
    padding: var(--space-16);
  }
}

/* Enhanced Header */
.header {
  background-color: #FFFFFF;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
  border-bottom: 1px solid var(--color-border); /* Added border for definition */
}

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

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  margin: 0;
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: #1A202C; /* Darker text color for better visibility */
  font-weight: 800; /* Increased from 700 to 800 for better visibility */
  transition: all 0.2s ease;
  font-size: 1.1rem; /* Slightly larger font */
  padding: 0.5rem 0.75rem; /* Added padding for larger click target */
  border-radius: var(--radius-sm); /* Rounded corners */
  position: relative; /* For underline effect */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); /* Enhanced text shadow for better readability */
  letter-spacing: 0.03em; /* Increased letter spacing improvement */
}

.nav__link:hover {
  color: var(--color-primary);
  background-color: rgba(34, 197, 94, 0.1); /* Light green background on hover */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); /* Enhanced text shadow on hover */
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-cricket-green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover::after {
  width: 80%; /* Underline expands on hover */
}

/* Hero Section from Figma */
.hero {
  background: linear-gradient(145deg, #22C55E 0%, #16A34A 100%); /* Green gradient for better visibility and brand consistency */
  color: white; /* Changed text color to white for contrast against green bg */
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 900; /* Bolder font weight */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Enhanced text shadow for better readability */
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  animation: fadeInUp 0.8s ease-out both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Added text shadow for better readability */
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800; /* Increased to 800 */
  color: rgba(255, 255, 255, 1); /* Full white for maximum contrast */
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); /* Enhanced shadow for better readability */
}

.hero__description {
  font-size: 1.2rem; /* Slightly larger */
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 1); /* Full white */
  animation: fadeInUp 0.8s ease-out 0.4s both;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7; /* Improved line height */
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Added shadow for better readability */
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.badge {
  background-color: rgba(255, 255, 255, 0.3); /* Increased opacity for better visibility */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700; /* Increased from 500 to 700 */
  font-size: 0.95rem; /* Slightly increased size */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3); /* Increased border opacity */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); /* Added text shadow for legibility */
  letter-spacing: 0.02em; /* Added letter spacing for better readability */
}

/* Enhanced Button Styles */
.btn--primary {
  background: var(--color-cricket-green);
  color: white;
  font-weight: 700; /* Increased from 600 to 700 */
  border-radius: 8px;
  padding: 0.85rem 1.75rem; /* Increased padding for larger button */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  border: none;
  transition: all 0.3s ease; /* Slightly slower transition */
  letter-spacing: 0.03em; /* Added letter spacing */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); /* Text shadow for depth */
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
  transform: translateY(-2px); /* Button lifts on hover */
}

.btn--primary:hover::after {
  opacity: 1;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.15); /* Light background instead of transparent */
  color: white; /* Changed from green to white for better contrast in hero */
  font-weight: 700; /* Increased from 600 to 700 */
  border: 2px solid white; /* Changed from green to white border */
  border-radius: 8px;
  padding: 0.85rem 1.75rem; /* Increased padding to match primary */
  transition: all 0.2s ease;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.25); /* Increased opacity for better hover effect */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Added shadow on hover */
  border-color: rgba(255, 255, 255, 0.9); /* Brighter border on hover */
}

/* Enhanced Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--color-surface); /* Changed from #FFFFFF to surface color */
  border-top: 1px solid var(--color-border); /* Added subtle border */
  border-bottom: 1px solid var(--color-border); /* Added subtle border */
}

.section__title {
  text-align: center;
  margin-bottom: 3rem;
  color: #e5e7eb; /* Even darker than var(--color-text) for maximum contrast */
  position: relative;
  font-size: 2.25rem;
  font-weight: 800; /* Increased from 700 to 800 */
  animation: scaleIn 0.8s ease-out both;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); /* Subtle text shadow for depth */
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-cricket-green);
  border-radius: 1.5px;
}

.section__subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: var(--color-text);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.feature-card {
  background: var(--color-surface); /* Using surface color for slight contrast */
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Increased shadow for depth */
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  animation: fadeInUp 0.6s ease-out both;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-cricket-green);
  background: rgba(34, 197, 94, 0.15); /* Slightly increased opacity for better visibility */
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(34, 197, 94, 0.3); /* Added border for more definition */
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2); /* Added subtle shadow */
  border-radius: 8px;
  margin: 0 auto 1.5rem;
}

.feature-card__title {
  margin-bottom: 1rem;
  color: var(--color-text); /* Changed from white to dark text color */
  font-weight: 700; /* Increased from 600 to 700 */
  font-size: 1.2rem; /* Slightly increased size */
}

.feature-card__description {
  font-size: 1rem; /* Increased from 0.95rem */
  color: var(--color-text); /* Changed from white with opacity to dark text color */
  line-height: 1.6; /* Increased from 1.5 */
  font-weight: var(--font-weight-medium); /* Added medium weight */
}

/* Enhanced Pricing Cards */
.pricing {
  padding: 5rem 0;
}

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

.pricing-card {
  background: var(--color-surface); /* Using surface color for better contrast */
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Increased shadow for depth */
  transition: all 0.2s ease;
  position: relative;
  border: 1px solid var(--color-border);
  overflow: hidden;
  color: var(--color-text);
  animation: scaleIn 0.6s ease-out both;
}

.pricing-card--popular {
  border: 2px solid var(--color-cricket-green);
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pricing-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-cricket-green);
  color: white;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  border-radius: 4px;
}

.pricing-card__name {
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.pricing-card__price {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-cricket-green);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
  font-weight: var(--font-weight-medium); /* Added medium weight for better visibility */
  color: var(--color-text); /* Ensure text color is dark enough */
}

.pricing-card__features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text); /* Changed from secondary to primary text color */
  font-weight: var(--font-weight-medium); /* Added medium weight */
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--color-cricket-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Enhanced Footer */
.footer {
  background-color: #1A1A1A; /* SignalWale dark color from logo */
  color: white;
  padding: 60px 0 20px;
  margin-top: var(--space-32);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #FF0000; /* SignalWale red from the logo */
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-32);
  margin-bottom: var(--space-32);
}

.footer__section h4 {
  color: white;
  margin-bottom: var(--space-16);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer__section h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #FF0000; /* SignalWale red from the logo */
}

.footer__section p {
  color: rgba(255, 255, 255, 0.95); /* Increased opacity for better contrast */
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium); /* Added medium weight */
}

.footer__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__section li {
  margin-bottom: var(--space-8);
}

.footer__section a {
  color: #ffffff; /* Full white for maximum contrast */
  transition: all 0.2s ease;
  display: inline-block;
  font-weight: 500; /* Medium weight for better visibility */
  font-weight: var(--font-weight-medium); /* Added medium weight */
  position: relative; /* For underline effect */
  padding-bottom: 2px; /* Space for underline */
}

.footer__section a:hover {
  color: var(--color-cricket-gold);
  transform: translateX(3px);
  text-decoration: underline; /* Added underline on hover */
}

.footer__section a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-cricket-gold);
  transition: width 0.3s ease;
}

.footer__section a:hover::after {
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: var(--space-20);
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.95); /* Increased opacity for better contrast */
  margin: 0;
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium); /* Added medium weight */
  letter-spacing: 0.01em; /* Added slight letter spacing */
}

/* Telegram Float Button */
.telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.telegram-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #0088cc; /* Telegram blue color */
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.telegram-float__btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 136, 204, 0.5);
  background-color: #0077b3; /* Darker Telegram blue on hover */
}

.telegram-float__btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0088cc;
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0.6;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Legal Pages Styles */
.legal-page {
  padding: 3rem 0;
  min-height: 60vh;
}

.legal-page h1 {
  color: var(--color-cricket-green);
  margin-bottom: 1rem;
}

.legal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.legal-content h2 {
  color: var(--color-cricket-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #000000;
  font-weight: 600;
  line-height: 1.6;
  font-size: 1.05rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  color: #000000;
  font-weight: 600;
  line-height: 1.6;
  font-size: 1.05rem;
}

.legal-content a {
  color: var(--color-cricket-blue);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Legal Compliance Section - Figma Design Update */
.legal {
  background-color: var(--color-background);
  padding: var(--space-32) 0;
  border-top: 1px solid var(--color-border);
}

.legal__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-24);
}

.legal__card {
  background-color: #FFFFFF; /* Pure white background for better contrast */
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  border: 1px solid #E2E8F0; /* Explicit border color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Added subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.legal__card:hover {
  transform: translateY(-5px);
  border-color: #FF0000; /* SignalWale red from the logo */
  box-shadow: 0 8px 16px rgba(255, 0, 0, 0.1); /* Enhanced shadow on hover with red tint */
}

.legal__card h3 {
  color: #FF0000; /* SignalWale red from the logo */
  font-size: var(--font-size-lg);
  font-weight: 700; /* Bolder weight */
  margin-bottom: var(--space-12);
  position: relative;
  padding-left: var(--space-24);
  text-shadow: 0 0.5px 0.5px rgba(0, 0, 0, 0.05); /* Subtle text shadow */
}

.legal__card h3::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #FF0000; /* SignalWale red from the logo */
  font-weight: 800; /* Extra bold check mark */
}

.legal__card p {
  color: #1A202C; /* Dark gray for better visibility */
  font-size: 1.05rem; /* Slightly larger text */
  line-height: 1.6; /* Increased line height */
  font-weight: 600; /* Semi-bold for better visibility */
  letter-spacing: 0.01em; /* Slight letter spacing */
}

/* Testimonials Section - Figma Design Update */
.testimonials {
  background-color: var(--color-surface);
  padding: var(--space-32) 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-32);
}

.testimonial-card {
  background-color: var(--color-surface); /* Using surface color for better contrast */
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
  border: 1px solid var(--color-card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: slideInRight 0.6s ease-out both;
}

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

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-cricket-green);
}

.testimonial-card__rating {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-12);
  color: var(--color-cricket-gold);
}

.testimonial-card__text {
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  color: var(--color-text); /* Already using our darker text color */
  margin-bottom: var(--space-16);
  font-style: italic;
  position: relative;
  font-weight: var(--font-weight-medium); /* Added medium weight for better readability */
}

.testimonial-card__text::before {
  content: "\201C";  /* Opening double quote */
  position: absolute;
  top: -15px;
  left: -5px;
  font-size: 50px;
  color: rgba(34, 197, 94, 0.1);
  font-family: serif;
}

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

.testimonial-card__author strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.testimonial-card__author span {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* CTA Section - Figma Design Update */
.cta {
  background: linear-gradient(135deg, var(--color-cricket-green) 0%, var(--color-cricket-light-green) 100%);
  padding: var(--space-32) 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(30deg);
}

.cta__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-32) var(--space-16);
  z-index: 1;
}

.cta__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-16);
  color: white;
}

.cta__description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-32);
  color: rgba(255, 255, 255, 0.9);
}

.cta .btn--primary {
  background-color: white;
  color: var(--color-cricket-green);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta .btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
  color: var(--color-cricket-green);
}

.cta__contact {
  margin-top: var(--space-24);
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Animation Effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section__title,
.feature-card,
.pricing-card,
.testimonial-card {
  animation: fadeIn 0.6s ease-out both;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

.pricing-card:nth-child(2) { animation-delay: 0.1s; }
.pricing-card:nth-child(3) { animation-delay: 0.2s; }

.testimonial-card:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card:nth-child(3) { animation-delay: 0.2s; }

/* Make the page more accessible */
:focus {
  outline: 3px solid var(--color-cricket-gold);
  outline-offset: 2px;
}