:root {
  --bg-900: #020611;
  --bg-850: #071227;
  --bg-800: #0b1b39;
  --glass-bg: rgba(10, 22, 50, 0.62);
  --glass-bg-strong: rgba(9, 20, 44, 0.82);
  --glass-line: rgba(149, 205, 255, 0.26);
  --glass-line-strong: rgba(153, 215, 255, 0.42);
  --text: #ecf5ff;
  --muted: #9eb4d5;
  --primary-start: #0ea5e9;
  --primary-end: #2563eb;
  --primary-soft: rgba(14, 165, 233, 0.22);
  --shadow-lg: 0 28px 80px rgba(3, 8, 18, 0.65);
  --shadow-md: 0 16px 40px rgba(5, 11, 26, 0.55);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(1000px 560px at 12% -12%, rgba(14, 165, 233, 0.22), transparent 64%),
    radial-gradient(820px 460px at 96% 4%, rgba(37, 99, 235, 0.28), transparent 70%),
    linear-gradient(180deg, var(--bg-850) 0%, var(--bg-900) 60%, #01040b 100%);
}

h1,
h2,
h3,
strong {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
}

p {
  margin: 0;
}

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

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

.container {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bg-layer,
.bg-grid,
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

.bg-layer {
  z-index: -4;
  will-change: transform;
}

.bg-layer--one {
  background: radial-gradient(540px 540px at 8% 18%, rgba(14, 165, 233, 0.24), transparent 72%);
}

.bg-layer--two {
  background: radial-gradient(760px 640px at 88% 14%, rgba(37, 99, 235, 0.26), transparent 70%);
}

.bg-layer--three {
  background: radial-gradient(620px 620px at 45% 95%, rgba(30, 128, 255, 0.2), transparent 74%);
}

.bg-grid {
  z-index: -3;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(140, 202, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 202, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

.bg-particles {
  z-index: -2;
  overflow: hidden;
}

.bg-particles span {
  position: absolute;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 232, 255, 0.95), rgba(14, 165, 233, 0.35));
  opacity: 0.26;
  filter: blur(0.2px);
  animation: particleFloat linear infinite;
}

.bg-particles span:nth-child(1) {
  left: 8%;
  top: 18%;
  animation-duration: 13s;
}
.bg-particles span:nth-child(2) {
  left: 18%;
  top: 64%;
  animation-duration: 16s;
}
.bg-particles span:nth-child(3) {
  left: 24%;
  top: 28%;
  animation-duration: 12s;
}
.bg-particles span:nth-child(4) {
  left: 38%;
  top: 12%;
  animation-duration: 17s;
}
.bg-particles span:nth-child(5) {
  left: 44%;
  top: 74%;
  animation-duration: 14s;
}
.bg-particles span:nth-child(6) {
  left: 56%;
  top: 30%;
  animation-duration: 15s;
}
.bg-particles span:nth-child(7) {
  left: 62%;
  top: 62%;
  animation-duration: 18s;
}
.bg-particles span:nth-child(8) {
  left: 71%;
  top: 16%;
  animation-duration: 13s;
}
.bg-particles span:nth-child(9) {
  left: 78%;
  top: 50%;
  animation-duration: 16s;
}
.bg-particles span:nth-child(10) {
  left: 84%;
  top: 78%;
  animation-duration: 14s;
}
.bg-particles span:nth-child(11) {
  left: 91%;
  top: 33%;
  animation-duration: 15s;
}
.bg-particles span:nth-child(12) {
  left: 14%;
  top: 84%;
  animation-duration: 17s;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 40;
  margin: 12px auto 0;
  width: min(1240px, calc(100% - 24px));
  border-radius: 20px;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-inline: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.28);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a {
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgba(143, 212, 255, 0.5);
}

.section {
  padding: clamp(54px, 7vw, 98px) 0;
}

.hero {
  padding-top: clamp(70px, 10vw, 130px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(14, 165, 233, 0.1);
  color: #99dcff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.6px;
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: 14px;
  font-size: clamp(19px, 2.3vw, 26px);
  color: #b8d8ff;
  letter-spacing: 0.2px;
}

.hero-text {
  margin-top: 16px;
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    opacity 0.24s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: translateX(-140%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(140%);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn--primary {
  color: #eaf8ff;
  border-color: rgba(118, 201, 255, 0.38);
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  box-shadow:
    0 14px 34px rgba(37, 99, 235, 0.42),
    0 0 36px rgba(14, 165, 233, 0.28);
}

.btn--primary:hover {
  box-shadow:
    0 18px 44px rgba(37, 99, 235, 0.5),
    0 0 42px rgba(14, 165, 233, 0.36);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--glass-line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(176, 225, 255, 0.64);
  box-shadow: 0 10px 30px rgba(13, 24, 52, 0.52);
}

.btn--small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}

.btn--wide {
  width: 100%;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.hero-mockup {
  display: flex;
  justify-content: center;
}

.device {
  width: min(400px, 100%);
  border-radius: 34px;
  padding: 16px;
  background:
    linear-gradient(150deg, rgba(12, 24, 55, 0.88), rgba(8, 17, 37, 0.92)),
    var(--glass-bg-strong);
  border: 1px solid rgba(162, 214, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cde8ff;
  margin-bottom: 14px;
  font-size: 14px;
}

.online-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d2f0ff, #0ea5e9 60%);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.9);
}

.device-pill {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: rgba(219, 238, 255, 0.34);
}

.bubble {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 10px;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.bubble--in {
  background: rgba(255, 255, 255, 0.08);
}

.bubble--out {
  margin-left: auto;
  color: #f0f8ff;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.55), rgba(37, 99, 235, 0.62));
}

.message-card {
  margin-top: 8px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid rgba(152, 213, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
}

.message-thumb {
  width: 64px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.68), rgba(37, 99, 235, 0.7));
  box-shadow: inset 0 0 20px rgba(220, 239, 255, 0.24);
}

.message-card strong {
  font-size: 13px;
}

.message-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.composer {
  margin-top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(153, 213, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a9c1de;
  font-size: 13px;
}

.send-dot {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-start), var(--primary-end));
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.6);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(170, 223, 255, 0.54);
  box-shadow:
    0 20px 48px rgba(4, 12, 28, 0.64),
    0 0 36px rgba(14, 165, 233, 0.2);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 24px;
  background: linear-gradient(140deg, rgba(14, 165, 233, 0.28), rgba(37, 99, 235, 0.28));
  border: 1px solid rgba(148, 211, 255, 0.3);
  box-shadow: inset 0 0 20px rgba(181, 227, 255, 0.2);
}

.feature-card h3 {
  margin-top: 14px;
  font-size: 24px;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.creator-card {
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 34px);
  align-items: start;
}

.creator-photo {
  width: min(200px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 1px solid rgba(163, 217, 255, 0.4);
  background:
    radial-gradient(circle at 18% 18%, rgba(203, 234, 255, 0.7), transparent 42%),
    linear-gradient(150deg, rgba(14, 165, 233, 0.58), rgba(37, 99, 235, 0.64));
  box-shadow:
    inset 0 0 24px rgba(227, 243, 255, 0.24),
    0 16px 36px rgba(5, 14, 31, 0.58);
  color: #dff0ff;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.creator-photo--image {
  background-image:
    url("assets/creator-sanchoz.jpg"),
    radial-gradient(circle at 18% 18%, rgba(203, 234, 255, 0.7), transparent 42%),
    linear-gradient(150deg, rgba(14, 165, 233, 0.58), rgba(37, 99, 235, 0.64));
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.creator-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.creator-name {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
}

.creator-role {
  margin-top: 6px;
  color: #b8d8ff;
  font-weight: 700;
}

.creator-text {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 18px;
}

.section--download {
  padding-top: 36px;
}

.download-card {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  background:
    radial-gradient(560px 220px at -6% 110%, rgba(14, 165, 233, 0.18), transparent 58%),
    linear-gradient(160deg, rgba(12, 22, 49, 0.9), rgba(8, 16, 35, 0.95));
}

.download-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.download-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.download-meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.download-meta li {
  border-radius: 14px;
  border: 1px solid rgba(152, 212, 255, 0.26);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.download-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.download-meta strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.download-actions {
  width: min(410px, 100%);
  display: grid;
  gap: 10px;
}

.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(141, 206, 255, 0.2);
  padding: 20px 0 34px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  color: var(--text);
}

.footer-brand span {
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a:hover {
  color: #c4e5ff;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
}

.reveal {
  will-change: transform, opacity;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

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

@keyframes particleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.24;
  }
  80% {
    opacity: 0.24;
  }
  100% {
    transform: translate3d(0, -65px, 0) scale(1.05);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .creator-card,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
  }

  .download-card {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(1180px, calc(100% - 30px));
  }

  .section {
    padding: 44px 0;
  }

  .site-header {
    top: 8px;
    margin-top: 10px;
  }

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

  .brand {
    font-size: 20px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

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

  .creator-card {
    display: block;
  }

  .creator-photo {
    margin-bottom: 20px;
    width: 160px;
    border-radius: 20px;
  }

  .download-meta {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    min-height: 50px;
  }

  .header-inner {
    padding-inline: 10px;
  }

  .site-header .btn--small {
    display: none;
  }
}

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

  .bg-particles span,
  .btn,
  .feature-card,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}
