:root {
  /* Brand Colors */
  --blue-electric: #1A73E8;
  --blue-deep: #0F1C3F;
  --green-aqua: #00D4B0;
  --gray-light: #F2F4F7;
  --white: #FFFFFF;
  --purple-loop: #6C3EF7;
  --gray-dark: #2E2E2E;
  --white-ice: #F9F9F9;
  
  /* Gradients */
  --gradient-blue: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-electric) 100%);
  --gradient-card: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  /* Spacing */
  --space-xs: clamp(0.5rem, 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1vw, 1.25rem);
  --space-md: clamp(1rem, 1.5vw, 1.75rem);
  --space-lg: clamp(1.5rem, 2vw, 2.25rem);
  --space-xl: clamp(2rem, 3vw, 3.5rem);
  --space-xxl: clamp(3rem, 5vw, 6rem);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Fluid typography base */
@media screen and (max-width: 320px) {
  html {
    font-size: 14px;
  }
}

@media screen and (min-width: 1921px) {
  html {
    font-size: 18px;
  }
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white-ice);
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Utility Classes
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(var(--space-md), 15px);
}

@media screen and (min-width: 1500px) {
  .container {
    max-width: 1400px;
  }
}

.text-highlight {
  color: var(--green-aqua);
}

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

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

/* Header & Navigation
-------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: all 0.3s ease;
  padding: var(--space-md) 0;
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--space-xs) 0;
}

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

.logo {
  display: block;
  z-index: 101;
}

.logo img {
  height: clamp(30px, 5vw, 20px);
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  gap: clamp(var(--space-md), 3vw, var(--space-lg));
}

.main-nav__link {
  font-weight: 500;
  color: var(--blue-deep);
  position: relative;
  font-size: clamp(0.875rem, 1vw, 1rem);
  white-space: nowrap;
}

.main-nav__link:hover {
  color: var(--blue-electric);
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-electric);
  transition: width 0.3s ease;
}

.main-nav__link:hover::after {
  width: 100%;
}

.header__cta {
  display: none;
}

.menu-toggle {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--blue-deep);
  transition: all 0.3s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-open .main-nav {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  padding: 80px var(--space-md) var(--space-md);
  z-index: 100;
  overflow-y: auto;
}

.menu-open .main-nav__list {
  flex-direction: column;
  gap: var(--space-md);
}

.menu-open .main-nav__link {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  display: block;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--gray-light);
}

/* Buttons
-------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.4;
  border: none;
  font-size: clamp(0.875rem, 1vw, 1rem);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background-color: var(--blue-electric);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn--outline:hover {
  background-color: rgba(15, 28, 63, 0.05);
}

.btn--white {
  background-color: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-md);
}

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

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

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn--lg {
  padding: clamp(0.875rem, 1vw, 1rem) clamp(1.5rem, 2vw, 2rem);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

/* Hero Section
-------------------------------------------------- */
.hero {
  padding: clamp(5rem, 10vh, 7rem) 0 clamp(3rem, 5vh, 5rem);
  background: linear-gradient(to bottom right, var(--white) 0%, var(--gray-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 176, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero__content {
    margin: 0;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--blue-deep);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  width: 100%;
}

.hero__buttons .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .hero__buttons {
    flex-direction: row;
  }
  
  .hero__buttons .btn {
    width: auto;
  }
}

.trust-badges {
  margin-top: var(--space-lg);
}

.trust-badges__title {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: var(--gray-dark);
  margin-bottom: var(--space-sm);
  opacity: 0.7;
}

.trust-badges__logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.trust-badges__logos img {
  opacity: 0.7;
  transition: opacity 0.3s ease;
  max-height: clamp(30px, 5vw, 40px);
  width: auto;
}

.trust-badges__logos img:hover {
  opacity: 1;
}

.hero__image {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  width: 100%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  max-width: min(80%, 250px);
}

.floating-card--1 {
  top: -20px;
  right: 0;
  transform: translateX(10%);
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 576px) {
  .floating-card--1 {
    right: -10px;
    transform: none;
  }
}

.floating-card--2 {
  bottom: -20px;
  left: 0;
  transform: translateX(-10%);
  animation: float 6s ease-in-out infinite 1s;
}

@media (min-width: 576px) {
  .floating-card--2 {
    left: -10px;
    transform: none;
  }
}

.floating-card--3 {
  top: -20px;
  right: 0;
  transform: translateX(10%);
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 576px) {
  .floating-card--3 {
    right: -10px;
    transform: none;
  }
}

.floating-card--4 {
  bottom: -20px;
  left: 0;
  transform: translateX(-10%);
  animation: float 6s ease-in-out infinite 1s;
}

@media (min-width: 576px) {
  .floating-card--4 {
    left: -10px;
    transform: none;
  }
}

.floating-card--primary {
  background-color: var(--white);
  border: 1px solid rgba(0, 212, 176, 0.3);
}

.floating-card__icon {
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  background-color: var(--green-aqua);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.floating-card__content {
  flex: 1;
  min-width: 0;
}

.floating-card__title {
  font-weight: 700;
  color: var(--blue-deep);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-card__subtitle {
  font-size: clamp(0.7rem, 0.9vw, 0.75rem);
  color: var(--gray-dark);
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section Common Styles
-------------------------------------------------- */
section {
  padding: var(--space-xxl) 0;
}

@media (max-width: 576px) {
  section {
    padding: calc(var(--space-xxl) * 0.8) 0;
  }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-sm);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--blue-deep);
  line-height: 1.3;
}

.section-header--light .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: var(--gray-dark);
}

.section-header--light .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Differentials Section
-------------------------------------------------- */
.differentials {
  background-color: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}

.card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 212, 176, 0.2);
}

.card__icon {
  width: clamp(46px, 6vw, 56px);
  height: clamp(46px, 6vw, 56px);
  background-color: rgba(26, 115, 232, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--blue-electric);
  flex-shrink: 0;
}

.card__title {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--blue-deep);
}

.card__title--large {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.card__text {
  color: var(--gray-dark);
}

.card--cta {
  background: var(--gradient-blue);
  color: var(--white);
}

.card--cta .card__title {
  color: var(--white);
}

.card--cta .card__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

/* Who Uses Section
-------------------------------------------------- */
.who-uses {
  background-color: var(--gray-light);
}

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.tabs__button {
  padding: 0.75rem 1rem;
  background-color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: var(--blue-deep);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.tabs__button--active {
  background-color: var(--blue-electric);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.tabs__panel {
  display: none;
}

.tabs__panel--active {
  display: block;
}

.tabs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.tabs__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--blue-deep);
}

.tabs__description {
  margin-bottom: var(--space-md);
  color: var(--gray-dark);
}

.feature-list {
  margin-bottom: var(--space-lg);
}

.feature-list__item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
}

.feature-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background-color: rgba(0, 212, 176, 0.2);
  border-radius: 50%;
}

.feature-list__item::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--green-aqua);
  border-bottom: 2px solid var(--green-aqua);
  transform: rotate(45deg);
}

.tabs__image {
  max-width: 100%;
  margin: 0 auto;
}

.tabs__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  width: 100%;
}

/* Affiliate Section
-------------------------------------------------- */
.affiliate {
  background: var(--gradient-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.affiliate::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 212, 176, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.affiliate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.affiliate__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.affiliate__image {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.affiliate__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.affiliate__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.icon-list__item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  gap: var(--space-md);
  transition: all 0.3s ease;
}

.icon-list__item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.icon-list__icon {
  width: clamp(40px, 5vw, 48px);
  height: clamp(40px, 5vw, 48px);
  background-color: rgba(0, 212, 176, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-aqua);
  flex-shrink: 0;
}

.icon-list__title {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.icon-list__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.875rem, 1vw, 0.938rem);
}

.affiliate__cta {
  margin-top: var(--space-lg);
}

.affiliate__cta-text {
  margin-top: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
}

@media (min-width: 576px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats__item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  height: 100%;
}

.stats__number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--green-aqua);
  margin-bottom: var(--space-xs);
}

.stats__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

/* Final CTA
-------------------------------------------------- */
.cta-final {
  background: linear-gradient(to bottom right, var(--white) 0%, var(--gray-light) 100%);
  padding: var(--space-xxl) 0;
}

@media (max-width: 576px) {
  .cta-final {
    padding: calc(var(--space-xxl) * 0.8) 0;
  }
}

.cta-box {
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-lg), 5vw, var(--space-xl));
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 176, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.cta-box__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-box__text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.cta-box__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box__buttons .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .cta-box__buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .cta-box__buttons .btn {
    width: auto;
  }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metrics__item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  height: 100%;
}

.metrics__number {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--green-aqua);
  margin-bottom: var(--space-xs);
}

.metrics__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

.cta-box__note {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

/* Footer
-------------------------------------------------- */
.footer {
  background-color: var(--blue-deep);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 576px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

.footer__company {
  margin-bottom: var(--space-lg);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
  margin-bottom: var(--space-md);
}

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

.social__link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--white);
}

.social__link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer__title {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer__menu li {
  margin-bottom: var(--space-xs);
}

.footer__menu a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  font-size: clamp(0.875rem, 1vw, 1rem);
}

.footer__menu a:hover {
  color: var(--green-aqua);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

@media (min-width: 768px) {
  .footer__legal {
    justify-content: flex-end;
  }
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

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

/* Media Queries (Updated to use min-width breakpoints)
-------------------------------------------------- */
@media (min-width: 480px) {
  .hero__buttons {
    flex-direction: row;
  }
  
  .cta-box__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 576px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: clamp(2.5rem, 5vw, 3rem);
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .tabs__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .affiliate__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .main-nav {
    display: block;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .header__cta {
    display: block;
  }
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .cta-box__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 1500px) {
  html {
    font-size: 18px;
  }
}

/* Supports Safari */
@supports (-webkit-touch-callout: none) {
  .floating-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  
  .icon-list__item {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}

/* Tablet Portrait orientation specific */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .container {
    padding: 0 max(var(--space-md), 25px);
  }
  
  .hero__grid, 
  .affiliate__grid {
    gap: var(--space-md);
  }
}

/* Tablet Landscape orientation specific */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero {
    padding-top: clamp(6rem, 12vh, 9rem);
  }
}

/* Support for high-DPI/retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero__image img,
  .tabs__image img,
  .affiliate__image img {
    border-width: 2px;
  }
}

/* Touch devices */
@media (hover: none) {
  .card:hover,
  .btn:hover,
  .social__link:hover {
    transform: none; /* Prevents hover effects that don't work well on touch */
  }
}

/* RTL support */
[dir="rtl"] {
  .feature-list__item {
    padding-left: 0;
    padding-right: 1.75rem;
  }
  
  .feature-list__item::before,
  .feature-list__item::after {
    left: auto;
    right: 0;
  }
  
  .feature-list__item::after {
    left: auto;
    right: 6px;
    transform: rotate(-45deg);
  }
}

/* Animation Classes
-------------------------------------------------- */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}

[data-aos-delay="500"] {
  transition-delay: 0.5s;
}

/* Print styles */
@media print {
  .header, 
  .footer {
    position: static;
  }
  
  .hero, 
  section {
    padding: 1cm 0;
  }
  
  .btn, 
  .header__cta, 
  .menu-toggle {
    display: none !important;
  }
  
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* Ensures that screen readers have proper focus indicators */
:focus {
  outline: 2px solid var(--blue-electric);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 2px;
}