/* ═══════════════════════════════════════════
   KEYNIHONGO — Design System & CSS
   Palette: Ink Navy · Paper White · Vermillion · Gold
═══════════════════════════════════════════ */

:root {
  --ink:        #0D1B2A;
  --ink-mid:    #1E3448;
  --ink-light:  #2E4A63;
  --paper:      #F5F0E8;
  --paper-mid:  #EDE7D9;
  --paper-dark: #D9D0BE;
  --accent-red: #C0392B;
  --accent-red-light: #E74C3C;
  --accent-gold:#D4A843;
  --accent-gold-light: #E8C06A;
  --mist:       #E8EDF2;
  --white:      #FFFFFF;
  --text-body:  #2C3E50;
  --text-muted: #6B7C8D;
  --border:     rgba(13,27,42,0.12);
  --shadow-sm:  0 2px 8px rgba(13,27,42,0.08);
  --shadow-md:  0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg:  0 24px 64px rgba(13,27,42,0.16);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --nav-h:      72px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--paper);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent-red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(192,57,43,0.3);
}
.btn--primary:hover {
  background: var(--accent-red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,57,43,0.4);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { background: var(--paper-mid); }
.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(245,240,232,0.4);
}
.btn--ghost-light:hover { background: rgba(245,240,232,0.1); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ── Section Shared ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: 100px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-kanji {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1;
}
.nav__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-red);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__kanji-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.kanji-float {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  color: rgba(245,240,232,0.04);
  animation: floatKanji 12s ease-in-out infinite;
  user-select: none;
}
.k1  { top: 5%;  left: 3%;   animation-delay: 0s;    animation-duration: 14s; }
.k2  { top: 15%; left: 18%;  animation-delay: 1.5s;  animation-duration: 11s; }
.k3  { top: 8%;  right: 8%;  animation-delay: 3s;    animation-duration: 13s; }
.k4  { top: 40%; left: 5%;   animation-delay: 0.8s;  animation-duration: 15s; }
.k5  { top: 55%; left: 25%;  animation-delay: 2.2s;  animation-duration: 12s; }
.k6  { top: 30%; right: 15%; animation-delay: 4s;    animation-duration: 10s; }
.k7  { top: 60%; right: 5%;  animation-delay: 1s;    animation-duration: 16s; }
.k8  { bottom: 20%; left: 10%; animation-delay: 2.5s; animation-duration: 13s; }
.k9  { bottom: 10%; right: 20%; animation-delay: 0.5s; animation-duration: 11s; }
.k10 { top: 75%; left: 45%;  animation-delay: 3.5s;  animation-duration: 14s; }

@keyframes floatKanji {
  0%, 100% { transform: translateY(0) rotate(-2deg); opacity: 0.04; }
  50%       { transform: translateY(-20px) rotate(2deg); opacity: 0.07; }
}

.hero__ink-line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--accent-red), var(--accent-gold), transparent);
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245,240,232,0.8);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__headline em {
  font-style: italic;
  color: var(--accent-gold);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.72);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero__cta .btn--outline {
  color: var(--paper);
  border-color: rgba(245,240,232,0.35);
}
.hero__cta .btn--outline:hover {
  background: rgba(245,240,232,0.1);
  color: var(--paper);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
}
.stat__suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--accent-gold);
  font-weight: 600;
}
.stat__label {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(245,240,232,0.15);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,240,232,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50%       { opacity: 0.7; transform: scaleY(1.1); }
}

/* ═══════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════ */
.trust-bar {
  background: var(--ink-mid);
  padding: 20px 0;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  flex-shrink: 0;
}
.trust-bar__items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(245,240,232,0.65);
}
.trust-item__badge {
  background: var(--accent-red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
}
.trust-item__sep { color: rgba(245,240,232,0.2); font-size: 0.8rem; }

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--paper);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon { width: 52px; height: 52px; margin-bottom: 20px; }
.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-red);
  background: rgba(192,57,43,0.08);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════
   LEVELS
═══════════════════════════════════════════ */
.levels {
  padding: 100px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.levels__bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  color: rgba(245,240,232,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.levels .section-tag { color: var(--accent-gold); border-color: rgba(212,168,67,0.3); }
.levels .section-title { color: var(--paper); }
.levels .section-sub { color: rgba(245,240,232,0.6); }

.levels__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 56px;
  position: relative;
}
.level-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.level-node__circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(245,240,232,0.08);
  border: 2px solid rgba(245,240,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(245,240,232,0.7);
  transition: all var(--transition);
}
.level-node:hover .level-node__circle,
.level-node--highlight .level-node__circle {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--white);
  box-shadow: 0 0 32px rgba(192,57,43,0.4);
  transform: scale(1.1);
}
.level-node__info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.level-node__info strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--paper);
}
.level-node__info span {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.45);
  max-width: 100px;
  line-height: 1.4;
}
.level-connector {
  flex: 1;
  min-width: 24px;
  max-width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,240,232,0.15), rgba(192,57,43,0.4), rgba(245,240,232,0.15));
  margin-bottom: 40px;
}

.levels__extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.extra-exam {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
}
.extra-exam__badge {
  background: var(--accent-gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.extra-exam strong { font-size: 0.95rem; color: var(--paper); display: block; margin-bottom: 6px; }
.extra-exam p { font-size: 0.82rem; color: rgba(245,240,232,0.55); line-height: 1.5; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: var(--paper-mid);
}
.carousel { position: relative; overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: 100%;
  padding: 48px 56px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow-md);
}
.testimonial-card__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 0.6;
  margin-bottom: 24px;
  opacity: 0.3;
}
.testimonial-card__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 720px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-card__author > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.testimonial-card__author strong { font-size: 0.95rem; color: var(--ink); }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-card__stars { color: var(--accent-gold); font-size: 1rem; letter-spacing: 2px; margin-left: auto; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel__btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.05);
}
.carousel__dots { display: flex; gap: 8px; align-items: center; }
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper-dark);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.carousel__dot.active {
  background: var(--accent-red);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.pricing__bg-kanji {
  position: absolute;
  bottom: -40px; right: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(160px, 25vw, 320px);
  font-weight: 700;
  color: rgba(13,27,42,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.toggle-label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.toggle-save {
  background: var(--accent-gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
}
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--paper-dark);
  border-radius: 100px;
  position: relative;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.toggle-switch[aria-checked="true"] { background: var(--accent-red); }
.toggle-switch__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-switch[aria-checked="true"] .toggle-switch__thumb { transform: translateX(22px); }

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__header { margin-bottom: 28px; }
.pricing-card__tier {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card--featured .pricing-card__tier { color: rgba(245,240,232,0.5); }
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price__amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.pricing-card--featured .price__amount { color: var(--paper); }
.price__period { font-size: 0.85rem; color: var(--text-muted); }
.pricing-card--featured .price__period { color: rgba(245,240,232,0.5); }
.pricing-card__tagline { font-size: 0.85rem; color: var(--text-muted); }
.pricing-card--featured .pricing-card__tagline { color: rgba(245,240,232,0.6); }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
}
.pricing-card--featured .pricing-card__features li { color: rgba(245,240,232,0.85); }
.pricing-card__features li.disabled { opacity: 0.4; }
.check { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-red); }
.pricing-card--featured .check { color: var(--accent-gold); }
.cross { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); }
.pricing-card--featured .pricing-card__features .btn--outline {
  color: var(--paper);
  border-color: rgba(245,240,232,0.3);
}
.pricing-card--featured .pricing-card__features .btn--outline:hover {
  background: rgba(245,240,232,0.1);
}
.pricing-card__note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.4);
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   SECURITY TRUST
═══════════════════════════════════════════ */
.security-trust {
  padding: 100px 0;
  background: var(--ink-mid);
}
.security-trust .section-tag { color: var(--accent-gold); border-color: rgba(212,168,67,0.3); }
.security-trust .section-title { color: var(--paper); }
.security-trust .section-sub { color: rgba(245,240,232,0.6); }
.security__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.security-item {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}
.security-item:hover {
  background: rgba(245,240,232,0.08);
  border-color: rgba(212,168,67,0.3);
  transform: translateY(-4px);
}
.security-item__icon { font-size: 2rem; margin-bottom: 14px; }
.security-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 8px;
}
.security-item p { font-size: 0.85rem; color: rgba(245,240,232,0.55); line-height: 1.6; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq {
  padding: 100px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.faq__bg-text {
  position: absolute;
  top: 50%; right: -40px;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 700;
  color: rgba(13,27,42,0.04);
  pointer-events: none;
  user-select: none;
}
.faq__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.faq-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.faq-tab:hover { color: var(--ink); border-color: var(--ink); }
.faq-tab--active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--accent-red); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}
.faq-item__q:hover { background: var(--paper-mid); }
.faq-item[open] .faq-item__q { background: var(--paper-mid); }
.faq-item__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-red);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.faq-item__a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 16px;
}
.faq-item.hidden { display: none; }

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
  background: var(--accent-red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner__kanji {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px, 16vw, 200px);
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner__text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-banner__text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-banner .btn--primary {
  background: var(--white);
  color: var(--accent-red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta-banner .btn--primary:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--ink);
  padding-top: 72px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.footer__logo { margin-bottom: 16px; }
.footer__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(245,240,232,0.6);
  margin-bottom: 12px;
}
.footer__desc {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.4);
  line-height: 1.65;
  margin-bottom: 24px;
}
.footer__social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,232,0.5);
  transition: all var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--white);
  transform: translateY(-2px);
}
.footer__col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.55);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.3);
}
.footer__bottom-right { font-size: 0.78rem; color: rgba(245,240,232,0.3); }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .security__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--border); flex-direction: column; padding: 24px; gap: 20px; box-shadow: var(--shadow-md); z-index: 999; }
  .nav__links.open { display: flex; }
  .nav__actions .btn--ghost { display: none; }
  .nav__hamburger { display: flex; }
  .hero__content { padding: 60px 24px; }
  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .levels__track { gap: 8px; }
  .level-connector { min-width: 16px; max-width: 32px; }
  .levels__extra { grid-template-columns: 1fr; }
  .testimonial-card { padding: 32px 24px; }
  .testimonial-card__text { font-size: 1.2rem; }
  .testimonial-card__author { flex-wrap: wrap; }
  .testimonial-card__stars { margin-left: 0; }
  .security__grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .trust-bar__inner { justify-content: center; }
  .trust-bar__label { width: 100%; text-align: center; }
  .trust-bar__items { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 2.6rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .faq__tabs { gap: 6px; }
  .faq-tab { padding: 6px 14px; font-size: 0.78rem; }
}
