/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-dark-blue: #003C52;
  --color-blue: #3095B4;
  --color-yellow: #FAB600;
  --color-yellow-hover: #E5A600;
  --color-grey-1: #EDF1F3;
  --color-grey-2: #E5EBED;
  --color-lila: #FBDFEA;
  --color-red: #ED6C53;
  --color-middle-blue: #00577A;
  --color-white: #ffffff;
  --color-muted: #7A929D;
  --color-placeholder: #9BAFB9;
  --color-yellow-light: rgba(250, 182, 0, 0.15);
  --color-red-light: rgba(237, 108, 83, 0.15);
  --color-blue-light: rgba(48, 149, 180, 0.15);
  --color-lila-light: rgba(251, 223, 234, 0.5);
  --color-grey-light: var(--color-grey-1);
  --shadow-sm: 0 4px 16px rgba(0, 60, 82, 0.18);
  --shadow-md: 0 8px 40px rgba(0, 60, 82, 0.1);
  --shadow-lg: 0 12px 36px rgba(0, 60, 82, 0.1);
  --font-main: 'Nunito Sans', sans-serif;
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--color-dark-blue);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-grey-2);
  padding: 16px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo svg, .nav-logo img { height: 64px; width: auto; }

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-dark-blue);
}

.btn-primary:hover {
  background: var(--color-yellow-hover);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-dark-blue);
  border: 2px solid var(--color-grey-2);
}

.btn-secondary:hover {
  border-color: var(--color-blue);
  background: var(--color-grey-1);
}

.btn-secondary-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: var(--color-lila);
  border-radius: 50%;
  opacity: 0.35;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: var(--color-yellow);
  opacity: 0.2;
  border-radius: 12px;
  transform: rotate(15deg);
}

.hero-decor-circle-red {
  position: absolute; top: 60px; left: 5%;
  width: 80px; height: 80px;
  background: var(--color-red); opacity: 0.12; border-radius: 50%;
}

.hero-decor-rect-blue {
  position: absolute; bottom: 100px; right: 8%;
  width: 120px; height: 60px;
  background: var(--color-blue); opacity: 0.1; border-radius: var(--radius-sm);
}

.hero-decor-ring-yellow {
  position: absolute; top: 40%; right: 15%;
  width: 50px; height: 50px;
  border: 4px solid var(--color-yellow); opacity: 0.2; border-radius: 50%;
}

.hero-decor-stairs {
  position: absolute; bottom: 40px; right: 4%; opacity: 0.08;
}

.hero-decor-stairs div { width: 40px; height: 40px; background: var(--color-blue); }
.hero-decor-stairs div:nth-child(1) { margin-left: 80px; }
.hero-decor-stairs div:nth-child(2) { margin-left: 40px; }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-red);
  background: var(--color-red-light);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--color-blue); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-middle-blue);
  margin-bottom: 36px;
  max-width: 520px;
}

/* ===== Buy Card (Hero) ===== */
.buy-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-grey-2);
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.buy-card-accent {
  display: flex;
  height: 5px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.buy-card-accent span { flex: 1; }
.buy-card-accent span:nth-child(1) { background: var(--color-yellow); }
.buy-card-accent span:nth-child(2) { background: var(--color-red); }
.buy-card-accent span:nth-child(3) { background: var(--color-lila); }
.buy-card-accent span:nth-child(4) { background: var(--color-blue); }

.buy-card-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-grey-1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark-blue);
}

.buy-card-date svg {
  width: 18px;
  height: 18px;
  color: var(--color-blue);
  flex-shrink: 0;
}

.buy-card-option { margin-bottom: 0; }

.buy-card-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark-blue);
  margin-bottom: 16px;
  line-height: 1;
}

.buy-card-price-alt {
  font-size: 1.4rem;
  color: var(--color-middle-blue);
}

.buy-card-divider {
  height: 1px;
  background: var(--color-grey-2);
  margin: 20px 0;
}

.btn-buy {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ===== Sections shared ===== */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-label-blue { color: var(--color-blue); }
.section-label-red { color: var(--color-red); }
.section-label-yellow { color: var(--color-yellow); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-middle-blue);
  max-width: 580px;
  margin-bottom: 48px;
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

/* ===== Cards ===== */
.subpages { background: var(--color-grey-1); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--color-grey-2);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-accent {
  position: absolute; top: 0; left: 0; width: 100%; height: 4px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: 0.95rem; color: var(--color-middle-blue); line-height: 1.65; }

.card-yellow .card-accent { background: var(--color-yellow); }
.card-yellow .card-number { background: var(--color-yellow-light); }
.card-red .card-accent { background: var(--color-red); }
.card-red .card-number { background: var(--color-red-light); }
.card-blue .card-accent { background: var(--color-blue); }
.card-blue .card-number { background: var(--color-blue-light); }

/* ===== Block (Webinar card) ===== */
.webinar { background: var(--color-white); }

.webinar-card {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-middle-blue) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.webinar-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: var(--color-blue); border-radius: 50%; opacity: 0.15;
}

.webinar-card::after {
  content: '';
  position: absolute; bottom: -30px; left: 20%;
  width: 120px; height: 120px;
  background: var(--color-yellow); border-radius: 50%; opacity: 0.1;
}

.webinar-card .section-label { color: var(--color-yellow); }

.webinar-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
}

.webinar-points { list-style: none; position: relative; }

.webinar-points li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.webinar-points li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 16px; height: 16px;
  border-radius: 4px; opacity: 0.8;
}

.webinar-points li:nth-child(1)::before { background: var(--color-yellow); }
.webinar-points li:nth-child(2)::before { background: var(--color-red); }
.webinar-points li:nth-child(3)::before { background: var(--color-lila); }
.webinar-points li:nth-child(4)::before { background: var(--color-blue); }
.webinar-points li:nth-child(5)::before { background: var(--color-yellow); }

.webinar-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  border-left: 3px solid var(--color-yellow);
}

.webinar-accent-bar {
  display: flex; height: 5px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  margin: -48px -40px 32px;
  position: relative;
}

.webinar-accent-bar span { flex: 1; }
.webinar-accent-bar span:nth-child(1) { background: var(--color-yellow); }
.webinar-accent-bar span:nth-child(2) { background: var(--color-red); }
.webinar-accent-bar span:nth-child(3) { background: var(--color-lila); }
.webinar-accent-bar span:nth-child(4) { background: var(--color-blue); }

/* ===== Features (Checklist) ===== */
.features { background: var(--color-grey-1); }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-2);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateX(4px);
}

.feature-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check svg {
  width: 18px;
  height: 18px;
}

.feature-check-yellow { background: var(--color-yellow-light); }
.feature-check-yellow svg { stroke: var(--color-yellow-hover); }

.feature-check-red { background: var(--color-red-light); }
.feature-check-red svg { stroke: var(--color-red); }

.feature-check-blue { background: var(--color-blue-light); }
.feature-check-blue svg { stroke: var(--color-blue); }

.feature-check-lila { background: var(--color-lila-light); }
.feature-check-lila svg { stroke: #C87A9E; }

/* ===== Audience (Icons) ===== */
.audience { background: var(--color-white); }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-grey-1);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-2);
  transition: transform 0.3s;
}

.audience-item:hover { transform: translateX(6px); }

.audience-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-icon svg { width: 26px; height: 26px; }

.audience-icon-yellow { background: var(--color-yellow-light); }
.audience-icon-red { background: var(--color-red-light); }
.audience-icon-blue { background: var(--color-blue-light); }
.audience-icon-lila { background: var(--color-lila-light); }

.audience-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.audience-item p { font-size: 0.9rem; color: var(--color-middle-blue); }

/* ===== Author ===== */
.author-section { background: var(--color-grey-1); }

.author-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.author-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  border: 1px solid var(--color-grey-2);
}

.author-photo {
  flex-shrink: 0;
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.author-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }

.author-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.author-bio { font-size: 1rem; color: var(--color-middle-blue); line-height: 1.7; }
.author-bio p { margin-bottom: 12px; }
.author-bio p:last-child { margin-bottom: 0; }

/* ===== CTA Dark ===== */
.cta-dark {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-middle-blue) 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-dark-decor-circle {
  position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: var(--color-blue); border-radius: 50%; opacity: 0.12;
}

.cta-dark-decor-blob {
  position: absolute; bottom: -40px; left: 15%;
  width: 160px; height: 160px;
  background: var(--color-yellow); border-radius: 50%; opacity: 0.08;
}

.cta-dark-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  color: var(--color-white);
}

.cta-dark-accent {
  display: flex;
  height: 5px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.cta-dark-accent span { flex: 1; }
.cta-dark-accent span:nth-child(1) { background: var(--color-yellow); }
.cta-dark-accent span:nth-child(2) { background: var(--color-red); }
.cta-dark-accent span:nth-child(3) { background: var(--color-lila); }
.cta-dark-accent span:nth-child(4) { background: var(--color-blue); }

.cta-dark .section-label { color: var(--color-yellow); }

.cta-dark h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-dark-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-dark-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 8px;
}

.cta-dark-btn-group { text-align: center; }

.cta-dark-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-dark .btn-buy {
  width: auto;
  min-width: 260px;
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark-blue);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo svg, .footer-logo img { height: 30px; width: auto; }
.footer-text { font-size: 0.85rem; line-height: 1.6; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .nav-logo svg, .nav-logo img { height: 44px; }
  .nav .btn { font-size: 0.82rem; padding: 10px 18px; }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .author-photo { width: 160px; height: 160px; }
}

@media (min-width: 768px) {
  .hero .container { grid-template-columns: 1fr 1fr; }
  .hero-content { max-width: none; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-card { max-width: 420px; margin: 0; }
  .cta-dark-buttons { flex-direction: row; gap: 32px; justify-content: center; }
}

@media (min-width: 1024px) {
  section { padding: 100px 0; }
  .hero { padding: 100px 0 120px; }
  .nav-logo svg, .nav-logo img { height: 72px; }
  .webinar-card { padding: 56px 52px; }
  .webinar-accent-bar { margin: -56px -52px 40px; }
  .cta-dark-inner { padding: 100px 24px; }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-text { text-align: right; }
}

/* ===== Subpage & Archive ===== */
.sub-wrapper { background: var(--color-grey-1); padding: 40px 16px 60px; }
.sub-card { background: var(--color-white); border-radius: 12px; max-width: 620px; margin: 0 auto 40px; overflow: hidden; }
.sub-card[hidden] { display: none; }
.sub-accent { height: 5px; }
.sub-header { padding: 32px 40px 0; text-align: center; }
.sub-badge { display: inline-block; font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 5px 14px; border-radius: 16px; margin-bottom: 16px; color: var(--color-dark-blue); }
.sub-header h1, .sub-header h2 { font-size: clamp(1.4rem, 3.5vw, 1.65rem); font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.sub-intro { font-size: 0.95rem; line-height: 1.7; color: var(--color-middle-blue); }
.sub-divider { border: none; border-top: 1px solid var(--color-grey-2); margin: 28px 40px 0; }
.sub-body { padding: 28px 40px 32px; font-size: 0.95rem; line-height: 1.7; color: var(--color-dark-blue); }
.sub-block { margin-bottom: 16px; }
.sub-block p, .sub-block > div { margin: 0 0 16px; }
.sub-block p:last-child, .sub-block > div:last-child { margin-bottom: 0; }
.sub-block h3 { font-size: 1.12rem; margin-bottom: 16px; font-weight: 700; }
.sub-highlight, .sub-box { padding: 20px 24px; border-radius: 10px; margin-bottom: 20px; }
.sub-highlight strong.sub-num { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-middle-blue); }
.sub-highlight h4 { font-size: 1rem; font-weight: 700; margin: 4px 0 10px; }
.sub-highlight p, .sub-highlight div { color: var(--color-middle-blue); }
.sub-box p, .sub-box > div { color: var(--color-middle-blue); margin: 0 0 12px; }
.sub-box p:last-child, .sub-box > div:last-child { margin-bottom: 0; }
.sub-box ul, .sub-box ol { color: var(--color-middle-blue); padding-left: 20px; margin: 0; }
.sub-box li { padding: 2px 0; }
.sub-border-items { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.sub-border-item { padding: 12px 16px; border-left: 3px solid; font-size: 0.95rem; line-height: 1.6; }
.sub-outro { padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--color-grey-2); }
.sub-outro p, .sub-outro > div { margin: 0 0 16px; }
.sub-outro p:last-child, .sub-outro > div:last-child { margin-bottom: 0; }
.sub-toc { max-width: 620px; margin: 0 auto 24px; }
.sub-toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sub-toc a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; color: var(--color-dark-blue); text-decoration: none; background: var(--color-white); border: 1px solid var(--color-grey-2); transition: background 0.15s, border-color 0.15s; }
.sub-toc a:hover { border-color: var(--color-middle-blue); }
.sub-toc a.sub-toc--active { border-color: var(--color-dark-blue); }
.sub-toc-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 2px 8px; border-radius: 12px; color: var(--color-dark-blue); }

@media (max-width: 620px) {
  .sub-header { padding: 24px 20px 0; }
  .sub-divider { margin: 20px 20px 0; }
  .sub-body { padding: 20px 20px 24px; }
}
