/* Finvezto course overview template (single shared structure for every course page).
   Layout = Mockup A: hero (text + cover) -> what it is -> what you'll be able to do
   -> what's included -> designed by Anand -> CTA band. Pairs with the fixed site nav. */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img,svg { display: block; max-width: 100%; }
:root {
  --bg-page:#FFFFFF; --bg-surface:#F9FAFB; --bg-border:#E5E7EB;
  --text-primary:#111111; --text-secondary:#6B7280; --text-tertiary:#9CA3AF;
  --accent:#863ea2; --accent-bg:#F2EBF6; --accent-text:#5D2870;
  --gain:#16A34A; --font:'Open Sans', sans-serif; --container:1120px; --px:32px;
}
body { font-family: var(--font); background: var(--bg-page); color: var(--text-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 700; text-decoration: none; border-radius: 50px; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .1s; border: 1.5px solid transparent; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--md { padding: 12px 26px; font-size: 15px; }
.btn--lg { padding: 14px 30px; font-size: 15.5px; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: #6D3187; border-color: #6D3187; }
.btn--ghost { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent-bg); }

/* Page shell (top padding clears the fixed site nav) */
.cwrap { max-width: var(--container); margin: 0 auto; padding: 120px var(--px) 90px; }
.crumb { font-size: 13px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 22px; }
.crumb a { color: var(--accent-text); }
.crumb a:hover { text-decoration: underline; }

/* Eyebrow + section heads */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.eyebrow::before { content:''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.csec { margin-top: 62px; }
.csec__kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.csec__title { font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 1.15; margin-bottom: 14px; }
.csec__lead { font-size: 16.5px; color: var(--text-secondary); line-height: 1.7; max-width: 720px; }
.csec__lead + .csec__lead { margin-top: 14px; }

/* Hero */
.chero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.chero__title { font-size: 44px; font-weight: 700; line-height: 1.08; letter-spacing: -.9px; margin-bottom: 16px; }
.chero__sub { font-size: 18px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.chero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.chero__meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 22px; }
.chero__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.chero__meta svg { width: 15px; height: 15px; }
.ccover { border: 1px solid var(--bg-border); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px rgba(134,62,162,.12); background:#fff; }
.ccover__thumb { aspect-ratio: 16/10; background: linear-gradient(125deg,#7A2E96,#A23FC0 55%,#C56FE2); position: relative; }
.ccover__thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ccover__badge { position:absolute; top:12px; left:12px; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#fff; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.32); padding:3px 9px; border-radius:6px; z-index:1; }

/* Outcomes grid */
.coutcomes { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 8px; }
.ocard { border: 1px solid var(--bg-border); border-radius: 14px; padding: 22px 22px 20px; background: var(--bg-page); transition: border-color .16s, box-shadow .16s; }
.ocard:hover { border-color:#D4B8E0; box-shadow: 0 8px 22px rgba(134,62,162,.07); }
.ocard__n { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:9px; background: var(--accent-bg); color: var(--accent); font-size:13px; font-weight:800; margin-bottom:13px; }
.ocard__t { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing:-.2px; }
.ocard__d { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }

/* Included: stat strip + checklist */
.cstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; margin-top: 8px; }
.cstat { border:1px solid var(--bg-border); border-radius: 14px; padding: 20px; text-align:center; background: var(--bg-surface); }
.cstat__n { font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing:-.5px; }
.cstat__l { font-size: 12.5px; font-weight:600; color: var(--text-secondary); margin-top: 4px; }
.cchecks { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 28px; margin-top: 26px; }
.ccheck { display:flex; align-items:flex-start; gap: 11px; font-size: 14.5px; color: var(--text-primary); line-height: 1.5; }
.ccheck svg { width: 20px; height: 20px; flex-shrink:0; color: var(--gain); margin-top: 1px; }

/* Designed by Anand */
.cauthor { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: center; border: 1px solid #E7D8F1; background: linear-gradient(120deg,#FBF7FE,#F5ECFA); border-radius: 20px; padding: 32px 36px; }
.cauthor__photo { width: 100%; border-radius: 16px; background: #EFE3F6; aspect-ratio: 1/1; object-fit: cover; object-position: center top; }
.cauthor__role { font-size: 12px; font-weight: 800; letter-spacing:.07em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.cauthor__name { font-size: 24px; font-weight: 700; letter-spacing:-.4px; margin-bottom: 10px; }
.cauthor__bio { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; max-width: 580px; }
.ccreds { display: flex; flex-wrap: wrap; gap: 8px; }
.ccred { font-size: 12px; font-weight: 700; color: var(--accent-text); background: #fff; border: 1px solid #E6DAEF; border-radius: 50px; padding: 6px 13px; }

/* CTA band */
.cband { margin-top: 62px; background: linear-gradient(120deg,#F6EFFB,#EFE6F9); border: 1px solid #E4D3EF; border-radius: 18px; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cband__t { font-size: 22px; font-weight: 700; letter-spacing:-.3px; margin-bottom: 6px; }
.cband__s { font-size: 15px; color: var(--text-secondary); max-width: 520px; }

.cdisc { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--bg-border); font-size: 11.5px; font-weight: 300; color: var(--text-tertiary); line-height: 1.7; max-width: 880px; }

@media (max-width: 880px){
  .chero, .cauthor { grid-template-columns: 1fr; gap: 28px; }
  .chero__art-wrap { order: -1; }
  .coutcomes, .cchecks { grid-template-columns: 1fr; }
  .cauthor { text-align: center; justify-items: center; padding: 28px 22px; }
  .cauthor__photo { max-width: 190px; }
  .ccreds { justify-content: center; }
}
@media (max-width: 600px){
  .cwrap { padding: 104px 20px 70px; }
  .chero__title { font-size: 33px; }
  .cband { padding: 26px 24px; }
}
