/* =========================================================
   Lawnch — premium dark theme
   ========================================================= */

:root {
  --ink: #070707;
  --paper: #efefef;
  --mute: #a1a1a1;
  --line: #2a2a2a;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 240ms ease, color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(239, 239, 239, 0.85);
  color: var(--paper);
}

.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 32px -6px rgba(239, 239, 239, 0.35);
}

.btn-solid {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  font-weight: 500;
}

.btn-solid:hover {
  background: transparent;
  color: var(--paper);
}

/* ---------- Section labels ---------- */
.label {
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
  color: var(--paper);
}

/* =========================================================
   HERO — center stage with curved horizon glow
   ========================================================= */

.hero {
  min-height: 100vh;
  padding-bottom: 220px;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(60, 60, 60, 0.35) 0%, transparent 60%);
}

.hero-curve {
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  width: 130%;
  height: 140px;
  pointer-events: none;
  z-index: 1;
  display: block;
}

/* =========================================================
   Section radial gradients (problema / solução / diferencial)
   Top of section keeps fully ink so the hero curve blends seamlessly.
   ========================================================= */

.section-radial {
  background: radial-gradient(ellipse 70% 90% at 50% 60%, rgba(60, 60, 60, 0.55) 0%, rgba(30, 30, 30, 0.35) 30%, rgba(15, 15, 15, 0.15) 60%, var(--ink) 90%);
  position: relative;
}

.section-radial-offset {
  background: radial-gradient(ellipse 45% 65% at 78% 55%, rgba(60, 60, 60, 0.5) 0%, rgba(30, 30, 30, 0.3) 30%, rgba(15, 15, 15, 0.12) 60%, var(--ink) 90%);
  position: relative;
}

/* =========================================================
   Macbook mockup — clipped frame revealing the screen area
   ========================================================= */

.macbook-stage {
  width: 100%;
  max-width: 1200px;
  margin: -40px auto 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200 / 614;
}

.macbook-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -12.7%;
  user-select: none;
  pointer-events: none;
}

.macbook-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--ink) 90%);
  pointer-events: none;
}

/* =========================================================
   Service cards
   ========================================================= */

.service-card {
  position: relative;
  border: 1px solid rgba(239, 239, 239, 0.85);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  min-height: 400px;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  transition: transform 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(239, 239, 239, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--paper);
  box-shadow: 0 30px 80px -40px rgba(239, 239, 239, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .pill {
  border: 1px solid rgba(239, 239, 239, 0.85);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.service-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  max-width: 16ch;
}

.service-card .desc {
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--paper);
  max-width: 28ch;
  line-height: 1.35;
}

/* =========================================================
   Star vector subtle glow
   ========================================================= */

.star-glow {
  filter: drop-shadow(0 0 40px rgba(239, 239, 239, 0.18));
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 40px rgba(239, 239, 239, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 60px rgba(239, 239, 239, 0.32));
  }
}

/* =========================================================
   Mobile timeline
   ========================================================= */

.timeline-step {
  position: relative;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--paper);
}

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .star-glow {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Small responsive tweaks
   ========================================================= */

@media (max-width: 640px) {
  .hero {
    padding-bottom: 160px;
  }
  .hero-curve {
    height: 90px;
    bottom: -30px;
    width: 160%;
  }
  .macbook-stage {
    margin-top: -20px;
  }
  .service-card {
    min-height: auto;
    padding: 2rem 1.5rem;
  }
}
