/*
 * Home Page
 * Path: /assets/css/pages/home.css
 * Contains homepage-specific styles only.
 */

.hero{padding-top:28px}
.hero-grid{min-height:570px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:48px;padding:58px;background:linear-gradient(135deg,#f1edff 0%,#f7f5ff 48%,#ebe7ff 100%);border-radius:24px}
.eyebrow,.section-tag{display:inline-flex;align-items:center;background:var(--primary);color:#fff;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:7px 12px;border-radius:999px;transform:rotate(-2deg)}
.hero h1,.section-heading h2,.about-copy h2,.testimonial-copy h2,.faq-intro h2{font-family:Manrope,sans-serif;font-weight:800;line-height:1.04;margin:18px 0 20px}
.hero h1{font-size:clamp(44px,5vw,72px)}
.hero h1 span,.section-heading h2 span,.about-copy h2 span,.testimonial-copy h2 span,.faq-intro h2 span{color:var(--primary)}
.hero-copy>p{max-width:560px;color:var(--muted);font-size:16px}
.hero-actions{display:flex;gap:13px;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:8px;font-weight:700;font-size:14px;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-dark));box-shadow:0 9px 22px rgba(47,32,255,.24)}
.btn-light,.btn-soft{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn-soft{border-radius:999px}
.btn-white{background:#fff;color:var(--primary);min-height:38px}
.hero-social{display:flex;align-items:center;gap:13px;margin-top:36px}
.avatar-stack{display:flex}
.avatar-stack span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dcd7ff;border:2px solid #fff;margin-left:-8px;font-size:10px;font-weight:800}
.avatar-stack span:first-child{margin-left:0}
.hero-social strong,.hero-social small{display:block}
.hero-social small{font-size:12px;color:var(--muted)}
.hero-visual{position:relative;min-height:440px}
.hero-blob{position:absolute;inset:20px 15px 10px 35px;border-radius:46% 54% 47% 53% / 46% 44% 56% 54%;background:linear-gradient(135deg,#2a17ff,#866cff);transform:rotate(4deg);padding:20px}
.image-placeholder{display:grid;place-items:center;text-align:center;color:#6a60aa;font-weight:800;letter-spacing:.04em;background:repeating-linear-gradient(135deg,#f0edff,#f0edff 14px,#e6e1ff 14px,#e6e1ff 28px);border:2px dashed #beb4fb}
.image-placeholder.large{height:100%;min-height:380px;border-radius:46% 54% 47% 53% / 46% 44% 56% 54%;transform:rotate(-4deg)}
.floating-card{position:absolute;background:#fff;border-radius:12px;padding:13px 17px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.floating-card strong{color:var(--primary);font-size:23px;line-height:1}
.floating-card span{font-size:11px;margin-top:5px}
.floating-card.students{right:-10px;top:44px}
.floating-card.live{right:24px;bottom:22px;background:var(--primary);color:#fff}
.floating-card.live strong{color:#fff}
.orbit{position:absolute;left:7px;bottom:43px;width:70px;height:70px;border:2px dotted var(--primary);border-radius:50%;display:grid;place-items:center;color:var(--primary);background:#fff}
.partner-strip{margin-top:-35px;position:relative;z-index:3;display:grid;grid-template-columns:repeat(5,1fr);gap:20px;padding:24px 35px;background:linear-gradient(135deg,#3925ff,#4434ba);color:#fff;border-radius:0 0 18px 18px;text-align:center;font-weight:800}

.section-heading.split{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:36px}
.section-heading h2,.about-copy h2,.testimonial-copy h2,.faq-intro h2{font-size:clamp(34px,4vw,54px)}
.heading-copy{max-width:420px;display:flex;align-items:flex-end;gap:25px}
.heading-copy p{margin:0;color:var(--muted);font-size:14px}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.category-card{position:relative;display:flex;align-items:center;gap:14px;padding:18px;background:var(--soft);border-radius:14px;transition:.2s}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.category-icon{width:54px;height:54px;border-radius:13px;display:grid;place-items:center;background:#fff;color:var(--primary);font-weight:800}
.category-card h3{font-size:15px;margin:0 0 4px}
.category-card p{font-size:12px;color:var(--muted);margin:0}
.category-card>a{position:absolute;right:12px;top:10px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-size:12px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.stat-card{padding:24px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;border-radius:12px}
.stat-card strong{display:block;font-size:30px;line-height:1}
.stat-card span{font-size:12px;opacity:.86}

.course-section{background:linear-gradient(180deg,#fff 0%,#fff 20%,#f6f4ff 20%,#f6f4ff 100%)}
.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.course-card{background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 8px 24px rgba(31,25,87,.08);border:1px solid #efedf7}
.course-image{height:190px;position:relative;display:grid;place-items:center;color:#7369a9;font-weight:800;background:linear-gradient(135deg,#d7d0ff,#f0edff);border-bottom:1px solid #e6e2f8}
.course-image b{position:absolute;right:12px;top:12px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff}
.course-body{padding:18px}
.course-body small{color:var(--primary);font-weight:700}
.course-body h3{font-size:16px;margin:8px 0 14px}
.rating{color:#ffb800;font-size:13px}
.rating span{color:var(--muted)}
.course-meta{margin-top:15px;padding-top:13px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:12px}

.promo-grid{display:grid;grid-template-columns:1.4fr .7fr;gap:18px}
.promo-card{min-height:230px;padding:34px;background:linear-gradient(135deg,#1800bd,#3d28ff);color:#fff;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden}
.promo-card h3{font-family:Manrope,sans-serif;font-size:28px;line-height:1.05;margin:0 0 12px}
.promo-card p{font-size:13px;opacity:.82}
.promo-card .small{width:250px;height:190px;border-color:rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.10);border-radius:80px 80px 15px 15px}
.promo-card.compact{background:linear-gradient(135deg,#4e2fff,#2816df)}
.promo-card .mini{width:100px;height:160px;color:#fff;border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.10);border-radius:50px}

.about-panel,.testimonial-panel,.faq-panel{background:var(--soft);border-radius:20px;padding:52px;display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.about-visual,.testimonial-visual{position:relative}
.image-placeholder.hex{height:390px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
.experience-badge{position:absolute;left:8px;bottom:8px;background:var(--primary);color:#fff;width:120px;height:120px;border-radius:50%;display:grid;place-content:center;text-align:center;border:8px solid var(--soft)}
.experience-badge strong{font-size:28px}
.experience-badge span{font-size:10px}
.about-copy>p,.testimonial-copy>p,.faq-intro>p{color:var(--muted)}
.feature-list{list-style:none;padding:0;margin:24px 0}
.feature-list li{display:grid;grid-template-columns:1fr;gap:3px;padding-left:34px;margin:18px 0;position:relative}
.feature-list li:before{content:"✓";position:absolute;left:0;top:0;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:#fff;font-size:12px}
.feature-list span{font-size:13px;color:var(--muted)}

.expert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.expert-card{background:#fff;border-radius:14px;border:1px solid var(--line);padding:10px;text-align:center;box-shadow:0 8px 22px rgba(31,25,87,.06)}
.image-placeholder.expert{height:310px;border-radius:10px}
.expert-card h3{margin:15px 0 2px}
.expert-card p{margin:0 0 13px;color:var(--muted);font-size:13px}

.image-placeholder.testimonial{height:380px;border-radius:24px}
.people-strip{position:absolute;left:18px;bottom:16px;display:flex}
.people-strip span{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid var(--soft);margin-left:-12px;font-weight:800;color:var(--primary)}
.quote-card{background:#fff;padding:22px;border-radius:15px;margin-top:20px;box-shadow:var(--shadow)}
.quote-card p{color:#4f4b61;font-size:14px}
.quote-card strong,.quote-card small{display:block}
.quote-card small{color:var(--muted)}

.center-heading{text-align:center;margin-bottom:32px}
.center-heading h2{font-family:Manrope,sans-serif;font-size:38px;margin:0}
.center-heading p{color:var(--muted)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.why-grid article{padding:25px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 10px 27px rgba(45,35,112,.07)}
.why-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--soft);color:var(--primary);font-weight:800}
.why-grid h3{font-size:15px}
.why-grid p{font-size:12px;color:var(--muted)}

.faq-panel{align-items:start}
.support-box{margin-top:35px;background:#fff;border-radius:14px;padding:22px}
.support-box p{margin:3px 0 15px;color:var(--muted)}
.accordion-item{background:#fff;border-radius:10px;margin-bottom:12px;overflow:hidden}
.accordion-item button{width:100%;border:0;background:#fff;padding:18px 20px;text-align:left;display:flex;justify-content:space-between;font-weight:700;cursor:pointer}
.accordion-content{display:none;padding:0 20px 18px;color:var(--muted);font-size:14px}
.accordion-item.active .accordion-content{display:block}

.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.article-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(31,25,87,.07)}
.image-placeholder.article{height:190px}
.article-body{padding:18px}
.article-body small,.article-body a{color:var(--primary);font-weight:700}
.article-body h3{font-size:17px;margin:8px 0}
.article-body p{font-size:13px;color:var(--muted)}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;padding:38px}
  .hero-visual{min-height:420px}
  .partner-strip{grid-template-columns:repeat(3,1fr)}
  .category-grid,.course-grid,.expert-grid,.article-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid,.why-grid{grid-template-columns:repeat(2,1fr)}
  .promo-grid{grid-template-columns:1fr}
  .about-panel,.testimonial-panel,.faq-panel{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .hero-grid{padding:28px 20px;border-radius:18px}
  .hero h1{font-size:42px}
  .hero-visual{min-height:340px}
  .hero-blob{inset:15px}
  .image-placeholder.large{min-height:290px}
  .floating-card.students{right:-3px;top:22px}
  .floating-card.live{right:5px;bottom:2px}
  .partner-strip{grid-template-columns:repeat(2,1fr);padding:20px}
  .section-heading.split{align-items:flex-start;flex-direction:column}
  .heading-copy{align-items:flex-start;flex-direction:column}
  .category-grid,.course-grid,.expert-grid,.article-grid,.stats-grid,.why-grid{grid-template-columns:1fr}
  .promo-card{padding:25px;min-height:260px}
  .promo-card .small{width:145px;height:155px}
  .about-panel,.testimonial-panel,.faq-panel{padding:26px 20px}
  .image-placeholder.hex,.image-placeholder.testimonial{height:300px}
}
