/* ═══════════════════════════════════════════════════════════
   FINSMARTHUB — HOME PAGE CSS v4
   ═══════════════════════════════════════════════════════════ */

/* ════ HERO ════ */
.hero {
  background: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 54%;
  height: 100%;
  background: var(--cream);
  border-radius: 0 0 0 var(--r28);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow { margin-bottom: 22px; }

.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.hero-h1 em {
  font-family: var(--serif-italic);
  font-weight: 400;
  font-style: italic;
  color: var(--navy-600);
  letter-spacing: 0;
}

.hero-p {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.78;
  max-width: 44ch;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.proof-avs { display: flex; align-items: center; }
.proof-avs img { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid #fff; object-fit: cover; margin-right: -9px; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.proof-avs img:last-child { margin-right: 0; }
.proof-text { margin-left: 8px; }
.proof-stars { display: flex; gap: 1px; margin-bottom: 4px; }
.proof-stars .material-icons-round { font-size: 13px !important; color: var(--amber-600); }
.proof-lbl { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.proof-lbl strong { color: var(--ink-2); font-weight: 700; }

/* Hero right */
.hero-right { position: relative; }
.hero-img-frame { border-radius: var(--r20); overflow: hidden; box-shadow: var(--s5); line-height: 0; }
.hero-img-frame img { width: 100%; height: 500px; object-fit: cover; object-position: center 15%; display: block; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r16);
  box-shadow: var(--s4);
  padding: 14px 18px;
  animation: float-bob 4s ease-in-out infinite;
  z-index: 2;
}
.float-card--a { top: 24px; left: -28px; min-width: 176px; }
.float-card--b { bottom: 32px; right: -22px; animation-delay: 2s; }
@keyframes float-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.fc-score { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.fc-stars { display: flex; gap: 1px; margin: 5px 0 3px; }
.fc-stars .material-icons-round { font-size: 12px !important; color: var(--amber-600); }
.fc-sub { font-size: 11.5px; color: var(--ink-4); }

.fc-num { font-size: 26px; font-weight: 800; color: var(--navy-600); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.fc-lbl { font-size: 12px; color: var(--ink-3); }

/* ════ STATS ════ */
.stats-band { background: var(--navy-600); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-cell:last-child { border-right: none; }
.stat-n { font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.stat-n em { font-style: normal; color: #93C5FD; }
.stat-l { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.45); }

/* ════ PARTNERS ════ */
.partners { background: var(--cream); border-bottom: 1px solid var(--line); padding: 22px 0; }
.partners-row { display: flex; align-items: center; }
.partners-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-5); white-space: nowrap; padding-right: 28px; border-right: 1px solid var(--line-2); margin-right: 28px; flex-shrink: 0; }
.partners-names { display: flex; align-items: center; flex-wrap: wrap; gap: 0; flex: 1; }
.p-name { font-size: 13px; font-weight: 700; color: var(--ink-4); letter-spacing: 0.02em; padding: 6px 22px; border-right: 1px solid var(--line); white-space: nowrap; transition: color var(--t1); line-height: 1; }
.p-name:last-child { border-right: none; }
.p-name:hover { color: var(--navy-600); }

/* ════ COURSES ════ */
.courses-sec { background: #fff; padding: 96px 0; }

.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease), border-color var(--t2);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--s4); border-color: transparent; }

.cc-img { position: relative; height: 200px; overflow: hidden; flex-shrink: 0; line-height: 0; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); display: block; }
.course-card:hover .cc-img img { transform: scale(1.05); }

.cc-bdg { position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: var(--rpill); letter-spacing: 0.03em; line-height: 1.5; }
.bdg-g { background: var(--green-100); color: #145929; }
.bdg-a { background: var(--amber-100); color: #92400E; }
.bdg-n { background: var(--navy-50); color: var(--navy-600); }
.bdg-r { background: #FEE2E2; color: #991B1B; }

.cc-hot { position: absolute; top: 12px; right: 12px; background: var(--amber-600); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: var(--rpill); letter-spacing: 0.06em; text-transform: uppercase; }

.cc-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.cc-cat { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-600); margin-bottom: 7px; }
.cc-title { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.38; margin-bottom: 11px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -0.015em; }
.cc-inst { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 11px; }
.cc-inst img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--line); flex-shrink: 0; }

.cc-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.cc-score { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cc-stars { display: flex; gap: 1px; }
.cc-stars .material-icons-round { font-size: 12px !important; color: var(--amber-600); }
.cc-cnt { font-size: 12px; color: var(--ink-4); }

.cc-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.cc-mi { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.cc-mi .material-icons-round { font-size: 13px !important; color: var(--ink-4); }

.cc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; gap: 10px; }
.cc-price { display: flex; align-items: baseline; gap: 7px; }
.cc-now { font-size: 18px; font-weight: 800; color: var(--navy-600); letter-spacing: -0.03em; }
.cc-old { font-size: 13px; color: var(--ink-5); text-decoration: line-through; }
.cc-btn { font-size: 12.5px; font-weight: 700; color: var(--navy-600); background: var(--navy-50); border: 1.5px solid var(--navy-50); padding: 5px 14px; border-radius: var(--r8); transition: background var(--t2), color var(--t2), border-color var(--t2); cursor: pointer; font-family: var(--sans); white-space: nowrap; }
.course-card:hover .cc-btn { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }

/* CTA card */
.course-card--cta { justify-content: center; align-items: center; text-align: center; gap: 14px; padding: 40px 28px; background: var(--navy-900); border-color: var(--navy-900); cursor: default; }
.course-card--cta:hover { transform: none; border-color: var(--navy-900); box-shadow: none; }
.cta-ico { width: 56px; height: 56px; background: rgba(255,255,255,0.07); border-radius: var(--r16); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.cta-ico .material-icons-round { font-size: 26px !important; color: rgba(255,255,255,0.55); }
.cta-h { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.35; letter-spacing: -0.02em; }
.cta-p { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.7; }

.see-all { text-align: center; margin-top: 44px; }

/* ════ WHY ════ */
.why-sec { background: var(--cream); padding: 96px 0; }

.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r16); padding: 32px 24px; transition: box-shadow var(--t2), transform var(--t2); }
.why-card:hover { box-shadow: var(--s3); transform: translateY(-3px); }
.why-ico { width: 52px; height: 52px; border-radius: var(--r12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-ico .material-icons-round { font-size: 22px !important; }
.wi-n { background: var(--navy-50); }
.wi-n .material-icons-round { color: var(--navy-600); }
.wi-g { background: var(--green-100); }
.wi-g .material-icons-round { color: var(--green-600); }
.wi-a { background: var(--amber-100); }
.wi-a .material-icons-round { color: var(--amber-600); }
.wi-r { background: #FEE2E2; }
.wi-r .material-icons-round { color: #DC2626; }
.why-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.015em; }
.why-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.72; }

/* ════ ABOUT ════ */
.about-sec { background: #fff; padding: 96px 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }

.about-img-col { position: relative; flex-shrink: 0; }
.about-frame { border-radius: var(--r20); overflow: hidden; box-shadow: var(--s5); line-height: 0; }
.about-frame img { width: 100%; height: 540px; object-fit: cover; object-position: center top; display: block; }

.about-exp { position: absolute; bottom: 28px; right: -22px; background: var(--navy-800); border-radius: var(--r16); padding: 18px 24px; text-align: center; box-shadow: var(--s5); border: 3px solid #fff; }
.ae-num { font-size: 2.5rem; font-weight: 800; color: #93C5FD; letter-spacing: -0.04em; line-height: 1; }
.ae-lbl { font-size: 11.5px; color: rgba(255,255,255,0.50); margin-top: 5px; line-height: 1.45; max-width: 100px; }

.about-content {}
.about-name { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1.1; margin: 14px 0 6px; }
.about-role { font-size: 14px; font-weight: 600; color: var(--green-600); margin-bottom: 20px; }

.about-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cred { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; padding: 5px 13px; border-radius: var(--rpill); border: 1px solid var(--line-2); color: var(--ink-2); background: var(--cream); white-space: nowrap; line-height: 1; }
.cred .material-icons-round { font-size: 12px !important; color: var(--navy-500); }

.about-p { font-size: 15px; color: var(--ink-3); line-height: 1.82; margin-bottom: 16px; }

.about-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r16); overflow: hidden; margin: 8px 0 28px; background: var(--cream); }
.am-cell { padding: 22px 16px; text-align: center; border-right: 1px solid var(--line); }
.am-cell:last-child { border-right: none; }
.am-num { font-size: 1.65rem; font-weight: 800; color: var(--navy-600); letter-spacing: -0.04em; line-height: 1; margin-bottom: 5px; }
.am-lbl { font-size: 11.5px; color: var(--ink-4); font-weight: 500; }

.about-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ════ TESTIMONIALS ════ */
.testi-sec { background: var(--cream); padding: 96px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r20); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; transition: transform var(--t2), box-shadow var(--t2); }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }

.tc-stars { display: flex; gap: 2px; }
.tc-stars .material-icons-round { font-size: 15px !important; color: var(--amber-600); }

.tc-quote { font-size: 15px; color: var(--ink-2); line-height: 1.80; flex: 1; position: relative; padding-left: 20px; }
.tc-quote::before { content: '"'; font-family: var(--serif-italic); font-size: 4rem; color: var(--navy-100); position: absolute; left: -4px; top: -10px; line-height: 1; }

.tc-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.tc-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); flex-shrink: 0; }
.tc-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.tc-role { font-size: 12px; color: var(--ink-3); margin-bottom: 5px; }
.tc-tag { font-size: 11px; font-weight: 700; color: var(--navy-600); background: var(--navy-50); padding: 2px 9px; border-radius: var(--rpill); display: inline-block; }

/* ════ ACCELERATOR ════ */
.accel-sec { background: var(--navy-900); padding: 96px 0; position: relative; overflow: hidden; }
.accel-sec::before { content: ''; position: absolute; top: -120px; right: -80px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(147,197,253,0.05) 0%, transparent 65%); pointer-events: none; }
.accel-sec::after { content: ''; position: absolute; bottom: -80px; left: -60px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(22,163,74,0.05) 0%, transparent 65%); pointer-events: none; }

.accel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }

.accel-h { font-size: clamp(1.85rem, 3.2vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1.13; letter-spacing: -0.03em; margin: 14px 0 18px; }
.accel-p { font-size: 15.5px; color: rgba(255,255,255,0.52); line-height: 1.80; }

.accel-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.af { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r12); }
.af-ic { width: 36px; height: 36px; background: rgba(147,197,253,0.09); border-radius: var(--r8); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.af-ic .material-icons-round { font-size: 17px !important; color: #93C5FD; }
.af-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.af-sub { font-size: 12.5px; color: rgba(255,255,255,0.42); line-height: 1.55; }
.accel-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ════ FINAL CTA ════ */
.fcta-sec { background: #fff; border-top: 1px solid var(--line); padding: 96px 0; text-align: center; }
.fcta-inner { max-width: 600px; margin: 0 auto; }
.fcta-h { font-size: clamp(1.85rem, 3.5vw, 2.9rem); font-weight: 800; color: var(--ink); letter-spacing: -0.035em; line-height: 1.15; margin: 14px 0 16px; }
.fcta-h em { font-family: var(--serif-italic); font-weight: 400; font-style: italic; color: var(--navy-600); letter-spacing: 0; }
.fcta-p { font-size: 16px; color: var(--ink-3); line-height: 1.78; max-width: 46ch; margin: 0 auto 36px; }
.fcta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ════ RESPONSIVE HOME ════ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .accel-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg { display: none; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-col { display: none; }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:last-child { border-bottom: none; }
}
@media (max-width: 680px) {
  .hero { padding: 56px 0 48px; }
  .hero-h1 { font-size: 2.2rem; }
  .hero-p { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .courses-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .partners-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .partners-lbl { border-right: none; padding-right: 0; margin-right: 0; }
  .p-name { padding: 6px 16px; border-right: none; border-bottom: 1px solid var(--line); }
  .fcta-btns { flex-direction: column; align-items: stretch; }
  .fcta-btns .btn { width: 100%; }
  .accel-ctas { flex-direction: column; align-items: stretch; }
  .accel-ctas .btn { width: 100%; }
  .courses-sec, .why-sec, .about-sec, .testi-sec, .accel-sec, .fcta-sec { padding: 64px 0; }
}
@media (max-width: 480px) {
  .about-metrics { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-metrics .am-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .about-metrics .am-cell:last-child { border-bottom: none; }
  .float-card--a { left: 10px; }
  .float-card--b { right: 10px; }
}
