:root {
  --bg-soft: #ecf2ff;
  --bg-dark: #0d0b06;
  --nav-dark: rgba(26, 26, 26, 0.94);
  --text-900: #1a1a1a;
  --text-700: #4f566b;
  --text-500: #808080;
  --text-300: #b3b3b3;
  --text-sub: #8a8a8d;
  --white: #ffffff;
  --blue: #3b7bfd;
  --blue-deep: #2a86ff;
  --yellow: #f3b200;
  --border-soft: rgba(255, 255, 255, 0.1);
  --shadow-hero: 0 32px 70px rgba(59, 123, 253, 0.18);
  --shadow-card: 0 18px 45px rgba(12, 22, 48, 0.14);
  --container: 1024px;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text-900);
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: var(--nav-dark);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.top-links,
.nav-cta-group,
.download-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-links {
  gap: 20px;
}

.top-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.store-pill,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.store-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.store-pill__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-pill__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.store-pill:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.store-pill--dark {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.store-pill--accent {
  border: 1px solid rgba(255, 211, 20, 0.85);
  background: linear-gradient(135deg, #f0b100 0%, #ffcc45 100%);
  color: #111;
  box-shadow: 0 10px 24px rgba(243, 178, 0, 0.28);
}

.store-pill--light {
  border: 1px solid rgba(26, 26, 26, 0.22);
  color: var(--text-900);
  background: var(--white);
}

.hero-section {
  background: var(--bg-soft);
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 418px;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(59, 123, 253, 0.12);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.feature-copy h2,
.reviews-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-copy h1,
.section-heading h2 {
  color: var(--blue);
}

.hero-copy p,
.section-heading p {
  margin: 24px 0 0;
  color: var(--text-500);
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.7;
  max-width: 56ch;
}

.hero-card {
  position: relative;
  padding: 22px 24px 0;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-hero);
  min-height: 300px;
  overflow: hidden;
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.hero-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.hero-card__header strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.hero-card__header span {
  display: block;
  margin-top: 4px;
  color: var(--text-700);
  font-size: 14px;
}

.hero-card__body {
  position: relative;
  height: 218px;
}

.hero-card__circle {
  position: absolute;
  right: -12px;
  top: 10px;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(59, 123, 253, 0.2), rgba(59, 123, 253, 0.03) 68%, transparent 72%);
}

.floating-app {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(14, 23, 48, 0.16);
}

.floating-app img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-app--word {
  right: 108px;
  top: 70px;
  width: 88px;
  height: 88px;
  background: linear-gradient(180deg, #e7f0ff 0%, #c6dbff 100%);
  transform: rotate(-10deg);
}

.floating-app--excel {
  right: 38px;
  top: 108px;
  width: 86px;
  height: 86px;
  background: linear-gradient(180deg, #ecf9f0 0%, #c2efcf 100%);
  transform: rotate(12deg);
}

.floating-app--ppt {
  right: 150px;
  top: 126px;
  width: 82px;
  height: 82px;
  background: linear-gradient(180deg, #fff0e8 0%, #ffd5be 100%);
  transform: rotate(16deg);
}

.hero-card__confetti {
  position: absolute;
  border-radius: 999px;
}

.hero-card__confetti--a {
  right: 22px;
  top: 54px;
  width: 14px;
  height: 6px;
  background: #ffd214;
  transform: rotate(32deg);
}

.hero-card__confetti--b {
  right: 72px;
  top: 38px;
  width: 8px;
  height: 8px;
  background: #4bc0ff;
}

.hero-card__confetti--c {
  right: 96px;
  top: 62px;
  width: 10px;
  height: 10px;
  background: #ff8b37;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.gallery-section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
}

.section-heading p {
  margin-inline: auto;
}

.gallery-scroller-wrap {
  width: min(calc(100% - 32px), 1440px);
  margin: 40px auto 0;
  position: relative;
}

.gallery-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 400px;
  gap: 24px;
  overflow-x: auto;
  padding: 0 16px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.review-scroller.is-dragging {
  cursor: grabbing;
}

.gallery-scroller::-webkit-scrollbar,
.review-scroller::-webkit-scrollbar {
  display: none;
}

.scroller-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(16, 25, 53, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.scroller-arrow:hover {
  background: var(--white);
  box-shadow: 0 18px 36px rgba(16, 25, 53, 0.2);
}

.scroller-arrow span {
  font-size: 30px;
  line-height: 1;
}

.scroller-arrow--left {
  left: 6px;
}

.scroller-arrow--right {
  right: 6px;
}

.screen-card {
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 0;
  width: 400px;
  min-height: 760px;
  box-shadow: var(--shadow-card);
}

.screen-card--blue {
  background: linear-gradient(180deg, #c3e9ff 0%, #edf6ff 38%, #ffffff 100%);
}

.screen-card--green {
  background: linear-gradient(180deg, #d6f5de 0%, #effaf2 38%, #ffffff 100%);
}

.screen-card--orange {
  background: linear-gradient(180deg, #ffe2cb 0%, #fff2e8 38%, #ffffff 100%);
}

.screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
}

.feature-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.feature-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(19, 31, 56, 0.8), rgba(19, 31, 56, 0.8)),
    url('./assets/feature-bg.png') center/cover no-repeat;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 464px) minmax(0, 500px);
  gap: 60px;
  align-items: center;
  padding: 120px 0 100px;
}

.feature-media {
  display: grid;
  gap: 20px;
}

.feature-media__large,
.feature-media__small {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.feature-copy h2 {
  color: var(--blue);
}

.feature-copy p {
  margin: 16px 0 0;
  max-width: 460px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.4;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 36px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--white);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #7ee3b5 0, #3ac882 58%, #27b06d 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.feature-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.primary-button {
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  box-shadow: 0 20px 44px rgba(59, 123, 253, 0.28);
}

.reviews-section {
  background: var(--bg-dark);
  color: var(--white);
  padding: 100px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 564px) minmax(0, 420px);
  gap: 40px;
  align-items: center;
}

.reviews-copy p {
  margin: 12px 0 0;
  color: var(--text-300);
  font-size: 18px;
  line-height: 1.4;
}

.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 28px;
}

.stat-card {
  min-width: 248px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.3;
}

.stat-label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-stars,
.review-stars {
  color: var(--yellow);
  letter-spacing: 0.16em;
}

.review-card {
  flex: 0 0 420px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 24px 24px;
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.review-card__top strong {
  font-size: 20px;
  line-height: 1.7;
}

.review-card__top span {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.4;
}

.review-card p {
  margin: 12px 0 0;
  color: var(--text-300);
  font-size: 18px;
  line-height: 1.4;
}

.review-scroller-wrap {
  min-width: 0;
}

.review-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.review-scroller .review-card {
  scroll-snap-align: start;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.review-dots .is-active {
  width: 26px;
  background: var(--yellow);
}

.site-footer {
  padding: 72px 0;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 483px) minmax(0, 361px);
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

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

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.7;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--text-500);
  font-size: 16px;
  line-height: 1.4;
}

.download-actions {
  margin-top: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: grid;
  gap: 16px;
}

.footer-links h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: underline;
}

.footer-links p {
  margin: 0;
  color: var(--text-500);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .hero-grid,
  .feature-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }

  .feature-grid,
  .reviews-grid {
    padding-top: 88px;
  }
}

@media (max-width: 720px) {
  .hero-section,
  .gallery-section,
  .reviews-section,
  .site-footer {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .feature-grid {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .gallery-scroller {
    grid-auto-columns: 320px;
    padding-inline: 12px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-card {
    min-height: 280px;
  }

  .screen-card,
  .review-card {
    width: 320px;
    flex-basis: 320px;
  }

  .hero-card__header strong {
    font-size: 22px;
  }

  .screen-card {
    min-height: 690px;
  }

  .feature-copy p,
  .feature-list li,
  .reviews-copy p,
  .review-card p {
    font-size: 16px;
  }

  .stat-grid {
    gap: 20px;
  }

  .stat-card {
    min-width: 0;
    flex: 1 1 180px;
  }

  .top-links,
  .nav-cta-group {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .scroller-arrow {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: static;
  }

  .brand {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .hero-section {
    padding-top: 48px;
  }

  .hero-card {
    padding-inline: 16px;
  }

  .gallery-scroller-wrap {
    width: calc(100% - 16px);
  }

  .gallery-scroller {
    grid-auto-columns: 280px;
    padding-inline: 8px;
  }

  .screen-card,
  .review-card {
    width: 280px;
    flex-basis: 280px;
  }

  .floating-app--word {
    right: 86px;
  }

  .floating-app--excel {
    right: 24px;
  }

  .floating-app--ppt {
    right: 126px;
  }

  .feature-list {
    gap: 12px;
  }

  .feature-list li {
    padding-left: 30px;
  }

  .scroller-arrow {
    width: 40px;
    height: 40px;
  }

  .scroller-arrow--left {
    left: 0;
  }

  .scroller-arrow--right {
    right: 0;
  }
}
