* {
  box-sizing: border-box;
}

:root {
  --poksol-navy: #0A2540;
  --poksol-blue: #1976F3;
  --poksol-green: #42C96F;
  --surface: #f4f7fb;
  --surface-warm: #fbfaf7;
  --text-muted: #475569;
  --line: #d9e3ef;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--surface);
  color: var(--poksol-navy);
}

.hero {
  min-height: 720px;
  padding: 30px 8% 58px;
  color: white;
  background: linear-gradient(120deg, #0a2540, #173e62);
}

.product-hero {
  min-height: auto;
  padding: 30px 8% 56px;
  color: white;
  background:
    linear-gradient(120deg, rgba(10, 37, 64, 0.97), rgba(10, 37, 64, 0.9)),
    url("poksol_logo_color.svg");
  background-position: center, right 10% bottom 20%;
  background-repeat: no-repeat;
  background-size: cover, min(440px, 34vw);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-hero-content {
  max-width: 1180px;
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: 58px;
}

.product-hero-content h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.product-hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.55;
  max-width: 760px;
}

.product-visual {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 28px;
  letter-spacing: 1px;
}

.brand strong span {
  color: var(--poksol-blue);
}

.brand small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 34px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a,
.outline-btn {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.demo-btn,
.primary-btn,
.product-action,
.app-link {
  background: var(--poksol-blue);
  color: white;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(25, 118, 243, 0.35);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1180px;
  margin: 76px auto 0;
}

.hero-text {
  grid-column: 2;
}

.hero-brand-logo {
  display: block;
  width: min(330px, 68%);
  height: auto;
  margin: 0 0 20px;
}

.screenshots-zone {
  grid-column: 1;
  grid-row: 1;
}

.eyebrow,
.product-kicker {
  color: var(--poksol-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: 0;
}

.hero-text h1 span {
  color: var(--poksol-blue);
}

.hero-text p {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.primary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
}

.outline-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 15px 24px;
  border-radius: 12px;
}

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.badges div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-left: 2px solid rgba(66, 201, 111, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.badges strong {
  color: var(--poksol-green);
  font-size: 16px;
}

.badges small {
  color: rgba(255, 255, 255, 0.65);
}

.screenshots-zone {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.screenshots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--poksol-navy);
}

.screenshots-header span {
  color: var(--poksol-blue);
  font-size: 12px;
  font-weight: 900;
}

.screenshots-header strong {
  font-size: 14px;
}

.screenshots-carousel {
  margin-top: 20px;
  position: relative;
  padding: 0 46px 34px;
}

.carousel-viewport {
  max-width: 290px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d3e5ff;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 18px 45px rgba(25, 118, 243, 0.16);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.screenshot-slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  aspect-ratio: 1080 / 2340;
}

.screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.screenshot-slide figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: white;
  background: rgba(10, 37, 64, 0.88);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid #d3e5ff;
  border-radius: 50%;
  background: white;
  color: var(--poksol-navy);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  color: white;
  background: var(--poksol-blue);
  border-color: var(--poksol-blue);
}

.carousel-arrow-prev {
  left: 0;
}

.carousel-arrow-next {
  right: 0;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #b8c7d8;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--poksol-blue);
}

.products,
.product-page {
  padding: 68px 8%;
  text-align: center;
}

.products h2,
.product-page h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.products > p,
.product-page > p {
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.single-product {
  max-width: 980px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(10, 37, 64, 0.08);
  text-align: left;
}

.single-product-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-product-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(10, 37, 64, 0.12);
}

.single-product img,
.product-logo {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
}

.single-product h3,
.product-page h2 {
  font-size: 32px;
  margin: 0 0 14px;
}

.single-product p,
.product-page p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

.product-link-cta {
  display: inline-flex;
  margin-top: 16px;
  color: var(--poksol-blue);
  font-weight: 800;
}

.features-list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.features-list span {
  background: #edf6ff;
  color: var(--poksol-navy);
  border: 1px solid #d3e5ff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.product-actions {
  margin: 28px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
}

.product-action.windows {
  background: var(--poksol-green);
  box-shadow: 0 14px 35px rgba(66, 201, 111, 0.3);
}

.product-action.disabled {
  background: #9aa7b8;
  box-shadow: none;
  pointer-events: none;
}

.coming-soon {
  max-width: 980px;
  margin: 30px auto 0;
  padding: 24px;
  border-radius: 16px;
  background: #f0f8f3;
  border: 1px solid #cbeed8;
  text-align: left;
}

.coming-soon h3 {
  margin-top: 0;
  color: var(--poksol-green);
}

.product-meta {
  max-width: 980px;
  margin: 30px auto 0;
  text-align: left;
  color: var(--text-muted);
  font-size: 14px;
}

.upcoming {
  padding: 26px 8% 76px;
  text-align: center;
  background: var(--surface-warm);
}

.upcoming h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.upcoming > p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  line-height: 1.6;
}

.upcoming-cards {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.upcoming-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(10, 37, 64, 0.07);
  border: 1px solid var(--line);
  text-align: left;
}

.upcoming-card span {
  color: var(--poksol-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.upcoming-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.upcoming-card p {
  margin: 0;
  color: var(--poksol-green);
  font-weight: 800;
}

@media (max-width: 900px) {
  .navbar,
  .actions,
  .badges {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  .hero-content,
  .product-hero-content,
  .badges,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .screenshots-zone {
    grid-column: 1;
  }

  .hero-text {
    grid-row: 1;
  }

  .screenshots-zone {
    grid-row: 2;
  }

  .upcoming-cards {
    grid-template-columns: 1fr;
  }

  .screenshots-zone {
    margin-top: 30px;
  }

  .screenshots-carousel {
    padding-inline: 42px;
  }

  .hero-text,
  .product-hero-content,
  .products,
  .product-page {
    text-align: center;
  }

  .hero-brand-logo {
    margin-inline: auto;
  }

  .actions,
  .badges {
    align-items: center;
    justify-content: center;
  }

  .single-product {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .single-product img,
  .product-logo {
    margin: auto;
  }

  .coming-soon,
  .product-meta {
    text-align: center;
  }
}
