/* ===== Custom Properties ===== */
:root {
  --ink: #0a1628;
  --ink-soft: #2d3a4f;
  --ink-muted: #64748b;
  --surface: #faf9f7;
  --surface-raised: #f2f0ed;
  --surface-sunken: #edeae6;
  --accent: #4950BC;
  --accent-light: #6e74d2;
  --accent-glow: rgba(73, 80, 188, .12);
  --border: #ddd8d0;
  --border-light: #e8e4de;
  --white: #fff;
  --font-display: 'Noto Serif TC', 'Instrument Serif', Georgia, serif;
  --font-body: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease-out); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 600; }

/* ===== Layout ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-alt { background: var(--surface-raised); }

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.2rem;
  color: var(--ink); letter-spacing: .02em;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; }
.nav-links a {
  color: var(--ink-soft); font-size: .88rem; font-weight: 500;
  letter-spacing: .01em; position: relative;
  transition: color .25s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  background: var(--ink) !important; color: var(--surface) !important;
  padding: 9px 22px; border-radius: 100px; font-weight: 600; font-size: .85rem;
  letter-spacing: .01em; transition: all .3s var(--ease-out) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(73, 80, 188, .25);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; border-radius: 1px; }

/* ===== Hero ===== */
.hero {
  background: var(--ink);
  color: var(--surface);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -50%; right: -20%; width: 80%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(73, 80, 188, .15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 80, 188, .4), transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 28px; max-width: 720px;
  letter-spacing: -.01em;
}
.hero p {
  font-size: 1.05rem; line-height: 1.85;
  max-width: 640px; margin-bottom: 36px;
  color: rgba(250, 249, 247, .7);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 14px 32px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .01em; transition: all .3s var(--ease-out);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-light); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(73, 80, 188, .3);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(250, 249, 247, .3); color: var(--surface);
  padding: 13px 30px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .01em; transition: all .3s var(--ease-out);
}
.btn-outline:hover {
  border-color: rgba(250, 249, 247, .6); color: var(--white);
  background: rgba(255, 255, 255, .06);
}
/* Light variant */
.btn-outline-light {
  display: inline-block;
  border: 1.5px solid var(--border); color: var(--ink);
  padding: 13px 30px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  transition: all .3s var(--ease-out);
}
.btn-outline-light:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-glow);
}

/* ===== Section Headers ===== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400; margin-bottom: 16px;
  letter-spacing: -.01em; line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem; color: var(--ink-muted);
  line-height: 1.85; margin-bottom: 40px;
  max-width: 680px;
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

/* ===== Feature Section (dark) ===== */
.feature-section {
  background: var(--ink); color: var(--surface); padding: 96px 0;
  position: relative; overflow: hidden;
}
.feature-section::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 80, 188, .3), transparent);
}
.feature-section a { color: var(--accent-light); }
.feature-section a:hover { color: #9196e0; }
.feature-section .section-title { color: var(--surface); }
.feature-section .section-subtitle { color: rgba(250, 249, 247, .6); }
.feature-section .eyebrow { color: var(--accent-light); }
.feature-section h3 { color: var(--surface); }
.feature-section p { color: rgba(250, 249, 247, .7); }
.feature-section .service-list { color: rgba(250, 249, 247, .7); }
.feature-section li { color: rgba(250, 249, 247, .7); }
.feature-section h4 { color: var(--surface); }
.feature-section .faq-q { color: var(--surface); }
.feature-section .faq-a, .feature-section .faq-a p { color: rgba(250, 249, 247, .7); }
.feature-section > .container > .accordion > .accordion-item {
  background: var(--white); /* accordion items stay white on dark bg */
}
.feature-section > .container > .accordion > .accordion-item .accordion-header { color: var(--ink); }
.feature-section > .container > .accordion > .accordion-item.open .accordion-header { color: var(--accent); }
.feature-section .faq-item { border-color: rgba(250, 249, 247, .1); }
.feature-section .instructor h3 { color: var(--surface); }
.feature-section .instructor p { color: rgba(250, 249, 247, .7); }
.feature-section .cert-list a { color: var(--accent-light); border-color: rgba(250, 249, 247, .15); }
.feature-section .cert-list a:hover { border-color: var(--accent-light); }

.photo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px;
}
.photo-grid img {
  border-radius: 8px; width: 100%; height: 300px;
  object-fit: cover; filter: brightness(.95) contrast(1.02);
  transition: filter .4s var(--ease-out);
}
.photo-grid img:hover { filter: brightness(1) contrast(1.05); }

/* ===== Consulting / Case Cards ===== */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.case-card {
  background: rgba(250, 249, 247, .06); border: 1px solid rgba(250, 249, 247, .12);
  border-radius: 10px; padding: 28px;
  transition: all .3s var(--ease-out);
}
.case-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 1px var(--accent-light), 0 8px 24px rgba(73, 80, 188, .15);
  transform: translateY(-2px);
}
.case-card h4 {
  font-family: var(--font-body); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.case-card p { font-size: .92rem; color: rgba(250, 249, 247, .6); line-height: 1.7; }

.service-list { list-style: none; padding: 0; margin: 28px 0; }
.service-list li {
  padding: 12px 0 12px 24px; position: relative;
  font-size: .95rem;
  border-bottom: 1px solid rgba(250, 249, 247, .1);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "";
  position: absolute; left: 0; top: 20px;
  width: 6px; height: 6px;
  background: var(--accent-light); border-radius: 50%;
}

/* ===== CTA Blocks ===== */
.cta-block {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 48px 40px; text-align: center;
}
.cta-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; margin-bottom: 12px; font-weight: 400;
}
.cta-block p { margin-bottom: 24px; color: var(--ink-muted); font-size: .95rem; }

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

/* ===== Footer ===== */
.footer {
  background: var(--ink); color: rgba(250, 249, 247, .5);
  padding: 48px 0; text-align: center; font-size: .84rem;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 80, 188, .3), transparent);
}
.footer p { margin: 3px 0; }
.footer strong { color: rgba(250, 249, 247, .75); }

/* ===== LLM Page Hero ===== */
.llm-hero {
  background: var(--ink); color: var(--surface);
  padding: 120px 0 100px; position: relative; overflow: hidden;
}
.llm-hero::before {
  content: "";
  position: absolute; top: -30%; left: -10%; width: 60%; height: 160%;
  background: radial-gradient(ellipse at center, rgba(73, 80, 188, .12) 0%, transparent 60%);
  pointer-events: none;
}
.llm-hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 80, 188, .4), transparent);
}
.llm-hero .container { position: relative; z-index: 1; }
.llm-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400; line-height: 1.2; margin-bottom: 24px;
}
.llm-hero p { font-size: 1rem; color: rgba(250, 249, 247, .65); line-height: 1.85; margin-bottom: 28px; max-width: 640px; }
.llm-hero .btn-primary { background: var(--surface); color: var(--ink); }
.llm-hero .btn-primary:hover { background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ===== Info Box ===== */
.info-box {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 2px 10px 10px 2px;
  padding: 32px 36px; margin-bottom: 32px;
}
.info-box h3 {
  font-family: var(--font-display);
  color: var(--ink); font-size: 1.3rem; margin-bottom: 16px; font-weight: 400;
}
.info-box p, .info-box li { color: var(--ink-soft); font-size: .93rem; }

/* ===== Pricing ===== */
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.pricing-card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 32px; text-align: center; background: var(--white);
  transition: all .3s var(--ease-out);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.pricing-card h4 { font-size: .85rem; color: var(--ink-muted); margin-bottom: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 400; color: var(--ink); margin-bottom: 4px;
}
.pricing-card .price-note { font-size: .82rem; color: var(--ink-muted); }

/* ===== Accordion ===== */
.accordion { margin: 28px 0; }
.accordion-item {
  border: 1px solid var(--border-light); border-radius: 8px;
  margin-bottom: 10px; overflow: hidden; background: var(--white);
  transition: border-color .3s;
}
.accordion-item:hover { border-color: var(--border); }
.accordion-item.open { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-glow); }
.accordion-header {
  background: transparent; padding: 18px 24px; cursor: pointer;
  font-weight: 600; font-size: .95rem; display: flex;
  justify-content: space-between; align-items: center;
  user-select: none; transition: color .2s;
  color: var(--ink);
}
.accordion-header:hover { color: var(--accent); }
.accordion-header::after {
  content: "+"; font-size: 1.4rem; color: var(--ink-muted);
  font-weight: 300; transition: all .3s var(--ease-out);
  width: 24px; text-align: center;
}
.accordion-item.open .accordion-header { color: var(--accent); }
.accordion-item.open .accordion-header::after { content: "\2212"; color: var(--accent); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out);
  padding: 0 24px;
}
.accordion-item.open .accordion-body { max-height: 5000px; padding: 0 24px 20px; }
.accordion-body ul { margin: 8px 0; }
.accordion-body li { padding: 4px 0; font-size: .92rem; color: var(--ink-soft); }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 28px;
  font-size: .9rem; line-height: 1.8; color: var(--ink-soft);
  transition: all .3s var(--ease-out);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.5rem; color: var(--accent);
  line-height: 1; display: block; margin-bottom: 4px;
  opacity: .6;
}

.stats-row { display: flex; flex-wrap: wrap; gap: 40px; margin: 32px 0; }
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 400; color: var(--accent);
}
.stat-item .stat-label { font-size: .82rem; color: var(--ink-muted); margin-top: 2px; }

/* ===== Features Grid ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.feature-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 36px 28px; text-align: center;
  transition: all .3s var(--ease-out);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(73, 80, 188, .08);
}
.feature-icon { margin-bottom: 16px; }
.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; margin-bottom: 12px; color: var(--ink); font-weight: 400;
}
.feature-card p { font-size: .9rem; color: var(--ink-muted); line-height: 1.7; }

/* ===== Instructor ===== */
.instructor { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.instructor img {
  border-radius: 10px; width: 220px; height: 220px;
  object-fit: cover; filter: grayscale(.1);
}
.instructor h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; margin-bottom: 16px; font-weight: 400;
}
.instructor p { font-size: .93rem; margin-bottom: 14px; color: var(--ink-soft); line-height: 1.8; }
.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.cert-list a {
  font-size: .82rem; color: var(--ink-muted);
  transition: color .2s;
  padding: 2px 0;
}
.cert-list a:hover { color: var(--accent); }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border-light); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 600; font-size: .97rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: "+"; font-size: 1.3rem; color: var(--ink-muted);
  font-weight: 300; transition: .3s var(--ease-out);
}
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q::after { content: "\2212"; color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out);
  font-size: .92rem; color: var(--ink-muted); line-height: 1.85;
}
.faq-item.open .faq-a { max-height: 2000px; padding-top: 14px; }

/* ===== Past Courses ===== */
.past-courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.past-course-card {
  border: 1px solid var(--border-light); border-radius: 10px;
  overflow: hidden; background: var(--white);
  transition: all .3s var(--ease-out);
}
.past-course-card:hover { border-color: var(--border); box-shadow: 0 4px 16px rgba(0,0,0,.04); transform: translateY(-2px); }
.past-course-card img { width: 100%; height: 160px; object-fit: cover; }
.past-course-card .card-body { padding: 18px; }
.past-course-card h4 { font-size: .93rem; margin-bottom: 6px; }
.past-course-card p { font-size: .82rem; color: var(--ink-muted); }

/* ===== Review Grid ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.review-grid img { border-radius: 8px; border: 1px solid var(--border-light); transition: .3s; }
.review-grid img:hover { box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.lightbox-trigger { cursor: pointer; }
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.85); align-items: center; justify-content: center;
  cursor: pointer;
}
#lightbox.active { display: flex; }
#lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; }

/* ===== Student Links ===== */
.student-links { column-count: 2; column-gap: 32px; margin: 28px 0; }
.student-link-group { break-inside: avoid; margin-bottom: 24px; }
.student-link-group h4 {
  font-size: .82rem; font-weight: 700; color: var(--accent);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px;
}
.student-link-group a {
  display: block; font-size: .82rem; color: var(--ink-muted);
  padding: 3px 0; word-break: break-all; transition: color .2s;
}
.student-link-group a:hover { color: var(--accent); }

/* ===== About Page ===== */
.about-hero {
  background: var(--ink); color: var(--surface);
  padding: 120px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute; top: -40%; left: 20%; width: 60%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(73, 80, 188, .1) 0%, transparent 60%);
  pointer-events: none;
}
.about-hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 80, 188, .4), transparent);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400; margin-bottom: 8px;
}
.about-hero p { font-size: 1.05rem; color: rgba(250, 249, 247, .5); letter-spacing: .04em; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.service-card {
  border: 1px solid var(--border-light); border-radius: 10px;
  padding: 40px 36px; background: var(--white);
  transition: all .3s var(--ease-out);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 12px 32px rgba(0,0,0,.04);
  transform: translateY(-2px);
}
.service-icon { margin-bottom: 20px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--ink); margin-bottom: 16px; font-weight: 400;
}
.service-card p { font-size: .9rem; color: var(--ink-muted); line-height: 1.8; }
.service-card .tech-link {
  display: inline-block; margin-top: 16px; font-size: .85rem;
  font-weight: 600; letter-spacing: .02em;
}

/* ===== Client Cards ===== */
.client-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.client-cards:has(.client-expand) { grid-template-columns: 1fr; gap: 10px; }
.client-card {
  border: 1px solid var(--border-light); border-radius: 10px;
  padding: 32px; background: var(--white);
  transition: all .3s var(--ease-out);
}
.client-card:hover { border-color: var(--border); box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.client-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem; margin-bottom: 10px; font-weight: 400;
}
.client-card p { font-size: .88rem; color: var(--ink-muted); line-height: 1.75; }

/* ===== Expandable Client Cards ===== */
.client-expand {
  border: 1px solid var(--border-light); border-radius: 10px;
  background: var(--white); overflow: hidden;
  transition: all .3s var(--ease-out); cursor: pointer;
}
.client-expand:hover { border-color: var(--border); }
.client-expand.open { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-glow); }
.client-expand-header {
  padding: 22px 28px; display: flex; align-items: center; gap: 14px;
}
.client-logo {
  width: 48px; height: 48px; object-fit: contain; border-radius: 8px; flex-shrink: 0;
}
.client-expand-header h4 {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 400; margin: 0;
}
.client-expand-icon {
  width: 24px; height: 24px; position: relative; flex-shrink: 0;
}
.client-expand-icon::before, .client-expand-icon::after {
  content: ""; position: absolute;
  background: var(--ink-muted); border-radius: 1px;
  transition: all .3s var(--ease-out);
}
.client-expand-icon::before { top: 50%; left: 4px; right: 4px; height: 1.5px; transform: translateY(-50%); }
.client-expand-icon::after { left: 50%; top: 4px; bottom: 4px; width: 1.5px; transform: translateX(-50%); }
.client-expand.open .client-expand-icon::after { transform: translateX(-50%) scaleY(0); }
.client-expand.open .client-expand-icon::before { background: var(--accent); }
.client-expand-body {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out);
  padding: 0 28px;
}
.client-expand.open .client-expand-body { max-height: 600px; padding: 0 28px 24px; }
.client-expand-body p { font-size: .9rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 12px; }
.client-links-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.client-links-list a {
  display: inline-block; font-size: .82rem; font-weight: 500;
  color: var(--accent); padding: 4px 14px;
  border: 1px solid var(--accent-glow); border-radius: 100px;
  transition: all .2s var(--ease-out);
}
.client-links-list a:hover { background: var(--accent-glow); border-color: var(--accent); }

/* ===== Client List (non-accordion) ===== */
.client-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.client-item {
  background: #fff; border-radius: 10px; padding: 32px;
  transition: all .3s var(--ease-out);
}
.client-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.client-item-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.client-item-header h4 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 400; margin: 0; color: var(--ink);
}
.client-item p { font-size: .9rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 12px; }
.client-item .client-links-list { margin-top: 12px; }

.corp-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.corp-logo {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 100px; padding: 10px 22px;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none;
  transition: all .25s var(--ease-out);
}
.corp-logo:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.team-section { text-align: center; margin: 40px 0; }
.team-member { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
.team-member img {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; filter: grayscale(.1);
  border: 3px solid var(--border-light);
}
.team-member h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.team-member p { font-size: .82rem; color: var(--ink-muted); letter-spacing: .04em; }
.feature-section .team-member p { color: rgba(250, 249, 247, .5); }
.feature-section .team-member h4 a { color: var(--surface); }
.feature-section .team-member h4 a:hover { color: var(--accent-light); }

.contact-section {
  background: #fff;
  padding: 56px 48px; text-align: center;
}
.contact-section h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; margin-bottom: 12px; font-weight: 400;
  color: var(--ink);
}
.contact-section a { color: var(--accent); font-size: 1.2rem; font-weight: 600; }
.contact-section a:hover { color: var(--ink); }

/* ===== Course Detail ===== */
.course-detail h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--ink); margin: 20px 0 8px; font-weight: 400;
}
.course-detail p { font-size: .92rem; margin-bottom: 8px; color: var(--ink-soft); }
.course-detail ul { margin: 8px 0 16px; }
.course-detail li { font-size: .9rem; padding: 3px 0; color: var(--ink-muted); }

.course-note {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid #d97706;
  border-radius: 2px 8px 8px 2px;
  padding: 18px 22px; font-size: .88rem; color: var(--ink-soft); margin: 16px 0;
}

.course-images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0; }
.course-images img { border-radius: 8px; border: 1px solid var(--border-light); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 80px 0 64px; }
  .llm-hero { padding: 80px 0 64px; }
  .about-hero { padding: 80px 0 56px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .photo-grid, .pricing-cards, .testimonials-grid, .services-grid, .client-cards,
  .cta-row, .features-grid, .past-courses-grid, .review-grid, .course-images,
  .case-cards, .client-list { grid-template-columns: 1fr; }
  .instructor { grid-template-columns: 1fr; text-align: center; }
  .instructor img { margin: 0 auto; }
  .cert-list { grid-template-columns: 1fr; }
  .student-links { column-count: 1; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); flex-direction: column; padding: 24px 32px;
    border-bottom: 1px solid var(--border-light); gap: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .stats-row { gap: 20px; }
  .cta-block { padding: 36px 24px; }
}
