/* ============================================================
   Școala de Bani — Promotional Landing Page
   ============================================================ */

:root {
  --blue: #1b4dff;
  --blue-dark: #0e3ad9;
  --blue-deep: #0b1f4d;
  --orange: #ff8a00;
  --orange-dark: #f57500;
  --ink: #101828;
  --muted: #5a6478;
  --line: #e7ebf5;
  --bg-soft: #f5f8ff;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 20px rgba(16, 34, 82, 0.06);
  --shadow: 0 18px 45px rgba(16, 34, 82, 0.10);
  --shadow-blue: 0 16px 34px rgba(27, 77, 255, 0.28);
  --shadow-orange: 0 16px 34px rgba(255, 138, 0, 0.30);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 17px 34px; font-size: 17px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 22px 42px rgba(27,77,255,.36); }

.btn-ghost { background: #fff; color: var(--blue); border-color: #d9e1ff; }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn-solid-white { background: #fff; color: var(--orange-dark); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.btn-solid-white:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.24); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark { display: inline-flex; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { font-size: 20px; letter-spacing: -0.03em; color: var(--blue-deep); }
.logo-text span { color: var(--orange); }
.logo-light .logo-text { color: #fff; }

.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { font-weight: 600; color: var(--muted); position: relative; padding: 4px 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--blue); border-radius: 2px; transition: width .28s var(--ease); }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.btn-header { padding: 11px 22px; font-size: 15px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-deep); border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a { padding: 12px 6px; font-weight: 600; color: var(--ink); border-radius: 12px; }
.mobile-nav a:hover { background: var(--bg-soft); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%); padding: 70px 0 90px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue-dark);
  border: 1px solid #dbe3ff;
  font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,0,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,138,0,.18);} 50% { box-shadow: 0 0 0 8px rgba(255,138,0,0);} }

.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 20px 0 18px; color: var(--blue-deep); }
.hl-orange { color: var(--orange); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 520px; }

.hero-actions { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }

.hero-trust { list-style: none; display: flex; gap: 30px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.hero-trust li { font-size: 14px; color: var(--muted); }
.hero-trust strong { display: block; font-size: 22px; color: var(--blue-deep); }

.hero-art { position: relative; }
.illus { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(16,34,82,.12)); }
.float-a { animation: floatY 5s ease-in-out infinite; transform-origin: center; }
.float-b { animation: floatY 6.5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--blue-deep); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Cards / features ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #dbe3ff; }

.feature { padding: 34px 30px; }
.feature-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; transition: transform .35s var(--ease); }
.card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.icon-blue { background: #e8efff; color: var(--blue); }
.icon-orange { background: #fff0dd; color: var(--orange-dark); }
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--blue-deep); }
.feature p { color: var(--muted); font-size: 1rem; }

/* ---------- Section CTA ---------- */
.section-cta { text-align: center; margin-top: 46px; }

/* ---------- Promotion banner ---------- */
.promo { padding: 30px 0; }
.promo-inner {
  background: linear-gradient(120deg, var(--orange) 0%, #ff6a3d 100%);
  border-radius: var(--radius-lg);
  padding: 46px 54px;
  display: flex; align-items: center; gap: 40px;
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-orange);
}
.promo-inner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: rgba(255,255,255,.12); border-radius: 50%; }
.promo-inner::after { content: ""; position: absolute; left: 30%; bottom: -90px; width: 200px; height: 200px; background: rgba(255,255,255,.10); border-radius: 50%; }
.promo-badge { position: relative; flex-shrink: 0; width: 130px; height: 130px; border-radius: 28px; background: rgba(255,255,255,.16); border: 2px dashed rgba(255,255,255,.6); display: grid; place-content: center; text-align: center; }
.promo-num { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.promo-num span { font-size: 1.4rem; }
.promo-sub { font-size: .95rem; font-weight: 600; letter-spacing: .05em; }
.promo-copy { flex: 1; position: relative; }
.promo-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hl-white { text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.promo-copy p { margin-top: 10px; max-width: 560px; opacity: .96; }
.promo .btn { position: relative; flex-shrink: 0; }

/* ---------- Courses ---------- */
.course { overflow: hidden; display: flex; flex-direction: column; }
.course-img { aspect-ratio: 16/10; overflow: hidden; }
.course-img svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.course:hover .course-img svg { transform: scale(1.07); }
.course-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.tag-blue { background: #e8efff; color: var(--blue); }
.tag-orange { background: #fff0dd; color: var(--orange-dark); }
.course-body h3 { font-size: 1.25rem; color: var(--blue-deep); margin-bottom: 8px; }
.course-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.course-link { margin-top: 16px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease), color .2s; }
.course-link span { transition: transform .25s var(--ease); }
.course-link:hover { color: var(--blue-dark); }
.course-link:hover span { transform: translateX(5px); }

/* ---------- Why choose us ---------- */
.why-grid { gap: 26px; }
.why { text-align: center; padding: 30px 22px; border-radius: var(--radius); transition: transform .3s var(--ease), background .3s; }
.why:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-sm); }
.why-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; transition: transform .35s var(--ease); }
.why:hover .why-icon { transform: scale(1.1); }
.why h3 { font-size: 1.18rem; color: var(--blue-deep); margin-bottom: 8px; }
.why p { color: var(--muted); font-size: .96rem; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 96px 0; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; top: -80px; left: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,138,0,.35), transparent 70%); }
.final-cta::after { content: ""; position: absolute; bottom: -100px; right: -40px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.final-inner { position: relative; max-width: 620px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.final-cta p { margin: 16px 0 30px; font-size: 1.15rem; opacity: .92; }
.final-note { font-size: .9rem; opacity: .8; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #c8d2ea; padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: .96rem; color: #97a4c4; }
.btn-footer { margin-top: 20px; padding: 11px 24px; font-size: 15px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a, .footer-col address { display: block; color: #a9b5d4; font-style: normal; margin-bottom: 11px; font-size: .96rem; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #8b98ba; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-copy .pill { margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-art { max-width: 460px; margin: 0 auto; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .main-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .promo-inner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .promo-copy p { margin-left: auto; margin-right: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 70px; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
