/* Viadine SEO landing page — shared styles for en/zh/ja variants.
   Deliberately separate from assets/css/style.css (the SPA app's stylesheet)
   — this page is static/server-rendered content for crawlers, not part of
   the app shell. Same color system as the app (orange accent) for brand
   consistency, but self-contained so this page has zero dependency on the
   app's CSS ever changing. */
:root {
  --color-primary: #f97316;
  --color-primary-dark: #ea580c;
  --color-primary-bg: #fff7ed;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-white: #ffffff;
  --max-width: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Noto Sans SC", "Noto Sans JP", Roboto, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

a { color: var(--color-primary-dark); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--color-text);
}

.brand-logo { font-size: 24px; }

.lang-switch {
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.lang-switch a {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
}

.lang-switch a[aria-current="true"] {
  color: var(--color-primary-dark);
  font-weight: 700;
  background: var(--color-primary-bg);
}

.hero {
  text-align: center;
  padding: 56px 20px 40px;
  background: linear-gradient(180deg, var(--color-primary-bg) 0%, var(--color-white) 100%);
}

.hero h1 {
  font-size: 34px;
  margin: 0 0 12px;
  line-height: 1.3;
}

.hero .tagline {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--color-text-muted);
}

.cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
}

.cta-sub {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.store-badge-row {
  margin-top: 18px;
}

.store-badge-row img {
  height: 50px;
  width: auto;
}

.features {
  padding: 48px 20px;
}

.features h2, .faq h2, .trust h2 {
  text-align: center;
  font-size: 26px;
  margin: 0 0 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.feature-icon { font-size: 32px; margin-bottom: 12px; }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

.trust {
  background: var(--color-primary-bg);
  padding: 48px 20px;
}

.trust-list {
  max-width: 560px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.trust-list li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.faq {
  padding: 48px 20px;
}

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

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

footer.site-footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.final-cta {
  text-align: center;
  padding: 48px 20px 56px;
}

.contact {
  padding: 48px 20px 56px;
  background: var(--color-primary-bg);
}

.contact-intro {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-select,
.contact-textarea,
.contact-email {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--color-white);
  color: var(--color-text);
}

.contact-textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-submit {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-status {
  text-align: center;
  font-size: 14px;
  margin: 4px 0 0;
}

.contact-status.is-success { color: #16a34a; }
.contact-status.is-error { color: #dc2626; }

/* Legal pages (privacy policy, etc.) — plain prose, reuses .wrap for width */
.legal {
  padding: 40px 20px 56px;
}

.legal h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

.legal .legal-updated {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--color-text);
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin-bottom: 8px;
}
