/* ============================================
   Shakyo Landing Page — Modern & Elegant
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-ink: #1a1a1a;
  --color-ink-light: #3d3d3d;
  --color-paper: #f8f6f1;
  --color-paper-warm: #f0ece4;
  --color-white: #ffffff;
  --color-accent: #8b7355;
  --color-accent-light: #a6926e;
  --color-gold: #c4a265;
  --color-muted: #9a9590;
  --color-border: #e0dbd3;
  --font-serif: 'Zen Old Mincho', 'Noto Serif JP', 'Georgia', serif;
  --font-body: 'Noto Serif JP', 'Georgia', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-ink);
  background-color: var(--color-paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

strong {
  font-weight: 600;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(248, 246, 241, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(224, 219, 211, 0.5);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-ink);
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.nav-logo:hover {
  opacity: 0.7;
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-ink-light);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-ink);
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: var(--color-border);
}

.nav-external {
  color: var(--color-muted) !important;
  font-size: 0.78rem !important;
}

.nav-external:hover {
  color: var(--color-ink) !important;
}

.nav-cta {
  background: var(--color-ink);
  color: var(--color-paper) !important;
  padding: 0.45rem 1.3rem;
  border-radius: 100px;
  font-weight: 400;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-ink-light);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-ink);
  transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg-calligraphy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  color: rgba(26, 26, 26, 0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.3em;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-h1-sub {
  display: block;
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.3em;
}

.hero-accent {
  background: linear-gradient(135deg, var(--color-ink), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--color-ink-light);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat-value {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-ink);
  color: var(--color-paper);
}

.btn-primary:hover {
  background: var(--color-ink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 26, 26, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-ink);
  transform: translateY(-2px);
}

/* --- Phone Mockup --- */
.hero-visual {
  flex: 0 0 auto;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: #fff;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-paper);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
}

.mock-app-ui {
  width: 100%;
  height: 100%;
}

.mock-canvas-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.mock-strokes,
.mock-strokes-static {
  width: 100%;
  height: 100%;
}

/* Stroke animation */
.stroke-animate {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawStroke 1.8s ease forwards;
}

.s1  { animation-delay: 0s; }
.s2  { animation-delay: 0.2s; }
.s3  { animation-delay: 0.35s; }
.s4  { animation-delay: 0.55s; }
.s5  { animation-delay: 0.7s; }
.s6  { animation-delay: 0.9s; }
.s7  { animation-delay: 1.05s; }
.s8  { animation-delay: 1.2s; }
.s9  { animation-delay: 1.35s; }
.s10 { animation-delay: 1.5s; }
.s11 { animation-delay: 1.65s; }
.s12 { animation-delay: 1.85s; }
.s13 { animation-delay: 2.0s; }
.s14 { animation-delay: 2.1s; }
.s15 { animation-delay: 2.25s; }
.s16 { animation-delay: 2.45s; }
.s17 { animation-delay: 2.6s; }
.s18 { animation-delay: 2.75s; }
.s19 { animation-delay: 2.9s; }

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-ink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Section Common --- */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--color-ink-light);
  margin-bottom: 3rem;
}

/* --- About Section --- */
.about {
  padding: 7rem 0;
  background: var(--color-white);
}

.about-layout {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-text {
  flex: 1;
}

.about-description {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--color-ink-light);
  margin-bottom: 1.4rem;
}

.about-description:last-of-type {
  margin-bottom: 0;
}

.about-visual {
  flex: 0 0 auto;
}

.about-scroll {
  width: 140px;
  padding: 2.5rem 1.5rem;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.about-scroll-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about-kanji {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0;
  line-height: 1;
}

/* --- Core Features Section --- */
.core-features {
  padding: 7rem 0;
  background: var(--color-white);
}

.core-features .section-eyebrow,
.core-features .section-title,
.core-features .section-subtitle {
  text-align: center;
}

.core-feature {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.core-feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.core-feature:first-of-type {
  padding-top: 2rem;
}

.core-feature-reverse {
  flex-direction: row-reverse;
}

.core-feature-text {
  flex: 1;
}

.core-feature-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.core-feature-text h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.core-feature-text p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-ink-light);
  margin-bottom: 1rem;
}

.core-feature-text p:last-of-type {
  margin-bottom: 1.2rem;
}

.core-feature-point {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--color-ink-light);
  padding: 0.7rem 1rem;
  background: var(--color-paper);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
}

.point-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  white-space: nowrap;
}

.core-feature-visual {
  flex: 0 0 320px;
}

/* Demo Cards */
.demo-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.demo-card-header {
  padding: 0.8rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  text-transform: uppercase;
}

.demo-card-body {
  padding: 2rem 1.5rem;
}

.demo-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-top: 1.2rem;
}

/* Demo: Tracing */
.demo-tracing {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.demo-template-char,
.demo-traced-char {
  font-family: var(--font-serif);
  font-size: 7.5rem;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  user-select: none;
}

.demo-template-char {
  color: rgba(0, 0, 0, 0.07);
}

.demo-traced-char {
  color: var(--color-ink);
  clip-path: inset(0 100% 0 0);
  animation: traceReveal 3.5s ease-in-out infinite;
}

@keyframes traceReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  50%  { clip-path: inset(0 0% 0 0); }
  75%  { clip-path: inset(0 0% 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}

/* Demo: Auto Advance */
.demo-auto-advance {
  padding: 0.5rem 0;
}

.demo-char-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.demo-char-done,
.demo-char-current,
.demo-char-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.demo-char-done span,
.demo-char-current span,
.demo-char-next span {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.demo-char-done {
  position: relative;
}

.demo-char-done span {
  color: var(--color-muted);
}

.demo-check {
  width: 18px;
  height: 18px;
}

.demo-char-current span {
  color: var(--color-ink);
}

.demo-char-current small {
  font-size: 0.6rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.demo-char-next span {
  color: rgba(0, 0, 0, 0.12);
}

.demo-char-next small {
  font-size: 0.6rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.demo-char-arrow {
  width: 20px;
  height: 20px;
  color: var(--color-border);
  flex-shrink: 0;
}

/* Demo: Audio */
.demo-audio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.demo-audio-icon {
  width: 52px;
  height: 52px;
  color: var(--color-accent);
}

.demo-audio-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}

.wave {
  display: block;
  width: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: audioWave 1.2s ease-in-out infinite;
}

.w1  { height: 8px;  animation-delay: 0s; }
.w2  { height: 16px; animation-delay: 0.1s; }
.w3  { height: 24px; animation-delay: 0.15s; }
.w4  { height: 12px; animation-delay: 0.25s; }
.w5  { height: 28px; animation-delay: 0.3s; }
.w6  { height: 18px; animation-delay: 0.4s; }
.w7  { height: 10px; animation-delay: 0.45s; }
.w8  { height: 22px; animation-delay: 0.55s; }
.w9  { height: 14px; animation-delay: 0.6s; }
.w10 { height: 26px; animation-delay: 0.7s; }
.w11 { height: 12px; animation-delay: 0.75s; }
.w12 { height: 6px;  animation-delay: 0.85s; }

@keyframes audioWave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.demo-audio-label {
  font-size: 0.78rem;
  color: var(--color-ink-light);
  letter-spacing: 0.08em;
}

/* --- About Scroll Label --- */
.about-scroll-label {
  text-align: center;
  font-size: 0.68rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* --- Features Section --- */
.features {
  padding: 7rem 0;
}

.features .section-eyebrow,
.features .section-title,
.features .section-subtitle {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.2rem;
  border-radius: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.feature-card-wide {
  grid-column: 1 / -1;
}

.feature-card-wide .feature-card-inner {
  max-width: 700px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--color-ink-light);
}

/* --- How To Section --- */
.howto {
  padding: 7rem 0;
  background: var(--color-white);
}

.howto .section-eyebrow,
.howto .section-title,
.howto .section-subtitle {
  text-align: center;
}

.steps {
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.step-number span {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-paper);
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.step-content p {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--color-ink-light);
}

.step-connector {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  margin-left: 27px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* --- Quote Section --- */
.quote-section {
  padding: 5.5rem 0;
  background: var(--color-ink);
  color: var(--color-paper);
}

.quote {
  text-align: center;
}

.quote p {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-bottom: 1.2rem;
}

.quote cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(248, 246, 241, 0.5);
  line-height: 1.8;
}

/* --- Sutra Section --- */
.sutra-section {
  padding: 7rem 0;
  background: var(--color-white);
}

.sutra-section .section-eyebrow,
.sutra-section .section-title,
.sutra-section .section-subtitle {
  text-align: center;
}

.sutra-text-block {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.sutra-original h3 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.sutra-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 2.4;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.sutra-mantra {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.sutra-translation-toggle {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.sutra-translation-toggle summary {
  padding: 1.2rem 2rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-ink-light);
  transition: color var(--transition), background var(--transition);
}

.sutra-translation-toggle summary:hover {
  color: var(--color-ink);
  background: rgba(0, 0, 0, 0.01);
}

.sutra-translation-toggle summary::-webkit-details-marker {
  display: none;
}

.sutra-translation-toggle summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.sutra-translation-toggle[open] summary::after {
  transform: rotate(45deg);
}

.sutra-translation {
  padding: 0 2rem 2rem;
}

.sutra-translation p {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--color-ink-light);
  margin-bottom: 1.2rem;
  text-indent: 1em;
}

.sutra-translation p:last-child {
  margin-bottom: 0;
  text-indent: 0;
  text-align: center;
  font-weight: 500;
  color: var(--color-ink);
}

.sutra-translation-mantra {
  text-align: center !important;
  text-indent: 0 !important;
  font-weight: 500 !important;
  color: var(--color-ink) !important;
  font-style: italic;
}

/* --- Benefits Section --- */
.benefits {
  padding: 7rem 0;
}

.benefits .section-eyebrow,
.benefits .section-title,
.benefits .section-subtitle {
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  padding: 2rem;
  border-left: 2px solid var(--color-border);
  transition: border-color var(--transition);
}

.benefit-item:hover {
  border-color: var(--color-accent);
}

.benefit-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.benefit-item h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.benefit-item p {
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--color-ink-light);
}

/* --- Anytime Section --- */
.anytime {
  padding: 7rem 0;
  background: var(--color-white);
}

.anytime .section-eyebrow,
.anytime .section-title {
  text-align: center;
}

.anytime-body {
  max-width: 760px;
  margin: 0 auto;
}

.anytime-lead {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--color-ink-light);
  text-align: center;
  margin-bottom: 1.2rem;
}

.anytime-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.anytime-scene {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: var(--color-paper);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.anytime-scene:hover {
  border-color: var(--color-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.anytime-scene-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}

.anytime-scene h3 {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.anytime-scene p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.anytime-note {
  font-size: 0.82rem;
  color: var(--color-ink-light);
  text-align: center;
  line-height: 2;
  font-style: italic;
}

/* --- FAQ Section --- */
.faq {
  padding: 7rem 0;
  background: var(--color-white);
}

.faq .section-eyebrow,
.faq .section-title {
  text-align: center;
}

.faq .section-title {
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 1.3rem 0;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-item summary:hover {
  color: var(--color-accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 1.3rem;
  font-size: 0.88rem;
  line-height: 2;
  color: var(--color-ink-light);
}

/* --- Download Section --- */
.download {
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-warm) 100%);
}

.download-inner {
  max-width: 560px;
  margin: 0 auto;
}

.download-description {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-ink-light);
  margin-bottom: 2.5rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-download {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
}

.download-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

/* --- Footer --- */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-ink);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

.footer-company-link {
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-company-link:hover {
  color: var(--color-ink);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(248, 246, 241, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-layout {
    flex-direction: column;
    gap: 3rem;
  }

  .core-feature,
  .core-feature-reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .core-feature-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

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

  .feature-card-wide {
    grid-column: auto;
  }

  .screens-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .anytime-scenes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 7rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
    border-radius: 30px;
  }

  .phone-mockup::before {
    width: 60px;
    height: 20px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-mockup-sm {
    width: 180px;
    height: 360px;
  }

  .scroll-indicator {
    display: none;
  }

  .sutra-body {
    padding: 2rem 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .sutra-translation {
    padding: 0 1.2rem 1.5rem;
  }

  .about,
  .core-features,
  .features,
  .howto,
  .benefits,
  .comparison,
  .app-screens,
  .faq,
  .download {
    padding: 5rem 0;
  }

  .core-feature {
    padding: 2.5rem 0;
  }

  .core-feature-text h3 {
    font-size: 1.15rem;
  }

  .feature-card {
    padding: 1.8rem;
  }

  .step {
    gap: 1.2rem;
  }

  .step-number {
    width: 44px;
    height: 44px;
  }

  .step-number span {
    font-size: 1.1rem;
  }

  .step-connector {
    margin-left: 21px;
  }

  .quote-section {
    padding: 4rem 0;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Initial load animations (above fold) */
.hero-content {
  animation: fadeUp 0.8s ease both;
}

.hero-visual {
  animation: fadeUp 0.8s ease 0.2s both;
}

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