/* ===== TURPY'S GUIDE — learn.css ===== */

/* Hero */
.learn-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.learn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(167,198,56,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(124,77,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.learn-hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.learn-hero-img {
  position: relative;
  display: flex;
  justify-content: center;
}
.turpy-teacher {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid rgba(167,198,56,0.4);
  background: rgba(167,198,56,0.05);
  padding: 12px;
  animation: turpyFloat 4s ease-in-out infinite;
}
.turpy-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,198,56,0.15) 0%, transparent 70%);
  animation: turpyFloat 4s ease-in-out infinite reverse;
}
@keyframes turpyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.learn-hero-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #a7c638 50%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.learn-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}

/* Sections */
.learn-section {
  padding: 80px 0;
}
.learn-strains-section {
  background: rgba(255,255,255,0.015);
}

/* ===== BIG 3 CARDS ===== */
.big3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.big3-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.3s, border-color 0.4s, box-shadow 0.4s;
}
.big3-card:hover {
  transform: translateY(-4px);
}

/* THC — Green glow */
.big3-thc { border-color: rgba(167,198,56,0.15); }
.big3-thc:hover { border-color: rgba(167,198,56,0.4); box-shadow: 0 8px 40px rgba(167,198,56,0.1); }
.big3-thc h3 { color: #a7c638; }

/* CBD — Blue glow */
.big3-cbd { border-color: rgba(56,152,198,0.15); }
.big3-cbd:hover { border-color: rgba(56,152,198,0.4); box-shadow: 0 8px 40px rgba(56,152,198,0.1); }
.big3-cbd h3 { color: #42a5f5; }

/* Terpenes — Purple glow */
.big3-terp { border-color: rgba(124,77,255,0.15); }
.big3-terp:hover { border-color: rgba(124,77,255,0.4); box-shadow: 0 8px 40px rgba(124,77,255,0.1); }
.big3-terp h3 { color: #b388ff; }

.big3-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.big3-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.big3-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 20px;
}
.big3-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin: 18px 0 8px;
}
.big3-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* Turpy tip */
.big3-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(167,198,56,0.06);
  border: 1px solid rgba(167,198,56,0.12);
  border-radius: 14px;
}
.tip-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}
.big3-tip span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

/* ===== STRAIN CARDS ===== */
.strain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.strain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.3s, border-color 0.4s, box-shadow 0.4s;
}
.strain-card:hover { transform: translateY(-4px); }

/* Sativa — Orange/Yellow */
.strain-sativa { border-color: rgba(255,152,0,0.15); }
.strain-sativa:hover { border-color: rgba(255,152,0,0.4); box-shadow: 0 8px 40px rgba(255,152,0,0.1); }
.strain-sativa h3 { color: #ffb74d; }
.strain-sativa .strain-nickname { color: #ff9800; }

/* Indica — Purple */
.strain-indica { border-color: rgba(124,77,255,0.15); }
.strain-indica:hover { border-color: rgba(124,77,255,0.4); box-shadow: 0 8px 40px rgba(124,77,255,0.1); }
.strain-indica h3 { color: #b388ff; }
.strain-indica .strain-nickname { color: #7c4dff; }

/* Hybrid — Green */
.strain-hybrid { border-color: rgba(167,198,56,0.15); }
.strain-hybrid:hover { border-color: rgba(167,198,56,0.4); box-shadow: 0 8px 40px rgba(167,198,56,0.1); }
.strain-hybrid h3 { color: #a7c638; }
.strain-hybrid .strain-nickname { color: #66bb6a; }

.strain-header {
  text-align: center;
  margin-bottom: 20px;
}
.strain-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 8px;
}
.strain-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.strain-nickname {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.7;
}
.strain-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.strain-best h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.strain-best ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.strain-best li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.strain-best li:last-child { border: none; }

/* Vibe meter */
.vibe-meter {
  margin-top: 20px;
}
.vibe-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 8px;
}
.vibe-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.vibe-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== GLOSSARY ===== */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.gloss-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform 0.3s, border-color 0.3s;
}
.gloss-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167,198,56,0.25);
}
.gloss-term {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #fff;
}
.gloss-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.gloss-card a {
  color: #a7c638;
  text-decoration: none;
}

/* ===== CTA SECTION ===== */
.learn-cta-section {
  padding: 60px 0 100px;
}
.learn-cta-card {
  display: flex;
  align-items: center;
  gap: 36px;
  background: linear-gradient(135deg, rgba(167,198,56,0.06), rgba(201,168,76,0.04));
  border: 1px solid rgba(167,198,56,0.15);
  border-radius: 24px;
  padding: 48px 44px;
}
.learn-cta-avatar {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(167,198,56,0.3);
  padding: 8px;
  flex-shrink: 0;
}
.learn-cta-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.learn-cta-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  max-width: 500px;
}
.learn-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .learn-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .learn-hero-img { justify-content: center; }
  .learn-hero-sub { margin: 0 auto; }
  .turpy-teacher { width: 140px; height: 140px; }

  .big3-grid,
  .strain-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .glossary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .learn-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .learn-cta-text p { margin: 0 auto 24px; }
  .learn-cta-btns { justify-content: center; }
}

@media (max-width: 500px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }
  .learn-hero { padding: 120px 0 40px; }
}
