/* Base Styles */
:root {
  --color-primary: #4285f4;
  --color-primary-dark: #3367d6;
  --color-primary-light: #64b5f6;
  --color-primary-lighter: #bbdefb;
  --color-primary-glow: rgba(66, 133, 244, 0.5);
  --color-secondary: #43a047;
  --color-secondary-dark: #2e7d32;
  --color-secondary-light: #66bb6a;
  \
  133,244,0.5);
  --color-secondary: #43a047;
  --color-secondary-dark: #2e7d32;
  --color-secondary-light: #66bb6a;

  --color-accent: #ff6d00;
  --color-accent-dark: #e65100;
  --color-accent-light: #ffab40;
  --color-dark: #1a2236;
  --color-dark-blue: #0d2b45;
  --color-gray-dark: #37474f;
  --color-gray: #607d8b;
  --color-gray-light: #b0bec5;
  --color-light: #eceff1;
  --color-white: #ffffff;
  --color-success: #4caf50;
  --color-warning: #ff9800;
  --color-error: #f44336;
  --color-info: #2196f3;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Roboto", sans-serif;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 15px var(--color-primary-glow);

  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;

  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  --z-negative: -1;
  --z-elevate: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-tooltip: 500;
}

/* CSS Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h1 {
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 3.6rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style-position: inside;
}

/* Global Noise Texture */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* Layout */
.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

section {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  border-radius: var(--border-radius-full);
  margin-bottom: 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.section-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-full);
  opacity: 0.3;
  z-index: -1;
  animation: pulse 2s infinite;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-gray-dark) 100%);
  -webkit-background-clip: text;  var(--color-dark) 0%, var(--color-gray-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0; /* Change from 6rem to 0 */
  height: 0; /* Change from 0.4rem to 0 */
  background: linear-gradient(
    90deg,
    var(--color-primary-light) 0%,
    var(--color-primary) 50%,
    var(--color-primary-dark) 100%
  );
  border-radius: var(--border-radius-full);
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--color-gray);
  max-width: 60rem;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) skewX(-15deg);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0) skewX(-15deg);
}

.btn-lg {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-icon {
  display: inline-flex;
  margin-left: 1rem;
  transition: var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

.btn-primary {
  background: #4285f4;
  color: white;
  box-shadow: 0 4px 10px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
  background: #3367d6;
  color: white;
  box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
}

.btn-outline {
  background: transparent;
  color: #4285f4;
  border: 1px solid #4285f4;
  box-shadow: 0 4px 10px rgba(30, 136, 229, 0.1);
}

.btn-outline:hover {
  background: rgba(66, 133, 244, 0.1);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 6px 15px rgba(30, 136, 229, 0.3);
}

.btn-glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(30, 136, 229, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(30, 136, 229, 0.8);
  }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(30, 136, 229, 0.2) 100%);
  border: 1px solid rgba(30, 136, 229, 0.2);
  border-radius: var(--border-radius-full);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.badge-icon {
  display: inline-flex;
  margin-right: 0.8rem;
  color: var(--color-primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: #ffffff;
  box-shadow: none; /* Change from 0 1px 3px rgba(0, 0, 0, 0.1) to none */
  padding: 1.2rem 0;
}

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

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

.logo-link {
  display: flex;
  align-items: center;
  color: var(--color-dark);
  transition: var(--transition);
}

.logo-circle {
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.logo-icon {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #333;
  letter-spacing: -0.05em;
}

.logo .highlight {
  color: #4285f4;
}

.logo .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; /* Change from 100% to 0 */
  height: 0; /* Change from 4px to 0 */
  background: var(--color-primary);
  border-radius: var(--border-radius-full);
  opacity: 0;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 1.5rem;
  position: relative;
}

.nav-links a {
  color: #555;
  font-weight: 500;
  padding: 0.8rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; /* Change from 2px to 0 to remove the line */
  height: 0;
  background: #4285f4;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #4285f4;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 0; /* Change from 100% to 0 to remove the line */
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: var(--z-elevate);
}

.mobile-menu-toggle span {
  display: block;
  width: 2.5rem;
  height: 0.3rem;
  background-color: var(--color-dark);
  margin: 0.5rem 0;
  border-radius: 0.3rem;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  overflow: hidden;
  padding: 12rem 0 18rem;
}

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

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-primary-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: var(--z-negative);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-negative);
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  opacity: 0.1;
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 30rem;
  height: 30rem;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  bottom: 10%;
  right: 5%;
  width: 20rem;
  height: 20rem;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  top: 50%;
  left: 50%;
  width: 40rem;
  height: 40rem;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.05;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.08;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.05;
  }
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: var(--z-elevate);
}

.hero-content {
  flex: 1;
  max-width: 60rem;
}

.glitch-text {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
}

.glitch-text::before {
  left: 2px;
  text-shadow: -1px 0 var(--color-primary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -1px 0 var(--color-secondary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
  animation-delay: 0.15s;
}

@keyframes glitch-anim {
  0% {
    clip: rect(42px, 9999px, 44px, 0);
  }
  5% {
    clip: rect(12px, 9999px, 59px, 0);
  }
  10% {
    clip: rect(48px, 9999px, 29px, 0);
  }
  15% {
    clip: rect(42px, 9999px, 73px, 0);
  }
  20% {
    clip: rect(63px, 9999px, 27px, 0);
  }
  25% {
    clip: rect(34px, 9999px, 55px, 0);
  }
  30% {
    clip: rect(86px, 9999px, 73px, 0);
  }
  35% {
    clip: rect(20px, 9999px, 20px, 0);
  }
  40% {
    clip: rect(26px, 9999px, 60px, 0);
  }
  45% {
    clip: rect(25px, 9999px, 66px, 0);
  }
  50% {
    clip: rect(57px, 9999px, 98px, 0);
  }
  55% {
    clip: rect(5px, 9999px, 46px, 0);
  }
  60% {
    clip: rect(82px, 9999px, 31px, 0);
  }
  65% {
    clip: rect(54px, 9999px, 27px, 0);
  }
  70% {
    clip: rect(28px, 9999px, 99px, 0);
  }
  75% {
    clip: rect(45px, 9999px, 69px, 0);
  }
  80% {
    clip: rect(23px, 9999px, 85px, 0);
  }
  85% {
    clip: rect(54px, 9999px, 84px, 0);
  }
  90% {
    clip: rect(45px, 9999px, 47px, 0);
  }
  95% {
    clip: rect(37px, 9999px, 20px, 0);
  }
  100% {
    clip: rect(4px, 9999px, 91px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 65px, 0);
  }
  5% {
    clip: rect(52px, 9999px, 77px, 0);
  }
  10% {
    clip: rect(28px, 9999px, 57px, 0);
  }
  15% {
    clip: rect(16px, 9999px, 13px, 0);
  }
  20% {
    clip: rect(24px, 9999px, 23px, 0);
  }
  25% {
    clip: rect(62px, 9999px, 31px, 0);
  }
  30% {
    clip: rect(53px, 9999px, 71px, 0);
  }
  35% {
    clip: rect(10px, 9999px, 56px, 0);
  }
  40% {
    clip: rect(37px, 9999px, 56px, 0);
  }
  45% {
    clip: rect(16px, 9999px, 51px, 0);
  }
  50% {
    clip: rect(44px, 9999px, 84px, 0);
  }
  55% {
    clip: rect(88px, 9999px, 49px, 0);
  }
  60% {
    clip: rect(67px, 9999px, 70px, 0);
  }
  65% {
    clip: rect(10px, 9999px, 8px, 0);
  }
  70% {
    clip: rect(37px, 9999px, 72px, 0);
  }
  75% {
    clip: rect(5px, 9999px, 41px, 0);
  }
  80% {
    clip: rect(40px, 9999px, 31px, 0);
  }
  85% {
    clip: rect(93px, 9999px, 76px, 0);
  }
  90% {
    clip: rect(26px, 9999px, 68px, 0);
  }
  95% {
    clip: rect(5px, 9999px, 46px, 0);
  }
  100% {
    clip: rect(82px, 9999px, 31px, 0);
  }
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--color-gray-dark);
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  position: relative;
}

.stat-value::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0; /* Change from 3rem to 0 */
  height: 0; /* Change from 0.3rem to 0 */
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-full);
}

.stat-label {
  font-size: 1.4rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 50rem;
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 40rem;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(30px);
  z-index: 0;
}

.hero-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.hero-bottom-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15rem;
  color: var(--color-white);
  z-index: 1;
}

.hero-bottom-wave svg {
  width: 100%;
  height: 100%;
}

/* Intro Section */
.intro {
  background-color: var(--color-white);
  position: relative;
}

.intro-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e88e5' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: var(--z-negative);
}

.intro-content {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.8rem;
  color: var(--color-gray-dark);
  position: relative;
}

.intro-content p {
  position: relative;
  padding: 0 2rem;
}

.intro-content p:first-child::before {
  content: """;
  position: absolute;
  top: -2rem;
  left: 0;
  font-size: 8rem;
  font-family: var(--font-heading);
  color: var(--color-primary-lighter);
  opacity: 0.5;
  line-height: 1;
}

.intro-content p:last-child::after {
  content: """;
  position: absolute;
  bottom: -6rem;
  right: 0;
  font-size: 8rem;
  font-family: var(--font-heading);
  color: var(--color-primary-lighter);
  opacity: 0.5;
  line-height: 1;
}

/* Features Section */
.features {
  background-color: var(--color-light);
  position: relative;
}

.features-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e88e5' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: var(--z-negative);
}

.features-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      45deg,
      var(--color-primary-lighter) 25%,
      transparent 25%,
      transparent 75%,
      var(--color-primary-lighter) 75%,
      var(--color-primary-lighter)
    ),
    linear-gradient(
      45deg,
      var(--color-primary-lighter) 25%,
      transparent 25%,
      transparent 75%,
      var(--color-primary-lighter) 75%,
      var(--color-primary-lighter)
    );
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.03;
  z-index: var(--z-negative);
}

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

.feature-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14z' fill='%231e88e5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: -1;
}

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

.feature-hover-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover .feature-hover-effect {
  transform: scaleX(1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  border-radius: 50%;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.feature-card h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0; /* Change from 3rem to 0 */
  height: 0; /* Change from 0.3rem to 0 */
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-full);
}

.feature-card:hover h3::after {
  width: 0; /* Change from 100% to 0 */
}

/* Testimonials Section */
.testimonials {
  background-color: #f8f9fa;
  padding: 8rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.review-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.review-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.avatar-placeholder {
  color: white;
  font-weight: 700;
  font-size: 2rem;
}

.review-author {
  flex-grow: 1;
}

.review-author h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}

.review-rating {
  display: flex;
  gap: 0.2rem;
}

.review-badge {
  background: #e8f0fe;
  color: #4285f4;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  position: absolute;
  top: 0;
  right: 0;
}

.review-content {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 1.4rem;
}

.review-likes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Updated CTA Section Styles */
.cta {
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  color: white;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-white) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
  z-index: var(--z-negative);
}

.cta-content {
  max-width: 70rem;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-elevate);
}

.cta h2 {
  color: var(--color-white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 30px;
}

.cta-feature svg {
  width: 2rem;
  height: 2rem;
}

.cta .btn-primary {
  background: white;
  color: #4285f4;
  padding: 1.5rem 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.cta .btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cta-badges .badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

/* Footer */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.footer-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: var(--z-negative);
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-white) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.05;
  z-index: var(--z-negative);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: var(--z-elevate);
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
  transform: scale(0);
  border-radius: 50%;
}

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

.social-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.footer-links h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 0; /* Change from 3rem to 0 */
  height: 0; /* Change from 0.3rem to 0 */
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-full);
}

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

.footer-links li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  opacity: 0.5;
  transition: var(--transition);
}

.footer-links li:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

.footer-links a {
  color: var(--color-gray-light);
  transition: var(--transition);
}

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

.footer-newsletter h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-newsletter h3::after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 0; /* Change from 3rem to 0 */
  height: 0; /* Change from 0.3rem to 0 */
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-full);
}

.footer-newsletter p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.form-group {
  position: relative;
  flex: 1;
}

.newsletter-form input {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  font-size: 1.4rem;
  color: var(--color-white);
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.input-focus-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transition: var(--transition);
}

.newsletter-form input:focus ~ .input-focus-effect {
  width: 100%;
}

.newsletter-form button {
  align-self: flex-start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  position: relative;
  z-index: var(--z-elevate);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--color-gray-light);
  position: relative;
}

.footer-legal a::after {
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 0;
  height: 0; /* Change from 1px to 0 */
  background-color: var(--color-primary);
  transition: var(--transition);
}

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

.footer-legal a:hover::after {
  width: 0; /* Change from 100% to 0 */
}

/* Responsive Styles */
@media (max-width: 1200px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 4rem;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
  }

  .image-wrapper {
    max-width: 50rem;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 8rem 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .auth-buttons {
    display: none;
  }

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

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
  }

  .cta-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* How To Play Page Styles */
.how-to-play {
  background-color: var(--color-white);
  position: relative;
  padding: 8rem 0;
}

.how-to-play .section-header {
  margin-bottom: 5rem;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.step-card {
  display: flex;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  font-size: 3.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.step-content {
  padding: 2.5rem;
  flex: 1;
}

.step-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.step-content p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.cta-box {
  margin-top: 5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(66, 133, 244, 0.2) 100%);
  border-radius: var(--border-radius);
  padding: 4rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-box p {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.cta-box .btn {
  margin-top: 1rem;
}

/* Responsive styles for How To Play page */
@media (max-width: 768px) {
  .step-card {
    flex-direction: column;
  }

  .step-number {
    width: 100%;
    padding: 1rem 0;
  }

  .cta-box {
    padding: 3rem 2rem;
  }
}

/* Ball System Page Styles */
.ball-system {
  background-color: var(--color-white);
  position: relative;
  padding: 8rem 0;
}

.ball-system .section-header {
  margin-bottom: 5rem;
}

.scoring-container {
  max-width: 120rem;
  margin: 0 auto;
}

.scoring-intro {
  max-width: 80rem;
  margin: 0 auto 5rem;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.scoring-category-title {
  font-size: 2.8rem;
  margin: 5rem 0 2.5rem;
  text-align: center;
  color: var(--color-primary-dark);
  position: relative;
}

.scoring-category-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-full);
  opacity: 0.5;
}

.scoring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.scoring-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scoring-card.wide {
  grid-column: 1 / -1;
  max-width: 60rem;
  margin: 0 auto;
}

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

.scoring-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.position-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: white;
}

.forward {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.midfielder {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.defender {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.goalkeeper {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.all-players {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

.red-card {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.scoring-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.points {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 1.5rem 0;
}

.points.negative {
  color: #f44336;
}

.description {
  font-size: 1.6rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.strategy-tips {
  margin-top: 6rem;
  padding: 4rem;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.1) 100%);
  border-radius: var(--border-radius);
}

.strategy-tips h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
  color: var(--color-primary-dark);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.tip-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: white;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.tip-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.tip-card p {
  font-size: 1.6rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

/* Responsive styles for Ball System page */
@media (max-width: 768px) {
  .scoring-grid {
    grid-template-columns: 1fr;
  }
  
  .strategy-tips {
    padding: 3rem 2rem;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .scoring-card {
    padding: 2rem;
  }
  
  .points {
    font-size: 3.5rem;
  }
}

/* Contacts Page Styles */
.contacts {
  background-color: var(--color-white);
  position: relative;
  padding: 8rem 0;
}

.contacts .section-header {
  margin-bottom: 4rem;
}

.contact-intro {
  max-width: 80rem;
  margin: 0 auto 5rem;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 120rem;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: white;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.info-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.info-card p {
  font-size: 1.6rem;
  color: var(--color-gray-dark);
  margin-bottom: 0.5rem;
}

.info-note {
  font-size: 1.4rem;
  color: var(--color-gray);
  font-style: italic;
}

.social-contact {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.1) 100%);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
}

.social-contact h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background: white;
  color: var(--color-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.social-icon-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-lg);
  background: var(--color-primary);
  color: white;
}

.contact-form-container {
  background: white;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 3rem;
  text-align: center;
}

.form-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.form-header p {
  font-size: 1.6rem;
  color: var(--color-gray);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form .form-group {
  position: relative;
}

.contact-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--color-gray-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  color: var(--color-dark);
  transition: var(--transition);
  background-color: #f9f9f9;
}

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

.contact-form .input-focus-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transition: var(--transition);
}

.contact-form input:focus ~ .input-focus-effect,
.contact-form textarea:focus ~ .input-focus-effect {
  width: 100%;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 1rem;
}

.success-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  transform: translateX(150%);
  transition: transform 0.5s ease;
}

.success-notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 40rem;
  position: relative;
  border-left: 4px solid var(--color-success);
}

.notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--color-success);
  color: white;
  border-radius: 50%;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
}

.notification-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.notification-text p {
  font-size: 1.4rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

.notification-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  transition: var(--transition);
}

.notification-close:hover {
  color: var(--color-dark);
  transform: scale(1.1);
}

/* Responsive styles for Contacts page */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 3rem 2rem;
  }
  
  .social-icons {
    flex-wrap: wrap;
  }
  
  .success-notification {
    left: 2rem;
    right: 2rem;
    transform: translateY(-150%);
  }
  
  .success-notification.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .contact-form button {
    width: 100%;
  }
}

/* Privacy Policy Page Styles */
.privacy-policy {
  background-color: var(--color-white);
  position: relative;
  padding: 8rem 0;
}

.privacy-policy .section-header {
  margin-bottom: 5rem;
}

.policy-content {
  max-width: 80rem;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: var(--shadow-md);
}

.policy-intro {
  margin-bottom: 4rem;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.policy-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-gray-light);
}

.policy-section:last-of-type {
  border-bottom: none;
}

.policy-section h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.policy-section p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
}

.policy-section ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.policy-section li {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: 0.8rem;
}

.policy-section a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px dotted var(--color-primary);
}

.policy-section a:hover {
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary-dark);
}

.policy-contact {
  margin-top: 5rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.1) 100%);
  border-radius: var(--border-radius);
}

.policy-contact h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.policy-contact p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
}

.policy-updated {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-gray);
  font-style: italic;
}

/* Responsive styles for Privacy Policy page */
@media (max-width: 768px) {
  .policy-content {
    padding: 3rem 2rem;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Terms and Conditions Page Styles */
.terms-conditions {
  background-color: var(--color-white);
  position: relative;
  padding: 8rem 0;
}

.terms-conditions .section-header {
  margin-bottom: 5rem;
}

.terms-content {
  max-width: 80rem;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: var(--shadow-md);
}

.terms-intro {
  margin-bottom: 4rem;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.terms-intro h2 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.terms-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-gray-light);
}

.terms-section:last-of-type {
  border-bottom: none;
}

.terms-section h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.terms-section p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
}

.terms-section ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.terms-section li {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: 0.8rem;
}

.terms-section a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px dotted var(--color-primary);
}

.terms-section a:hover {
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary-dark);
}

.terms-contact {
  margin-top: 5rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.1) 100%);
  border-radius: var(--border-radius);
}

.terms-contact h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.terms-contact p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
}

.terms-updated {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-gray);
  font-style: italic;
}

/* Responsive styles for Terms and Conditions page */
@media (max-width: 768px) {
  .terms-content {
    padding: 3rem 2rem;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Cookie Policy Page Styles */
.cookie-policy {
  background-color: var(--color-white);
  position: relative;
  padding: 8rem 0;
}

.cookie-policy .section-header {
  margin-bottom: 5rem;
}

.cookie-content {
  max-width: 80rem;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: var(--shadow-md);
}

.cookie-intro {
  margin-bottom: 4rem;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}

.cookie-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-gray-light);
}

.cookie-section:last-of-type {
  border-bottom: none;
}

.cookie-section h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.cookie-section p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
}

.cookie-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cookie-type {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.03) 0%, rgba(66, 133, 244, 0.06) 100%);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cookie-type:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cookie-type h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.cookie-type p {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.contact-email {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0;
  text-align: center;
}

.contact-email a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-primary);
  transition: var(--transition);
}

.contact-email a:hover {
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary-dark);
}

.cookie-controls {
  margin-top: 5rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.1) 100%);
  border-radius: var(--border-radius);
}

.cookie-controls h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.preference-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.preference-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.preference-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--color-dark);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.toggle.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.toggle-track {
  width: 5rem;
  height: 2.4rem;
  background-color: var(--color-gray-light);
  border-radius: 2rem;
  position: relative;
  transition: var(--transition);
}

.toggle-indicator {
  width: 2rem;
  height: 2rem;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  transition: var(--transition);
}

.toggle-indicator.enabled {
  left: 2.8rem;
  background-color: white;
}

.toggle-track:has(.toggle-indicator.enabled) {
  background-color: var(--color-primary);
}

.toggle-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-gray);
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--color-gray);
  color: white;
  box-shadow: 0 4px 10px rgba(96, 125, 139, 0.3);
}

.btn-secondary:hover {
  background: var(--color-gray-dark);
  color: white;
  box-shadow: 0 6px 15px rgba(96, 125, 139, 0.4);
}

.cookie-updated {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-gray);
  font-style: italic;
}

/* Responsive styles for Cookie Policy page */
@media (max-width: 768px) {
  .cookie-content {
    padding: 3rem 2rem;
  }
  
  .cookie-types {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
}

/* Footer Disclaimer Styles */
.footer-disclaimer {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: var(--z-elevate);
}

.disclaimer-content {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.disclaimer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.disclaimer-header svg {
  color: var(--color-warning);
}

.disclaimer-header h3 {
  color: var(--color-warning);
  font-size: 1.8rem;
  margin-bottom: 0;
}

.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.disclaimer-contact {
  margin-top: 2rem;
}

.company-name {
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-phone, .contact-email {
  margin-bottom: 0.5rem;
}

.contact-email a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: var(--transition);
}

.contact-email a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Responsive styles for footer disclaimer */
@media (max-width: 768px) {
  .footer-disclaimer {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .disclaimer-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}
