:root {
  --clr-primary: #C97B4B;
  --clr-primary-dark: #A8622F;
  --clr-secondary: #7A9E8E;
  --clr-accent: #E8B84B;
  --clr-bg: #FAF7F2;
  --clr-surface: #FFFFFF;
  --clr-text: #1C1A18;
  --clr-text-2: #3C3835;
  --clr-muted: #6B6460;
  --clr-border: rgba(201,123,75,0.15);
  --radius-card: 18px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 8px 28px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 20px rgba(201,123,75,0.18), 0 16px 40px rgba(0,0,0,0.08);
  --max-width: 880px;
}

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

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */
header {
  background: #FAF7F2;
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.01em;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  font-size: 14px;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--clr-primary); }
.nav-sep { color: #D9CFCA; font-size: 13px; }
.lang-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 7px;
  color: var(--clr-muted);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  line-height: 1.5;
}
.lang-btn:hover, .lang-btn.lang-active {
  color: var(--clr-primary);
  border-color: rgba(201,123,75,0.35);
  background: rgba(201,123,75,0.08);
}

/* ─── Main ─── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px 100px;
}

/* ─── Hero ─── */
.hero {
  text-align: center;
  padding: 80px 16px 64px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,123,75,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(122,158,142,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 60%, rgba(232,184,75,0.06) 0%, transparent 60%);
}
.app-icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.10),
    0 16px 48px rgba(201,123,75,0.22);
  margin-bottom: 28px;
  position: relative;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.05;
  position: relative;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--clr-muted);
  margin-bottom: 44px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  position: relative;
}

/* App Store Button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #1A1A1A;
  color: #fff;
  padding: 13px 28px;
  border-radius: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.22);
  position: relative;
}
.btn-appstore:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.btn-appstore-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.btn-appstore-label {
  line-height: 1.2;
  text-align: left;
}
.btn-appstore-small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
  display: block;
  letter-spacing: 0.01em;
}
.btn-appstore-big {
  font-size: 17px;
  font-weight: 700;
  display: block;
  letter-spacing: -0.01em;
}

/* ─── Preview / Screenshots ─── */
.screenshots-section {
  padding: 8px 0 64px;
}
.screenshots-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}
.screenshot-img {
  width: 210px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  display: block;
}
.screenshot-img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.16), 0 4px 12px rgba(201,123,75,0.12);
}
.screenshot-img.center {
  width: 236px;
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.16), 0 3px 10px rgba(201,123,75,0.12);
  z-index: 1;
}
.screenshot-img.center:hover {
  transform: translateY(-18px) scale(1.03);
}

/* ─── Section Label & Block Title ─── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
h2.block-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  line-height: 1.2;
}

/* ─── Features ─── */
.features-section { margin-bottom: 64px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--clr-surface);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.25s, transform 0.22s;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  background: var(--icon-bg, rgba(201,123,75,0.10));
}
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ─── Legal ─── */
.legal-section { margin-bottom: 64px; }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-card {
  flex: 1;
  min-width: 220px;
  background: var(--clr-surface);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.22s;
  display: flex;
  align-items: center;
  gap: 16px;
}
.legal-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.legal-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(201,123,75,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.legal-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.legal-card-desc { font-size: 12px; color: var(--clr-muted); }

/* ─── Footer ─── */
footer {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 40px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.footer-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-primary);
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--clr-primary); }
footer p { font-size: 13px; color: var(--clr-muted); }

/* ─── Privacy & Terms Pages ─── */
.page-header {
  margin-bottom: 36px;
  padding-top: 52px;
}
.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.last-updated { font-size: 13px; color: var(--clr-muted); }

.section {
  background: var(--clr-surface);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
}
.section h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--clr-border);
  letter-spacing: -0.01em;
}
.section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  margin: 18px 0 8px;
}
.section p {
  font-size: 15px;
  color: var(--clr-text-2);
  margin-bottom: 10px;
}
.section ul { padding-left: 22px; margin-bottom: 10px; }
.section li {
  font-size: 15px;
  color: var(--clr-text-2);
  margin-bottom: 6px;
  line-height: 1.65;
}
.section a { color: var(--clr-primary); text-decoration: none; }
.section a:hover { text-decoration: underline; }
.section table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
}
.section th {
  background: rgba(201,123,75,0.08);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--clr-text);
  font-size: 13px;
}
.section td {
  padding: 10px 14px;
  border-top: 1px solid rgba(0,0,0,0.055);
  color: var(--clr-text-2);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 40px; }
  .screenshot-img { width: 165px; }
  .screenshot-img.center { width: 185px; }
}
@media (max-width: 600px) {
  .header-inner { padding: 0 18px; height: 56px; }
  main { padding: 0 18px 64px; }
  .hero { padding: 60px 0 48px; }
  .app-icon { width: 88px; height: 88px; border-radius: 20px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 18px 14px; }
  .feature-icon-wrap { width: 42px; height: 42px; border-radius: 11px; font-size: 22px; }
  .section { padding: 22px 18px; }
  .page-title { font-size: 26px; }
  .page-header { padding-top: 36px; }
  h2.block-title { font-size: 22px; }
  .screenshots-section { padding: 0 0 48px; }
  .screenshots-wrapper { gap: 12px; }
  .screenshot-img { width: 110px; border-radius: 14px; }
  .screenshot-img.center { width: 128px; }
  .nav-link { display: none; }
  .nav-sep { display: none; }
  .btn-appstore { padding: 12px 22px; }
  .btn-appstore-big { font-size: 15px; }
}
