/* =============================================
   MOVEMENTS SHOTOKAN KARATE
   Main Stylesheet
   ============================================= */

:root {
  --black: #0a0a0a;
  --white: #f0ede8;
  --red: #c0392b;
  --grey: #1a1a1a;
  --mid: #888;
  --border: rgba(255,255,255,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* =============================================
   NAVIGATION
   ============================================= */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2.5rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.97), transparent);
}

.nav-logo img {
  height: 28px;
  width: auto;
  filter: invert(1);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-logo:hover img { opacity: 1; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--mid);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* hamburger — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--red); color: var(--white); }
.btn-secondary { border-color: var(--border); color: var(--white); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); }

/* =============================================
   SHARED SECTION ELEMENTS
   ============================================= */

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-body {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.85;
  max-width: 48ch;
}

/* =============================================
   HERO (index only)
   ============================================= */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '無心';
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(10rem, 22vw, 20rem);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 13ch;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 40ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
  padding: 10rem 2.5rem 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: attr(data-kanji);
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(8rem, 18vw, 16rem);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

/* =============================================
   PILLARS (index)
   ============================================= */

.pillars-wrap {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.pillar {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: none; }

.pillar-kanji {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: rgba(255,255,255,0.1);
  margin-bottom: 1rem;
  display: block;
}

.pillar-name {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.pillar p { font-size: 0.88rem; color: var(--mid); line-height: 1.7; }

/* =============================================
   PLACEHOLDER IMAGE
   ============================================= */

.placeholder-img {
  width: 100%;
  background: var(--grey);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 0.5rem;
}

.placeholder-img::before {
  content: '＋';
  font-size: 1.5rem;
  opacity: 0.3;
}

/* =============================================
   APP SHOWCASE (index)
   ============================================= */

.showcase {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase .placeholder-img { height: 480px; }

.showcase-text { }
.showcase-text .section-title { margin-bottom: 1.5rem; }
.showcase-text .section-body { margin-bottom: 2rem; }

/* =============================================
   DOWNLOAD STRIP
   ============================================= */

.download-strip {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.download-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.download-strip p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.store-badges { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 42px; opacity: 0.82; transition: opacity 0.2s; }
.store-badges img:hover { opacity: 1; }
.platform-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
}

/* =============================================
   CONTENT GRID (inner pages)
   ============================================= */

.content-section {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-grid .placeholder-img { height: 360px; }

.content-text .section-title { margin-bottom: 1rem; }
.content-text .section-body { margin-bottom: 1.5rem; }

/* =============================================
   CARD GRID (inner pages)
   ============================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.card {
  background: var(--black);
  padding: 2rem;
}

.card .placeholder-img { height: 200px; margin-bottom: 1.5rem; }

.card-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.85rem; color: var(--mid); line-height: 1.7; }

/* =============================================
   PRIVACY PAGE
   ============================================= */

.privacy-page {
  padding: 8rem 2.5rem 5rem;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.privacy-updated {
  font-size: 0.72rem;
  color: var(--mid);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  display: block;
}

.privacy-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 2.5rem 0 0.6rem;
}

.privacy-page p,
.privacy-page li {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 0.4rem;
}

.privacy-page ul { padding-left: 1.4rem; margin-bottom: 0.75rem; }
.privacy-page strong { color: var(--white); font-weight: 500; }
.privacy-page a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p { font-size: 0.7rem; color: rgba(255,255,255,0.2); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* =============================================
   ANIMATIONS
   ============================================= */

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

/* =============================================
   MOBILE
   ============================================= */

@media (max-width: 768px) {
  nav { padding: 1.2rem 1.4rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }

  .hero { padding: 0 1.4rem; }
  .pillars-wrap { padding: 4rem 1.4rem; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }

  .showcase {
    grid-template-columns: 1fr;
    padding: 4rem 1.4rem;
    gap: 2.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .content-grid.reverse { direction: ltr; }

  .page-hero { padding: 8rem 1.4rem 4rem; }
  .content-section { padding: 4rem 1.4rem; }
  .download-strip { padding: 4rem 1.4rem; }
  .privacy-page { padding: 6rem 1.4rem 3rem; }
  footer { padding: 1.5rem 1.4rem; }
}
