:root{
  --bg1:#f7f9ff;
  --bg2:#fff7f3;
  --text:#0f172a;
  --muted:#475569;
  --card: rgba(255,255,255,.72);
  --card2: rgba(255,255,255,.88);
  --border: rgba(148,163,184,.35);
  --shadow: 0 18px 45px rgba(2,6,23,.10);
  --shadow2: 0 10px 25px rgba(2,6,23,.08);
  --orange:#f97316;
  --orange2:#fb923c;
  --green:#16a34a;
  --blue:#2563eb;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(99,102,241,.14), transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(251,146,60,.16), transparent 55%),
    linear-gradient(180deg, var(--bg1), #f9fbff 40%, var(--bg2));
}

a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.section{padding:34px 0}
.kicker{letter-spacing:.18em;text-transform:uppercase;font-size:12px;color:#22c55e;font-weight:700}
.h1{font-size:46px;line-height:1.04;margin:10px 0 10px}
.h2{font-size:24px;margin:0 0 10px}
.p{color:var(--muted);line-height:1.65;margin:0}
.small{font-size:13px;color:#64748b}

/* header (from partial) */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(148,163,184,.28);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  height:68px;
}
.brand{display:flex;gap:10px;align-items:center;font-weight:800}
.brand-badge{
  width:30px;height:30px;border-radius:10px;
  background: linear-gradient(135deg, #a855f7, #fb923c);
  display:grid;place-items:center;color:#fff;font-size:12px;
  box-shadow:0 10px 22px rgba(2,6,23,.12);
}
.nav-links{display:flex;gap:18px;align-items:center}
.nav-links a{
  text-decoration:none;
  color:#334155;
  font-weight:650;
  font-size:14px;
  padding:8px 10px;border-radius:10px;
}
.nav-links a:hover{background:rgba(99,102,241,.10)}
.nav-cta{
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color:#fff !important;
  padding:10px 14px;border-radius:12px;
  box-shadow: 0 16px 30px rgba(249,115,22,.22);
}

/* hero */
.hero-wide{
  padding:22px 0 0;
}
.hero-surface{
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid rgba(148,163,184,.22);
  position:relative;
  min-height:340px;
  background:
    linear-gradient(90deg, rgba(2,6,23,.78) 0%, rgba(2,6,23,.35) 52%, rgba(2,6,23,.05) 72%),
    url("/assets/img/train-bg.jpg") center/cover no-repeat;
}
.hero-inner{padding:44px 34px;max-width:700px}
.hero-title{font-size:46px;line-height:1.05;margin:0 0 10px;color:#fff;font-weight:900}
.hero-sub{margin:0 0 14px;color:rgba(255,255,255,.84);line-height:1.6;font-size:15px}
.hero-note{color:rgba(255,255,255,.7);font-size:13px;margin:0 0 18px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  border:none;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;text-decoration:none;
  font-weight:800;
  padding:12px 16px;border-radius:14px;
  box-shadow: 0 14px 26px rgba(2,6,23,.20);
}
.btn-primary{background: linear-gradient(135deg, var(--orange), var(--orange2)); color:#fff}
.btn-secondary{background: rgba(255,255,255,.18); color:#fff; border:1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px)}
.btn-ghost{background: rgba(255,255,255,.86); color:#0f172a; border:1px solid rgba(148,163,184,.30); box-shadow: var(--shadow2)}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.tagline{
  display:inline-flex;gap:10px;align-items:center;
  margin-top:12px;
  padding:10px 12px;border-radius:14px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  font-weight:700;
}

/* quick cards */
.quick-wrap{margin-top:-42px}
.quick-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:18px;
  backdrop-filter: blur(12px);
}
.card h3{margin:0 0 4px;font-size:18px}
.card p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.5}
.card .subline{display:flex;gap:8px;align-items:center;font-weight:800;color:#334155;margin:0 0 10px}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  background: rgba(99,102,241,.10);
  color:#334155;
  border:1px solid rgba(99,102,241,.15);
  padding:7px 10px;border-radius:999px;
  font-weight:750;font-size:12px;
}
.pill.green{background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.22)}
.pill.orange{background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.22)}
.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}
label{font-size:12px;color:#475569;font-weight:700}
input,select,textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.40);
  background: rgba(255,255,255,.92);
  outline:none;
  font-size:14px;
}
input:focus,select:focus,textarea:focus{border-color: rgba(37,99,235,.55); box-shadow: 0 0 0 4px rgba(37,99,235,.12)}
.card-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:10px}
.link{font-weight:800;font-size:13px;color:#2563eb;text-decoration:none}
.link:hover{text-decoration:underline}

/* decision result */
.result{
  margin-top:12px;
  border-radius:16px;
  border:1px dashed rgba(148,163,184,.55);
  background: rgba(255,255,255,.82);
  padding:12px 12px;
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  border-radius:999px;
  padding:6px 10px;
  font-weight:900;font-size:12px;
}
.badge.green{background: rgba(34,197,94,.14); color:#166534; border:1px solid rgba(34,197,94,.26)}
.badge.yellow{background: rgba(234,179,8,.14); color:#854d0e; border:1px solid rgba(234,179,8,.26)}
.badge.red{background: rgba(239,68,68,.14); color:#7f1d1d; border:1px solid rgba(239,68,68,.26)}

/* feature section */
.feature-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:14px
}
.feature{
  padding:16px;border-radius:18px;border:1px solid rgba(148,163,184,.30);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow2);
  display:flex;gap:14px;align-items:flex-start;
}
.icon{
  width:40px;height:40px;border-radius:14px;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(148,163,184,.30);
  display:grid;place-items:center;
  box-shadow: 0 12px 22px rgba(2,6,23,.08);
  font-weight:900;color:#0f172a
}
.feature h4{margin:0 0 6px;font-size:16px}
.feature p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}

/* lists */
.list-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.item{
  background: rgba(255,255,255,.78);
  border:1px solid rgba(148,163,184,.28);
  border-radius:18px;
  padding:16px;
  box-shadow: var(--shadow2);
}
.item h3{margin:0 0 6px;font-size:18px}
.item p{margin:0 0 12px;color:var(--muted);line-height:1.55;font-size:13px}
.item .btn{padding:10px 12px;border-radius:12px}

/* official links row */
.official{
  margin-top:18px;
  background: rgba(255,255,255,.70);
  border:1px solid rgba(148,163,184,.28);
  border-radius:20px;
  padding:18px;
  box-shadow: var(--shadow2);
}
.official-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.official-row a{
  text-decoration:none;
  padding:10px 12px;border-radius:14px;
  border:1px solid rgba(148,163,184,.30);
  background: rgba(255,255,255,.90);
  font-weight:850;font-size:13px;color:#0f172a;
}
.official-row a:hover{transform:translateY(-1px)}

/* page header */
.page-hero{
  padding:26px 0 6px;
}
.page-box{
  border-radius:22px;
  padding:22px;
  border:1px solid rgba(148,163,184,.24);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
}
.page-box h1{margin:0;font-size:42px;line-height:1.05}
.page-box p{margin:10px 0 0;color:var(--muted);line-height:1.65}

/* footer */
.footer{
  margin-top:36px;
  padding:28px 0;
  border-top:1px solid rgba(148,163,184,.25);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
.footer h5{margin:0 0 10px}
.footer a{color:#334155;text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer .muted{color:#64748b;font-size:13px;line-height:1.6}

/* responsive */
@media (max-width: 980px){
  .hero-title{font-size:40px}
  .quick-grid{grid-template-columns:1fr}
  .feature-grid,.list-grid,.footer-grid{grid-template-columns:1fr}
  .hero-inner{padding:34px 20px}
}
