:root {
  color-scheme: dark;
  --bg: #080a20;
  --bg-deep: #050615;
  --surface: #11142f;
  --surface-light: #171b3b;
  --text: #f7f8ff;
  --muted: #aeb3cf;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #7c5cff;
  --purple-light: #9e8bff;
  --cyan: #20c9ff;
  --yellow: #ffb52e;
  --max-width: 1180px;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: white;
  color: #080a20;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 21, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  filter: drop-shadow(0 8px 16px rgba(64, 93, 255, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a,
.footer-links a {
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.shot:focus-visible,
.nav a:focus-visible,
.text-link:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(32, 201, 255, 0.72);
  outline-offset: 4px;
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 11px;
  font-size: 0.86rem;
}

.button-primary {
  background: linear-gradient(135deg, var(--purple), #5b7cff);
  box-shadow: 0 16px 36px rgba(108, 83, 255, 0.32);
}

.button-primary:hover {
  box-shadow: 0 18px 46px rgba(108, 83, 255, 0.45);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #d7daeb;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 106px 0 100px;
  background:
    radial-gradient(circle at 76% 25%, rgba(37, 80, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #090b25 0%, #080a20 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-one {
  width: 360px;
  height: 360px;
  top: 2%;
  left: -160px;
  background: rgba(109, 57, 255, 0.2);
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  right: -120px;
  bottom: 0;
  background: rgba(0, 187, 255, 0.14);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 68px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #a393ff 5%, #55d8ff 84%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #c8cce1;
  font-size: 0.84rem;
  font-weight: 650;
}

.trust-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--cyan);
}

.hero-visual {
  position: relative;
  padding: 26px 0 38px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: #eef1fb;
  box-shadow: var(--shadow), 0 0 0 10px rgba(255, 255, 255, 0.025);
  transform: perspective(1500px) rotateY(-5deg) rotateX(1deg);
}

.browser-frame > img {
  width: 100%;
  height: auto;
}

.browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  background: #f9faff;
  border-bottom: 1px solid #dfe3ee;
}

.browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd0df;
}

.browser-bar > span:first-child { background: #ff6b67; }
.browser-bar > span:nth-child(2) { background: #ffbe3c; }
.browser-bar > span:nth-child(3) { background: #2dca72; }

.address-bar {
  width: 42%;
  margin-inline: auto;
  padding: 5px 10px;
  border-radius: 6px;
  background: #edf0f6;
  color: #8990a3;
  font-size: 0.61rem;
  text-align: center;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 184px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  background: rgba(18, 21, 50, 0.94);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.84rem;
}

.floating-card small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.69rem;
}

.floating-card-action {
  bottom: 0;
  left: -34px;
}

.floating-card-private {
  top: 0;
  right: -24px;
}

.spark,
.shield {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), #586cff);
}

.shield {
  background: rgba(32, 201, 255, 0.14);
  color: var(--cyan);
}

.quick-benefits {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0f29;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article {
  min-height: 126px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.benefit-grid article:first-child {
  border-left: 1px solid var(--line);
}

.benefit-grid article > span {
  color: var(--purple-light);
  font-size: 0.72rem;
  font-weight: 800;
}

.benefit-grid strong,
.benefit-grid p {
  display: block;
  margin: 0;
}

.benefit-grid strong {
  font-size: 0.9rem;
}

.benefit-grid p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  padding: 112px 0;
  background: var(--bg);
}

.section-soft {
  background: #0d0f28;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.left-aligned {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.privacy-copy h2,
.install-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.privacy-copy > p,
.install-panel > div > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.action-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.5);
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.action-card.featured {
  border-color: rgba(124, 92, 255, 0.5);
  background: radial-gradient(circle at 90% 0%, rgba(32, 201, 255, 0.12), transparent 40%), linear-gradient(150deg, rgba(124, 92, 255, 0.18), rgba(255, 255, 255, 0.02));
}

.action-card > span {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(32, 201, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.action-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 13px;
  background: rgba(124, 92, 255, 0.12);
  color: #bdb1ff;
  font-weight: 850;
}

.action-card h3 {
  margin: 30px 0 10px;
  font-size: 1.18rem;
}

.action-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 90px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #c4baff;
  font-weight: 750;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child {
  padding-top: 0;
}

.steps li > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.11);
  color: #b9adff;
  font-weight: 850;
}

.steps h3,
.steps p {
  margin: 0;
}

.steps h3 {
  font-size: 1.1rem;
}

.steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.91rem;
}

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

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #10132e;
  transition: transform 180ms ease, border-color 180ms ease;
}

.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.52);
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-bottom: 1px solid var(--line);
}

.shot > span {
  display: block;
  padding: 18px 20px 20px;
  color: var(--muted);
  font-size: 0.83rem;
}

.shot strong {
  display: block;
  margin-bottom: 2px;
  color: white;
  font-size: 0.96rem;
}

.privacy-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 78px;
  padding: 70px;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 30px;
  background: radial-gradient(circle at 90% 20%, rgba(32, 201, 255, 0.12), transparent 36%), radial-gradient(circle at 15% 90%, rgba(124, 92, 255, 0.16), transparent 42%), #10132e;
  box-shadow: var(--shadow);
}

.privacy-copy ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
  color: #d6daeb;
  font-size: 0.9rem;
}

.privacy-copy li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--cyan);
}

.data-flow {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  gap: 12px;
}

.flow-node {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.flow-node img,
.gemini-mark {
  margin-bottom: 15px;
}

.gemini-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #2f8cff, #7c5cff, #ff6ca9);
  font-size: 1.3rem;
}

.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node strong {
  font-size: 0.92rem;
}

.flow-node small {
  color: var(--muted);
  font-size: 0.7rem;
}

.flow-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.flow-line::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.flow-line span {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cyan);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.data-flow > p {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.install-section {
  padding-top: 28px;
}

.install-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 62px 68px;
  border-radius: 28px;
  background: linear-gradient(115deg, #6a4ff0 0%, #5f62fa 50%, #168cce 115%);
  box-shadow: 0 26px 70px rgba(69, 68, 220, 0.28);
}

.install-panel > div:first-child {
  max-width: 690px;
}

.install-panel .kicker,
.install-panel > div > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.install-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.button-light {
  background: white;
  color: #171934;
}

.button-transparent {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #060718;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 38px;
}

.footer-brand p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.81rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #777d9e;
  font-size: 0.75rem;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(820px, 94%);
    margin-inline: auto;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid article:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .benefit-grid article:nth-child(3) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .benefit-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 76px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.8rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    gap: 10px 18px;
  }

  .hero-visual {
    width: 100%;
    padding-bottom: 88px;
  }

  .browser-frame {
    border-radius: 15px;
    transform: none;
  }

  .browser-bar {
    height: 32px;
  }

  .floating-card {
    min-width: 0;
    width: calc(50% - 7px);
    padding: 10px;
  }

  .floating-card-action {
    bottom: 8px;
    left: 0;
  }

  .floating-card-private {
    top: auto;
    right: 0;
    bottom: 8px;
  }

  .spark,
  .shield {
    width: 30px;
    height: 30px;
  }

  .floating-card strong {
    font-size: 0.75rem;
  }

  .floating-card small {
    font-size: 0.61rem;
  }

  .section {
    padding: 80px 0;
  }

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

  .action-grid,
  .how-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .how-grid {
    gap: 50px;
  }

  .action-card {
    min-height: 220px;
  }

  .privacy-panel {
    padding: 38px 22px;
    border-radius: 22px;
  }

  .data-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flow-line {
    width: 1px;
    height: 54px;
    margin-inline: auto;
    background: linear-gradient(var(--purple), var(--cyan));
  }

  .flow-line::after {
    top: auto;
    right: -4px;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .flow-line span {
    top: 17px;
    left: 16px;
    transform: none;
  }

  .install-section {
    padding-top: 10px;
  }

  .install-panel {
    display: block;
    padding: 40px 24px;
  }

  .install-actions {
    margin-top: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 14px 20px;
  }
}

@media (max-width: 520px) {
  .header-inner > .button {
    display: none;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article,
  .benefit-grid article:first-child,
  .benefit-grid article:nth-child(3) {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .benefit-grid article:first-child {
    border-top: 0;
  }

  .steps li {
    grid-template-columns: 46px 1fr;
    gap: 15px;
  }

  .steps li > span {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
