:root {
  --navy: #07152b;
  --blue: #146ef5;
  --light-blue: #55a7ff;
  --soft: #f4f7fb;
  --green: #16a36a;
  --ink: #0c1726;
  --muted: #60708a;
  --line: rgba(7, 21, 43, .12);
  --shadow: 0 24px 70px rgba(7, 21, 43, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; letter-spacing: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 10px; }
.container-wide { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.site-nav { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(7,21,43,.08); }
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; color: var(--navy); }
.brand-mark { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(20,110,245,.22); }
.nav-links { display: flex; align-items: center; gap: 22px; color: #27364d; font-weight: 650; font-size: 14px; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 8px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #0b55cc); color: #fff; box-shadow: 0 16px 34px rgba(20,110,245,.28); }
.btn-secondary { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-light { background: #fff; color: var(--navy); border-color: rgba(7,21,43,.08); }
.btn-small { min-height: 42px; padding-inline: 16px; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(85,167,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(85,167,255,.08) 1px, transparent 1px), radial-gradient(circle at 75% 10%, rgba(20,110,245,.45), transparent 34%); background-size: 48px 48px, 48px 48px, auto; opacity: .75; }
.hero-wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; padding: 76px 0 62px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: #b9d8ff; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--light-blue); }
.hero h1 { font-size: clamp(42px, 7vw, 74px); line-height: .98; margin: 16px 0 18px; font-weight: 900; letter-spacing: 0; max-width: 760px; }
.hero-copy { color: #d7e7ff; font-size: 18px; max-width: 680px; }
.hero-actions, .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.detail-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.detail-pill { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); border-radius: 8px; padding: 12px; }
.detail-pill span { display: block; color: #91bffc; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.detail-pill strong { font-size: 15px; }
.hero-visual { position: relative; }
.chart-card { overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow); }
.chart-card img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.countdown { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { background: rgba(7,21,43,.86); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 10px 8px; text-align: center; }
.countdown strong { display: block; font-size: 22px; line-height: 1; }
.countdown span { color: #b8d4f8; font-size: 11px; text-transform: uppercase; font-weight: 800; }

.section { padding: 76px 0; }
.section-white { background: #fff; }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-kicker { color: var(--blue); font-weight: 850; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.section h2 { margin: 8px 0 12px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 900; }
.section-dark h2 { color: #fff; }
.section p { color: var(--muted); }
.section-dark p { color: #c9d8ef; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.check-list { display: grid; gap: 12px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.check-item::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--green); flex: 0 0 auto; margin-top: 2px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.5); }
.solution-box { background: linear-gradient(135deg, var(--navy), #0d2c5a); color: #fff; padding: 28px; border-radius: 8px; box-shadow: var(--shadow); }
.solution-box p { color: #d8e9ff; }

.benefit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.benefit-card, .week-card, .trade-card, .info-card, .form-panel, .admin-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(7,21,43,.07); }
.benefit-card { padding: 18px; min-height: 132px; }
.benefit-icon { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: rgba(20,110,245,.1); color: var(--blue); margin-bottom: 12px; }
.benefit-card h3 { margin: 0; font-size: 16px; color: var(--navy); font-weight: 850; }
.week-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.week-card { padding: 22px; }
.week-card h3 { color: var(--navy); margin: 0 0 12px; font-weight: 900; }
.week-card ul, .rule-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.week-card li, .rule-list li { color: #42536c; padding-left: 20px; position: relative; }
.week-card li::before, .rule-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.trade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trade-card { overflow: hidden; }
.trade-button { padding: 0; border: 0; background: transparent; cursor: zoom-in; width: 100%; display: block; }
.trade-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; display: block; background: #fff; }
.trade-body { padding: 16px; }
.trade-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.trade-meta span { background: rgba(20,110,245,.09); color: #0f55bd; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 850; }
.trade-body h3 { margin: 0 0 8px; color: var(--navy); font-weight: 900; }
.disclaimer { margin-top: 18px; padding: 16px; background: #fff8e6; border: 1px solid #f4d78a; color: #684b00; border-radius: 8px; }

.about-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }
.mentor-photo { min-height: 320px; border-radius: 8px; background: linear-gradient(145deg, #dfe9f6, #fff); border: 1px dashed rgba(7,21,43,.18); display: grid; place-items: center; color: #59708d; font-weight: 850; text-align: center; padding: 20px; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { padding: 22px; }
.not-suitable { border-left: 4px solid #e1a814; }

.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; text-align: left; background: #fff; border: 0; padding: 18px; color: var(--navy); font-weight: 900; cursor: pointer; }
.faq-answer { display: none; padding: 0 18px 18px; }
.faq-item.open .faq-answer { display: block; }
.faq-question span:last-child { font-size: 22px; color: var(--blue); }

.register-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.form-panel { padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(7,21,43,.16); border-radius: 8px; padding: 12px 13px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field-check { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; color: #34445d; }
.field-check input { margin-top: 5px; width: 18px; height: 18px; }
.field-error { color: #b42318 !important; font-size: 14px; margin: 0; }
.form-alert { padding: 14px; border-radius: 8px; background: #ffecec; border: 1px solid #ffb3b3; color: #8a1f1f; margin-bottom: 18px; }
.success-box { background: #ecfdf3; border: 1px solid #a7f3c1; color: #095c3a; padding: 22px; border-radius: 8px; }
.reference { font-size: 28px; color: var(--navy); font-weight: 950; letter-spacing: .04em; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cta-band { background: linear-gradient(135deg, var(--navy), #0b3674); color: #fff; padding: 58px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(30px, 4vw, 48px); font-weight: 950; }
.cta-band p { color: #d4e5ff; margin: 0; }

.footer { background: #030b17; color: #c5d4ea; padding: 46px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.footer-brand { color: #fff; font-size: 22px; font-weight: 950; margin-bottom: 8px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--light-blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 18px; font-size: 14px; }

.lightbox { position: fixed; inset: 0; background: rgba(2,8,18,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 8px; background: #fff; }
.lightbox-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 28px; cursor: pointer; }

.legal-page { max-width: 900px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; box-shadow: var(--shadow); }
.legal-page h1 { font-size: clamp(34px, 5vw, 54px); color: var(--navy); line-height: 1.05; font-weight: 950; }
.legal-page h2 { font-size: 24px; margin-top: 28px; }
.legal-page p, .legal-page li { color: #42536c; }

.admin-body { background: #f5f7fb; color: var(--ink); }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { background: var(--navy); color: #d6e7ff; padding: 22px; }
.admin-logo { color: #fff; font-weight: 950; font-size: 22px; display: block; margin-bottom: 28px; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar a, .admin-sidebar button { padding: 11px 12px; border-radius: 8px; text-align: left; width: 100%; background: transparent; border: 0; color: inherit; cursor: pointer; }
.admin-sidebar nav a:hover, .admin-sidebar nav button:hover { background: rgba(255,255,255,.09); color: #fff; }
.admin-main { padding: 28px; overflow-x: auto; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.admin-head h1 { color: var(--navy); font-weight: 950; font-size: 34px; margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.admin-card { padding: 18px; }
.admin-card strong { font-size: 32px; color: var(--navy); display: block; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px rgba(7,21,43,.07); }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid rgba(7,21,43,.08); text-align: left; vertical-align: top; }
.admin-table th { background: #edf4ff; color: var(--navy); font-size: 13px; text-transform: uppercase; }
.filters { display: grid; grid-template-columns: 1fr 180px 180px auto; gap: 10px; margin-bottom: 16px; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 850; background: #edf2f7; color: #34445d; }
.status.approved { background: #e9fbf1; color: #087443; }
.status.rejected { background: #fff0f0; color: #9d1c1c; }
.status.attended { background: #edf4ff; color: #0f55bd; }

@media (max-width: 980px) {
  .hero-wrap, .two-col, .register-layout, .about-card, .join-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-wrap { padding-top: 46px; }
  .detail-grid, .benefit-grid, .week-grid, .trade-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-sidebar nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,21,43,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  .hero h1 { font-size: 44px; }
  .detail-grid, .benefit-grid, .week-grid, .trade-grid, .form-grid, .stats-grid, .filters { grid-template-columns: 1fr; }
  .countdown { position: static; margin-top: 10px; grid-template-columns: repeat(4, 1fr); padding: 0 0 12px; }
  .section { padding: 56px 0; }
  .admin-sidebar nav { grid-template-columns: 1fr 1fr; }
  .admin-main { padding: 18px; }
}

@media (max-width: 420px) {
  .container-wide { width: min(100% - 22px, 1160px); }
  .hero h1 { font-size: 38px; }
  .brand-lockup span { font-size: 15px; }
  .countdown strong { font-size: 18px; }
  .btn { width: 100%; }
}
