:root {
  --bg-0: #05070f;
  --bg-1: #0b1021;
  --bg-2: #131a32;
  --ink: #f6f8ff;
  --muted: #9ea7c8;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --yellow: #ffd35c;
  --neon-cyan: #42e8ff;
  --neon-pink: #ff4fd8;
  --tile: rgba(18, 24, 48, 0.65);
  --tile-strong: rgba(16, 22, 43, 0.92);
  --content-width: 1240px;
  --content-gutter: 24px;
  --scroll-progress: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(66, 232, 255, 0.18), transparent 32%),
    radial-gradient(circle at 84% 16%, rgba(255, 79, 216, 0.14), transparent 36%),
    radial-gradient(circle at 70% 88%, rgba(255, 211, 92, 0.12), transparent 40%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  cursor: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% calc(var(--scroll-progress) * 100%), rgba(66, 232, 255, 0.08), transparent 30%);
  pointer-events: none;
  z-index: -1;
}

.hidden { display: none !important; }
.yellow-inline { color: var(--yellow); }

.cursor,
.cursor-ring { pointer-events: none; position: fixed; z-index: 9999; }

.cursor {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--yellow));
  box-shadow: 0 0 20px rgba(255, 211, 92, 0.75);
  mix-blend-mode: screen;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(66, 232, 255, 0.8);
  box-shadow: 0 0 24px rgba(66, 232, 255, 0.38);
}

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 30px), var(--content-width));
  padding: 14px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(18, 24, 48, 0.78), rgba(9, 13, 28, 0.78));
  border: 1px solid rgba(66, 232, 255, 0.22);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(66, 232, 255, 0.4);
}

.nav-logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #fff;
  border-color: rgba(66, 232, 255, 0.35);
  background: rgba(66, 232, 255, 0.08);
}

.nav-cta {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #11142a;
  background: linear-gradient(135deg, var(--yellow), #ffc13a);
  box-shadow: 0 8px 28px rgba(255, 211, 92, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 211, 92, 0.5);
}

.hero {
  min-height: 108vh;
  padding: 150px max(var(--content-gutter), calc((100vw - var(--content-width)) / 2)) 84px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background:
    radial-gradient(circle at 15% 30%, rgba(66, 232, 255, 0.2), transparent 28%),
    radial-gradient(circle at 85% 28%, rgba(255, 79, 216, 0.2), transparent 30%),
    radial-gradient(circle at 50% 82%, rgba(255, 211, 92, 0.13), transparent 35%);
}

.hero::before {
  content: '';
  background: conic-gradient(from 90deg at 70% 46%, rgba(66, 232, 255, 0.2), transparent 34%, rgba(255, 79, 216, 0.18) 67%, transparent 100%);
  filter: blur(70px);
  opacity: 0.55;
}

.hero::after {
  content: '';
  inset: auto 5% 8% auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 232, 255, 0.16), transparent 72%);
  animation: orbFloat 9s ease-in-out infinite;
}

.hero-kanji {
  position: absolute;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(180px, 21vw, 320px);
  font-weight: 900;
  letter-spacing: -12px;
  line-height: 0.9;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 40px rgba(66, 232, 255, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(66, 232, 255, 0.34);
  border-radius: 999px;
  background: rgba(66, 232, 255, 0.08);
}

.hero-eyebrow-line {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

.hero-eyebrow-text {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d9f8ff;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(76px, 10vw, 138px);
  line-height: 0.9;
  letter-spacing: 1.8px;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.hero-title-accent {
  color: var(--yellow);
  text-shadow: 0 0 26px rgba(255, 211, 92, 0.45);
}

.hero-title-jp {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 2vw, 24px);
  color: rgba(66, 232, 255, 0.72);
  letter-spacing: 8px;
}

.hero-sub {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(246, 248, 255, 0.76);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline,
.btn-dark,
.btn-ghost-dark {
  border-radius: 14px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  border: 0;
  color: #11142a;
  background: linear-gradient(135deg, var(--yellow), #ffc13a);
  box-shadow: 0 14px 30px rgba(255, 211, 92, 0.26);
}

.btn-primary:hover {
  transform: translateY(-3px) translateZ(0);
  box-shadow: 0 20px 35px rgba(255, 211, 92, 0.42);
}

.btn-outline {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  border-color: var(--neon-cyan);
  background: rgba(66, 232, 255, 0.13);
}

.hero-stats {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats > div {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  line-height: 0.95;
  color: #fff;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ticker-wrap {
  margin: 24px max(var(--content-gutter), calc((100vw - var(--content-width)) / 2));
  border-radius: 999px;
  border: 1px solid rgba(66, 232, 255, 0.26);
  background: linear-gradient(90deg, rgba(66, 232, 255, 0.17), rgba(255, 79, 216, 0.15));
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 22s linear infinite;
}

.ticker-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 2.3px;
  color: #eef6ff;
  padding: 0 26px;
}

.ticker-dot { color: rgba(255, 255, 255, 0.55); }

.section {
  position: relative;
  padding: 94px max(var(--content-gutter), calc((100vw - var(--content-width)) / 2));
}

.section::before {
  content: '';
  position: absolute;
  left: max(var(--content-gutter), calc((100vw - var(--content-width)) / 2));
  right: max(var(--content-gutter), calc((100vw - var(--content-width)) / 2));
  top: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 232, 255, 0.22), transparent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(66, 232, 255, 0.28);
  background: rgba(66, 232, 255, 0.08);
}

.section-label-line {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

.section-label-text {
  font-size: 10px;
  color: #dff8ff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: 1px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.section-sub {
  margin-top: 12px;
  max-width: 590px;
  color: rgba(246, 248, 255, 0.72);
  line-height: 1.75;
}

.how-grid {
  margin-top: 44px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.how-panel {
  position: relative;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(15, 20, 38, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 22px 46px rgba(0, 0, 0, 0.36);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.how-panel:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(66, 232, 255, 0.4);
}

.how-panel-accent {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 24px 24px 0 0;
}

.how-panel.talent .how-panel-accent { background: linear-gradient(90deg, var(--yellow), var(--neon-cyan)); }
.how-panel.employer .how-panel-accent { background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); }

.how-panel-icon {
  font-family: 'Noto Serif JP', serif;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.24);
  margin-bottom: 16px;
}

.how-panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.how-panel.talent .how-panel-title { color: var(--yellow); }
.how-panel.employer .how-panel-title { color: var(--neon-cyan); }

.how-steps { display: flex; flex-direction: column; gap: 16px; }

.how-step {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(6, 10, 23, 0.48);
}

.how-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  line-height: 1;
  color: rgba(66, 232, 255, 0.46);
}

.how-step-text h4 {
  font-size: 15px;
  color: #f4f7ff;
  margin-bottom: 4px;
}

.how-step-text p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.features-section,
.industries-section {
  background: linear-gradient(180deg, rgba(8, 12, 26, 0.66), rgba(13, 19, 36, 0.38));
}

.features-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.jlpt-card,
.industry-pill,
.testimonial-card {
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(10, 14, 28, 0.78));
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.feature-card:hover,
.jlpt-card:hover,
.industry-pill:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 232, 255, 0.42);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.feature-icon { font-size: 30px; margin-bottom: 12px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { color: var(--muted); line-height: 1.7; font-size: 13px; }

.feature-tag {
  margin-top: auto;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #c4f7ff;
  border: 1px solid rgba(66, 232, 255, 0.38);
  background: rgba(66, 232, 255, 0.1);
}

.jlpt-track {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.jlpt-card { padding: 24px 18px; }
.jlpt-level {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 6px;
}

.jlpt-card.n1 .jlpt-level { color: #ffd35c; }
.jlpt-card.n2 .jlpt-level { color: #ffc861; }
.jlpt-card.n3 .jlpt-level { color: #ff9a5a; }
.jlpt-card.n4 .jlpt-level { color: #ff6585; }
.jlpt-card.n5 .jlpt-level { color: #bb8cff; }

.jlpt-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #e4e9ff; margin-bottom: 10px; }
.jlpt-desc { font-size: 13px; line-height: 1.6; color: var(--muted); }

.jlpt-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 9px;
  border-radius: 9px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 211, 92, 0.15);
  color: var(--yellow);
}

.industries-wrap {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-pill {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.industry-pill span:first-child { font-size: 18px; }

.testimonial-section { overflow: hidden; }

.testimonial-bg-text {
  position: absolute;
  inset: auto auto 20px -12px;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(110px, 16vw, 220px);
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.testimonial-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
  border-left: 2px solid rgba(66, 232, 255, 0.45);
}

.testimonial-quote {
  color: rgba(246, 248, 255, 0.84);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 14px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(66, 232, 255, 0.46);
  background: rgba(66, 232, 255, 0.12);
  display: grid;
  place-items: center;
  font-family: 'Noto Serif JP', serif;
  color: #dbf9ff;
}

.testimonial-name { font-size: 14px; font-weight: 700; }
.testimonial-role { font-size: 11px; color: var(--muted); margin-top: 2px; }

.cta-section {
  margin: 24px max(var(--content-gutter), calc((100vw - var(--content-width)) / 2));
  border-radius: 26px;
  border: 1px solid rgba(255, 211, 92, 0.35);
  padding: 52px 42px;
  background:
    radial-gradient(circle at 90% 20%, rgba(66, 232, 255, 0.22), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(255, 79, 216, 0.2), transparent 30%),
    linear-gradient(140deg, #ffd35c, #ffc94b 46%, #ffbb46 100%);
  color: #12142a;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.92;
  letter-spacing: 1px;
}

.cta-sub {
  margin-top: 14px;
  max-width: 560px;
  color: rgba(18, 20, 42, 0.8);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.btn-dark {
  border: 0;
  color: #f6f8ff;
  background: #121733;
}

.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 23, 50, 0.35); }

.btn-ghost-dark {
  color: #121733;
  border: 1px solid rgba(18, 23, 51, 0.45);
  background: rgba(18, 23, 51, 0.06);
}

.btn-ghost-dark:hover { background: rgba(18, 23, 51, 0.12); }

.footer {
  margin-top: 20px;
  padding: 70px max(var(--content-gutter), calc((100vw - var(--content-width)) / 2)) 36px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 10, 21, 0.84), rgba(5, 8, 18, 0.96));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 38px;
}

.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  color: var(--neon-cyan);
  letter-spacing: 2px;
}

.footer-brand-jp {
  margin-top: 6px;
  margin-bottom: 14px;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
}

.footer-brand-desc { color: var(--muted); line-height: 1.7; font-size: 13px; }

.footer-col-title {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #dcf9ff;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  display: inline-block;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.powered-by {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8fcff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.1px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(66, 232, 255, 0.32);
  background: rgba(66, 232, 255, 0.1);
}

.particles-art {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.particles-art i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(66, 232, 255, 0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

.particles-art i:nth-child(2) { animation-delay: 0.2s; }
.particles-art i:nth-child(3) { animation-delay: 0.4s; }
.particles-art i:nth-child(4) { animation-delay: 0.6s; }
.particles-art i:nth-child(5) { animation-delay: 0.8s; }
.particles-art i:nth-child(6) { animation-delay: 1s; }

.footer-copy { color: rgba(255, 255, 255, 0.45); font-size: 12px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.footer-badge {
  border-radius: 999px;
  border: 1px solid rgba(66, 232, 255, 0.3);
  color: #defaff;
  background: rgba(66, 232, 255, 0.08);
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(10px);
}

.modal {
  width: min(100%, 560px);
  max-height: min(92vh, 860px);
  overflow-y: auto;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(66, 232, 255, 0.34);
  background: linear-gradient(150deg, rgba(15, 21, 42, 0.95), rgba(7, 12, 26, 0.96));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.52);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.14); }

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 8px;
}

.modal-sub { color: var(--muted); line-height: 1.6; margin-bottom: 20px; font-size: 14px; }
.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #d9fbff;
}

.form-input,
.form-select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  outline: 0;
}

.form-input:focus,
.form-select:focus { border-color: rgba(66, 232, 255, 0.62); }

.form-select option { background: #11182f; }

.form-submit { width: 100%; margin-top: 4px; }

.upload-area {
  border-radius: 14px;
  border: 1.5px dashed rgba(66, 232, 255, 0.45);
  background: rgba(66, 232, 255, 0.08);
  padding: 22px;
  text-align: center;
}

.upload-icon { font-size: 26px; margin-bottom: 6px; }
.upload-text { font-size: 13px; color: #e6f5ff; }
.upload-hint { margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, 0.56); }

.upload-file-name {
  margin-top: 8px;
  font-size: 11px;
  color: #d9fbff;
  word-break: break-all;
}

.page-hero {
  padding-top: 140px;
  min-height: 48vh;
}

.page-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-card {
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(10, 14, 28, 0.78));
  padding: 22px;
}

.page-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #e8fcff;
}

.page-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.tab-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn {
  border: 0;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.tab-btn.active {
  color: #101528;
  background: linear-gradient(135deg, var(--yellow), #ffc643);
}

.success-wrap { text-align: center; padding: 20px 0 10px; }
.success-icon { font-size: 52px; margin-bottom: 10px; }
.success-title { font-size: 34px; }
.success-thanks { color: var(--muted); margin-bottom: 18px; font-size: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0, 1), opacity 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.animate-in,
.animate-in-delay-1,
.animate-in-delay-2,
.animate-in-delay-3,
.animate-in-delay-4 {
  animation: fadeRise 0.9s cubic-bezier(0.18, 0.82, 0.2, 1) forwards;
}

.animate-in-delay-1 { animation-delay: 0.08s; opacity: 0; }
.animate-in-delay-2 { animation-delay: 0.16s; opacity: 0; }
.animate-in-delay-3 { animation-delay: 0.24s; opacity: 0; }
.animate-in-delay-4 { animation-delay: 0.32s; opacity: 0; }

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.65; }
  50% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jlpt-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body { cursor: auto; }

  .nav {
    top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-links { display: none; }

  .hero {
    min-height: auto;
    padding: 116px var(--content-gutter) 58px;
  }

  .hero-title { font-size: clamp(64px, 18vw, 94px); }
  .hero-kanji { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .ticker-wrap { margin-inline: var(--content-gutter); }
  .section { padding: 66px var(--content-gutter); }

  .how-grid,
  .features-grid,
  .jlpt-track,
  .testimonial-grid,
  .cta-section,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .page-grid { grid-template-columns: 1fr; }

  .cta-section {
    margin-inline: var(--content-gutter);
    padding: 38px 24px;
  }

  .cta-actions { align-items: flex-start; }
  .footer { padding-inline: var(--content-gutter); }
}
