@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  color-scheme: dark;
  --bg: #08080f;
  --text: #eeeeff;
  --muted: rgba(238, 238, 255, 0.5);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Onest', var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

body,
a,
button,
input {
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-glow,
.background-grid {
  position: absolute;
  inset: 0;
}

.background-glow-top {
  background: radial-gradient(ellipse 70% 60% at 60% 0%, rgba(67, 97, 238, 0.18) 0%, transparent 65%);
}

.background-glow-bottom {
  background: radial-gradient(ellipse 50% 50% at 10% 80%, rgba(124, 58, 237, 0.14) 0%, transparent 65%);
}

.background-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 10%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 10%, black 0%, transparent 70%);
}

.section-shell,
.nav-shell {
  width: min(1152px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(8, 8, 15, 0.86), rgba(8, 8, 15, 0));
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  transition: transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.35), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(99, 102, 241, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.nav-button {
  min-width: 68px;
  padding: 12px 19px;
  border-radius: 13px;
  font-size: 0.82rem;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 112px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.hero-copy {
  padding-bottom: 14px;
}

.hero h1,
.section-heading h2,
.security-copy h2,
.cta-card h2 {
  margin: 0;
  font-family: var(--font-display);
  color: #eeeeff;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7vw, 5.7rem);
  font-weight: 800;
  line-height: 1.02;
}

.gradient-text {
  background: linear-gradient(135deg, #6b8eff 0%, #a855f7 50%, #7c3aed 100%);
  background-size: 200% 200%;
  animation: gradient-x 4s ease infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 530px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.hero-button {
  padding: 15px 27px;
  font-size: 0.94rem;
}

.phone-stage {
  display: flex;
  justify-content: flex-end;
  padding-right: 34px;
  perspective: 1000px;
}

.phone-float {
  animation: float-slow 7s ease-in-out infinite;
}

.phone {
  position: relative;
  width: 260px;
  height: 520px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background: linear-gradient(160deg, #12121e 0%, #0e0e1a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateY(-8deg) rotateX(3deg);
}

.phone-shine {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 18, 30, 0.8), transparent);
}

.phone-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
}

.status-icons {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.status-icons i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.62);
}

.status-icons i:nth-child(1) { height: 6px; opacity: 0.55; }
.status-icons i:nth-child(2) { height: 8px; opacity: 0.75; }
.status-icons i:nth-child(3) { height: 10px; }

.status-icons b {
  position: relative;
  display: block;
  width: 14px;
  height: 7px;
  margin: 0 0 1px 3px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
}

.status-icons b::before {
  content: '';
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 70%;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.62);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.chat-head > div:last-child {
  display: grid;
  gap: 2px;
}

.chat-head strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.chat-head small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

.phone-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.message-row {
  display: flex;
  animation: msg-in 0.3s ease both;
}

.message-row:nth-child(1) { animation-delay: 0s; }
.message-row:nth-child(2) { animation-delay: 0.1s; }
.message-row:nth-child(3) { animation-delay: 0.2s; }
.message-row:nth-child(4) { animation-delay: 0.3s; }
.message-row:nth-child(5) { animation-delay: 0.4s; }

.message-row.incoming { justify-content: flex-start; }
.message-row.outgoing { justify-content: flex-end; }

.message-row p {
  max-width: 75%;
  margin: 0;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.4;
}

.message-row.incoming p {
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.07);
}

.message-row.outgoing p {
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, #4361ee, #7c3aed);
}

.message-row time {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  text-align: right;
}

.phone-composer {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 12px 16px;
  background: linear-gradient(to top, #0e0e1a 60%, transparent);
}

.phone-composer > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.phone-composer span {
  flex: 1;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.phone-composer b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7c3aed);
}

.phone-composer svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: white;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-block {
  padding: 128px 0;
}

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

.centered {
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(107, 142, 255, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.security-copy h2,
.cta-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  font-weight: 800;
  line-height: 1.1;
}

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

.feature-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--feature-rgb), 0.26), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 142, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(67, 97, 238, 0.15);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--feature-rgb), 0.19);
  border-radius: 14px;
  background: rgba(var(--feature-rgb), 0.1);
  color: var(--feature-accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: #eeeeff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: rgba(238, 238, 255, 0.45);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
}

.security {
  position: relative;
  overflow: hidden;
}

.security-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.shield-stage {
  display: flex;
  justify-content: center;
}

.shield-float {
  animation: float-med 5s ease-in-out infinite 1s;
}

.shield-wrap {
  position: relative;
  width: 280px;
}

.shield {
  width: 200px;
  height: 220px;
  margin: 0 auto;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-one {
  left: 4%;
  top: 14%;
  background: #4361ee;
  box-shadow: 0 0 12px #4361ee;
  animation: float-slow 6s ease-in-out infinite;
}

.dot-two {
  right: 0;
  top: 55%;
  background: #7c3aed;
  box-shadow: 0 0 12px #7c3aed;
  animation: float-slow 8s ease-in-out infinite 1.5s;
}

.dot-three {
  left: 10%;
  top: 80%;
  background: #0ea5e9;
  box-shadow: 0 0 12px #0ea5e9;
  animation: float-slow 5s ease-in-out infinite 3s;
}

.security-copy h2 {
  margin-bottom: 24px;
}

.security-lead {
  margin: 0 0 28px;
  color: rgba(238, 238, 255, 0.45);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

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

.security-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(238, 238, 255, 0.7);
  font-size: 0.9rem;
}

.security-list span {
  width: 20px;
  height: 20px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.download {
  padding-top: 136px;
  padding-bottom: 136px;
}

.cta-card {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  overflow: hidden;
  padding: 72px 48px;
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
  text-align: center;
}

.cta-highlight {
  position: absolute;
  inset: 0 20% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 142, 255, 0.5), transparent);
}

.cta-card > img {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 18px;
}

.cta-card h2 {
  margin-bottom: 16px;
}

.cta-card p {
  margin: 0 0 40px;
  color: rgba(238, 238, 255, 0.45);
  font-size: 1rem;
  font-weight: 300;
}

.cta-button {
  padding: 16px 30px;
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-shell {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: rgba(238, 238, 255, 0.62);
  font-size: 0.9rem;
}

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

.site-footer p {
  margin: 0;
  color: rgba(238, 238, 255, 0.2);
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.site-footer nav a {
  color: rgba(238, 238, 255, 0.25);
  font-size: 0.8rem;
  transition: color 180ms ease;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}

@keyframes float-med {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-x {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 128px;
  }

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

  .hero-grid {
    gap: 70px;
  }

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

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .phone-stage {
    justify-content: center;
  }

  .phone-stage {
    padding-right: 0;
  }

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

  .security-grid {
    gap: 62px;
  }

  .security-copy {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 32px, 1152px);
  }

  .site-nav {
    display: none;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 86px;
  }

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

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

  .section-block {
    padding: 96px 0;
  }

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

  .feature-card {
    min-height: 0;
  }

  .shield-wrap {
    width: 250px;
  }

  .cta-card {
    width: min(100% - 32px, 760px);
    padding: 56px 24px;
    border-radius: 30px;
  }

  .footer-shell {
    min-height: 0;
    padding: 36px 0;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .phone {
    width: 236px;
    height: 486px;
  }

  .hero-button,
  .cta-button {
    width: 100%;
  }

  .cta-card {
    padding-inline: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
