/* ==========================================================================
   ROOT VARIABLES & GENERAL STYLES
   ========================================================================== */

:root {
  /* Colors */
  --primary-color: #000000;
  --secondary-color: #F6F7F8;
  --accent-color: #732BF5;
  --accent-hover: #5f22cc;
  --text-color: #6e7191;
  --text-primary: #1a1a1a;
  --background-light: #FFFFFF;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --border-color: #e0e0e0;
  --footer-bg: #1a1a1a;
  --footer-text: #ffffff;
  
  /* Layout */
  --max-width: 1200px;
  
  /* Gradients */
  --gradient-purple: linear-gradient(90deg, #7000FF 0%, #8B3DFF 100%);
}

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

body {
  font-family: 'Mulish', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

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

img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img.lazy.loaded {
  opacity: 1;
}

/* Common Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

/* Section Titles */
.metrics h2,
.clients h2,
.benefits h2,
.how-it-works h2,
.features h2,
.faq h2,
.pricing h2,
.features-highlight h2,
.contact-form h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 48px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 900;
}

/* Common Button Styles */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--background-light);
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
}

.cta-button:hover {
  background-color: #222;
}

.next-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.cta-button:hover .next-icon {
  transform: translateX(4px);
}

/* Container */
main {
  margin-top: 80px;
}

/* Animation Classes */
.feature-item, 
.step, 
.benefit-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.animate, 
.step.animate, 
.benefit-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:nth-child(2n),
.benefit-item:nth-child(2n) {
  transition-delay: 0.2s;
}

.step:nth-child(2) {
  transition-delay: 0.2s;
}

.step:nth-child(3) {
  transition-delay: 0.4s;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 0.5px solid var(--border-color);
}

header.hidden {
  transform: translateY(-100%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  height: 30px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--background-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  gap: 80px;
}

.hero-content {
  max-width: 550px;
  flex-shrink: 0;
  text-align: left;
}

.hero h1 {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 24px;
  font-family: 'Mulish', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.4;
}

.hero-description {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 32px;
  font-family: 'Mulish', sans-serif;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 40px;
  align-items: stretch;
  justify-content: flex-start;
}

.hero-buttons .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 18px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-align: center;
  justify-content: center;
  min-height: 52px;
}

.hero-buttons .presentation-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 18px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-align: center;
  justify-content: center;
  min-height: 52px;
}

.hero-buttons .presentation-link:hover {
  background-color: #E4E6EB;
}

.hero-buttons .presentation-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.app-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.app-buttons a {
  display: flex;
  align-items: center;
}

.app-buttons img {
  height: 48px;
  width: auto;
}

.hero-image {
  position: relative;
  width: 100%;
  margin-right: 0;
  max-width: 1200px;
  margin: 20px 0;
  margin-left: auto;
}

.hero-image img {
  width: 90%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  display: block;
}

/* ==========================================================================
   CLIENTS LOGOS
   ========================================================================== */

.clients-logos {
  padding: 30px 0;
}

.clients-logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.client-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   FEATURES HIGHLIGHT
   ========================================================================== */

.features-highlight {
  padding: 100px 0;
  background: white;
}

.features-highlight .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--secondary-color);
  border-radius: 40px 40px 4px 40px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  min-height: 220px;
  position: relative;
  overflow: visible;
}

.platform-feature-content {
  flex: 1;
  padding-right: 240px;
  position: relative;
  z-index: 3;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
}

.feature-card-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.feature-card-image img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin-bottom: 0;
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */

.metrics .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 24px;
}

.metric-item {
  background: var(--secondary-color);
  border-radius: 40px 40px 4px 40px;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.metric-item:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 100%;
}

.metric-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
}

.metric-item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  height: 100%;
  margin-top: 0;
}

.metric-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
  line-height: 1.2;
}

.metric-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  max-width: 70%;
}

.metric-value {
  font-size: 70px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin: 0;
  position: absolute;
  bottom: 32px;
  right: 32px;
}

.metric-item:first-child .metric-value {
  position: static;
  margin: 16px 0;
}

.delivery-metrics {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 44%;
  margin: 0;
}

.commission-tags {
  display: flex;
  margin-bottom: 0;
  margin-left: auto;
  width: 50%;
  height: 200px;
  gap: 12px;
}

.commission-tag {
  padding: 8px 12px;
  background: #E7E9F1;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--primary-color);
  height: 40px;
  display: flex;
  align-items: center;
}

.commission-tags-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 50%;
  align-self: flex-end;
  height: 88px;
}

.commission-tags-right {
  width: 50%;
  align-self: flex-end;
  height: 176px;
}

.commission-tags-right .commission-tag {
  height: 100%;
  align-items: flex-end;
}

.commission-tag.highlight {
  grid-column: 1 / span 2;
  background: #FFE600;
  color: var(--primary-color);
}

.metrics-cta {
  text-align: center;
  max-width: 100%;
  margin: 24px 0 100px 0;
  border-radius: 40px 40px 4px 40px;
  background: var(--secondary-color);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.metrics-cta::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -3%;
  width: 250px;
  height: 250px;
  background-image: url('assets/logo_grey.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
  transform: rotate(20deg);
}

.metrics-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  text-align: left;
}

.metrics-cta p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  text-align: left;
  flex: 1;
}

.metrics-cta .cta-button {
  position: relative;
  z-index: 2;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* ==========================================================================
   WEBSITE APP SECTION
   ========================================================================== */

.website-app-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.website-app-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.website-app-main {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  width: 100%;
  position: relative;
  background-color: #000;
  border-radius: 40px 40px 4px 40px;
}

.website-app-text {
  padding: 40px;
  color: #fff;
  flex: 1;
  z-index: 1;
}

.website-app-text h2 {
  color: #fff;
}

.website-app-text p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 60%;
}

.website-app-image {
  position: absolute;
  right: 30px;
  bottom: 0;
  top: auto;
  width: 30%;
  height: auto;
  z-index: 0;
}

.website-app-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

.website-app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding: 0;
}

.website-feature-card {
  background-color: var(--bg-primary);
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: none;
  position: relative;
}

.website-feature-card:hover {
  transform: none;
  box-shadow: none;
}

.website-feature-image {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
}

.website-feature-image::before {
  content: '';
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0;
  height: 130px;
  background-color: var(--secondary-color);
  border-radius: 20px;
  z-index: 0;
}

.website-feature-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.website-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.website-feature-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
}

/* ==========================================================================
   ALL-IN-QR SECTION
   ========================================================================== */

.allinqr-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.allinqr-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.allinqr-main {
  display: flex;
  gap: 50px;
  position: relative;
}

.allinqr-left {
  background-color: #000;
  border-radius: 40px 40px 4px 40px;
  padding: 60px 40px;
  position: relative;
  color: #fff;
  min-height: 550px;
  overflow: visible;
  flex: 0.8;
}

.allinqr-left h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  max-width: 100%;
  color: #fff;
}

.allinqr-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 100%;
}

.allinqr-icon {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 90px;
  height: auto;
  z-index: 10;
}

.allinqr-screens {
  position: absolute;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  width: 80%;
  max-width: 400px;
  z-index: 1;
}

.allinqr-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1.2;
}

.allinqr-feature {
  background-color: var(--secondary-color);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s ease;
  position: relative;
  height: 180px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.allinqr-feature-image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -40px;
  width: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.allinqr-feature-image img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 220px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  margin-left: auto;
}

.allinqr-feature h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
  padding-right: 35%;
  position: relative;
  z-index: 2;
}

.allinqr-feature p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  padding-right: 35%;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   MARKETING SECTION
   ========================================================================== */

.marketing-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.marketing-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.marketing-main {
  display: flex;
  gap: 50px;
  position: relative;
}

.marketing-left {
  background-color: #000;
  border-radius: 40px 40px 4px 40px;
  padding: 60px 40px;
  position: relative;
  color: #fff;
  min-height: 550px;
  overflow: visible;
  flex: 0.8;
}

.marketing-left h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  max-width: 100%;
  color: #fff;
}

.marketing-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 100%;
  z-index: 2;
}

.marketing-screens {
  position: absolute;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
  width: 70%;
  max-width: 400px;
}



.marketing-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1.2;
}

.marketing-feature {
  background-color: var(--secondary-color);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.3s ease;
  position: relative;
  height: 180px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.marketing-feature-image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -40px;
  width: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.marketing-feature-image img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 220px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  margin-left: auto;
}

.marketing-feature h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
  padding-right: 35%;
  position: relative;
  z-index: 2;
}

.marketing-feature p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  padding-right: 35%;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works {
  padding: 100px 0;
  background: var(--background-light);
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.main-step {
  background: var(--secondary-color);
  border-radius: 24px;
  padding: 0px 40px 0px 60px;
  margin-bottom: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  height: 100%;
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-content h3,
.step-content p {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 800;
  color: #000;
  margin-bottom: 16px;
  font-family: 'Mulish', sans-serif;
}

.step-content p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
}

.menu-preview {
  flex: 1;
  margin-right: -32px;
}

.menu-preview img {
  width: 100%;
  height: auto;
  border-radius: 16px 0 0 16px;
  box-shadow: none;
}

.other-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--secondary-color);
  border-radius: 24px;
  padding: 32px;
  height: 100%;
}

.step-number {
  font-size: 52px;
  font-weight: 900;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0.8;
  margin-bottom: 16px;
  font-family: 'Mulish', sans-serif;
  letter-spacing: -2px;
}

.step h3 {
  font-size: 24px;
  font-weight: 800;
  color: #000;
  margin-bottom: 16px;
  font-family: 'Mulish', sans-serif;
}

.step p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
}

/* ==========================================================================
   CLIENTS SECTION
   ========================================================================== */

.clients {
  padding: 100px 0;
  background: var(--background-light);
  overflow: hidden;
}

.clients-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.clients-scroll {
  display: flex;
  gap: 28px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.clients-scroll:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-308px * 6)); /* 280px карточка + 28px gap, 6 карточек */
  }
}

.client-card {
  flex: 0 0 280px;
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.client-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */

.benefits {
  padding: 100px 0;
  background: var(--background-light);
}

.benefits-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.benefit-item {
  display: flex;
  gap: 24px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 4px;
}

.benefit-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
  display: block;
  margin-bottom: 8px;
}

.benefit-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  display: block;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
}

.benefit-text p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing {
  padding: 100px 0;
  background-color: var(--background-light);
  text-align: center;
}

.pricing-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: var(--secondary-color);
  border-radius: 24px;
  box-shadow: none;
  padding: 48px 32px 32px;
  width: 300px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.featured {
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
  position: relative;
  background: var(--bg-primary);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-color);
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 24px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  position: relative;
  padding-left: 28px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.4;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 16px;
  font-weight: bold;
}

.pricing-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 8px;
  font-size: 16px;
}

.pricing-button:hover {
  background-color: var(--accent-color);
}

.pricing-cta {
  margin-top: 48px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

/* ==========================================================================
   CONTACT FORM SECTION
   ========================================================================== */

.contact-form {
  padding: 100px 0;
  background: var(--background-light);
}

.contact-form > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.contact-form p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 400;
}

.form-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px;
  background: var(--secondary-color);
  border-radius: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: white;
  font-size: 16px;
  font-family: 'Mulish', sans-serif;
  color: var(--primary-color);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #732BF5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0A3BD;
}

.form-group textarea {
  height: 120px;
  resize: none;
}

.submit-button {
  display: block;
  width: fit-content;
  margin-top: 32px;
  padding: 16px 32px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Mulish', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background: #222222;
}

.form-message {
  display: none;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
  font-family: 'Mulish', sans-serif;
}

.form-message p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.success-message {
  background: #E8FFF3;
  color: #00BA88;
}

.error-message {
  background: #FFE8E8;
  color: #FF3B3B;
}

.form-message.visible {
  display: block;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq {
  padding: 100px 0;
  background: var(--background-light);
}

.faq-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.faq-item {
  background: var(--secondary-color);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 16px;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}

.faq-number {
  font-size: 42px;
  font-weight: 900;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: 'Mulish', sans-serif;
  letter-spacing: -2px;
}

.faq-header h3 {
  flex: 1;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
}

.faq-toggle {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-toggle img {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-toggle img {
  transform: rotate(270deg);
}

.faq-content {
  margin-left: 72px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-content p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  margin-top: 8px;
}

.faq-item.active .faq-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.faq-toggle-icon {
  width: 40px;
  height: 40px;
  background-color: #FFFFFF;
  padding: 12px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(90deg);
  background-color: #FFFFFF;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: var(--secondary-color);
  padding: 80px 0;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
}

.copyright {
  color: var(--text-color);
  font-size: 16px;
  margin-bottom: 8px;
}

.version, 
.footer-link {
  color: var(--text-color);
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-link a:link,
.footer-link a:visited {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

.footer-link a:hover {
  opacity: 0.8;
}

.footer-center, 
.footer-right {
  flex: 1;
}

.footer-center h4, 
.footer-right h4 {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.footer-center ul li {
  margin-bottom: 16px;
}

.footer-center a, 
.email, 
.phone {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

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

.footer-right ul li {
  margin-bottom: 16px;
}

.footer-right ul li:last-child {
  margin-bottom: 0;
}

.footer-right ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   MODAL & SCROLL TO TOP
   ========================================================================== */

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

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

.modal-content {
  position: relative;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-color);
}

.modal p {
  color: var(--text-color);
  margin-bottom: 24px;
}

.modal .form-group {
  margin-bottom: 24px;
}

.modal input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
}

.modal-button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 16px;
}

.modal-button:hover {
  background-color: #222222;
}

.modal-terms {
  font-size: 14px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 24px;
}

.modal-terms a {
  color: #732BF5;
  text-decoration: none;
}

.modal-terms a:hover {
  text-decoration: underline;
}

.modal-contacts {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.modal-contacts a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.modal-contacts a:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.modal-contacts a:hover svg {
  stroke: white;
}

.modal-contacts svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  transition: all 0.3s ease;
}

.telegram-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #732BF5 !important;
}

.modal .notification {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: none;
  font-size: 14px;
  text-align: center;
}

.modal .notification.visible {
  display: block;
}

.modal .notification.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.modal .notification.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.modal .error-text {
  color: #dc3545;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

.modal .error-text.visible {
  display: block;
}

.notification {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.4;
  display: none;
}

.notification.success {
  background-color: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #A5D6A7;
}

.notification.error {
  background-color: #FFEBEE;
  color: #B71C1C;
  border: 1px solid #FFCDD2;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #222222;
}

/* ==========================================================================
   ADDITIONAL SECTIONS (Platform Details, Form Section)
   ========================================================================== */

/* Platform Details */
.platform-details {
  padding: 100px 0;
  background: var(--background-light);
  position: relative;
  overflow: hidden;
}

.platform-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.platform-details .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.platform-tabs {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.platform-tabs-nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.platform-tabs-nav::-webkit-scrollbar {
  display: none;
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--secondary-color);
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.platform-tab:hover {
  background: #E4E6EB;
}

.platform-tab.active {
  background: var(--accent-color);
  color: white;
}

.platform-tab.active .platform-icon {
  background: white;
}

.platform-tab.active .platform-icon img {
  filter: brightness(0) invert(1);
}

.platform-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

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

.platform-tab span {
  font-size: 16px;
  font-weight: 600;
}

.platform-tabs-content {
  position: relative;
  min-height: 400px;
}

.platform-tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.platform-tab-pane.active {
  opacity: 1;
  visibility: visible;
}

.platform-tab-content {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--secondary-color);
  border-radius: 24px;
  padding: 48px;
}

.platform-tab-text {
  flex: 1;
}

.platform-tab-text h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.platform-tab-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
}

.platform-tab-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.platform-tab-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Form Section */
.form-section {
  padding: 100px 0;
  background: var(--background-light);
}

.form-section__title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  font-family: 'Mulish', sans-serif;
}

.form-section__description {
  text-align: center;
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.integration-form {
  max-width: 900px;
  margin: 0 auto;
  background: var(--secondary-color);
  border-radius: 24px;
  padding: 40px;
}

.form-group__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E4E4E7;
}

.form-field {
  margin-bottom: 20px;
}

.form-field__label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.form-field__input,
.form-field__textarea,
.form-field__file {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: white;
  font-size: 16px;
  font-family: 'Mulish', sans-serif;
  color: var(--primary-color);
  transition: border-color 0.3s ease;
}

.form-field__input:focus,
.form-field__textarea:focus {
  outline: none;
  border-color: #732BF5;
}

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

.form-field__hint {
  font-size: 14px;
  color: #6B7280;
  margin-top: 6px;
}

.form-field__file {
  padding: 12px;
  background: #F9FAFB;
  border: 1px dashed #D1D5DB;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-family: 'Mulish', sans-serif;
}

.btn--primary {
  background: #732BF5;
  color: white;
}

.btn--primary:hover {
  background: #5F22CC;
  box-shadow: 0 4px 12px rgba(115, 43, 245, 0.2);
}

/* Privacy Content */
.privacy-content a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-content a:hover {
  color: var(--text-color);
  opacity: 0.8;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet Styles (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Hero */
  .hero {
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

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

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

  .app-buttons {
    justify-content: flex-start;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px;
    position: relative;
  }

  .platform-feature-content {
    padding-right: 0;
    padding-bottom: 160px;
  }
  
  .feature-card-image {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
    width: 260px;
  }

  .feature-card-image img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-bottom: 0;
  }

  /* Website App */
  .website-app-main {
    padding: 24px;
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .website-app-text {
    padding: 40px;
    width: 100%;
    padding: 0;
  }

  .website-app-text p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
    width: 100%;
  }
  
  .website-app-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 0;
  }

  .website-app-image img {
    object-position: center;
  }
  
  .website-app-features {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 70px;
  }
  
  .website-feature-card {
    margin-bottom: 0;
  }
  
  .website-feature-image::before {
    left: -15px;
    right: -15px;
  }

  /* All-in-QR */
  .allinqr-main {
    flex-direction: column;
  }
  
  .allinqr-left {
    padding: 40px 30px;
    min-height: 450px;
    flex: 1;
  }
  
  .allinqr-left h2 {
    font-size: 32px;
  }
  
  .allinqr-left p {
    font-size: 16px;
  }
  
  .allinqr-icon {
    top: -20px;
    right: -20px;
    width: 120px;
  }
  
  .allinqr-screens {
    width: 60%;
  }

  .allinqr-features {
    min-height: 200px;
    flex: 1;
  }

  .allinqr-feature-image {
    height: 180px;
  }

  /* How it works */
  .how-it-works {
    padding: 40px 0;
  }

  .how-it-works-container {
    flex-direction: column;
    gap: 48px;
  }

  .menu-preview {
    position: static;
    order: -1;
  }

  .steps-list {
    gap: 48px;
  }

  .step {
    padding: 0 16px;
  }

  .main-step {
    flex-direction: column;
    padding: 32px;
  }

  .other-steps {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 480px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
    order: 1;
    margin: 16px 0;
  }
  
  .pricing-card:not(.featured):first-of-type {
    order: 0;
  }
  
  .pricing-card:not(.featured):last-of-type {
    order: 2;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  /* Platform Tabs */
  .platform-tab-content {
    flex-direction: column;
    gap: 32px;
    padding: 32px;
  }
  
  .platform-tab-image {
    order: -1;
  }
  
  .platform-tab-image img {
    max-width: 80%;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* Section Titles */
  .metrics h2,
  .clients h2,
  .benefits h2,
  .how-it-works h2,
  .features h2,
  .faq h2,
  .pricing h2,
  .features-highlight h2,
  .contact-form h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.4;
  }

  /* Header */
  nav {
    padding: 16px 24px;
    height: 60px;
    margin-bottom: 0;
  }
  
  .logo {
    height: 28px;
  }
  
  nav ul {
    display: flex;
  }

  .cta-button {
    padding: 10px 18px;
    font-size: 14px;
    height: 36px;
    line-height: 16px;
    display: flex;
    align-items: center;
  }

  /* Hero */
  .hero {
    padding: 80px 24px 80px;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .hero h1 {
    font-size: 28px;
    margin-bottom: 18px;
    line-height: 1.3;
    width: 100%;
  }
  
  .hero-description {
    font-size: 16px;
    margin-bottom: 30px;
    width: 100%;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 0;
    align-items: center;
  }

  .hero-buttons .cta-button,
  .hero-buttons .presentation-link {
    width: 100%;
    padding: 16px 24px;
    height: auto;
    justify-content: center;
    font-size: 16px;
  }

  .next-icon {
    width: 16px;
    height: 16px;
  }

  /* Clients Logos */
  .clients-logos {
    padding: 0;
  }
  
  .clients-logos-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .client-logo {
    height: 30px;
  }

  /* Features Highlight */
  .features-highlight {
    padding: 80px 0;
  }
  
  .feature-card {
    min-height: auto;
    max-height: 260px;
    position: relative;
    padding: 24px;
    display: flex;
    position: relative;
    overflow: hidden;
  }

  .feature-card h3 {
    font-size: 20px;
    width: 100%;
  }
  
  .feature-card p {
    font-size: 16px;
    width: 70%;
  }

  .feature-card-image {
    width: 220px;
    position: absolute;
    bottom: -10px;
    right: -20px;
  }
  
  .feature-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
  }

  /* Metrics */
  .metrics {
    padding-top: 0px;
  }

  .metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .metric-item:first-child {
    grid-column: initial;
    grid-row: initial;
    order: 3;
    padding-bottom: 200px;
  }
  
  .metric-item:nth-child(2) {
    grid-column: initial;
    grid-row: initial;
    order: 1;
  }
  
  .metric-item:nth-child(3) {
    grid-column: initial;
    grid-row: initial;
    order: 2;
    margin-top: 0;
  }
  
  .metric-item {
    height: auto;
    min-height: 220px;
    padding: 24px;
  }

  .metric-title {
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 8px;
    width: 100%;
  }

  .metric-description {
    font-size: 16px;
    max-width: 100%;
    text-align: left;
    width: 100%;
  }

  .metric-item:first-child .metric-value {
    position: absolute;
    bottom: 120px;
    left: 20px;
  }

  .metric-value {
    position: absolute;
    bottom: 14px;
  }

  .delivery-metrics {
    bottom: 20px;
    right: 20px;
    width: 55%;
    margin: 0;
    z-index: 1;
  }
  
  .metric-content {
    position: relative;
    z-index: 2;
  }

  .commission-tags {
    grid-template-rows: 48px 48px;
    gap: 8px;
    width: 100%;
    margin-left: 0;
  }
  
  .commission-tag {
    padding: 10px 14px;
    font-size: 12px;
    height: 48px;
  }
  
  .commission-tag:first-child {
    font-size: 14px;
    height: 104px;
  }

  .metrics-cta {
    padding: 24px;
    margin-top: 24px;
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }

  .metrics-cta h3 {
    font-size: 20px;
    line-height: 1.3;
    text-align: left;
    padding-bottom: 0px;
    width: 100%;
  }

  .metrics-cta p {
    font-size: 16px;
    text-align: left;
    margin-bottom: 16px;
    width: 100%;
  }

  .metrics-cta .cta-button {
    width: 100%;
    height: 52px;
    justify-content: center;
    font-size: 16px;
  }

  .metrics-cta::before {
    width: 150px;
    height: 150px;
    top: -10%;
    right: -5%;
  }

  /* Website App & All-in-QR */
  .allinqr-container,
  .website-app-container,
  .metrics .container {
    padding: 0 24px;
  }

  .website-feature-image::before {
    left: 0px;
    right: 0px;
  }

  .website-feature-card h3 {
    margin-bottom: 6px;
  }

  .allinqr-main {
    flex-direction: column;
    gap: 60px;
  }
  
  .allinqr-left {
    min-height: 450px;
    padding: 40px 30px 200px;
  }
  
  .allinqr-icon {
    width: 80px;
    top: -15px;
    right: -15px;
  }
  
  .allinqr-screens {
    width: 100%;
    max-width: 300px;
  }
  
  .allinqr-features {
    gap: 30px;
  }
  
  .allinqr-feature {
    min-height: 200px;
    padding: 20px;
  }
  
  .allinqr-feature h3 {
    font-size: 20px;
    margin-bottom: 2px;
    padding-right: 30%;
  }
  
  .allinqr-feature p {
    font-size: 16px;
    line-height: 1.5;
    padding-right: 30%;
  }

  .allinqr-feature-image {
    right: 0;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
  }

  .allinqr-feature-image img {
    height: 160px;
    right: -10px;
    justify-content: center;
  }

  /* Marketing Section Mobile */
  .marketing-main {
    flex-direction: column;
    gap: 60px;
  }
  
  .marketing-left {
    min-height: 450px;
    padding: 40px 30px 250px;
  }
  
  .marketing-left h2,
  .marketing-left p {
    position: relative;
    z-index: 2;
  }
  
  .marketing-screens {
    width: 100%;
    max-width: 300px;
    z-index: 1;
  }
  
  .marketing-features {
    gap: 30px;
  }
  
  .marketing-feature {
    min-height: 200px;
    height: auto;
    padding: 20px;
  }
  
  .marketing-feature h3 {
    font-size: 20px;
    margin-bottom: 8px;
    padding-right: 10%;
  }
  
  .marketing-feature p {
    font-size: 16px;
    line-height: 1.5;
    padding-right: 30%;
    margin-bottom: 0;
  }

  .marketing-feature-image {
    right: 0;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    top: 0;
    bottom: 0;
  }

  .marketing-feature-image img {
    height: 160px;
    right: -10px;
    justify-content: center;
    position: relative;
  }

  /* Steps */
  .other-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step {
    padding: 24px;
    margin-bottom: 24px;
  }

  .step:nth-child(2),
  .step:nth-child(3),
  .step:nth-child(4) {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Pricing */
  .pricing {
    padding: 60px 24px;
  }
  
  .pricing-intro {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .pricing-card {
    padding: 24px;
  }
  
  .pricing-header h3 {
    font-size: 20px;
  }
  
  .pricing-price {
    font-size: 28px;
  }
  
  .pricing-cta {
    font-size: 18px;
    margin-top: 32px;
  }

  /* Contact Form */
  .contact-form {
    padding: 60px 0;
  }

  .contact-form > div {
    padding: 0 12px;
  }

  .form-container {
    padding: 40px 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-form p {
    font-size: 16px;
    padding: 0 16px;
  }

  .submit-button {
    margin: 24px auto 0;
    width: 100%;
    text-align: center;
  }

  /* FAQ */
  .faq-header {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    position: relative;
  }

  .faq-toggle-icon {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .faq-content {
    margin-left: 0;
    padding-right: 40px;
  }

  .faq-header {
    position: relative;
    padding-right: 56px;
    align-items: flex-start;
  }

  .faq-toggle-icon {
    position: absolute;
    right: 0;
    top: 0;
    transform: none;
    margin-top: 0;
    transition: transform 0.3s ease;
  }

  .faq-item.active .faq-toggle-icon {
    transform: rotate(90deg);
  }

  .faq-content {
    margin-top: 16px;
    margin-left: 0;
  }

  .faq-container {
    padding: 0 18px;
    margin-bottom: 40px;
  }

  .faq-header h3 {
    font-size: 18px;
  }

  .faq-number {
    font-size: 24px;
    display: none;
  }

  .faq-content p {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Footer */
  footer {
    padding-bottom: 80px;
  }

  .footer-content {
    flex-direction: column;
    gap: 28px;
  }

  .social-icons {
    margin-top: 16px;
    display: flex;
    gap: 12px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .social-icon img {
    width: 20px;
    height: 20px;
  }

  .footer-right {
    margin-bottom: 24px;
  }

  /* Clients Slider */
  .clients {
    padding: 40px 0;
  }

  .slider-nav {
    display: none;
  }

  .clients {
    padding: 60px 24px;
  }

  .clients-container {
    padding: 0;
  }

  .clients-scroll {
    gap: 20px;
    animation-duration: 20s;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-270px * 6)); /* 250px карточка + 20px gap, 6 карточек */
    }
  }

  .client-card {
    flex: 0 0 250px;
    height: 320px;
  }

  /* Modal */
  .modal-content {
    margin: 20% auto;
    padding: 24px;
  }
  
  .modal h2 {
    font-size: 20px;
  }
  
  .modal p {
    font-size: 14px;
  }
  
  .modal-contacts {
    gap: 16px;
  }

  /* Scroll to Top */
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  /* Platform Tabs */
  .platform-details {
    padding: 48px 0;
  }
  
  .platform-tabs {
    gap: 24px;
  }
  
  .platform-tab {
    padding: 12px 20px;
  }
  
  .platform-icon {
    width: 32px;
    height: 32px;
  }
  
  .platform-icon img {
    width: 20px;
    height: 20px;
  }
  
  .platform-tab span {
    font-size: 14px;
  }
  
  .platform-tab-text h3 {
    font-size: 24px;
  }
  
  .platform-tab-text p {
    font-size: 16px;
  }

  /* Form Section */
  .form-section {
    padding: 60px 0;
  }
  
  .form-section__title {
    font-size: 28px;
  }
  
  .form-section__description {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .integration-form {
    padding: 24px;
  }
  
  .form-group__title {
    font-size: 20px;
  }
  
  .form-field__label {
    font-size: 15px;
  }
  
  .form-field__input,
  .form-field__textarea,
  .form-field__file {
    padding: 12px 14px;
  }
  
  .btn {
    padding: 14px 28px;
  }

  /* Features */
  .feature-item,
  .feature-item.reverse {
    flex-direction: column !important;
    gap: 32px;
    margin-bottom: 48px;
  }

  .feature-item:first-child .feature-content {
    order: -1;
  }

  .feature-item:first-child .feature-image {
    order: 2;
  }

  .feature-item:nth-child(2) .feature-content,
  .feature-item:nth-child(3) .feature-content,
  .feature-item:nth-child(4) .feature-content {
    order: -1;
  }

  .feature-item:nth-child(2) .feature-image,
  .feature-item:nth-child(3) .feature-image,
  .feature-item:nth-child(4) .feature-image {
    order: 2;
  }

  /* FAQ, Benefits, How-it-works, Contact-form mobile padding */
  .faq {
    padding: 60px 24px !important;
  }
  
  .faq-container {
    padding: 0 !important;
  }
  
  .benefits {
    padding: 60px 24px !important;
  }
  
  .benefits-container {
    padding: 0 !important;
  }
  
  .how-it-works {
    padding: 60px 24px !important;
  }
  
  .how-it-works-container {
    padding: 0 !important;
  }
  
  .contact-form {
    padding: 60px 24px !important;
  }
  
  .contact-form > div {
    padding: 0 !important;
  }
} 