:root {
  --ink: #11131a;
  --muted: #687080;
  --paper: #fbfcf7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --coral: #ef4f3f;
  --coral-deep: #d9382f;
  --aqua: #2aa7b8;
  --blue: #2674e8;
  --line: rgba(17, 19, 26, 0.1);
  --shadow-soft: 0 24px 80px rgba(32, 43, 64, 0.14);
  --shadow-strong: 0 34px 110px rgba(38, 55, 84, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(42, 167, 184, 0.14), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(239, 79, 63, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 45%, #f5f8fb 100%);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1160px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 54px rgba(34, 45, 64, 0.12);
  backdrop-filter: blur(24px);
}

.brand,
.nav-links,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 820;
}

.brand img {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(239, 79, 63, 0.22);
}

.nav-links {
  gap: 8px;
  color: #3b4250;
  font-size: 0.9rem;
  font-weight: 680;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--coral-deep);
  background: rgba(239, 79, 63, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-shell,
.section,
.privacy-shell,
.feature-band,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  padding: clamp(62px, 8vw, 118px) 0 78px;
}

.hero-sheen {
  position: absolute;
  inset: 38px -10vw auto;
  height: 68%;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.24)),
    linear-gradient(110deg, rgba(42, 167, 184, 0.12), transparent 46%, rgba(239, 79, 63, 0.13));
  border-radius: 0 0 72px 72px;
  transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.28), 0);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  line-height: 0.94;
  font-weight: 880;
}

h2 {
  font-size: clamp(2.1rem, 4.9vw, 4.35rem);
  line-height: 1;
  font-weight: 850;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.16;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.64;
}

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

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 190ms ease, filter 190ms ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 14px 22px rgba(17, 19, 26, 0.18));
}

.store-badge img {
  width: 184px;
  min-width: 184px;
  height: auto;
}

.secondary-link {
  color: var(--coral-deep);
  font-weight: 780;
  padding: 13px 4px;
}

.hero-visual {
  min-width: 0;
}

.orbital-preview {
  position: relative;
  min-height: clamp(520px, 74vw, 760px);
  transform-style: preserve-3d;
}

.hero-card,
.privacy-shot,
.gallery-shot {
  border-radius: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-strong);
}

.hero-card {
  position: absolute;
  object-fit: cover;
  object-position: center top;
  background: #fffdf6;
  will-change: transform;
}

.hero-card-main {
  z-index: 3;
  right: 5%;
  top: 6%;
  width: min(380px, 66vw);
  transform: translate3d(0, calc(var(--hero-shift, 0px) * 0.16), 0) rotate(3deg);
}

.hero-card-back {
  z-index: 1;
  left: 2%;
  bottom: 4%;
  width: min(320px, 56vw);
  opacity: 0.88;
  transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.08), 0) rotate(-7deg);
}

.hero-logo {
  position: absolute;
  z-index: 4;
  left: 7%;
  top: 12%;
  width: clamp(78px, 11vw, 132px);
  border-radius: 28%;
  box-shadow: 0 22px 48px rgba(239, 79, 63, 0.24);
  transform: translate3d(0, calc(var(--hero-shift, 0px) * 0.06), 0) rotate(-5deg);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: -24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(17, 19, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.feature-band div {
  min-height: 112px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
}

.feature-band strong,
.feature-band span {
  display: block;
}

.feature-band strong {
  font-size: 1.02rem;
  font-weight: 850;
}

.feature-band span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section,
.privacy-section,
.gallery-section,
.cta-section {
  padding: clamp(70px, 10vw, 124px) 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tool-card,
.workflow-step,
.cta-content {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.tool-card {
  min-height: 222px;
  padding: 22px;
  border-radius: 24px;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.tool-card:hover {
  transform: translateY(-7px);
  border-color: rgba(239, 79, 63, 0.28);
  box-shadow: 0 28px 82px rgba(45, 56, 78, 0.18);
}

.tool-card p,
.workflow-step p,
.privacy-copy p,
.cta-content p,
.site-footer span,
.site-footer p {
  color: var(--muted);
  line-height: 1.62;
}

.tool-card p,
.workflow-step p {
  margin: 12px 0 0;
}

.tool-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(239, 79, 63, 0.14), rgba(42, 167, 184, 0.13)),
    #fff;
}

.tool-icon::before,
.tool-icon::after {
  content: "";
  position: absolute;
  border-color: var(--coral);
}

.merge::before,
.split::before,
.extract::before,
.compress::before,
.image::before,
.scan::before,
.edit::before,
.share::before {
  width: 20px;
  height: 25px;
  border: 2px solid var(--coral);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.6);
}

.merge::after {
  width: 18px;
  height: 2px;
  background: var(--aqua);
  box-shadow: 0 7px 0 var(--aqua), 0 -7px 0 var(--aqua);
}

.split::after {
  width: 2px;
  height: 24px;
  background: var(--aqua);
}

.extract::after {
  width: 14px;
  height: 14px;
  border: 2px solid var(--aqua);
  border-top: 0;
  border-left: 0;
  transform: rotate(-45deg);
}

.compress::after {
  width: 24px;
  height: 2px;
  background: var(--aqua);
  box-shadow: 0 -7px 0 -1px var(--aqua), 0 7px 0 -1px var(--aqua);
}

.lock::before {
  width: 21px;
  height: 18px;
  bottom: 12px;
  border: 2px solid var(--coral);
  border-radius: 5px;
}

.lock::after {
  width: 16px;
  height: 14px;
  top: 11px;
  border: 2px solid var(--aqua);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.image::after {
  width: 18px;
  height: 12px;
  border: 2px solid var(--aqua);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

.scan::after {
  width: 25px;
  height: 2px;
  background: var(--aqua);
  box-shadow: 0 8px 0 var(--aqua);
}

.edit::after {
  width: 25px;
  height: 3px;
  background: var(--aqua);
  transform: rotate(-36deg);
}

.sign::before {
  width: 27px;
  height: 16px;
  border: 0;
  border-bottom: 3px solid var(--coral);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.sign::after {
  width: 24px;
  height: 2px;
  background: var(--aqua);
  bottom: 13px;
}

.share::after {
  width: 17px;
  height: 17px;
  border: 2px solid var(--aqua);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.privacy-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(244, 250, 251, 0.92)),
    linear-gradient(110deg, rgba(42, 167, 184, 0.13), rgba(239, 79, 63, 0.1));
}

.privacy-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 7vw, 94px);
}

.privacy-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.privacy-art {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  justify-items: end;
}

.privacy-art::before {
  content: "";
  position: absolute;
  inset: 8% -10% 8% 8%;
  border-radius: 48px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42)),
    linear-gradient(125deg, rgba(42, 167, 184, 0.13), rgba(239, 79, 63, 0.13));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 28px 80px rgba(38, 55, 84, 0.14);
}

.privacy-shot {
  position: relative;
  z-index: 2;
  width: min(420px, 76vw);
  object-fit: cover;
  object-position: center top;
  border: 10px solid #ff662b;
  transform: translate3d(0, calc(var(--privacy-shift, 0px) * 0.1), 0) rotate(3deg);
}

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

.workflow-step {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border-radius: 26px;
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--coral-deep);
  font-size: 0.9rem;
  font-weight: 880;
}

.gallery-section {
  overflow: hidden;
}

.gallery-track {
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: start;
  gap: clamp(16px, 3vw, 30px);
}

.gallery-shot {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  background: #fffdf6;
  transform: translate3d(0, calc(var(--gallery-shift, 0px) * var(--depth, 0)), 0);
}

.gallery-shot:nth-child(2),
.gallery-shot:nth-child(4) {
  margin-top: 54px;
}

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

.cta-content {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  padding: clamp(36px, 7vw, 78px);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    linear-gradient(115deg, rgba(42, 167, 184, 0.12), rgba(239, 79, 63, 0.13));
}

.cta-content > img {
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(239, 79, 63, 0.22);
}

.cta-content h2 {
  max-width: 710px;
  margin-bottom: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: start;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  font-weight: 850;
}

.site-footer span {
  margin-top: 4px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #3f4653;
  font-weight: 680;
}

.footer-links a:hover {
  color: var(--coral-deep);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 680ms ease;
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .hero-shell,
  .privacy-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .privacy-copy {
    text-align: center;
  }

  .hero-subtitle,
  .privacy-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .orbital-preview {
    min-height: 650px;
  }

  .privacy-art {
    min-height: 500px;
    justify-items: center;
  }

  .privacy-shot {
    width: min(400px, 72vw);
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 8px;
    width: min(100% - 18px, 560px);
  }

  .nav-links {
    display: none;
  }

  .hero-shell,
  .section,
  .privacy-shell,
  .feature-band,
  .site-footer {
    width: min(100% - 28px, 560px);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.05rem);
  }

  .orbital-preview {
    min-height: 540px;
  }

  .hero-card-main {
    right: 0;
    width: min(300px, 74vw);
  }

  .hero-card-back {
    left: -12px;
    width: min(250px, 58vw);
  }

  .hero-logo {
    left: 5%;
    width: 82px;
  }

  .tool-grid,
  .workflow,
  .gallery-track {
    grid-template-columns: 1fr;
  }

  .tool-card,
  .workflow-step {
    min-height: auto;
  }

  .privacy-art {
    min-height: auto;
  }

  .privacy-shot {
    width: min(330px, 82vw);
    border-width: 7px;
  }

  .gallery-shot:nth-child(2),
  .gallery-shot:nth-child(4) {
    margin-top: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
