/* ─────────────────────────────────────────────
   Yoaprendo.ai — Stylesheet
   Fonts: Poppins (headings) · Inter (body) · JetBrains Mono (prompts)
   ───────────────────────────────────────────── */

/* TOKENS */
:root {
  --navy:       #1A3566;
  --navy-dark:  #0D1B2A;
  --teal:       #00C2A8;
  --teal-light: #B3EDE7;
  --gray-bg:    #F4F7FA;
  --mint:       #E8F4F0;
  --body-text:  #1C2B3A;
  --white:      #FFFFFF;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:   12px;
  --radius-lg: 20px;
  --shadow:   0 4px 24px rgba(26,53,102,0.10);
  --shadow-lg: 0 8px 40px rgba(26,53,102,0.14);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: #4A6080;
  margin-bottom: 48px;
  max-width: 560px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover { background: #152c57; border-color: #152c57; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--teal {
  background: var(--teal);
  color: var(--navy-dark);
  border-color: var(--teal);
  font-weight: 700;
}
.btn--teal:hover { background: #00a891; border-color: #00a891; }

.btn--sm { padding: 10px 20px; font-size: 0.88rem; }

/* ─── BADGE ─── */
.badge {
  display: inline-block;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--teal-light);
  margin-bottom: 20px;
}

/* ─── NAV ─── */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(13,27,42,0.18);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-word--light { color: var(--white); }
.logo-word--teal  { color: var(--teal); }

/* ─── HERO ─── */
.hero {
  background: var(--navy);
  padding: 100px 0 96px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__headline {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.hero__proof {
  font-size: 0.85rem;
  color: var(--teal-light);
  opacity: 0.85;
}

/* ─── PAIN ─── */
.pain {
  background: var(--mint);
  padding: 72px 0;
}

.pain__inner { display: flex; justify-content: center; }

.pain__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pain__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.pain__headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.pain__body {
  color: #4A6080;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── PROMPT DEMO ─── */
.prompt-demo {
  background: var(--gray-bg);
  padding: 80px 0;
}

.prompt-demo__inner { max-width: 760px; margin: 0 auto; }
.prompt-demo__inner .section-label,
.prompt-demo__inner .section-title,
.prompt-demo__inner .section-sub {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.prompt-demo__inner .section-sub { margin-bottom: 24px; }

.prompt-block {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  border-left: 4px solid var(--teal);
}

.prompt-block code {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--teal-light);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt-note {
  text-align: center;
  font-size: 0.95rem;
  color: #4A6080;
  font-style: italic;
}

/* ─── PILLARS ─── */
.pillars {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
}

.pillars .section-sub { margin: 0 auto 48px; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}

.pillar-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.pillar-card__icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.pillar-card__body {
  font-size: 0.93rem;
  color: #4A6080;
  line-height: 1.65;
}

/* ─── FOR WHO ─── */
.for-who {
  background: var(--navy);
  padding: 96px 0;
}

.for-who__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.for-who .section-label { color: var(--teal); }
.for-who .section-title { color: var(--white); }

.for-who__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.for-who__list li {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  padding-left: 4px;
}

.for-who__quote {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border-left: 4px solid var(--teal);
}

.for-who__quote blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  font-style: normal;
}

/* ─── PRODUCTS ─── */
.products {
  background: var(--gray-bg);
  padding: 96px 0;
  text-align: center;
}

.products .section-sub { margin: 0 auto 48px; }

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  text-align: left;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__tag {
  display: inline-block;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--teal-light);
  width: fit-content;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.product-card__body {
  font-size: 0.93rem;
  color: #4A6080;
  line-height: 1.65;
  flex: 1;
}

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--navy);
  padding: 96px 0;
  text-align: center;
}

.newsletter__inner { max-width: 600px; margin: 0 auto; }

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.newsletter__sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.newsletter__input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter__input::placeholder { color: rgba(255,255,255,0.42); }
.newsletter__input:focus { border-color: var(--teal); }

.newsletter__disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-dark);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
}

.footer__links a:hover { color: var(--teal); }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .for-who__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pain__card {
    padding: 36px 28px;
  }

  .hero { padding: 72px 0 72px; }

  .pillars, .products, .for-who, .newsletter { padding: 72px 0; }

  .hero__actions { flex-direction: column; align-items: center; }

  .newsletter__form { flex-direction: column; }
  .newsletter__input { min-width: 100%; }
}

@media (max-width: 480px) {
  .prompt-block { padding: 20px 20px; }
  .prompt-block code { font-size: 0.83rem; }
  .for-who__quote { padding: 32px 24px; }
  .pillar-card { padding: 24px 20px; }
  .product-card { padding: 28px 24px; }
}
