/* ==========================================================================
   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,
.works 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;
}

/* Login button in header */
.login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.login-button:hover {
  background: #f5f5f5;
}

@media (max-width: 768px) {
  nav ul { gap: 12px; }
  .login-button {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
  }

  /* Hide header 'Подключить' button on mobile */
  header nav .cta-button {
    display: none;
  }
}

/* ==========================================================================
   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;
}

.hero-buttons .demo-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 .demo-link:hover {
  background-color: #E4E6EB;
}

.hero-buttons .demo-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;
}

/* ==========================================================================
   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_omorfia.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;
}

/* ==========================================================================
   WORKS SECTION
   ========================================================================== */

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

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

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

.work-placeholder {
  min-height: 260px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(115, 43, 245, 0.12), rgba(0, 0, 0, 0.04)),
    #f7f7f8;
  border: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.work-placeholder::before {
  content: "";
  position: absolute;
  inset: auto -30px -60px 24px;
  height: 140px;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 -12px 36px rgba(17, 17, 17, 0.06);
}

.work-placeholder span {
  position: relative;
  z-index: 1;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: rgba(115, 43, 245, 0.42);
}

/* ==========================================================================
   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: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--secondary-color);
  border-radius: 24px;
  box-shadow: none;
  padding: 48px 32px 32px;
  width: 100%;
  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;
  color: #111111;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-icon svg,
.social-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.social-icon svg {
  fill: currentColor;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  outline: none;
}

.social-icon--whatsapp {
  color: #25D366;
}

.social-icon--telegram {
  color: #229ED9;
}

.social-icon--facebook {
  color: #1877F2;
}

.social-icon--instagram {
  color: #E4405F;
}

/* ==========================================================================
   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;
}

.social-modal-open {
  overflow: hidden;
}

.social-cta-modal[hidden] {
  display: none;
}

.social-cta-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.social-cta-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.social-cta-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.social-cta-modal__panel {
  position: relative;
  width: min(100%, 560px);
  padding: 36px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.social-cta-modal.is-open .social-cta-modal__panel {
  transform: translateY(0) scale(1);
}

.social-cta-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f5;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-cta-modal__close:hover,
.social-cta-modal__close:focus-visible {
  background: #e8e8ec;
  transform: scale(1.04);
  outline: 3px solid rgba(115, 43, 245, 0.2);
  outline-offset: 2px;
}

.social-cta-modal__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.social-cta-modal h2 {
  max-width: 420px;
  margin: 0 54px 12px 0;
  color: #111111;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.social-cta-modal p {
  max-width: 420px;
  margin: 0 0 28px;
  color: #626579;
  font-size: 17px;
  line-height: 1.55;
}

.social-cta-modal__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.social-cta-modal__link {
  min-height: 92px;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f7f8;
  color: #111111;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.social-cta-modal__link:hover,
.social-cta-modal__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.12);
  outline: none;
}

.social-cta-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #ffffff;
}

.social-cta-modal__icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.social-cta-modal__link--whatsapp .social-cta-modal__icon {
  background: #25D366;
}

.social-cta-modal__link--telegram .social-cta-modal__icon {
  background: #229ED9;
}

.social-cta-modal__link--facebook .social-cta-modal__icon {
  background: #1877F2;
}

.social-cta-modal__link--instagram .social-cta-modal__icon {
  background: linear-gradient(135deg, #F58529, #DD2A7B 52%, #515BD4);
}

.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 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
  }
  
  .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,
  .works 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,
  .hero-buttons .demo-link {
    width: 100%;
    padding: 16px 24px;
    height: auto;
    justify-content: center;
    font-size: 16px;
  }

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

  /* 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 svg,
  .social-icon img {
    width: 20px;
    height: 20px;
  }

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

  .works {
    padding: 60px 0;
  }

  .works .container {
    padding: 0 24px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-placeholder {
    min-height: 190px;
    border-radius: 20px;
  }

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

  .social-cta-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .social-cta-modal__panel {
    width: 100%;
    padding: 30px 20px 22px;
    border-radius: 24px 24px 18px 18px;
  }

  .social-cta-modal h2 {
    margin-right: 50px;
    font-size: 26px;
  }

  .social-cta-modal p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .social-cta-modal__links {
    grid-template-columns: 1fr;
  }

  .social-cta-modal__link {
    min-height: 72px;
    border-radius: 16px;
  }

  .social-cta-modal__icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  /* 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;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-cta-modal,
  .social-cta-modal__panel,
  .social-cta-modal__link,
  .social-cta-modal__close,
  .social-icon,
  .work-placeholder {
    transition: none;
  }
}

/* Reference section and cache fix */
header {
  min-height: 72px;
}

header nav {
  min-height: 72px;
}

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

.header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.16);
}

.header-social-link img {
  width: 21px;
  height: 21px;
  display: block;
  filter: brightness(0) invert(1);
}

.header-social-link--whatsapp {
  background: #25d366;
}

.header-social-link--telegram {
  background: #229ed9;
}

.header-social-link--facebook {
  background: #1877f2;
}

.header-social-link--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

header nav .login-button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  border-color: #111111;
  background: #ffffff;
}

.platform-reference {
  padding: 96px 0 64px;
  background: #ffffff;
}

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

.platform-reference h2,
.metrics h2 {
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 48px;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
}

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

.platform-reference .feature-card {
  min-height: 250px;
  overflow: hidden;
}

.platform-reference .feature-card-image {
  width: 300px;
}

.metrics {
  padding: 80px 0 24px;
  background: #ffffff;
}

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

.metrics-cta {
  margin-bottom: 80px;
}

.metrics-cta .cta-button {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.metrics-cta .cta-button .next-icon {
  filter: brightness(0) invert(1);
}

.works {
  padding: 58px 0 44px;
  background: #f5f5f5 url('./assets/works/mansabl-bg-grey-med.png') repeat;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
}

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

.works h2 {
  margin: 0 0 26px;
  color: #757575;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-card {
  padding: 16px 16px 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.work-card a {
  display: block;
  color: #333333;
  text-decoration: none;
}

.work-card img {
  width: 100%;
  aspect-ratio: 314 / 184;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.card-copy {
  position: relative;
  display: block;
  min-height: 80px;
  padding: 16px 0;
}

.card-title,
.card-type {
  display: block;
  overflow: hidden;
}

.card-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
}

.card-type {
  margin-top: 4px;
  color: #757575;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow-r {
  display: none;
}

.project-case {
  margin-top: 80px;
  background: #ffffff;
}

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

.project-case .page-hero {
  padding: 88px 0 72px;
  background: #ffffff;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 28px;
  color: #757575;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.project-back-link::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.project-back-link:hover,
.project-back-link:focus-visible {
  color: #111111;
}

.page-title {
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(52px, 8vw, 118px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.page-intro {
  max-width: 760px;
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 800;
}

.page-description {
  max-width: 760px;
  margin: 0 0 28px;
  color: #7b819c;
  font-size: 20px;
  line-height: 1.55;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.project-meta li {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #333333;
  font-size: 15px;
  font-weight: 800;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.button-link:hover,
.button-link:focus-visible {
  background: #2b2b2b;
}

.page-band {
  padding: 72px 0 96px;
  background: #f5f5f5 url('./assets/works/mansabl-bg-grey-med.png') repeat;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
}

.section-heading {
  margin: 0 0 32px;
  color: #757575;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-gallery li {
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
}

.project-gallery img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.social-cta-modal__backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
}

.social-cta-modal__panel {
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.22);
}

.social-cta-modal__link {
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: none;
}

@media (max-width: 992px) {
  .platform-reference .features-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .metric-item,
  .metric-item:first-child,
  .metric-item:nth-child(2),
  .metric-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
    min-height: 210px;
  }
}

@media (min-width: 630px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .work-card {
    padding: 8px 8px 0;
  }

  .card-copy {
    padding: 16px;
  }
}

@media (min-width: 1140px) {
  .works {
    padding: 61px 0 96px;
  }

  .works h2 {
    margin-bottom: 48px;
  }

  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
  }

  .arrow-r {
    position: absolute;
    top: 24px;
    right: 10px;
    display: block;
    width: 32px;
    height: 32px;
  }

  .arrow-r::before,
  .arrow-r::after {
    content: "";
    position: absolute;
    right: 10px;
    width: 19px;
    height: 3px;
    border-radius: 999px;
    background: #dddddd;
  }

  .arrow-r::before {
    top: 9px;
    transform: rotate(45deg);
  }

  .arrow-r::after {
    bottom: 8px;
    transform: rotate(-45deg);
  }

  .card-copy {
    padding-right: 44px;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .project-gallery li:first-child:nth-last-child(1) {
    max-width: 760px;
    margin: 0 auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  header {
    min-height: 64px;
  }

  header nav {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    min-height: 64px;
    padding: 10px 18px;
  }

  header .nav-right {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    gap: 8px;
  }

  .header-socials {
    gap: 6px;
  }

  .header-social-link {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .header-social-link img {
    width: 18px;
    height: 18px;
  }

  header nav .login-button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
    background: #ffffff;
    color: #111111;
    border: 1px solid #111111;
  }

  @media (max-width: 520px) {
    header nav {
      padding: 10px 14px;
    }

    header .nav-right {
      left: min(240px, calc(100vw - 150px));
      right: auto !important;
    }

    header nav .login-button {
      display: none;
    }
  }

  .platform-reference,
  .metrics {
    padding: 64px 0 32px;
  }

  .platform-reference .container,
  .metrics .container {
    padding: 0 24px;
  }

  .platform-reference h2,
  .metrics h2 {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .platform-reference .feature-card {
    min-height: 260px;
  }

  .platform-reference .feature-card-image {
    width: 240px;
  }

  .metric-description {
    max-width: 100%;
  }

  .metric-value {
    position: static;
    margin-top: 20px;
    font-size: 52px;
  }

  .delivery-metrics {
    display: none;
  }

  .works {
    padding: 48px 0;
  }

  .works .container {
    padding: 0 24px;
  }

  .works h2 {
    margin-bottom: 28px;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.18em;
  }

  .project-case {
    margin-top: 64px;
  }

  .project-case .container {
    padding: 0 24px;
  }

  .project-case .page-hero {
    padding: 54px 0 48px;
  }

  .page-title {
    font-size: 48px;
  }

  .page-intro {
    font-size: 24px;
  }

  .page-description {
    font-size: 16px;
  }

  .project-meta li {
    font-size: 14px;
  }

  .page-band {
    padding: 48px 0 64px;
  }

  .section-heading {
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.18em;
  }
}
/* End Reference section and cache fix */
