/* ===== Verilo Academy — one-page site ===== */

:root {
  --navy-900: #0f2338;
  --navy-800: #15304d;
  --navy-700: #1c3c5e;
  --navy-600: #274a70;
  --gold-500: #d9a94a;
  --gold-400: #e8c074;
  --blue-300: #9cc3e8;
  --ink: #16212c;
  --ink-soft: #4a5a68;
  --paper: #faf8f3;
  --paper-dim: #f1ede3;
  --white: #ffffff;
  --line: #e4ddce;
  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(15, 35, 56, 0.35);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 10px 24px -8px rgba(217, 169, 74, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(217, 169, 74, 0.65); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-700);
}
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-large { padding: 16px 34px; font-size: 1.05rem; }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
  font-size: 1.15rem;
  font-weight: 600;
}
.brand strong { color: var(--gold-500); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--navy-800); }
.nav-cta {
  background: var(--navy-800);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(217,169,74,0.12), transparent 60%),
    var(--paper);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-500);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--navy-900);
}
.hero h1 .accent { color: var(--gold-500); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold-500);
  margin-bottom: 10px;
}
.founding-banner {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: 12px;
  padding: 16px 18px;
  max-width: 54ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.founding-banner .founding-badge { display: block; width: fit-content; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-cover {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.hero-stats {
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.hero-stats strong { font-size: 1.5rem; color: var(--navy-800); }
.hero-stats span { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Section shell ---------- */
.section { padding: 76px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy-900);
  margin: 0 0 10px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 44px;
}

/* ---------- Why ---------- */
.why { background: var(--paper-dim); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--line);
}
.why-icon { font-size: 1.8rem; margin-bottom: 10px; }
.why-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--navy-900); }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Courses / levels ---------- */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.level-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
}
.level-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-500);
  background: var(--paper-dim);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.level-card h3 { margin: 0 34px 2px 0; color: var(--navy-900); font-size: 1.1rem; }
.level-vi { margin: 0 0 10px; color: var(--gold-500); font-weight: 600; font-size: 0.85rem; }
.level-book { margin: 0; color: var(--ink-soft); font-size: 0.85rem; }
.level-card-cta {
  background: var(--navy-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}
.level-card-cta p { margin: 0; font-size: 0.95rem; }

/* ---------- Schedule ---------- */
.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}
.tab-btn.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.schedule-table, .pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-width: 560px;
}
.schedule-table th, .pricing-table th {
  text-align: left;
  background: var(--navy-800);
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9rem;
}
.schedule-table td, .pricing-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--ink);
}
.schedule-table tr:nth-child(even) td,
.pricing-table tr:nth-child(even) td { background: var(--paper-dim); }
.pricing-table .is-best td { background: #fbf2de; font-weight: 600; }
.tag {
  display: inline-block;
  margin-left: 8px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: middle;
}
.schedule-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Pricing ---------- */
.pricing-highlight {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: 20px;
  padding: 30px 32px;
  margin-bottom: 36px;
}
.pricing-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pricing-highlight-price { display: flex; flex-direction: column; }
.price-old {
  text-decoration: line-through;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}
.price-new {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-400);
}
.price-period { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
.pricing-highlight-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.discount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 20px;
}
.discount-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.discount-card h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 1rem; }
.discount-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.pricing-footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 20px;
}

/* ---------- Trial steps ---------- */
.trial { background: var(--paper-dim); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 { margin: 0 0 8px; font-size: 1rem; color: var(--navy-900); }
.steps p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Booking ---------- */
.booking {
  background: var(--navy-900);
  color: #fff;
}
.booking-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.booking h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 14px; }
.booking-copy p { color: rgba(255,255,255,0.8); max-width: 48ch; }
.booking-alt { margin-top: 18px; font-size: 0.9rem; }
.booking-alt a { color: var(--gold-400); text-decoration: underline; }

.booking-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.qr-frame {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  width: 220px;
}
.qr-frame img { border-radius: 8px; }
.booking-qr p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
  padding: 36px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-brand strong { color: var(--gold-400); }
.footer-tagline { font-size: 0.85rem; margin: 0 0 10px; }
.footer-social { margin: 0 0 10px; font-size: 0.85rem; }
.footer-social a { color: var(--gold-400); text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.footer-platform { font-size: 0.85rem; margin: 0 0 14px; }
.footer-platform a { color: var(--gold-400); text-decoration: none; }
.footer-platform a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.78rem; margin: 0; }

/* ================= Responsive ================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .level-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .discount-grid { grid-template-columns: 1fr; }
  .booking-inner { grid-template-columns: 1fr; text-align: center; }
  .booking-copy p { margin-left: auto; margin-right: auto; }
  .booking-alt { text-align: center; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .main-nav a { font-size: 1.05rem; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }

  .why-grid { grid-template-columns: 1fr; }
  .level-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-highlight-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .level-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 14px; }
}
