﻿
:root {
  /* Theme: White background, Orange primary, Black secondary */
  --primary: #ef6905;
  --primary-hover: #d15a04;
  --primary-soft: #fff1e6;
  --primary-tint: #fff8f2;
  --secondary: #111111;
  --secondary-hover: #2b2b2b;
  --white: #ffffff;
  --bg-light: #ffffff;
  --bg-alt: #f8f9fa;
  --card: #ffffff;
  --text: #111111;
  --muted: #626262;
  --line: #e5e5e5;
  --star: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; text-decoration: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-primary { color: var(--primary); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-weight: 800; font-size: 24px; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px; color: var(--secondary);
}
.logo i { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); display: block; }
.nav-links { display: none; gap: 32px; font-weight: 600; font-size: 15px; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.btn-login { font-weight: 600; font-size: 15px; display: none; }
.btn-login:hover { color: var(--primary); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white);
  padding: 10px 24px; border-radius: 99px;
  font-weight: 700; font-size: 14px; transition: 0.2s;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-primary.lg { padding: 14px 30px; font-size: 15px; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary); color: var(--white);
  padding: 14px 30px; border-radius: 99px;
  font-weight: 700; font-size: 15px; transition: 0.2s;
}
.btn-dark:hover { background: var(--secondary-hover); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--secondary); color: var(--secondary);
  padding: 12.5px 28px; border-radius: 99px;
  font-weight: 700; font-size: 15px; transition: 0.2s;
}
.btn-ghost:hover { background: var(--secondary); color: var(--white); }
.arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 900px) { .nav-links, .btn-login { display: flex; } }

/* ---------- Shared bits ---------- */
.pill {
  display: inline-block; background: var(--primary-soft); color: var(--primary-hover);
  border: 1px solid #fbd3b3; border-radius: 99px;
  padding: 4px 14px; font-size: 12.5px; font-weight: 700; margin-bottom: 18px;
}
.pill.dark { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.section { padding: 88px 0; }
.sec-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; color: var(--secondary); }
.sec-sub { color: var(--muted); font-size: 1.05rem; margin-top: 10px; max-width: 560px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; background: linear-gradient(180deg, var(--primary-tint) 0%, var(--white) 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800;
  letter-spacing: -1.8px; line-height: 1.05; color: var(--secondary); margin-bottom: 22px;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; min-height: 380px; }
.hero-art .blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.dash {
  position: absolute; left: 10%; right: 8%; top: 17%; bottom: 14%;
  background: var(--white); border: 2px solid var(--secondary); border-radius: 22px;
  padding: 18px 20px; box-shadow: 6px 6px 0 var(--secondary);
  display: flex; flex-direction: column; gap: 14px;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 14px; }
.dash-head small { color: var(--muted); font-weight: 600; font-size: 12px; }
.dash-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.dash-bars span { flex: 1; border-radius: 8px 8px 0 0; background: var(--primary); }
.dash-bars span:nth-child(even) { background: var(--secondary); }
.dash-foot { display: flex; gap: 8px; }
.dash-foot b { flex: 1; height: 8px; border-radius: 99px; background: var(--line); }
.dash-foot b:first-child { background: var(--primary); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 2px solid var(--secondary); border-radius: 14px;
  padding: 8px 14px; font-weight: 700; font-size: 13.5px; box-shadow: 3px 3px 0 var(--secondary);
}
.chip svg { width: 18px; height: 18px; stroke: var(--primary); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chip.c1 { top: 4%; right: 2%; }
.chip.c2 { top: 44%; left: -2%; }
.chip.c3 { bottom: 2%; right: 6%; }

/* Stats: one single row */
.academy-card {
  margin-top: 56px; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 30px 44px; text-align: center;
}
.stat-item { padding: 0 12px; }
.stat-item + .stat-item { border-left: 1px solid var(--line); }
.stat-item b { display: block; font-size: clamp(1.35rem, 4.2vw, 2.6rem); font-weight: 800; color: var(--secondary); line-height: 1.15; letter-spacing: -0.5px; }
.stat-item b span { color: var(--primary); }
.stat-item p { font-size: clamp(0.68rem, 1.6vw, 0.95rem); font-weight: 600; color: var(--muted); margin: 4px 0 0; line-height: 1.3; }
@media (max-width: 560px) { .academy-card { padding: 22px 20px; margin-top: 40px; } .stat-item { padding: 0 6px; } }

/* ---------- Courses ---------- */
.sec-header { margin: 0 0 24px; text-align: left; }
.sec-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--secondary); display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px; }
.sec-header p { color: var(--muted); font-size: 1.1rem; margin-top: 8px; }

.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 12px 0; font-weight: 700; font-size: 15px; color: var(--secondary); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.vcard {
  --tint: #cdf1dc; --solid: #1ba85f; --solid-ink: #ffffff;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%); border: 1.5px solid #c3c8d2; border-radius: 28px;
  padding: 22px 22px 28px; box-shadow: 0 2px 12px rgba(17,17,17,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.vcard[hidden] { display: none; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(17,17,17,0.09); }
.vcard.green  { --tint: #c9f0d9; --solid: #1ba85f; --solid-ink: #ffffff; }
.vcard.yellow { --tint: #fdeea8; --solid: #f7c600; --solid-ink: #111111; }
.vcard.purple { --tint: #dccffa; --solid: #7c52e0; --solid-ink: #ffffff; }
.vcard.blue   { --tint: #c6defa; --solid: #2f80ed; --solid-ink: #ffffff; }
.vart { position: relative; width: min(196px, 100%); aspect-ratio: 190 / 126; margin: 0 0 20px; }
.vart .vblob { position: absolute; inset: 0; width: 100%; height: 100%; }
.vart .vicon { position: absolute; left: 50%; top: 50%; width: 48%; aspect-ratio: 1; height: auto; transform: translate(-50%, -50%); }
.vcard h3 { font-size: 1.25rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; letter-spacing: -0.2px; }
.vcard .vdesc { display: block; font-size: 14.5px; color: #3a3e45; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.vbtn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--solid); color: var(--solid-ink);
  border-radius: 99px; padding: 9px 24px; font-size: 14px; font-weight: 700;
}
.vbtn .arrow { width: 14px; height: 14px; stroke-width: 2.8; }

/* ---------- Course details modal (themed per course) ---------- */
html:has(dialog[open]) { overflow: hidden; }
.cmodal {
  --c: #ef6905; --c-soft: #fff1e6; --c-line: #fbd3b3; --c-deep: #c2570a; --c-ink: #ffffff;
  --tick-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --tick-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --tick: var(--tick-w);
  margin: auto; padding: 0; width: min(780px, calc(100% - 32px)); max-height: calc(100dvh - 40px);
  border: 2px solid var(--secondary); border-radius: 26px; background: var(--white); color: var(--text);
  box-shadow: 8px 8px 0 var(--c); overflow: auto;
}
.cmodal[data-theme="green"]  { --c: #1ba85f; --c-soft: #e6f8ee; --c-line: #b6e6cb; --c-deep: #148a4c; --c-ink: #ffffff; --tick: var(--tick-w); }
.cmodal[data-theme="yellow"] { --c: #f7c600; --c-soft: #fff7d6; --c-line: #f4de80; --c-deep: #9a7000; --c-ink: #111111; --tick: var(--tick-d); }
.cmodal[data-theme="purple"] { --c: #7c52e0; --c-soft: #f3edfe; --c-line: #d6c6f8; --c-deep: #6b42cf; --c-ink: #ffffff; --tick: var(--tick-w); }
.cmodal[data-theme="blue"]   { --c: #2f80ed; --c-soft: #eaf3ff; --c-line: #bcd8fa; --c-deep: #1f6bd6; --c-ink: #ffffff; --tick: var(--tick-w); }
.cmodal::backdrop { background: rgba(17,17,17,0.55); }
.cmodal :focus-visible { outline-color: var(--c-deep); }
.cm-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--secondary); color: var(--white); display: grid; place-items: center; z-index: 2;
  box-shadow: 3px 3px 0 var(--c);
}
.cm-close:hover { background: var(--c); color: var(--c-ink); }
.cm-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.cm-body { padding: 36px; }
.cmodal .pill { background: var(--c-soft); color: var(--c-deep); border-color: var(--c-line); }
.cmodal .btn-primary { background: var(--c); color: var(--c-ink); }
.cmodal .btn-primary:hover { background: var(--c); filter: brightness(0.93); }
.crumbs { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 16px; padding-right: 48px; }
.crumbs b { color: var(--secondary); }
.cm-body h2 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.cm-tag { font-weight: 600; margin: 10px 0 8px; font-size: 1.1rem; }
.cm-rating { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.cm-rating .stars { color: var(--star); letter-spacing: 2px; }
.cm-desc { color: var(--muted); max-width: 560px; margin-bottom: 24px; font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 28px; margin: 28px 0; padding: 20px 0; border-top: 1px dashed var(--c-line); border-bottom: 1px dashed var(--c-line); }
.fact { display: flex; align-items: center; gap: 12px; }
.fact .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--c-soft); display: grid; place-items: center; }
.fact .ico svg { width: 20px; height: 20px; stroke: var(--c-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sq-ico svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fact small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.fact b { font-size: 14.5px; font-weight: 600; }
.cm-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .cm-grid { grid-template-columns: 1.2fr 1fr; } }
.cm-grid h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.tick-list { list-style: none; display: grid; gap: 12px; font-size: 15px; font-weight: 500; }
.tick-list li { display: flex; align-items: center; gap: 10px; }
.tick-list li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--c) var(--tick) center/70% no-repeat; }
.tools, .for-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tools span { background: var(--c-soft); border: 1px solid var(--c-line); color: var(--secondary); border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.for-list span { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
@media (max-width: 560px) { .cm-body { padding: 28px 22px; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-art { position: relative; min-height: 440px; }
.about-art svg.blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-card {
  position: absolute; left: 9%; right: 9%; top: 6%; bottom: 6%;
  background: var(--white); border: 2px solid var(--secondary); border-radius: 22px; box-shadow: 6px 6px 0 var(--secondary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 18px 14px;
}
.steps { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; flex-wrap: wrap; justify-content: center; }
.steps a { padding: 2px 4px; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.steps a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.steps i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: block; }
@media (max-width: 560px) { .steps { font-size: 1rem; gap: 6px; flex-wrap: nowrap; } }
.about-logo { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.about p.body { color: var(--muted); max-width: 520px; margin: 16px 0 28px; font-size: 1.05rem; }

.strip {
  margin-top: 56px; background: var(--primary-tint); border: 1px solid #fbd3b3; border-radius: 22px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0;
}
.strip > div { padding: 26px 26px; }
.strip > div + div { border-left: 1px dashed #f3bd96; }
@media (max-width: 760px) { .strip > div + div { border-left: 0; border-top: 1px dashed #f3bd96; } }
.sq-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--white); border: 1px solid #fbd3b3; display: grid; place-items: center; margin-bottom: 12px; }
.strip h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.strip p { font-size: 13.5px; color: var(--muted); }

/* ---------- Why + FAQ ---------- */
.why { background: var(--bg-alt); }
.why-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 36px; }
.why-item .sq-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); border: 2px solid var(--secondary); }
.why-item .sq-ico svg { stroke: var(--white); }
.why-item h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14px; }

.faq-grid { display: grid; gap: 32px; margin-top: 64px; align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1.6fr 1fr; } }
.faq-grid h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); transition: transform 0.2s; }
details[open] { border-color: var(--secondary); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.cta-card {
  background: var(--secondary); color: var(--white); border-radius: 24px; padding: 32px;
  position: relative; overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px;
  background: var(--primary); border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
}
.cta-card h3 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 10px; position: relative; z-index: 1; }
.cta-card p { color: #c9c9c9; font-size: 14.5px; margin-bottom: 22px; position: relative; z-index: 1; max-width: 300px; }
.cta-card .btn-primary { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary); color: var(--white); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; margin-bottom: 60px; }
.footer-col h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; color: var(--white); }
.footer-col p { color: #aaaaaa; margin-bottom: 12px; line-height: 1.6; }
.site-footer .logo { color: var(--white); margin-bottom: 20px; font-size: 28px; }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); color: #888; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Buttons: hard shadow on the bottom and right ---------- */
:root { --shadow-c: #111111; }
.btn-primary, .btn-dark, .btn-ghost, .vbtn {
  box-shadow: 4px 4px 0 var(--shadow-c);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}
.btn-dark { --shadow-c: #111111; }
.cta-card { --shadow-c: #111111; }
.btn-primary:hover, .btn-dark:hover, .btn-ghost:hover, .vcard:hover .vbtn {
  transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow-c);
}
.btn-primary:active, .btn-dark:active, .btn-ghost:active {
  transform: translate(4px, 4px); box-shadow: 0 0 0 var(--shadow-c);
}
@media (prefers-reduced-motion: reduce) { .btn-primary:hover, .btn-dark:hover, .btn-ghost:hover { transform: none; } }

