/* Homepage-specific styles */

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    padding: 100px 0 80px;
  }
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #060114;
  font-size: 10px;
  font-weight: 700;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .accent {
  background: linear-gradient(
    100deg,
    var(--accent-cyan) 0%,
    var(--accent-violet) 60%,
    var(--galaxy-pink) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-faint);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

/* Phone mockup */
.phone-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stage::before {
  /* atmospheric glow behind phone */
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(0, 212, 255, 0.18) 0%,
      rgba(123, 97, 255, 0.12) 40%,
      transparent 70%
    );
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 78%);
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  background: linear-gradient(150deg, #1a1a26 0%, #08080e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 60px 120px -30px rgba(0, 0, 0, 0.8),
    0 30px 60px -20px rgba(123, 97, 255, 0.25);
  transform: rotate(-3deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% 30%,
      rgba(123, 97, 255, 0.35),
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 70% 80%,
      rgba(0, 212, 255, 0.25),
      transparent 70%
    ),
    linear-gradient(180deg, #0a0420 0%, #050214 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}

/* Inside-phone UI: live stacking acquisition mock */
.phone-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 56px 16px 16px;
  gap: 12px;
  position: relative;
}

.phone-ui-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.9), transparent 50%),
    radial-gradient(1px 1px at 60% 50%, rgba(255, 232, 176, 0.85), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255, 255, 255, 0.7), transparent 50%),
    radial-gradient(1px 1px at 80% 20%, rgba(200, 220, 255, 0.7), transparent 50%),
    radial-gradient(1px 1px at 30% 85%, rgba(255, 255, 255, 0.6), transparent 50%),
    radial-gradient(1px 1px at 75% 75%, rgba(255, 232, 176, 0.7), transparent 50%),
    radial-gradient(1.2px 1.2px at 50% 25%, rgba(255, 255, 255, 0.85), transparent 50%);
  pointer-events: none;
}

.phone-ui-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 232, 176, 0.4),
    rgba(255, 96, 160, 0.2) 50%,
    transparent 75%
  );
  filter: blur(8px);
  top: 38%;
  left: 30%;
}

.phone-ui-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.phone-ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 3px 7px;
  backdrop-filter: blur(8px);
}

.phone-ui-pill .live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.phone-ui-spacer {
  flex: 1;
}

.phone-ui-bottom {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 10px 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-ui-bottom .label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.phone-ui-bottom .label .value {
  color: var(--accent-cyan);
}

.phone-ui-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.phone-ui-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 999px;
}

.phone-ui-shutter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.phone-ui-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-ui-shutter {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

/* Floating badges around phone */
.phone-badge {
  position: absolute;
  z-index: 2;
  background: rgba(8, 4, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.phone-badge.b1 {
  top: 10%;
  left: -2%;
  transform: rotate(-4deg);
}

.phone-badge.b2 {
  bottom: 14%;
  right: -2%;
  transform: rotate(3deg);
}

.phone-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  flex-shrink: 0;
}

.phone-badge.b2 .badge-dot {
  background: var(--galaxy-pink);
  box-shadow: 0 0 8px var(--galaxy-pink);
}

.phone-badge .badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.phone-badge .badge-value {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 640px) {
  .phone-badge {
    display: none;
  }
}

/* Stat strip */
.stat-strip {
  margin-top: 60px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 40px;
  }
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* Features section */
.features-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: transform 240ms ease, border-color 240ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-strong);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.18),
    rgba(123, 97, 255, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 17px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
}

/* Section header layout */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 40px;
  }
}

.section-head .lead {
  max-width: 480px;
}

/* Screenshots */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .shots-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
  .shots-grid .shot:nth-child(1) {
    grid-column: span 3;
  }
  .shots-grid .shot:nth-child(2) {
    grid-column: span 3;
  }
  .shots-grid .shot:nth-child(3) {
    grid-column: span 2;
  }
  .shots-grid .shot:nth-child(4) {
    grid-column: span 2;
  }
  .shots-grid .shot:nth-child(5) {
    grid-column: span 2;
  }
  .shots-grid .shot:nth-child(6) {
    grid-column: span 6;
  }
}

.shot {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0 14px,
      rgba(255, 255, 255, 0) 14px 28px
    ),
    linear-gradient(155deg, #0c0420 0%, #1a0a30 100%);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.shot:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

.shots-grid .shot:nth-child(6) {
  aspect-ratio: 21 / 9;
}

.shot-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
}

.shot-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.shot-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.shot-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Privacy section */
.privacy-block {
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

@media (min-width: 900px) {
  .privacy-block {
    grid-template-columns: 1fr 1fr;
    padding: 64px;
    gap: 48px;
    align-items: center;
  }
}

.privacy-block::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(
    ellipse at center right,
    rgba(0, 212, 255, 0.1),
    transparent 60%
  );
  pointer-events: none;
  border-radius: inherit;
}

.privacy-block > * {
  position: relative;
  z-index: 1;
}

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

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--fg);
}

.privacy-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Audience */
.audience-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.audience-item {
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.audience-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  flex-shrink: 0;
  width: 28px;
  padding-top: 3px;
}

.audience-item p {
  color: var(--fg);
  font-size: 15px;
  line-height: 1.5;
}

/* Final CTA */
.final-cta {
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 96px 32px;
  }
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 50% 100%,
      rgba(123, 97, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(0, 212, 255, 0.15),
      transparent 60%
    );
  pointer-events: none;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .lead {
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
