*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #1451c9;
  --navy-hover: #103f9f;
  --heading: #0f172a;
  --text: #5b6573;
  --hero-bg: #f7f9fc;
  --highlight-bg: #eef2fd;
  --highlight-border: #dbe4fb;
  --highlight-text: #33415c;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--heading);
  background: #fff;
}

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

a {
  text-decoration: none;
}

.container {
  max-width: min(90%, 1320px);
}

.hero {
  background: var(--hero-bg);
  padding: clamp(88px, 7vw, 98px) 0;
  padding-bottom: 72px;
}

.hero__badge {
  display: inline-block;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 20px;
  color: var(--heading);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero__desc {
  max-width: 34rem;
  margin: 0 0 24px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero__highlight {
  max-width: 34rem;
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--highlight-bg);
  border: 1px solid var(--highlight-border);
  border-radius: 10px;
  color: var(--highlight-text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__actions .hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero__actions .hero__btn--primary {
  background: var(--navy);
  border: 1.5px solid var(--navy);
  color: #fff;
}

.hero__actions .hero__btn--primary:hover,
.hero__actions .hero__btn--primary:focus-visible {
  background-color: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #fff;
}

.hero__actions.hero__btn--outline {
  background: #fff;
  border: 1.5px solid #d7deea;
  color: var(--heading);
}

.hero__actions .hero__btn--outline:hover,
.hero__actions .hero__btn--outline:focus-visible {
  background: #f2f5fa;
  border-color: #c3cede;
  color: var(--heading);
}

.hero__right {
  display: flex;
  justify-content: center;
}

.hero__media {
  width: 100%;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .hero__left {
    text-align: center;
  }

  .hero__desc,
  .hero__highlight {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__btn {
    width: 100%;
  }
}

.features {
  background: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
}

.features__title {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.features__subtitle {
  max-width: 46rem;
  margin: 0 auto 40px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 575.98px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.fourdi-fourdo-wifi-node-feature-card {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
}

.feature-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--highlight-bg);
  color: var(--navy);
  font-size: 1.05rem;
}

.feature-card__title {
  margin: 0;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.feature-card__text {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.65;
}

.architecture {
  background: var(--hero-bg);
  padding: clamp(48px, 7vw, 80px) 0;
}

.architecture__title {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.architecture__subtitle {
  margin: 0 0 32px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.architecture__panel {
  padding: 20px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.architecture__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.signal-section {
  background: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
}

.signal-section__eyebrow {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.signal-section__title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.signal-section__desc {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.signal-section__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signal-section__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-size: 0.92rem;
  line-height: 1.5;
}

.signal-section__list i {
  flex-shrink: 0;
  color: var(--navy);
  font-size: 1rem;
}

.signal-section__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #eef1f5;
  border-radius: 16px;
}

.signal-section__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.io-section {
  background: var(--hero-bg);
  padding: clamp(40px, 6vw, 64px) 0;
}

.io-section--alt {
  background: #fff;
}

.io-section__eyebrow {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

.io-section__title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.io-section__title--dark {
  color: var(--heading);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.io-section__title--sub {
  color: var(--navy);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 36px;
}

.io-section__desc {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.io-section__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #eef4ff 0%, #eef1f5 100%);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.io-section__card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.io-section__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.io-section__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.io-section__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-size: 0.92rem;
  line-height: 1.5;
}

.io-section__list-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--highlight-bg);
  color: var(--navy);
  font-size: 0.9rem;
}

/* Output table */
.output-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.output-table thead th {
  padding: 12px 18px;
  background: #f4f6f9;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.output-table tbody td {
  padding: 8px 18px;
  border-top: 1px solid #eef1f5;
  vertical-align: middle;
}

.output-table__tag {
  width: 1%;
  white-space: nowrap;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.output-table__load {
  width: 1%;
  white-space: nowrap;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}

.output-table__desc {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .output-table,
  .output-table thead,
  .output-table tbody,
  .output-table tr {
    display: block;
  }

  .output-table thead {
    display: none;
  }

  .output-table tbody tr {
    padding: 14px 16px;
    border-top: 1px solid #eef1f5;
  }

  .output-table tbody tr:first-child {
    border-top: none;
  }

  .output-table__tag,
  .output-table__load,
  .output-table__desc {
    width: auto;
    white-space: normal;
    display: block;
    padding: 2px 0;
    border-top: none;
  }
}

/* Smart operations grid */
.ops-grid {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 32px 56px;
}

@media (max-width: 575.98px) {
  .ops-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.ops-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ops-item__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 10px;
  background: var(--highlight-bg);
  color: var(--navy);
  font-size: 1.05rem;
}

.ops-item h4 {
  margin: 0 0 6px;
  color: var(--heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.ops-item p {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Pulse counting section */
.pulse-section {
  background: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
}

.pulse-section__title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.pulse-section__subtitle {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.pulse-section__desc {
  max-width: 56rem;
  margin: 0 auto 36px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  text-align: center;
}

.pulse-section__panel {
  padding: 20px;
  margin-bottom: 32px;
  background: #eef1f5;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
}

.pulse-section__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.pulse-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 575.98px) {
  .pulse-cards {
    grid-template-columns: 1fr;
  }
}

.pulse-card {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
}

.pulse-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pulse-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--highlight-bg);
  color: var(--navy);
  font-size: 1rem;
}

.pulse-card__title {
  margin: 0;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.pulse-card__text {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Technical specifications section */
.spec-section {
  background: var(--hero-bg);
  padding: clamp(48px, 7vw, 80px) 0;
}

.spec-section__title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.spec-section__subtitle {
  max-width: 46rem;
  margin: 0 auto 40px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.spec-block {
  margin-bottom: 28px;
}

.spec-block:last-child {
  margin-bottom: 0;
}

.spec-block__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.spec-table {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.spec-table li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef1f5;
}

.spec-table li:last-child {
  border-bottom: none;
}

.spec-table li:nth-child(even) {
  background: #f8fafc;
}

.spec-table li span:first-child {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.spec-table li span:last-child {
  color: var(--heading);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .spec-table li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Functional description section */
.functional-section {
  background: var(--hero-bg);
  padding: clamp(48px, 7vw, 80px) 0;
}

.functional-section__title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.functional-section__subtitle {
  margin: 0 0 40px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

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

@media (max-width: 575.98px) {
  .functional-grid {
    grid-template-columns: 1fr;
  }
}

.functional-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.functional-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--highlight-bg);
  color: var(--navy);
  font-size: 1.1rem;
}

.functional-card__title {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.functional-card__text {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Applications & Use Cases + CTA */
.usecases-section {
  background: #fff;
  padding: clamp(48px, 7vw, 80px) 0 0;
}

.usecases-section__title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.usecases-section__subtitle {
  margin: 0 0 40px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

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

@media (max-width: 575.98px) {
  .usecases-grid {
    grid-template-columns: 1fr;
  }
}

.usecase-card {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
}

.usecase-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.usecase-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--highlight-bg);
  color: var(--navy);
  font-size: 1.05rem;
}

.usecase-card__title {
  margin: 0;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.usecase-card__text {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.65;
}

.cta-panel {
  padding: clamp(48px, 7vw, 72px) 0;
  background: #eef0f2;
  text-align: center;
}

.cta-panel__title {
  margin: 0 0 16px;
  color: var(--heading);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
}

.cta-panel__text {
  max-width: 46rem;
  margin: 0 auto 28px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-panel__actions .cta-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cta-panel__actions .cta-panel__btn--primary {
  background: var(--navy);
  border: 1.5px solid var(--navy);
  color: #fff;
}

.cta-panel__actions .cta-panel__btn--primary:hover,
.cta-panel__actions .cta-panel__btn--primary:focus-visible {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #fff;
}

.cta-panel__actions .cta-panel__btn--outline {
  background: #fff;
  border: 1.5px solid #d7deea;
  color: var(--heading);
}

.cta-panel__actions .cta-panel__btn--outline:hover,
.cta-panel__actions .cta-panel__btn--outline:focus-visible {
  background: #f2f5fa;
  border-color: #c3cede;
  color: var(--heading);
}

.cta-panel__actions .cta-panel__btn--ghost {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

.cta-panel__actions .cta-panel__btn--ghost:hover,
.cta-panel__actions .cta-panel__btn--ghost:focus-visible {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 575.98px) {
  .cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-panel__actions .cta-panel__btn {
    width: 100%;
  }
}

/* Product gallery section */
.diwifi-gallery-section {
  background: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
  padding-top: 0;
}

.diwifi-gallery-section__title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.diwifi-gallery-section__subtitle {
  max-width: 46rem;
  margin: 0 auto 40px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.diwifi-gallery {
  position: relative;
}

.diwifi-gallery .diwifi-gallery__swiper {
  padding-bottom: 44px;
}

.diwifi-gallery__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 20px;
  background: var(--hero-bg);
  border: 1px solid #e7ebf2;
  border-radius: 14px;
  overflow: hidden;
}

.diwifi-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.diwifi-gallery__pagination {
  bottom: 0 !important;
}

.diwifi-gallery__pagination .swiper-pagination-bullet {
  background: #c3cede;
  opacity: 1;
}

.diwifi-gallery__pagination .swiper-pagination-bullet-active {
  background: var(--navy);
}

.diwifi-gallery__nav {
  position: absolute;
  top: calc(50% - 22px);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 50%;
  color: var(--heading);
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  z-index: 2;
}

.diwifi-gallery__nav:hover,
.diwifi-gallery__nav:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.diwifi-gallery__nav--prev {
  left: -22px;
}

.diwifi-gallery__nav--next {
  right: -22px;
}

@media (max-width: 575.98px) {
  .diwifi-gallery__nav {
    display: none;
  }
}
