/* kintin official site */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #ec4899;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --font: "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-width: 960px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); height: var(--header-h);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.2rem; color: var(--text); }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-grid; place-items: center; color: white; font-size: 0.8rem; font-weight: 800;
}

.nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
.nav-desktop a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav-desktop a.active, .nav-desktop a:hover { color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; padding: 0.55rem 1.2rem;
  border-radius: 999px; font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
.nav-mobile { display: none; flex-direction: column; padding: 0.75rem 0 1rem; gap: 0.5rem; border-top: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 0.4rem 0; color: var(--text); font-weight: 500; }

.hero { padding: 3rem 0 2.5rem; background: linear-gradient(180deg, #eef2ff, #fff); text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: 0.75rem; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 32rem; margin: 0 auto 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-media {
  margin: 2rem auto 0;
  max-width: 880px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split-rev { grid-template-columns: 0.95fr 1.05fr; }
.split-copy h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }
.split-copy p { color: var(--text-muted); margin-bottom: 0.75rem; }
.split-copy ul { color: var(--text-muted); padding-left: 1.2rem; font-size: 0.95rem; }
.split-copy li { margin-bottom: 0.4rem; }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-photo img { width: 100%; height: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }

.moments-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
}
.moments-grid figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.moments-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moments-grid .wide { grid-row: 1 / 3; }
.moments-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem;
  color: white; font-size: 0.82rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(15,23,42,0.7));
}

.intro-block { max-width: 680px; margin: 0 auto; text-align: center; }
.intro-block p { color: var(--text-muted); font-size: 1rem; }

.home-faq { max-width: 720px; margin: 0 auto; }
.home-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  background: white;
}
.home-faq-item h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.home-faq-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.cta-band {
  text-align: center;
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
}
.cta-band h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.cta-band p { color: var(--text-muted); margin-bottom: 1.25rem; }

section { padding: 3rem 0; }
section.alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.5rem; }
.section-head p { color: var(--text-muted); font-size: 0.95rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.feature-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; margin-bottom: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; font-size: 0.85rem; font-weight: 700;
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }

.download-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem;
  background: var(--bg-dark); color: white; border-radius: var(--radius); font-size: 0.8rem;
}
.store-badge strong { display: block; font-size: 0.95rem; }

.about-brief { text-align: center; max-width: 640px; margin: 0 auto; }
.about-brief h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.about-brief p { color: var(--text-muted); font-size: 0.95rem; }
.about-brief address { font-style: normal; color: var(--text-muted); font-size: 0.9rem; margin-top: 0.75rem; }

.text-center { text-align: center; }

.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }

.legal-doc { padding: 2rem 0 3rem; }
.legal-doc h1 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.legal-meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }

.prose h2 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }

.faq-list { max-width: 640px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.5rem; background: white; }
.faq-q {
  width: 100%; text-align: left; padding: 1rem 1.1rem; background: none; border: none;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-q::after { content: "+"; color: var(--primary); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.1rem 1rem; color: var(--text-muted); font-size: 0.9rem; }
.faq-item.open .faq-a { display: block; }

.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 2rem 0; font-size: 0.88rem; }
.footer-simple { text-align: center; }
.footer-simple p { margin-bottom: 0.5rem; }
.footer-simple a { color: #cbd5e1; }
.footer-simple a:hover { color: white; }
.footer-brand-line { color: #e2e8f0; font-weight: 500; }
.footer-copy { font-size: 0.82rem; opacity: 0.85; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 2.5rem; }
  .split, .split-rev, .moments-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .moments-grid .wide { grid-row: auto; }
  .moments-grid img, .split-photo img { aspect-ratio: 16 / 10; }
}
