/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #f5f7fb;
  background: radial-gradient(circle at top left, #1f3b70 0, #050814 55%, #02030a 100%);
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.page-wrap {
  min-height: 100vh;
  padding: 32px clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  color: #e5ecff;
}

.tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 10, 30, 0.7);
  backdrop-filter: blur(10px);
}

/* Hero */
.hero {
  flex: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.subheadline {
  font-size: 16px;
  max-width: 420px;
  color: rgba(230, 236, 255, 0.85);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.btn-primary {
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #4f8cff, #7f5dff);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(79, 140, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(79, 140, 255, 0.45);
  filter: brightness(1.05);
}

.cta-note {
  font-size: 12px;
  color: rgba(210, 222, 255, 0.7);
}

/* Teasers */
.teasers {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.teaser-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(220, 230, 255, 0.8);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4f8cff;
}

/* Hero visual / device frame */
.hero-visual {
  display: flex;
  justify-content: center;
}

.device-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  padding: 10px;
  background: radial-gradient(circle at top left, #2a3555, #050814);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Spotlight clarity reveal */
.device-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
  z-index: 3;
}

/* Screenshot layers */
.screenshot-layer {
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.screenshot-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main screenshot: blurred + reduced blue */
.screenshot-main img {
  filter: blur(var(--blur, 6px)) saturate(0.75) hue-rotate(-10deg);
  transform: scale(1.04);
  transition: filter 0.1s ease;
}

/* Secondary screenshot */
.screenshot-secondary {
  inset: 26px 40px 26px 40px;
  opacity: 0.35;
  transform: translateY(10px);
}

.screenshot-secondary img {
  filter: blur(10px) saturate(0.6) hue-rotate(-12deg);
}

/* Overlay text */
.reveal-overlay {
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(5, 10, 30, 0.1), rgba(5, 10, 30, 0.85));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  z-index: 2;
}

.reveal-overlay span {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 236, 255, 0.9);
}

/* Social icons */
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

/* Social icon sweep */
.social-icon::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.social-icon.sweep::after {
  transform: translateX(100%);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 8px;
  font-size: 12px;
  color: rgba(190, 204, 240, 0.7);
}

/* Responsive */
@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-visual {
    order: -1;
  }

  .device-frame {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .page-wrap {
    padding: 20px 18px;
  }

  .top-bar {
    font-size: 13px;
  }

  .subheadline {
    max-width: none;
  }

  .device-frame {
    max-width: 100%;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.logo-img:hover {
  opacity: 1;
}

.prelaunch-note {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  color: #777;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Progress Section */
.progress-wrapper {
    margin-top: 40px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
    opacity: 0.85;
}

.progress-title {
    font-weight: 600;
}

.progress-phase {
    font-weight: 400;
    opacity: 0.75;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4e9cff, #00d4ff);
    border-radius: 8px;
    transition: width 0.6s ease;
}

.progress-percent {
    margin-top: 8px;
    font-size: 0.95rem;
    opacity: 0.75;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.launch-col h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.launch-col p {
  line-height: 1.6;
  opacity: 0.75;
}

/* --- Progress bar compact spacing --- */
.progress-wrapper {
  margin-top: 20px;     /* was 40px */
  margin-bottom: 16px;  /* reduce space below bar */
}

.progress-labels {
  margin-bottom: 6px;   /* tighter label gap */
}

.progress-percent {
  margin-top: 4px;      /* pull percentage closer */
}

/* --- Phase row compact spacing --- */
.prelaunch-note {
  margin-bottom: 16px;  /* tighten space above phase row */
}

.launch-grid {
  margin-top: 20px;     /* was 40px */
  gap: 32px;            /* slightly narrower column spacing */
}
