:root {
  --bg: #070F24;
  --surface: #0D1733;
  --surface-2: #101C3C;
  --blue: #0294FD;
  --blue-2: #0170F5;
  --deep-blue: #002E97;
  --white: #F8FAFD;
  --muted: #9BA9C7;
  --line: rgba(248, 250, 253, .10);
  --shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

/* Header & Navigation (Mobile-First) */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 15, 36, .85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.brand b,
.brand span>span {
  color: var(--blue);
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.menu-toggle {
  display: block;
  background: none;
  color: white;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.nav-links.open {
  display: flex;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  display: inline-block;
  text-align: center;
  padding: 10px 17px;
  border: 1px solid rgba(2, 148, 253, .45);
  border-radius: 10px;
  color: var(--white);
  background: rgba(2, 148, 253, .10);
}

/* Hero Section (Mobile First) */
.hero {
  padding: 100px 0 60px;
  position: relative;
  background:
    radial-gradient(circle at 50% 20%, rgba(2, 148, 253, .16), transparent 40%),
    radial-gradient(circle at 18% 30%, rgba(0, 46, 151, .15), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #91bde0;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 11px;
  font-weight: 700;
}

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

h1 {
  margin: 15px 0;
  font-size: clamp(38px, 8vw, 76px);
  line-height: 1.05;
  letter-spacing: -2px;
}

h1 em,
h2 span,
h2 em {
  color: var(--blue);
  font-style: normal;
}

.hero-text {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 25px 0;
}

.btn {
  padding: 13px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #021126;
  box-shadow: 0 12px 30px rgba(2, 148, 253, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(2, 148, 253, .3);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .06);
}

.platform-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #637392;
  font-size: 12px;
}

.platforms-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  color: #aeb9ce;
}

.platforms-mini b {
  color: #3d4a68;
}

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

.glow-one {
  width: 200px;
  height: 200px;
  right: 5%;
  top: 10%;
  background: rgba(2, 148, 253, .08);
}

.glow-two {
  width: 200px;
  height: 200px;
  left: -50px;
  bottom: 5%;
  background: rgba(0, 46, 151, .14);
}

/* Demo App Section */
.clipboard-demo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 10px;
}

.clipboard-window {
  width: 100%;
  max-width: 450px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: rgba(13, 23, 51, .95);
  border: 1px solid rgba(248, 250, 253, .12);
  box-shadow: var(--shadow), 0 0 80px rgba(2, 148, 253, .10);
}

.window-top {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42506c;
}

.window-top>span {
  margin: auto;
  font-size: 12px;
  color: #8492ae;
  font-weight: 600;
}

.search-btn {
  background: none;
  border: 0;
  color: #8795b1;
  font-size: 18px;
  cursor: pointer;
}

.window-body {
  padding: 16px;
}

.window-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.window-heading small {
  color: #657594;
  letter-spacing: 1.5px;
  font-size: 9px;
  font-weight: 700;
}

.window-heading h3 {
  margin: 1px 0 0;
  font-size: 17px;
}

.count {
  font-size: 10px;
  color: #667592;
}

.clip-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.clip-card.active {
  border-color: rgba(2, 148, 253, .3);
  background: rgba(2, 148, 253, .07);
}

.clip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.clip-icon.blue {
  background: rgba(2, 148, 253, .16);
  color: var(--blue);
}

.clip-icon.purple {
  background: rgba(120, 100, 255, .13);
  color: #9b8fff;
}

.clip-icon.green {
  background: rgba(70, 190, 135, .12);
  color: #67d6a1;
}

.clip-content {
  min-width: 0;
  flex: 1;
}

.clip-content strong,
.clip-content p,
.clip-content small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-content strong {
  font-size: 12px;
}

.clip-content p {
  margin: 1px 0;
  color: #8d9ab5;
  font-size: 10px;
}

.clip-content small {
  color: #53617c;
  font-size: 8px;
}

.copy-chip {
  border: 0;
  border-radius: 6px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, .06);
  color: #9aa8c3;
  font-size: 9px;
  cursor: pointer;
}

.copy-chip:hover {
  background: rgba(2, 148, 253, .18);
  color: var(--white);
}

.sync-badge {
  text-align: center;
  margin: 12px 0 2px;
  font-size: 9px;
  color: #7690ae;
}

.sync-badge span {
  color: #5bd69b;
  margin-right: 5px;
}

.orbit {
  display: none;
}

.floating-device {
  display: none;
}

/* Trust Strip */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .018);
  padding: 24px 0;
}

.trust-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.trust-strip p {
  margin: 0;
  color: #52617d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 20px;
  color: #8996af;
  font-weight: 600;
  font-size: 13px;
}

.platform-grid span {
  color: var(--blue);
  margin-right: 6px;
}

/* Section Common */
.section {
  padding: 60px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 35px;
}

.section-heading h2,
.workflow h2,
.cta-box h2 {
  margin: 12px 0;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.section-heading p,
.workflow-copy>p {
  color: var(--muted);
  font-size: 15px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  position: relative;
  overflow: hidden;
}

.feature-card.featured {
  background: linear-gradient(145deg, rgba(2, 148, 253, .11), rgba(255, 255, 255, .025));
  border-color: rgba(2, 148, 253, .25);
}

.feature-number {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #3c4a68;
  font-size: 11px;
  font-weight: 800;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--blue);
  background: rgba(2, 148, 253, .10);
  font-weight: 800;
}

.feature-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.feature-card p {
  color: #7e8ba5;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

/* Workflow Section */
.workflow {
  background: #081229;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.steps {
  margin-top: 25px;
}

.step {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.step b {
  color: var(--blue);
  font-size: 11px;
}

.step strong {
  font-size: 14px;
}

.step p {
  margin: 2px 0 0;
  color: #74819d;
  font-size: 12px;
}

.workflow-art {
  min-height: 260px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.connection-line {
  position: absolute;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2, 148, 253, .6), transparent);
  z-index: 1;
}

.workflow-card {
  position: relative;
  z-index: 2;
  width: 30%;
  max-width: 140px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d1835;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  text-align: center;
}

.workflow-card span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(2, 148, 253, .1);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  margin: 0 auto 8px;
}

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

.workflow-card strong {
  font-size: 11px;
}

.workflow-card small {
  color: #6d7b97;
  font-size: 8px;
  margin-top: 2px;
}

.card-center {
  border-color: rgba(2, 148, 253, .4);
  box-shadow: 0 0 40px rgba(2, 148, 253, .12);
}

.card-center span {
  background: var(--blue);
  color: #041127;
}

/* CTA Box */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 45px 20px;
  border: 1px solid rgba(2, 148, 253, .22);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(2, 148, 253, .08), rgba(13, 23, 51, .95));
}

.cta-glow {
  position: absolute;
  width: 300px;
  height: 200px;
  border-radius: 50%;
  background: rgba(2, 148, 253, .12);
  filter: blur(80px);
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
}

.cta-box>*:not(.cta-glow) {
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: #8b98b2;
  font-size: 14px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.download-btn {
  width: 100%;
  padding: 12px 15px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  transition: transform .2s, border-color .2s;
}

.download-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 148, 253, .4);
  background: rgba(2, 148, 253, .08);
}

.download-btn small,
.download-btn strong {
  display: block;
}

.download-btn small {
  color: #697794;
  font-size: 8px;
}

.download-btn strong {
  font-size: 13px;
}

.fine-print {
  font-size: 10px;
  margin-top: 20px;
  color: #4f5e7b;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-inner p,
.copyright {
  margin: 0;
  color: #52607b;
  font-size: 11px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #f8fafd;
  color: #071023;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .35);
  transition: opacity .25s, transform .25s;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Media Queries for Tablet/Desktop Enhancement */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .download-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .download-btn {
    width: auto;
    min-width: 140px;
    text-align: left;
  }
}

@media (min-width: 850px) {
  .nav {
    height: 76px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 30px;
    font-size: 14px;
  }

  .hero {
    padding: 140px 0 90px;
  }

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

  .hero-copy {
    text-align: left;
  }

  .hero-text {
    margin: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .platform-line {
    flex-direction: row;
  }

  .clipboard-window {
    transform: rotate(1.5deg);
  }

  .orbit {
    display: block;
    position: absolute;
    border: 1px solid rgba(2, 148, 253, .13);
    border-radius: 50%;
  }

  .orbit-a {
    width: 500px;
    height: 500px;
  }

  .orbit-b {
    width: 620px;
    height: 620px;
    border-color: rgba(2, 148, 253, .06);
  }

  .floating-device {
    display: block;
    position: absolute;
    z-index: 3;
    width: 100px;
    height: 180px;
    border-radius: 18px;
    border: 5px solid #18264b;
    background: #050b1b;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .4);
    right: -10px;
    bottom: 30px;
    transform: rotate(7deg);
  }

  .device-notch {
    width: 40px;
    height: 8px;
    background: #18264b;
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
  }

  .device-screen {
    margin: 15px 6px;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(145deg, #0c1c3d, #071126);
    height: 130px;
  }

  .device-screen small {
    color: var(--blue);
    font-size: 7px;
    font-weight: 800;
  }

  .device-screen strong {
    display: block;
    margin-top: 18px;
    font-size: 11px;
  }

  .device-screen p {
    font-size: 7px;
    color: #7483a0;
    line-height: 1.4;
  }

  .trust-strip .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center;
  }

  .workflow-card {
    width: 150px;
    max-width: none;
    padding: 18px;
    text-align: left;
  }

  .workflow-card span {
    margin: 0 0 10px;
  }

  .card-left {
    transform: rotate(-5deg);
  }

  .card-right {
    transform: rotate(5deg);
  }

  .footer-inner {
    flex-direction: row;
    text-align: left;
  }

  .copyright {
    margin-left: auto;
  }
}