/* Base */

:root {
  --purple: #5f2bff;
  --purple-dark: #311b92;
  --pink: #ff4fd8;
  --blue: #26a4ff;
  --green: #2ecc71;
  --soft-pink: #ffe9f4;
  --bg-light: #f7f5ff;
  --bg-soft: #fff7fb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --border-subtle: #e5e7eb;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.16);
  --shadow-subtle: 0 16px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

section {
  padding: 72px 0;
}

/* Top bar */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      to bottom,
      rgba(17, 24, 39, 0.25),
      transparent
    ),
    linear-gradient(90deg, #3f1bff, #b12bff);
  color: #f9fafb;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo span {
  color: #ffd54f;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
}

.nav a:hover {
  color: #ffffff;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.link {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-outline {
  background: rgba(15, 23, 42, 0.1);
  color: #f9fafb;
}

/* Hero */

.hero {
  background: linear-gradient(145deg, var(--purple), var(--pink));
  color: #f9fafb;
  padding: 96px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 3.1vw, 3.4rem);
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
}

.hero-text {
  color: #e5e7eb;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.btn-primary {
  background: #ffffff;
  color: var(--purple);
  box-shadow: var(--shadow-subtle);
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f9fafb;
  background: transparent;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.hero-meta {
  font-size: 0.85rem;
  color: #e5e7eb;
  display: flex;
  gap: 0.4rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.mockup-large {
  width: 100%;
  max-width: 440px;
}

.mockup-placeholder {
  border-radius: 18px;
  border: 1px dashed #e5e7eb;
  padding: 70px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Logo stripe */

.stripe {
  background: #ffffff;
}

.stripe-light {
  background: var(--bg-light);
}

.stripe-inner {
  text-align: center;
}

.logo-row {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.logo-pill {
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 0.8rem;
}

/* Feature sections */

.feature {
  position: relative;
}

.feature-pink {
  background: linear-gradient(135deg, #ffedf7, #ffe7ff);
}

.feature-blue {
  background: linear-gradient(135deg, #e6f4ff, #edf7ff);
}

.feature-green {
  background: linear-gradient(135deg, #e4ffe6, #f0fff4);
}

.feature-soft {
  background: var(--bg-soft);
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.feature-copy h2 {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
}

.feature-copy p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  max-width: 32rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list li::before {
  content: "•";
  color: var(--purple);
  font-weight: 700;
  display: inline-block;
  width: 1.1em;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.mockup-tall {
  max-width: 320px;
}

.mockup-wide {
  max-width: 460px;
}

.mockup-stack {
  max-width: 380px;
}

/* Developer section */

.dev {
  background: #050816;
  color: #f9fafb;
}

.dev-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow-muted {
  color: #9ca3af;
}

.dev-copy h2 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-top: 0.4rem;
}

.dev-copy p {
  color: #9ca3af;
  max-width: 30rem;
  margin-bottom: 1.8rem;
}

.code-card {
  background: #020617;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.7);
  padding: 1.5rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  color: #e5e7eb;
}

/* Testimonials */

.testimonials {
  background: #ffffff;
}

.testimonials h2 {
  margin-top: 0.35rem;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: var(--text-main);
}

.testimonial-card p {
  margin-bottom: 1.25rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-meta .name {
  font-weight: 600;
  color: var(--text-main);
}

/* CTA */

.cta {
  background: linear-gradient(145deg, var(--purple-dark), var(--purple));
  color: #f9fafb;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.cta-copy h2 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.cta-copy p {
  color: #e5e7eb;
  max-width: 30rem;
  margin-bottom: 1.4rem;
}

.btn-light {
  background: #ffffff;
  color: var(--purple);
  box-shadow: var(--shadow-subtle);
}

/* Footer */

.footer {
  background: #050816;
  color: #e5e7eb;
  padding: 40px 0 48px;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
}

.footer-brand p {
  color: #9ca3af;
  max-width: 16rem;
}

.footer-columns {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.footer-col a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.footer-col a:hover {
  color: #f9fafb;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .feature-inner,
  .dev-inner,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual,
  .feature-visual,
  .cta-visual {
    order: -1;
    justify-content: flex-start;
  }

  .top-bar-inner {
    gap: 1rem;
  }

  .nav {
    display: none; /* quick mobile simplification */
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 80px;
  }

  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-columns {
    flex-wrap: wrap;
  }
}
