/* ===== Variables ===== */
:root {
  --primary: #44479e;
  --primary-dark: #2d2f6b;
  --primary-light: #5d60b3;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --max-width: 80rem;
  --font: 'Poppins', sans-serif;
}

/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-900);
  background: var(--white);
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  z-index: 100;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--primary);
  color: var(--white);
  border-radius: 0.375rem;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.container-narrow {
  max-width: 56rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 0.5rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff !important;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-50);
}

.btn-outline-white {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Secondary CTA — visually lighter than primary */
.btn-secondary-cta {
  font-weight: 500;
  opacity: 0.9;
}

.btn-secondary-cta:hover {
  opacity: 1;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: min(100%, 18rem);
}

.logo-img {
  display: block;
  width: auto;
  height: 4.75rem;
  max-height: 4.75rem;
  max-width: 7.75rem;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1.2;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

/* Text links only — .btn must not get nav padding/font or it breaks shorthand & sizing */
.nav-links a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-links a:not(.btn).active {
  color: var(--primary);
  font-weight: 600;
}

/* Mobile menu button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0.375rem;
  color: var(--gray-700);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--gray-50);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.menu-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.menu-icon--close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon--close {
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.mobile-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.mobile-link:hover {
  color: var(--primary);
}

.mobile-menu .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .logo {
    max-width: calc(100% - 3.5rem);
  }

  .logo-img {
    height: 3.25rem;
    max-height: 3.25rem;
    max-width: 5.5rem;
  }

  .logo-text {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) {
  .nav-inner {
    min-height: 6rem;
    height: 6rem;
    padding: 0;
  }

  .logo-img {
    height: 4.75rem;
    max-height: 4.75rem;
    max-width: 7.75rem;
  }

  .logo-text {
    font-size: 1.375rem;
    overflow: visible;
  }
  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .logo-text {
    font-size: 1.375rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .nav-links {
    gap: 0.875rem;
  }
  .nav-links a:not(.btn) {
    font-size: 0.8125rem;
  }
  .nav-links .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  padding: 6rem 0 5rem;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gray-800) 100%);
}

.hero-bg picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
  opacity: 0.85;
}

.hero-subtitle {
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-desc {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero { padding: 7rem 0 6rem; }
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .hero { padding: 9rem 0 8rem; min-height: 36rem; }
  .hero-title { font-size: 3.75rem; }
}

/* ===== Section common ===== */
.section {
  padding: 4rem 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.section-desc {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

@media (min-width: 640px) {
  .section { padding: 5rem 0; }
  .section-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

/* ===== Fade-in animation ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
}

.fade-in.visible {
  animation: fadeInUp 0.5s ease var(--delay, 0s) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    animation: none;
    opacity: 1;
  }
}

.fade-in-delay-0 { --delay: 0s; }
.fade-in-delay-1 { --delay: 0.1s; }
.fade-in-delay-2 { --delay: 0.2s; }
.fade-in-delay-3 { --delay: 0.3s; }
.fade-in-delay-4 { --delay: 0.4s; }
.fade-in-delay-5 { --delay: 0.5s; }

/* ===== Solutions (cards) ===== */
.solutions-grid {
  display: grid;
  gap: 2rem;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(68, 71, 158, 0.1);
  border: 1px solid rgba(68, 71, 158, 0.25);
  border-radius: 9999px;
  line-height: 1.3;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.card--coming-soon {
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}

.card--coming-soon:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 0.5rem;
}

.card-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.card-title {
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.card-text {
  margin: 0.75rem 0 0;
  color: var(--gray-600);
}

.card-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-top: 0.5rem;
}

.card-list li::before {
  content: '';
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/100% no-repeat;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ===== Product gallery (inside #products) ===== */
.product-gallery {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.product-gallery .section-header {
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.gallery-item:hover {
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
}

/* Same-size frame for every screenshot; image scales inside without cropping */
.gallery-item picture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--gray-50);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  border-top: 1px solid var(--gray-200);
}

.gallery-item--zoomable picture {
  cursor: zoom-in;
}

.gallery-item--zoomable picture:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: rgba(17, 24, 39, 0.88);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(96vw, 80rem);
  max-height: 92vh;
  pointer-events: none;
}

.lightbox-dialog > * {
  pointer-events: auto;
}

.lightbox-img {
  display: block;
  max-width: min(96vw, 80rem);
  max-height: calc(92vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  background: var(--white);
}

.lightbox-caption {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
  }
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(68, 71, 158, 0.1);
  color: var(--primary);
  border-radius: 0.5rem;
}

.feature-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-title {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.feature-text {
  margin: 0.5rem 0 0;
  color: var(--gray-600);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Product ===== */
.product-grid {
  display: grid;
  gap: 3rem;
  align-items: stretch;
}

.product-desc {
  margin: 1rem 0 0;
  line-height: 1.75;
  font-size: 1.125rem;
  color: var(--gray-600);
  text-indent: 3em;
}

.product-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: var(--gray-700);
}

.product-list li::before {
  content: '';
  margin-top: 0.375rem;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='currentColor'%3E%3Cpath d='M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z'/%3E%3C/svg%3E") center/60% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='currentColor'%3E%3Cpath d='M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z'/%3E%3C/svg%3E") center/60% no-repeat;
}

.product-card-wrap {
  display: flex;
  flex-direction: column;
  background: rgba(68, 71, 158, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(68, 71, 158, 0.08);
}

.product-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(68, 71, 158, 0.15);
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow:
    0 1px 2px rgba(68, 71, 158, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-card-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.product-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.product-card-text {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 36ch;
}

.product-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.375rem;
  margin-top: 1.5rem;
  flex-shrink: 0;
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(45, 47, 107, 0.2);
}

.product-link:hover {
  text-decoration: none;
  background: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(45, 47, 107, 0.25);
}

.product-link:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.product-link:active {
  transform: translateY(1px);
}

.product-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  margin-top: 1.5rem;
  justify-items: start;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(68, 71, 158, 0.08);
  border: 1px solid rgba(68, 71, 158, 0.2);
  border-radius: 9999px;
  line-height: 1.3;
  text-align: center;
  max-width: 100%;
}

@media (max-width: 22rem) {
  .product-badges {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .product-card-wrap {
    padding: 2rem 2.25rem;
  }
  .product-card {
    padding: 2rem 2rem 1.75rem;
  }
}

/* ===== About ===== */
.section-about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text {
  margin: 1.5rem 0 0;
}

.about-text p {
  margin: 0 0 2rem;
  font-size: 1.145rem;
  line-height: 1.75;
  color: var(--gray-700);
  text-align: justify;
  text-justify: inter-word;
  text-indent: 3em;
  hyphens: auto;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-content .btn {
  margin-top: 2rem;
}

.about-content .arrow {
  margin-left: 0.25rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-card {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.about-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.about-card p {
  margin: 0.625rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.about-values {
  margin: 0.625rem 0 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.about-values li:first-child {
  margin-top: 0;
}

.about-values li::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.faq-question {
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  float: right;
  font-weight: 700;
  color: var(--primary);
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-answer {
  margin: 0 0 1.25rem;
  padding-top: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--primary-dark);
}

/* ===== CTA ===== */
.cta {
  background: var(--primary);
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
}

.cta-desc {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-contact {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta-contact a {
  color: inherit;
  text-decoration: underline;
}

.cta-contact a:hover {
  color: var(--white);
}

.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta { padding: 5rem 0; }
  .cta-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .cta { padding: 6rem 0; }
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  padding: 3.5rem 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

/* Brand block – clearer hierarchy */
.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-desc {
  margin: 0.75rem 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 20rem;
}

.footer-heading {
  margin: 2rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
}

/* Social icons – hover + transition */
.footer-social {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer-social a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Contact – SVG icons, spacing */
.footer-contact-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list li {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-list li:first-child {
  margin-top: 0;
}

.footer-contact-list a {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: var(--white);
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a .footer-contact-icon {
  color: inherit;
  opacity: 0.9;
}

/* Link groups – hover underline, transition */
.footer-links-group ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-links-group li {
  margin-top: 0.625rem;
}

.footer-links-group li:first-child {
  margin-top: 0;
}

.footer-soon {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.75;
}

.footer-links-group a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  display: inline-block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links-group a:hover {
  color: var(--white);
  padding-left: 2px;
}

.footer-links-group a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Bottom bar – copyright */
.footer-bottom {
  margin-top: 3rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-copyright {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 4rem 0 0;
  }
  .footer-grid {
    grid-template-columns: 1.25fr 1fr repeat(3, minmax(0, 10rem));
    gap: 3rem;
  }
  .footer-heading {
    margin-top: 0;
  }
  .footer-links-group {
    padding-left: 0.5rem;
  }
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
  cursor: pointer;
  font-family: inherit;
}

.back-to-top:hover {
  background: var(--primary-dark);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.back-to-top[hidden] {
  display: none !important;
}

.back-to-top:not([hidden]) {
  display: flex;
}

.back-to-top-icon {
  width: 1.5rem;
  height: 1.5rem;
}
