/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 100px 24px 60px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: var(--accent);
  top: -160px;
  left: -160px;
}
.hero-blob-2 {
  width: 420px;
  height: 420px;
  background: var(--accent-2);
  top: 40px;
  right: -140px;
  animation-delay: -6s;
}
.hero-eyebrow {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- hero mockup stage ---- */
.hero-stage {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-switch {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  z-index: 5;
}
.mockup-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.mockup-switch button.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(139, 92, 246, 0.7);
}

.mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.mockup.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* phone mockup (bio) */
.phone-shell {
  width: 250px;
  height: 470px;
  border-radius: 38px;
  background: #111018;
  border: 6px solid #1d1c28;
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  padding: 16px 14px;
  animation: float 7s ease-in-out infinite;
  --r: -3deg;
}
.phone-shell::before {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  background: #2b2a38;
  border-radius: var(--radius-pill);
  margin: 0 auto 14px;
}
.phone-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-vivid);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.phone-shell h4 {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.phone-shell .ptag {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.phone-link {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.78rem;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.6s var(--ease) both;
}
.phone-link:nth-child(4) { animation-delay: 0.1s; }
.phone-link:nth-child(5) { animation-delay: 0.2s; }
.phone-link:nth-child(6) { animation-delay: 0.3s; }

/* browser mockup (website) */
.browser-shell {
  width: 400px;
  height: 320px;
  border-radius: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  overflow: hidden;
  animation: float 8s ease-in-out infinite;
  --r: 2deg;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.browser-url {
  margin-left: 8px;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.65rem;
  color: var(--text-faint);
}
.browser-body {
  padding: 22px 24px;
}
.browser-body .b-hero-title {
  height: 14px;
  width: 70%;
  border-radius: 4px;
  background: var(--gradient);
  margin-bottom: 10px;
}
.browser-body .b-line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-strong);
  margin-bottom: 8px;
}
.browser-body .b-line.short { width: 55%; }
.browser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.browser-cards div {
  height: 54px;
  border-radius: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  animation: fadeInUp 0.6s var(--ease) both;
}
.browser-cards div:nth-child(1) { animation-delay: 0.1s; }
.browser-cards div:nth-child(2) { animation-delay: 0.2s; }
.browser-cards div:nth-child(3) { animation-delay: 0.3s; }

/* ===== Logos / trust strip removed content spacing ===== */
.section {
  padding: 90px 24px;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
.section-eyebrow {
  display: inline-block;
  color: var(--accent-3);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* ===== Features grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ===== How it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  text-align: center;
  padding: 0 12px;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-3);
  margin: 0 auto 18px;
  position: relative;
}
.step-num::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
  display: none;
}
@media (min-width: 900px) {
  .step:not(:last-child) .step-num::after { display: block; }
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.88rem;
}

/* ===== Modes comparison ===== */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.mode-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.mode-card .pill-badge {
  margin-bottom: 18px;
}
.mode-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.mode-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mode-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.mode-card li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== CTA banner ===== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-vivid);
  opacity: 0.14;
  z-index: 0;
}
.cta-banner > * {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.cta-banner p {
  max-width: 460px;
  margin: 0 auto 28px;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-stage { height: 380px; margin-top: 20px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .modes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .browser-shell { width: 300px; height: 260px; }
  .browser-cards { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 120px; }
}
