:root {
  --blue-950: #0a2657;
  --blue-900: #0c3477;
  --blue-700: #1665d8;
  --blue-600: #1f7bea;
  --blue-500: #3498ff;
  --blue-100: #e8f2ff;
  --blue-50: #f4f9ff;
  --ink: #10223f;
  --muted: #65748b;
  --line: #d8e6f7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 61, 125, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  background:
    linear-gradient(180deg, rgba(232, 242, 255, 0.86) 0%, rgba(255, 255, 255, 0) 34rem),
    var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(216, 230, 247, 0.48);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease,
    -webkit-backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(216, 230, 247, 0.9);
  box-shadow: 0 16px 42px rgba(15, 61, 125, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-950);
  letter-spacing: 0;
}

.logo-slot {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: url("./assets/logo.png") center / contain no-repeat;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-links a,
.header-action {
  min-height: 38px;
  padding: 10px 15px;
  border-radius: 7px;
  color: #36516f;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-900);
  background: rgba(232, 242, 255, 0.92);
}

.header-action {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 30px rgba(31, 123, 234, 0.24);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 0 86px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--blue-950);
  font-size: clamp(2.8rem, 6vw, 5.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: #425977;
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
  line-height: 1.82;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
  box-shadow: 0 18px 42px rgba(22, 101, 216, 0.25);
}

.secondary-button {
  color: var(--blue-900);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 610px;
  margin-top: 42px;
}

.hero-stats div {
  min-height: 88px;
  padding: 17px 16px;
  border: 1px solid rgba(216, 230, 247, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 5px;
  color: var(--blue-900);
  font-size: 1.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid #c9def5;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.browser-top {
  display: grid;
  grid-template-columns: 11px 11px 11px 1fr;
  gap: 8px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f9fcff, #eef6ff);
}

.browser-top > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9fc7f2;
}

.address-bar {
  min-width: 0;
  margin-left: 8px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid #d6e7fa;
  border-radius: 8px;
  color: #6785a9;
  background: var(--white);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-body {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 500px;
  background: linear-gradient(135deg, #f8fbff 0%, #edf6ff 100%);
}

.mini-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding-top: 28px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.sidebar-logo,
.small-logo {
  display: block;
  border-radius: 0;
  background: url("./assets/logo.png") center / contain no-repeat;
}

.sidebar-logo {
  width: 34px;
  height: 34px;
}

.small-logo {
  width: 24px;
  height: 24px;
}

.sidebar-line {
  width: 32px;
  height: 8px;
  border-radius: 8px;
  background: #c7dcf5;
}

.sidebar-line.active {
  background: var(--blue-600);
}

.sidebar-line.short {
  width: 22px;
}

.web-page-preview {
  padding: 42px 38px;
}

.preview-heading {
  width: 58%;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--blue-950);
}

.preview-line {
  width: 64%;
  height: 12px;
  margin-bottom: 13px;
  border-radius: 8px;
  background: #bfd7f3;
}

.preview-line.wide {
  width: 80%;
}

.image-page-preview {
  padding-right: 24px;
}

.image-canvas {
  position: relative;
  overflow: hidden;
  width: min(390px, 88%);
  min-height: 230px;
  margin-top: 30px;
  border: 1px solid rgba(22, 101, 216, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #9ed7ff 0%, #dff3ff 46%, #eef8ff 100%);
  box-shadow: 0 18px 40px rgba(15, 61, 125, 0.1);
}

.image-sun {
  position: absolute;
  top: 34px;
  right: 38px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.18);
}

.image-ridge {
  position: absolute;
  right: 0;
  bottom: -24px;
  left: 0;
  height: 138px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(135deg, #1665d8, #5bb4ff);
  transform: scaleX(1.16);
  transform-origin: center bottom;
}

.ridge-two {
  bottom: -56px;
  left: 20%;
  background: linear-gradient(135deg, #0c3477, #2792f3);
  transform: none;
}

.hover-toolbar {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(10, 38, 87, 0.14);
}

.hover-toolbar button {
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--blue-900);
  background: var(--blue-100);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.selection-card {
  width: min(360px, 80%);
  margin-top: 32px;
  padding: 18px;
  border: 1px solid rgba(22, 101, 216, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(15, 61, 125, 0.1);
}

.selection-card span,
.snippet-tag {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selection-card p {
  margin: 7px 0 0;
  color: #335070;
  line-height: 1.55;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 78%;
  margin-top: 34px;
}

.preview-grid span {
  height: 76px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.extension-popover {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: min(330px, calc(100% - 108px));
  padding: 18px;
  border: 1px solid #c5ddf7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 56px rgba(14, 58, 121, 0.18);
}

.popover-head {
  display: grid;
  grid-template-columns: 24px 1fr 26px;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.popover-head button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background:
    linear-gradient(45deg, transparent 44%, #7b96b8 45%, #7b96b8 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #7b96b8 45%, #7b96b8 55%, transparent 56%),
    #eef6ff;
}

.mode-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 14px;
  padding: 5px;
  border-radius: 8px;
  background: #edf6ff;
}

.mode {
  padding: 8px 6px;
  border-radius: 7px;
  color: #637b98;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.mode.active {
  color: var(--blue-900);
  background: var(--white);
}

.snippet {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 101, 216, 0.16);
  border-radius: var(--radius);
  background: #f8fbff;
}

.snippet.subtle {
  background: #ffffff;
}

.snippet p {
  margin: 7px 0 0;
  color: #425977;
  font-size: 0.92rem;
  line-height: 1.5;
}

.copy-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-700);
  font: inherit;
  font-weight: 800;
}

.features,
.how,
.reviews,
.banner {
  scroll-margin-top: 96px;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 44px rgba(15, 61, 125, 0.07);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-700);
  font-weight: 800;
}

.feature-card p,
.step p {
  margin-bottom: 0;
  color: #536a86;
  line-height: 1.72;
}

.how {
  border-top: 1px solid rgba(216, 230, 247, 0.78);
  border-bottom: 1px solid rgba(216, 230, 247, 0.78);
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  width: 100%;
  max-width: none;
}

.how > * {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.step {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 44px;
  border-radius: 50%;
  color: var(--blue-900);
  background: var(--blue-100);
  font-weight: 800;
}

.review-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(232, 242, 255, 0.9), rgba(255, 255, 255, 0.94)),
    var(--white);
}

.review-list {
  display: grid;
  gap: 16px;
}

figure {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(216, 230, 247, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

blockquote {
  margin: 0 0 18px;
  color: #294968;
  font-size: 1.02rem;
  line-height: 1.76;
}

figcaption {
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.banner {
  padding-top: 46px;
}

.banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 20px 50px rgba(15, 61, 125, 0.08);
}

.banner-copy {
  display: grid;
  gap: 10px;
}

.banner-text {
  max-width: 620px;
  margin-bottom: 0;
  color: #51667f;
  line-height: 1.7;
}

.banner-card {
  padding: 22px;
  border: 1px solid rgba(22, 101, 216, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.banner-card span {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.banner-card strong {
  display: block;
  margin: 10px 0 10px;
  color: var(--blue-950);
  font-size: 1.45rem;
  line-height: 1.2;
}

.banner-card p {
  margin-bottom: 18px;
  color: #51667f;
  line-height: 1.65;
}

.primary-button.light {
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
  box-shadow: 0 18px 42px rgba(22, 101, 216, 0.22);
}

.footer {
  border-top: 1px solid var(--line);
  background: #f8fbff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  min-height: 118px;
  margin: 0 auto;
  color: #5a708b;
}

.footer p {
  margin: 0;
}

.footer-links a {
  color: #36516f;
  font-weight: 800;
}

.privacy-page {
  padding: 86px 0 104px;
}

.privacy-page h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.policy-content {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin-top: 42px;
}

.policy-content section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.policy-content h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.policy-content p {
  margin-bottom: 0;
  color: #536a86;
  line-height: 1.72;
}

.policy-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .feature-grid,
  .steps,
  .review-panel {
    grid-template-columns: 1fr;
  }

  .banner-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
  }

  .site-header .brand span:last-child {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a,
  .header-action {
    padding: 9px 10px;
    font-size: 0.8rem;
  }

  .section-shell,
  .how > *,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 32px;
    padding: 40px 0 62px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.55rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .browser-body {
    grid-template-columns: 54px 1fr;
    min-height: 470px;
  }

  .web-page-preview {
    padding: 30px 22px;
  }

  .extension-popover {
    right: 14px;
    bottom: 18px;
    width: calc(100% - 84px);
  }

  .image-canvas {
    width: min(360px, 94%);
    min-height: 220px;
  }

  .hover-toolbar {
    max-width: calc(100% - 62px);
  }

  .hover-toolbar button {
    padding: 7px 8px;
    font-size: 0.68rem;
  }

  .feature-card,
  .step,
  .review-panel,
  figure,
  .banner-inner {
    padding: 22px;
  }

  .banner-inner {
    grid-template-columns: 1fr;
  }

  .banner-card {
    padding: 20px;
  }

  .features,
  .how,
  .reviews,
  .banner {
    padding: 62px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 26px 0;
  }
}
