* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Sofia Pro', -apple-system, sans-serif; background: #f3f5fb; color: #070A61; min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* Hero Nav — sticky */
.hero-nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243,245,251,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(7,10,97,0.06);
}

/* Dev Modal */
.dev-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7,10,97,0.45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.dev-overlay.hidden { display: none; }
.dev-modal {
  background: #fff; border-radius: 16px;
  max-width: 420px; width: 100%;
  padding: 2rem 2rem 1.75rem;
  text-align: center; position: relative;
  box-shadow: 0 20px 60px rgba(7,10,97,0.2);
}
.dev-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: rgba(7,10,97,0.35);
  line-height: 1; padding: 0.25rem; transition: color 0.15s;
}
.dev-close:hover { color: #070A61; }
.dev-badge {
  display: inline-block; padding: 0.3rem 1rem;
  border-radius: 20px; background: #070A61; color: #fff;
  font-family: 'Cubano', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.06em; margin-bottom: 1rem;
}
.dev-heading {
  font-family: 'Cubano', sans-serif; font-size: 2rem;
  letter-spacing: 0.03em; color: #070A61;
  line-height: 1.1; margin-bottom: 1rem;
}
.dev-body {
  font-size: 0.88rem; color: rgba(7,10,97,0.6);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.dev-btn {
  display: block; width: 100%; padding: 0.9rem;
  border: none; border-radius: 10px;
  background: #070A61; color: #fff;
  font-family: 'Cubano', sans-serif; font-size: 0.88rem;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.15s; margin-bottom: 1rem;
}
.dev-btn:hover { background: #0d1280; }
.dev-footer { font-size: 0.78rem; color: rgba(7,10,97,0.4); }
.dev-footer a { color: rgba(7,10,97,0.6); text-decoration: underline; }
.hero-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 1.25rem 1.25rem;
}
.logo { font-family: 'Cubano', sans-serif; font-size: 1rem; letter-spacing: 0.04em; color: #070A61; }
.logo span { opacity: 0.4; }
.hero-links { display: flex; gap: 1.5rem; font-size: 0.85rem; }
.hero-links a { color: rgba(7,10,97,0.5); transition: color 0.15s; }
.hero-links a:hover { color: #070A61; }
.hero-home { padding: 0.3rem 0.75rem; border: 1px solid rgba(7,10,97,0.2); border-radius: 4px; }

/* Hero */
.hero {
  background: #f3f5fb; color: #070A61;
  padding: 0 0 3rem; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(7,10,97,0.07) 0%, transparent 70%);
}

.hero-body {
  position: relative; max-width: 1100px; margin: 0 auto;
  padding: 3rem 2rem 0; text-align: center;
}
.hero-body h1 {
  font-family: 'Cubano', sans-serif; font-size: 3.2rem; letter-spacing: 0.02em;
  line-height: 1.1; margin-bottom: 0.75rem;
}
.hero-sub { font-size: 1rem; color: rgba(7,10,97,0.5); margin-bottom: 0.4rem; }
.hero-sub-ko { font-size: 0.82rem; color: rgba(7,10,97,0.3); margin-bottom: 1.25rem; letter-spacing: 0.03em; }

@keyframes float-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.hero-browse { font-size: 0.88rem; margin-top: 1rem; }
.hero-browse a {
  display: inline-block; color: rgba(7,10,97,0.55); transition: color 0.15s;
  animation: float-down 2.4s ease-in-out infinite;
}
.hero-browse a:hover { color: #070A61; }

.hero-search {
  display: flex; max-width: 520px; margin: 0 auto;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(7,10,97,0.1);
}
.hero-search input {
  flex: 1; padding: 0.85rem 1.25rem; border: none; background: transparent;
  color: #070A61; font-family: inherit; font-size: 0.9rem; outline: none;
}
.hero-search input::placeholder { color: #aaa; }
.hero-search button {
  padding: 0.85rem 1.5rem; border: none; background: #070A61;
  color: #fff; font-family: 'Cubano', sans-serif; font-size: 0.82rem;
  cursor: pointer; transition: background 0.15s; letter-spacing: 0.03em;
}
.hero-search button:hover { background: #0d1280; }

/* Stats Bar */
.stats-bar {
  background: #070A61; color: #fff;
  display: flex; justify-content: center; gap: 4rem;
  padding: 1.25rem;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.stat-num { font-family: 'Cubano', sans-serif; font-size: 1.5rem; letter-spacing: 0.02em; }
.stat-label { font-size: 0.68rem; opacity: 0.55; text-transform: uppercase; letter-spacing: 0.07em; }

/* Content */
.content { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem; overflow: visible; }
.section-title {
  font-family: 'Cubano', sans-serif; font-size: 0.85rem;
  margin-bottom: 1.25rem; color: #070A61;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(7,10,97,0.1); padding-bottom: 0.75rem;
}

/* Filter bar */
.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.25rem; }
.filter-pill {
  padding: 0.3rem 0.85rem; border-radius: 20px; border: 1px solid rgba(7,10,97,0.15);
  background: transparent; color: rgba(7,10,97,0.55);
  font-family: 'Sofia Pro', sans-serif; font-size: 0.78rem; cursor: pointer;
  transition: all 0.15s;
}
.filter-pill:hover { border-color: rgba(7,10,97,0.35); color: #070A61; }
.filter-pill.active { background: #070A61; color: #fff; border-color: #070A61; }

/* No results */
.no-results { text-align: center; padding: 2rem; font-size: 0.88rem; color: rgba(7,10,97,0.45); }

/* Bento Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}
.course-card {
  background: var(--accent, #c4b5a0);
  color: var(--accent-text, #fff);
  border: none;
  border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column;
  justify-content: space-between; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.course-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.course-card.large { grid-column: span 2; grid-row: span 2; }
.course-card.medium { grid-column: span 2; grid-row: span 1; }
.course-card.small { grid-column: span 1; grid-row: span 1; }

.card-top {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; opacity: 0.8; margin-bottom: 0.5rem;
}
.card-rating { opacity: 1; }
.card-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.card-badge {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  opacity: 0.8; margin-bottom: 0.35rem;
}
.card-body h3 {
  font-family: 'Sofia Pro', sans-serif; font-weight: 700;
  font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.25rem;
}
.card-body p { font-size: 0.8rem; opacity: 0.75; line-height: 1.45; }
.card-ko { font-size: 0.65rem; opacity: 0.55; letter-spacing: 0.03em; margin-top: 0.2rem; display: block; }
.course-card.large .card-body h3 { font-size: 1.15rem; }
.course-card.large .card-body p { font-size: 0.85rem; }

.card-footer {
  display: flex; align-items: center; gap: 8px; margin-top: 0.75rem;
  font-size: 0.72rem; opacity: 0.8;
}
.course-card.hidden { opacity: 0.15; pointer-events: none; }
.course-card.hidden:hover { transform: none; box-shadow: none; }
.card-level {
  padding: 2px 8px; border-radius: 10px; font-size: 0.62rem; font-weight: 600;
  background: rgba(0,0,0,0.08);
}
.card-arrow { margin-left: auto; font-size: 1rem; opacity: 0.35; transition: opacity 0.15s; }
.course-card:hover .card-arrow { opacity: 0.85; }

/* Learning Paths — horizontal scroll */
.paths-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.paths-scroll::-webkit-scrollbar { height: 4px; }
.paths-scroll::-webkit-scrollbar-thumb { background: rgba(7,10,97,0.15); border-radius: 2px; }

.path-card {
  flex-shrink: 0; width: 210px; min-height: 150px;
  border-radius: 12px; padding: 1.25rem; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.15s; cursor: pointer;
}
.path-card:hover { transform: translateY(-2px); }
.path-label {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); margin-bottom: auto;
}
.path-card h3 { font-family: 'Cubano', sans-serif; font-size: 0.95rem; margin-bottom: 0.2rem; }
.path-card p { font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.path-for { font-size: 0.62rem !important; color: rgba(255,255,255,0.38) !important; margin-top: 0.2rem; font-style: italic; }

/* Section sub */
.section-sub { font-size: 0.9rem; color: rgba(7,10,97,0.5); margin-top: -0.75rem; margin-bottom: 1.5rem; line-height: 1.5; }

/* Workshops */
.workshops-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.workshop-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--ws-accent, #555); color: var(--ws-text, #fff);
  border-radius: 10px; padding: 1rem 1.25rem; border: none;
  transition: transform 0.15s, box-shadow 0.15s; cursor: pointer;
}
.workshop-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.workshop-date {
  flex-shrink: 0; width: 52px; height: 56px; background: rgba(0,0,0,0.1); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: inherit;
}
.workshop-month { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; opacity: 0.7; }
.workshop-day { font-family: 'Cubano', sans-serif; font-size: 1.2rem; }
.workshop-badge {
  font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: inherit; opacity: 0.7; margin-bottom: 0.15rem; display: block;
}
.workshop-info h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.15rem; }
.workshop-info p { font-size: 0.78rem; color: inherit; opacity: 0.75; }
.workshop-register {
  flex-shrink: 0; margin-left: auto;
  font-family: 'Cubano', sans-serif; font-size: 0.72rem; letter-spacing: 0.03em;
  color: inherit; opacity: 1;
  padding: 0.3rem 0.7rem; border-radius: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  white-space: nowrap; transition: background 0.15s, border-color 0.15s;
}
.workshop-card:hover .workshop-register { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }

/* Footer */
footer {
  text-align: center; padding: 2.5rem 2rem; font-size: 0.75rem;
  color: rgba(7,10,97,0.35); background: #f3f5fb;
}
footer a { color: rgba(7,10,97,0.5); }

/* Mobile */
@media (max-width: 768px) {
  .hero-body h1 { font-size: 2rem; }
  .hero-links { gap: 0.75rem; font-size: 0.78rem; }
  .stats-bar { gap: 2rem; padding: 1rem 1.25rem; }
  .stat-num { font-size: 1.2rem; }

  /* Courses: horizontal scroll */
  .bento {
    display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 12px;
    padding: 0 0 12px 16px; margin: 0 -2rem 0 0;
  }
  .bento::-webkit-scrollbar { display: none; }
  .course-card {
    flex: 0 0 75vw; max-width: 300px; min-height: 200px;
    scroll-snap-align: start; grid-column: unset; grid-row: unset;
  }
  .course-card.large, .course-card.medium { flex: 0 0 80vw; max-width: 320px; min-height: 240px; }
  .course-card.large { min-height: 280px; }
  .course-card:last-child { margin-right: 16px; }

  .workshops-grid { grid-template-columns: 1fr; }
  .mentor-grid { grid-template-columns: 1fr; gap: 10px; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-pill { flex-shrink: 0; }
  .paths-scroll { padding-left: 16px; padding-right: 0; }
  .path-card:last-child { margin-right: 16px; }
}

@media (max-width: 480px) {
  .hero-body h1 { font-size: 1.7rem; }
  .hero-search { flex-direction: column; }
  .hero-search button { border-top: 1px solid rgba(7,10,97,0.1); }
  .course-card { flex: 0 0 85vw; }
  .course-card.large, .course-card.medium { flex: 0 0 85vw; }
  .stats-bar { flex-wrap: wrap; gap: 1.5rem; }
}
