/* --- CSS VARIABLES & RESET --- */
:root {
  /* Fluid / Holographic Palette */
  --color-bg: #f8f9fc;
  --color-text: #1a1c29;
  --color-text-light: #6b7280;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #6366f1 0%,
    #a855f7 50%,
    #ec4899 100%
  );
  --gradient-hover: linear-gradient(
    135deg,
    #4f46e5 0%,
    #9333ea 50%,
    #db2777 100%
  );
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Shapes */
  --radius-full: 100px;
  --radius-card: 24px;

  /* Font */
  --font-main: "Plus Jakarta Sans", sans-serif;

  --header-height: 90px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

ul {
  list-style: none;
}

/* --- AMBIENT BACKGROUND BLOBS --- */
.ambient-light {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: floatBlob 20s infinite alternate ease-in-out;
}

.ambient-light--1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(236, 72, 153, 0.1) 70%
  );
}

.ambient-light--2 {
  bottom: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.3) 0%,
    rgba(56, 189, 248, 0.1) 70%
  );
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* --- UTILITIES --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Fluid Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.5);
}

/* --- HEADER (Floating Glass) --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 1.5rem;
}

.header__glass-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 12px;
  border-bottom-right-radius: 4px; /* Asymmetry */
}

.header__logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.header__nav {
  display: flex;
}

.header__list {
  display: flex;
  gap: 2rem;
}

.header__link {
  font-weight: 500;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.header__link:hover {
  color: #6366f1; /* Primary color */
}

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

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- FOOTER --- */
.footer {
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 3rem; /* Large rounded corners */
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer__logo-link {
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer__mission {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #059669;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.footer__nav-group h4,
.footer__contacts h4 {
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__nav-group a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.footer__nav-group a:hover {
  color: #6366f1;
  transform: translateX(3px);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.contact-address {
  font-style: normal;
  display: flex;
  gap: 0.6rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* --- MOBILE ADAPTIVE --- */
@media (max-width: 1024px) {
  .header__glass-container {
    padding: 0.8rem 1.2rem;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1; /* Behind the glass container initially, handled by JS class */
  }

  .header__nav.is-active {
    transform: translateX(0);
    z-index: 90;
  }

  .header__burger {
    display: flex;
    z-index: 101;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__container {
    padding: 2rem;
    border-radius: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Hero Visual & Parallax Cards */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__gradient-blob {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  filter: blur(80px);
  border-radius: 50%;
  position: absolute;
  opacity: 0.5;
  animation: pulse 5s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1.2rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.1s linear; /* Smooth mouse follow */
}

.glass-card--1 {
  top: 20%;
  right: 10%;
  z-index: 2;
}

.glass-card--2 {
  bottom: 20%;
  left: 10%;
  z-index: 3;
}

.glass-card__icon {
  width: 48px;
  height: 48px;
  background: #eef2ff;
  color: #6366f1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card__icon.icon--success {
  background: #ecfdf5;
  color: #10b981;
}

.glass-card__content {
  display: flex;
  flex-direction: column;
}

.glass-card__content span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.glass-card__content strong {
  font-size: 1.1rem;
  color: var(--color-text);
}

/* --- SECTIONS COMMON --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* --- SOLUTIONS (Bento Grid) --- */
.solutions {
  padding: 6rem 0;
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.feature-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  background: linear-gradient(145deg, #ffffff 0%, #f5f7ff 100%);
  position: relative;
  overflow: hidden;
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.link-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- PLATFORM SECTION --- */
.platform {
  padding: 6rem 0;
}

.platform__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.platform__glass-mockup {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  border: 1px solid #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.platform__glass-mockup:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.platform__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.3) 0%,
    transparent 70%
  );
  z-index: 1;
}

.platform__image-box {
  position: relative;
}

.mockup-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot--red {
  background: #fecaca;
}
.dot--yellow {
  background: #fde68a;
}
.dot--green {
  background: #a7f3d0;
}

.mockup-stats .stat-line {
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.badge-caps {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8b5cf6;
  margin-bottom: 1rem;
  display: block;
}

.platform__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.platform__text {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-text);
  font-weight: 500;
}

.check-list li i {
  color: #10b981;
  width: 20px;
  height: 20px;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* --- PRE-CONTACT --- */
.pre-contact {
  padding: 4rem 0;
  text-align: center;
}

.glass-banner {
  background: var(--gradient-primary);
  padding: 3rem;
  border-radius: 2rem;
  color: white;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.glass-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* --- ADAPTIVE MAIN --- */
@media (max-width: 1024px) {
  .hero__container,
  .solutions__grid,
  .platform__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__visual {
    height: 350px;
    order: -1; /* Image on top mobile */
  }

  .feature-card--large {
    grid-column: auto;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 6rem 0;
  position: relative;
}

.contact__container {
  max-width: 600px; /* Narrower for form focus */
}

.contact__wrapper {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid #fff;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.contact__header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact__subtitle {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: #fff;
}

/* Custom Checkbox & Captcha */
.form-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.captcha-wrapper {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 1rem;
  justify-content: space-between;
}

.custom-checkbox-input {
  display: none;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.checkbox-box {
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  flex-shrink: 0;
}

.custom-checkbox-input:checked + .custom-checkbox-label .checkbox-box {
  background: #10b981;
  border-color: #10b981;
}

.custom-checkbox-input:checked + .custom-checkbox-label .checkbox-box::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.custom-checkbox-label a {
  color: #6366f1;
  text-decoration: underline;
}

.captcha-icon {
  color: #9ca3af;
}

.btn--full {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 90%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text);
}

.cookie-content i {
  color: #f59e0b;
  min-width: 24px;
}

.cookie-content a {
  color: #6366f1;
  text-decoration: underline;
}

/* --- POLICY PAGES STYLES (privacy.html etc) --- */
.pages {
  padding: 10rem 0 6rem;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.pages h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.pages p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.pages ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.pages li {
  margin-bottom: 0.5rem;
}

.pages a {
  color: #6366f1;
}

/* Mobile Adaptive */
@media (max-width: 600px) {
  .contact__wrapper {
    padding: 2rem 1.5rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
  }
}

/* --- FAQ SECTION --- */
.faq {
  padding: 6rem 0;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq__item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

.faq__item:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.1);
}

.faq__item.is-open {
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
}

.faq__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef2ff;
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  flex-shrink: 0;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: #fff;
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__text {
  padding: 0 2rem 2rem;
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq__text strong {
  color: #6366f1;
}

.faq__text a {
  color: #ec4899;
  text-decoration: underline;
}

/* --- MOBILE HERO OPTIMIZATION --- */
@media (max-width: 991px) {
  .hero {
    min-height: auto; /* Прибираємо фіксовану висоту екрану */
    padding-top: 140px; /* Більше відступу зверху для хедера */
    padding-bottom: 4rem;
    text-align: center; /* Центруємо весь контент */
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1; /* Текст першим */
  }

  .hero__badge {
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
  }

  .hero__title {
    font-size: 2.4rem; /* Зменшуємо шрифт заголовка */
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .hero__title br {
    display: none; /* Прибираємо примусові переноси рядків */
  }

  .hero__desc {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    padding: 0 1rem; /* Відступи по боках для тексту */
  }

  .hero__actions {
    width: 100%;
    align-items: center;
    gap: 1.5rem;
  }

  .hero__actions .btn {
    width: 100%; /* Кнопка на всю ширину */
    max-width: 350px; /* Але не більше розумної межі */
    justify-content: center;
    padding: 1rem;
  }

  .hero__info {
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.8;
  }

  /* --- Mobile Visuals (Re-composed) --- */
  .hero__visual {
    order: 2; /* Візуал під текстом */
    height: 320px; /* Фіксована висота для блоку з картками */
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transform: scale(0.9); /* Трохи зменшуємо загальний масштаб */
  }

  .hero__gradient-blob {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important; /* Центруємо пляму жорстко */
    animation: none; /* Вимикаємо складну анімацію для продуктивності */
  }

  /* Статичне позиціонування карток для мобільного */
  .glass-card {
    transform: none !important; /* Вимикаємо JS паралакс на мобільному */
    padding: 1rem;
  }

  .glass-card__icon {
    width: 40px;
    height: 40px;
  }

  .glass-card__icon i {
    width: 20px;
    height: 20px;
  }

  /* Верхня картка */
  .glass-card--1 {
    top: 10%;
    right: auto;
    left: 50%;
    margin-left: 10px; /* Зміщення від центру */
    z-index: 2;
  }

  /* Нижня картка */
  .glass-card--2 {
    bottom: 20%;
    left: 50%;
    right: auto;
    margin-left: -160px; /* Зміщення вліво від центру */
    z-index: 3;
  }
}

/* Зовсім маленькі екрани (iPhone SE і т.д.) */
@media (max-width: 380px) {
  .hero__title {
    font-size: 2rem;
  }

  .glass-card {
    width: auto;
    min-width: 160px;
  }

  .glass-card strong {
    font-size: 0.9rem;
  }
}

html,
body {
  overflow-x: hidden;
}
