/* Home — marketing page built from real app screenshots */
.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* ---------- Hero ---------- */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.home-tag,
.home-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f97316;
  margin-bottom: 14px;
}

.home-title {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.home-grad {
  background: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 35%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-sub {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: #a1a1aa;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.home-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.home-cta-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 38px rgba(249, 115, 22, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-cta-small {
  margin-top: 22px;
  font-size: 15px;
  padding: 12px 22px;
}

.home-cta-secondary {
  display: inline-flex;
  align-items: center;
  border: 1px solid #3f3f46;
  color: #e4e4e7;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.home-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #52525b;
}

.home-trial-line {
  font-size: 14px;
  color: #71717a;
  margin: 0 0 22px;
}

.home-trial-line strong { color: #e4e4e7; }

.home-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: #a1a1aa;
}

.home-checks li::before {
  content: '✓';
  margin-right: 6px;
  color: #a78bfa;
  font-weight: 800;
}

/* ---------- Screenshot frames ---------- */
.home-hero-visual {
  position: relative;
  padding: 24px 0 56px;
}

.home-glow {
  position: absolute;
  inset: -10% -6% 0 -6%;
  background:
    radial-gradient(60% 55% at 60% 40%, rgba(139, 92, 246, 0.35), transparent 70%),
    radial-gradient(40% 40% at 25% 80%, rgba(249, 115, 22, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.app-frame {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #151520;
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 60px rgba(139, 92, 246, 0.12);
}

.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.app-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: linear-gradient(#1f1f2c, #1a1a25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f3f46;
}

.app-frame-bar i:nth-child(1) { background: #f87171; }
.app-frame-bar i:nth-child(2) { background: #fbbf24; }
.app-frame-bar i:nth-child(3) { background: #4ade80; }

.app-frame-bar span {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #71717a;
  letter-spacing: 0.02em;
}

.app-frame-tilt {
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: left center;
  transition: transform 0.5s ease;
}

.home-hero-visual:hover .app-frame-tilt {
  transform: perspective(1600px) rotateY(-4deg) rotateX(1deg);
}

.app-float {
  position: absolute;
  margin: 0;
  right: -18px;
  bottom: 0;
  width: 46%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(96, 165, 250, 0.25);
}

.app-float img {
  display: block;
  width: 100%;
  height: auto;
}

.home-chip {
  position: absolute;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #ede9fe;
  background: rgba(30, 27, 46, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.home-chip-a { top: 4px; left: 18px; }
.home-chip-b { bottom: 70px; left: -14px; }

/* ---------- Stat strip ---------- */
.home-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 96px;
  border: 1px solid #27272a;
  border-radius: 14px;
  background: linear-gradient(135deg, #18181f, #15151b);
  overflow: hidden;
}

.home-strip div {
  padding: 20px 22px;
  border-right: 1px solid #27272a;
}

.home-strip div:last-child { border-right: 0; }

.home-strip strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-strip span {
  font-size: 13px;
  color: #71717a;
}

/* ---------- Feature rows ---------- */
.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 110px;
  scroll-margin-top: 90px;
}

.home-feature-flip .app-frame { order: 2; }

.home-feature-text h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-feature-text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: #a1a1aa;
}

.home-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: #d4d4d8;
}

.home-feature-text .home-list li {
  padding-left: 22px;
  position: relative;
}

.home-feature-text .home-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #f97316);
}

/* ---------- Pricing ---------- */
.home-section-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-section-sub {
  margin: 0 0 36px;
  text-align: center;
  color: #a1a1aa;
}

.home-plans {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 96px;
}

.home-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 16px;
  background: #18181f;
  border: 1px solid #27272a;
}

.home-plan-best {
  padding: 36px 28px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(249, 115, 22, 0.14), transparent 60%),
    linear-gradient(160deg, #1f1a2e, #17151f);
  border: 1px solid rgba(249, 115, 22, 0.6);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.15), 0 0 0 4px rgba(249, 115, 22, 0.06);
}

.home-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.home-plan-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.home-plan-best .home-plan-name { color: #fdba74; }

.home-plan-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.home-plan-price small {
  font-size: 18px;
  font-weight: 600;
  color: #a1a1aa;
}

.home-plan-soon { color: #71717a; }

.home-plan-note {
  margin: -6px 0 0;
  font-size: 13px;
  color: #a1a1aa;
}

.home-plan .home-list li::before {
  content: '✓';
  margin-right: 8px;
  color: #a78bfa;
  font-weight: 800;
}

.home-plan-best .home-list li::before { color: #fb923c; }

.home-plan-btn {
  margin-top: 6px;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #3f3f46;
  color: #e4e4e7;
  text-decoration: none;
  font-weight: 700;
}

.home-plan-btn:hover { background: rgba(255, 255, 255, 0.05); }

.home-plan-cta {
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- Final CTA ---------- */
.home-final {
  text-align: center;
  padding: 56px 24px;
  border-radius: 20px;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    linear-gradient(160deg, #1c1830, #141419);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.home-final h2 {
  margin: 0 0 24px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-final .home-trial-line { margin: 14px 0 0; }

/* ---------- "Send to desktop" (phones only) ---------- */
.home-desktop-link {
  display: none;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 820px) and (pointer: coarse) {
  .home-desktop-link { display: block; }
}

.home-desktop-link-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #e4e4e7;
}

.home-desktop-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-desktop-link-row input {
  flex: 1 1 140px;
  width: 140px;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #52525b;
  background: #18181b;
  color: #fff;
  font-size: 16px;
}

.home-desktop-link-row button {
  flex: 1 0 auto;
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.home-desktop-link-alt {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 13px;
}

.home-desktop-link-alt button {
  background: none;
  border: none;
  padding: 0;
  color: #a1a1aa;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

.home-desktop-link-alt span { color: #94e2d5; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .home-hero,
  .home-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-hero-visual { order: -1; padding-bottom: 40px; }
  .app-frame-tilt,
  .home-hero-visual:hover .app-frame-tilt { transform: none; }
  .app-float { right: -6px; width: 44%; }
  .home-chip-b { left: 6px; }
  .home-feature-flip .app-frame { order: 0; }
  .home-feature { margin-bottom: 72px; }
  .home-strip { grid-template-columns: repeat(2, 1fr); }
  .home-strip div:nth-child(2) { border-right: 0; }
  .home-strip div:nth-child(-n+2) { border-bottom: 1px solid #27272a; }
  .home-plans { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home { padding: 20px 16px 60px; }
  .home-chip { display: none; }
  .home-cta-primary,
  .home-cta-secondary { width: 100%; box-sizing: border-box; justify-content: center; }
}
