/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(60rem 32rem at 78% 18%, rgb(124 58 237 / 0.07), transparent 65%),
    radial-gradient(40rem 26rem at 4% 0%, rgb(167 139 250 / 0.09), transparent 60%),
    var(--color-surface);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: var(--space-lg);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(3rem, 2rem + 3vw, 5rem);
}

.hero__title {
  margin-top: var(--space-md);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Keep the accent phrase intact; it may drop to its own line but never split. */
.hero__title .text-accent {
  white-space: nowrap;
}

.hero__lede {
  margin-top: var(--space-sm);
  max-width: 34rem;
  font-size: var(--text-md);
  color: var(--color-text-soft);
}

.hero__lede strong {
  color: var(--color-accent);
  font-weight: 600;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero-feature__icon {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--color-accent);
}

.hero-feature__title {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
}

.hero-feature__text {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: var(--space-lg);
}

/* Hero visual */
.hero__visual {
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: relative;
  width: min(100%, 30rem);
  aspect-ratio: 1;
}

.hero-orbit__globe {
  width: 100%;
  height: 100%;
  animation: orbit-drift 14s ease-in-out infinite;
}

.hero-orbit__card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-md);
  animation: orbit-float 5.5s ease-in-out infinite;
}

.hero-orbit__card .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.hero-orbit__card--a {
  top: 2%;
  left: 24%;
  animation-delay: 0s;
}

.hero-orbit__card--b {
  top: 6%;
  right: 2%;
  animation-delay: 0.8s;
}

.hero-orbit__card--c {
  top: 44%;
  left: -3%;
  animation-delay: 1.6s;
}

.hero-orbit__card--d {
  top: 54%;
  right: -3%;
  animation-delay: 2.4s;
}

.hero-orbit__coverage {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-width: 13.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.hero-orbit__coverage-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.hero-orbit__coverage-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-orbit__coverage-unit {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}

.hero-orbit__coverage-badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
  color: var(--color-white);
}

@keyframes orbit-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes orbit-drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.012);
  }
}

/* ---------- Products ---------- */
.products {
  padding-block: var(--space-section);
  background: var(--color-surface-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}

.product-card {
  height: 100%;
  padding: var(--space-md) 0.9rem;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgb(124 58 237 / 0.35);
  box-shadow: var(--shadow-sm);
}

.product-card__icon {
  display: inline-grid;
  place-items: center;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.product-card__icon .icon {
  width: 2rem;
  height: 2rem;
}

.product-card__title {
  font-size: var(--text-base);
  font-weight: 700;
}

.product-card__text {
  margin-top: 0.35rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ---------- Stats ---------- */
.stats {
  padding-bottom: var(--space-section);
  background: var(--color-surface-muted);
}

.stats__band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: var(--space-md) var(--space-sm);
}

.stat + .stat {
  border-left: 1px solid var(--color-border);
}

.stat > div {
  display: flex;
  flex-direction: column-reverse;
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  flex: none;
}

.stat__value {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---------- Advantages ---------- */
.advantages {
  padding-block: var(--space-section);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md) var(--space-sm);
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.advantage__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  transition:
    background-color var(--duration-normal) var(--ease-out-expo),
    color var(--duration-normal) var(--ease-out-expo);
}

.advantage:hover .advantage__icon {
  background: var(--gradient-accent);
  color: var(--color-white);
}

.advantage__title {
  font-size: var(--text-sm);
  font-weight: 700;
}

.advantage__text {
  margin-top: 0.15rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ---------- Brands ---------- */
.brands {
  padding-bottom: var(--space-section);
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  color: var(--color-text);
  transition:
    border-color var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-out-expo);
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgb(124 58 237 / 0.3);
  box-shadow: var(--shadow-sm);
}

.brand-card__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

.brand-card__name {
  font-size: var(--text-xs);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: var(--space-section);
}

.contact__panel {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-xl);
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  border-radius: var(--radius-xl);
  background-image: var(--gradient-panel);
  box-shadow: var(--shadow-panel);
  color: var(--color-white);
}

.contact__title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.contact__lede {
  margin-top: var(--space-sm);
  max-width: 24rem;
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.78);
}

.contact__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.contact-highlight__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.16);
}

.contact-highlight__title {
  font-size: var(--text-xs);
  font-weight: 700;
}

.contact-highlight__text {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.7);
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.1);
  color: var(--color-white);
  font-size: var(--text-sm);
  transition:
    border-color var(--duration-normal) var(--ease-out-expo),
    background-color var(--duration-normal) var(--ease-out-expo);
}

.field__input::placeholder {
  color: rgb(255 255 255 / 0.62);
}

.field__input:hover {
  border-color: rgb(255 255 255 / 0.4);
}

.field__input:focus {
  outline: none;
  background: rgb(255 255 255 / 0.16);
  border-color: var(--color-white);
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.14);
}

.field__input--area {
  min-height: 8.5rem;
  resize: vertical;
}

.field__error:not(:empty) {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #fecaca;
}

.form-status {
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.4);
  color: var(--color-white);
}

.form-status--error {
  background: rgb(190 24 24 / 0.22);
  border: 1px solid rgb(254 202 202 / 0.5);
  color: #fee2e2;
}

.form-status--error ul {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .brand-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero__lede {
    margin-inline: auto;
  }

  .hero__features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 32rem;
    text-align: left;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero-orbit {
    width: min(100%, 24rem);
  }

  .contact__panel {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact__lede {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .stats__band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat + .stat {
    border-left: none;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--color-border);
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact__highlights {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .brand-card {
    padding-inline: 0.4rem;
  }

  .brand-card__name {
    font-size: var(--text-xs);
  }

  /* Keep the floating cards inside the viewport instead of hanging off the globe. */
  .hero-orbit__card {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero-orbit__card .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .hero-orbit__card--c {
    left: 0;
  }

  .hero-orbit__card--d {
    right: 0;
  }

  .hero-orbit__coverage {
    right: 0;
    bottom: 0;
    min-width: 0;
    gap: var(--space-sm);
    padding: 0.7rem 0.8rem;
  }

  .hero-orbit__coverage-value {
    font-size: 1.25rem;
  }

  .hero-orbit__coverage-badge {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (max-width: 420px) {
  .hero__features {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
