/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
  --color-primary: #09050a;
  --color-secondary: #aa5cc2;
  --color-text: #09050a;
  --color-text-light: #333333;
  --color-text-footer: #a2a9b0;
  --color-white: #ffffff;
  --color-border: #333333;
  --font-main: 'Public Sans', sans-serif;
  
  /* Spacing scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Breakpoints (mobile-first) */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-wide: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-primary);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
}

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

/* ============================================
   Typography
   ============================================ */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-title__icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title__icon--small {
  width: 0.625rem;
  height: 0.625rem;
}

.section-title__em {
  font-style: italic;
  color: var(--color-secondary);
}

.section-title--centered {
  justify-content: center;
  text-align: center;
}

.section-title--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  border-radius: 5rem;
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 400;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-height: 3.5rem;
}

.btn img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

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

.btn-primary:hover,
.btn-primary:focus {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.25rem;
}

.header__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3.625rem;
  border-bottom: 1px solid var(--color-border);
}

.header__logo {
  color: var(--color-primary);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.625rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__logo:hover,
.header__logo:focus {
  opacity: 0.8;
}

.header__nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.header__nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-primary);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.3s;
  text-transform: capitalize;
}

.header__nav-list a:hover,
.header__nav-list a:focus {
  opacity: 0.7;
  text-decoration: underline;
}

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.header__menu-toggle:hover {
  background: rgba(9, 5, 10, 0.05);
}

.header__menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}

.header__menu-overlay.active {
  opacity: 1;
}

/* Hide navigation on mobile */
.header__nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  z-index: 100;
  padding: 2rem 1.5rem;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.header__nav.open {
  transform: translateX(0);
}

.header__nav-list {
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

.header__nav-list a {
  padding: 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.header__nav-list a:hover,
.header__nav-list a:focus {
  background: rgba(9, 5, 10, 0.05);
  opacity: 1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding-top: 8.5rem;
  padding-bottom: 6.25rem;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.hero__bg-ellipse {
  position: absolute;
  top: -9.375rem;
  right: -18.75rem;
  width: 77.9375rem;
  height: 40.3125rem;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.hero__title-wrapper {
  position: relative;
}

.hero__title {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
}

.hero__title-line {
  display: block;
}

.hero__title-line--large {
  margin-left: 0;
}

.hero__steps {
  position: absolute;
  bottom: 12.1875rem;
  left: 0;
  display: none;
  gap: 15rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1e1629;
}

.hero__underline {
  position: absolute;
  left: 0;
  bottom: 0.9375rem;
  width: 13.40625rem;
  height: 2.84375rem;
  display: none;
}

.hero__character {
  position: relative;
  width: 100%;
  max-width: 33rem;
  height: auto;
  aspect-ratio: 528 / 453;
  margin: 0 auto;
  pointer-events: none;
  display: none; /* Hide complex character on mobile for performance */
}

.hero__character-part,
.hero__character-goggles {
  position: absolute;
}

.hero__character-part:nth-child(1) {
  left: 30.42%;
  top: 12.93%;
  width: 67.3%;
  height: 71.28%;
}

.hero__character-part:nth-child(2) {
  left: 4.07%;
  top: 48.4%;
  width: 31.45%;
  height: 27.54%;
}

.hero__character-part:nth-child(3) {
  left: 18.23%;
  top: 32.32%;
  width: 67.74%;
  height: 27.42%;
}

.hero__character-part:nth-child(4) {
  left: 71.61%;
  top: 65.33%;
  width: 23.03%;
  height: 18.05%;
}

.hero__character-part:nth-child(5) {
  left: 13.47%;
  top: 38.27%;
  width: 6.32%;
  height: 19.54%;
}

.hero__character-part:nth-child(6) {
  left: 84.17%;
  top: 38.35%;
  width: 6.32%;
  height: 19.54%;
}

.hero__character-part:nth-child(7) {
  left: 31.62%;
  top: 80.86%;
  width: 18.52%;
  height: 19.2%;
}

.hero__character-part:nth-child(8) {
  left: 54.26%;
  top: 80.86%;
  width: 18.52%;
  height: 19.2%;
}

.hero__character-part:nth-child(9) {
  left: 82.15%;
  top: 66.41%;
  width: 12.83%;
  height: 16.81%;
}

.hero__character-part:nth-child(10) {
  left: 85.25%;
  top: 73.38%;
  width: 8.13%;
  height: 8.71%;
}

.hero__character-goggles {
  left: 30.12%;
  top: 37.02%;
  width: 13.52%;
  height: 15.62%;
}

.hero__character-goggles img {
  position: absolute;
}

.hero__character-goggles img:nth-child(1) {
  left: 0%;
  top: 40.11%;
  width: 71.42%;
  height: 40.09%;
}

.hero__character-goggles img:nth-child(2) {
  left: 16.41%;
  top: 0%;
  width: 83.61%;
  height: 84.21%;
}

.hero__character-goggles img:nth-child(3) {
  left: 36.41%;
  top: 14.97%;
  width: 61.96%;
  height: 67.05%;
}

.hero__character-goggles--right {
  left: 60.37%;
  top: 37.7%;
  width: 14.32%;
  height: 15.4%;
}

.hero__character-goggles--right img:nth-child(1) {
  left: 33.48%;
  top: 41.52%;
  width: 66.46%;
  height: 40.07%;
}

.hero__character-goggles--right img:nth-child(2) {
  left: 0%;
  top: 0%;
  width: 75.44%;
  height: 81.65%;
}

.hero__character-goggles--right img:nth-child(3) {
  left: 16.41%;
  top: 11.33%;
  width: 57.58%;
  height: 67.01%;
}

.hero__character-part:nth-child(13) {
  left: 46.58%;
  top: 52.56%;
  width: 10.82%;
  height: 9.19%;
}

.hero__character-part:nth-child(14) {
  left: 51.23%;
  top: 56.84%;
  width: 4.95%;
  height: 4.2%;
}

.hero__character-part:nth-child(15) {
  left: 81.67%;
  top: 80.84%;
  width: 3.97%;
  height: 4.62%;
}

.hero__description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 36.4375rem;
}

.hero__description {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin: 0;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* ============================================
   Problems Section
   ============================================ */
.problems .container {
  position: relative;
}

.problems__bg-ellipse {
  position: absolute;
  top: -6.25rem;
  left: -12.5rem;
  width: 77.9375rem;
  height: 40.3125rem;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.problems__intro {
  padding-top: 0.375rem;
}

.problems__list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.problems__list-intro,
.problems__summary {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.problems__list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-item {
  display: flex;
  gap: 1.1875rem;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2rem;
}

.problem-item__number {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-primary);
  flex-shrink: 0;
}

.problem-item__text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  padding-top: 0.5rem;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding-bottom: 5rem;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  margin-top: 4rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.feature-card:last-child {
  border-bottom: none;
}

.feature-card__icon {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03125em;
  margin: 0;
}

.feature-card__description {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-light);
  margin: 0;
}

/* ============================================
   Clients Section
   ============================================ */
.clients {
  background-color: var(--color-white);
  padding: 6.25rem 0;
}

.clients .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 32.5rem;
}

.clients__bg-ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 77.9375rem;
  height: 40.3125rem;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.clients__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.75rem;
  width: 100%;
}

.clients__title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
  text-align: center;
}

.clients__subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.clients__title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 34.5rem;
}

.clients__logos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.client-logo {
  position: absolute;
  background-color: var(--color-white);
  box-shadow: 0px 0.375rem 1.25rem 0px rgba(28, 36, 105, 0.05);
  border-radius: 0.375rem;
  width: 5.9375rem;
  height: 5.9375rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-logo--woocommerce {
  top: 7.1875rem;
  left: 19.6875rem;
}

.client-logo--shopify {
  top: 22.6875rem;
  left: 16.0625rem;
}

.client-logo--bigcommerce {
  top: 8.25rem;
  right: 18.4375rem;
}

.client-logo--magento {
  top: 25.4375rem;
  right: 22rem;
}

.clients__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 23.875rem;
}

.clients__arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 2.8125rem;
  height: 2.8125rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}

.clients__arrow:hover,
.clients__arrow:focus {
  opacity: 0.7;
}

.clients__arrow--left {
  transform: scaleX(-1);
}

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

.clients__dots img {
  width: auto;
  height: auto;
}

/* ============================================
   Timeline Section
   ============================================ */
.timeline .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.75rem;
}

.timeline__content {
  border: 1px solid var(--color-border);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1.25rem;
  gap: 1rem;
}

.timeline__icon {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}

.timeline__text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  max-width: 39.125rem;
}

.timeline__time {
  margin: 0;
}

.timeline__time--number {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.timeline__time--unit {
  font-size: 1.25rem;
  font-weight: 500;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing .container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.pricing__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.pricing__description {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  max-width: 32.5625rem;
}

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pricing-card {
  border: 1px solid var(--color-border);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  gap: 3.75rem;
}

.pricing-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1875rem;
}

.pricing-card__tier {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1e1629;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.pricing-card__features {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-light);
  margin: 0;
  min-height: 2.5rem;
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies .container {
  position: relative;
}

.case-studies__bg-ellipse {
  position: absolute;
  top: 0;
  left: 0;
  width: 77.9375rem;
  height: 40.3125rem;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 5rem;
}

.case-studies__column {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.case-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--color-primary);
  padding: 1.5rem 1rem;
  min-height: 4.75rem;
}

.case-item p {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.case-item img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

/* ============================================
   CTA Secondary Section
   ============================================ */
.cta-secondary .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

.cta-secondary .section-title {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-secondary__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 74rem;
}

.tag-btn {
  border: 1px solid var(--color-primary);
  border-radius: 5rem;
  padding: 1.25rem 3.75rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  color: var(--color-primary);
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.tag-btn:hover,
.tag-btn:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

.review-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.review-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card__stars {
  display: flex;
  gap: 0.125rem;
}

.review-card__stars img {
  width: 1.25rem;
  height: 1.25rem;
}

.review-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.review-card__text {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-light);
  margin: 0;
}

.review-card__footer {
  border-top: 1px solid var(--color-primary);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.review-card__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-light);
}

.review-card__date {
  font-size: 0.875rem;
  font-weight: 400;
}

.testimonials__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 23.875rem;
}

/* ============================================
   CTA Final Section
   ============================================ */
.cta-final .container {
  position: relative;
}

.cta-final__bg-ellipse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 68.125rem;
  height: 40.25rem;
  opacity: 0.5;
  z-index: -1;
  transform: rotate(-180deg);
  pointer-events: none;
}

.cta-final__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.75rem;
  align-items: start;
}

.cta-final__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.cta-final__description {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  max-width: 29.1875rem;
}

.cta-final__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.cta-final__disclaimer {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: #5f5f5f;
  margin: 0;
  max-width: 30.25rem;
}

.cta-final__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cta-final__list-item {
  border: 1px solid var(--color-primary);
  padding: 1.75rem 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.footer__bg-ellipse {
  position: absolute;
  bottom: -12.5rem;
  left: -12.5rem;
  width: 77.875rem;
  height: 40.3125rem;
  opacity: 0.5;
  z-index: 0;
  transform: rotate(-180deg);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand {
  max-width: 19.875rem;
}

.footer__logo {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 2.5rem 0;
}

.footer__description {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-footer);
  margin: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__list a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.3s;
}

.footer__list a:hover,
.footer__list a:focus {
  opacity: 0.7;
}

.footer__social {
  display: flex;
  gap: 2.5625rem;
}

.footer__social a {
  display: block;
  transition: opacity 0.3s;
}

.footer__social a:hover,
.footer__social a:focus {
  opacity: 0.7;
}

.footer__divider {
  border: none;
  height: 1px;
  background-color: var(--color-white);
  margin: 0;
  opacity: 0.2;
}

/* ============================================
   Responsive Design - Small Mobile (480px and down)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 3rem;
  }

  .problem-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .problem-item__number {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .feature-card__title {
    font-size: 1.5rem;
  }

  .clients__title {
    font-size: 2rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem;
  }

  .tag-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  .review-card {
    padding: 1.5rem 1.25rem;
  }

  .footer {
    padding: 3rem 0;
  }

  .footer__content {
    gap: 2rem;
  }
}

/* ============================================
   Responsive Design - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .header__menu-toggle {
    display: none;
  }

  .header__menu-overlay {
    display: none !important;
  }

  .header__nav {
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }

  .header__nav-list {
    flex-direction: row;
    gap: 1rem;
  }

  .header__nav-list a {
    padding: 0.5rem 1rem;
  }

  .header__container {
    justify-content: space-between;
  }

  .hero {
    padding-top: 10rem;
    padding-bottom: 6.25rem;
  }

  .hero__title {
    font-size: 6rem;
  }

  .hero__title-line--large {
    margin-left: 17.5625rem;
  }

  .hero__steps {
    display: flex;
  }

  .hero__underline {
    display: block;
  }

  .hero__character {
    position: absolute;
    right: -6.25rem;
    bottom: -10rem;
    width: 33rem;
    max-width: none;
    margin: 0;
  }

  .hero__character {
    display: block;
  }

  .hero__character-part,
  .hero__character-goggles {
    display: block;
  }

  .hero__description-wrapper {
    max-width: 36.4375rem;
  }

  .hero__buttons {
    flex-direction: row;
    width: auto;
  }

  .problems__grid {
    grid-template-columns: 1fr 1fr;
    gap: 9.4375rem;
  }

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

  .feature-card {
    border-right: 1px solid var(--color-border);
  }

  .features__grid .feature-card:nth-child(2n) {
    border-right: none;
  }

  .features__grid .feature-card:nth-child(3),
  .features__grid .feature-card:nth-child(4) {
    border-bottom: none;
  }

  .clients__title {
    font-size: 3rem;
  }

  .clients__logos {
    display: block;
  }

  .timeline__content {
    padding: 5rem 1.25rem;
  }

  .pricing__header {
    grid-template-columns: 1fr 1fr;
    gap: 11.4375rem;
    align-items: end;
  }

  .pricing__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-studies__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-final__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 6.25rem;
    align-items: center;
  }

  .cta-final__buttons {
    flex-direction: row;
    width: auto;
  }

  .footer__content {
    grid-template-columns: 1fr auto auto;
    gap: 6.25rem;
  }

  .footer__links {
    flex-direction: row;
    gap: 5rem;
  }
}

/* ============================================
   Responsive Design - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .section-title {
    font-size: 3.5rem;
  }

  .hero__title {
    font-size: 10.625rem;
  }

  .hero__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8.125rem;
  }

  .hero__description-wrapper {
    align-items: flex-start;
  }

  .section-title--stacked {
    align-items: flex-start;
  }

  .cta-final__info {
    align-items: flex-start;
  }
}

/* ============================================
   Responsive Design - Wide (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .header {
    padding: 0 5rem;
  }

  .hero__character {
    right: -6.25rem;
  }
}

/* ============================================
   Touch Optimizations
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .tag-btn,
  .clients__arrow,
  .testimonials__navigation button {
    min-height: 44px;
    padding: 1rem 2rem;
    font-size: 1rem;
    -webkit-tap-highlight-color: rgba(9, 5, 10, 0.1);
  }

  .header__nav-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ============================================
   Accessibility & Cross-browser Fixes
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Cross-browser improvements */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.btn,
.tag-btn,
.clients__arrow,
.header__menu-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .hero__character {
    display: none; /* Hide complex character on mobile for performance */
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .btn,
  .clients__navigation,
  .testimonials__navigation {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}
