/* LingoPic marketing site — teal brand system (matches the app tokens). */
:root {
  --primary: #0d9488;
  --primary-strong: #0f766e;
  --secondary: #14b8a6;
  --accent: #ea580c;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f0fdfa;
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;
  --border: #e4e7eb;
  --ring: #0d9488;
  --grad: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
  --font-heading: 'Rubik', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-body: 'Nunito Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 118, 110, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600; border-radius: 999px;
  padding: 12px 26px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-onaccent { background: #fff; color: var(--primary-strong); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { border-color: #fff; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--text); }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-soft); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  background: var(--surface); color: var(--primary); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 7px 15px; cursor: pointer; transition: border-color 0.15s;
}
.lang-toggle:hover { border-color: var(--primary); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 92px 0 72px; }
.hero-glow {
  position: absolute; inset: -40% -10% auto; height: 720px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(20, 184, 166, 0.18), transparent 70%) -10% -20% / 60% 60% no-repeat,
    radial-gradient(closest-side, rgba(234, 88, 12, 0.08), transparent 70%) 90% 0% / 50% 50% no-repeat;
}
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--primary-strong);
  background: var(--surface-alt); border: 1px solid #b2f0e4;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero-title { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
.hero-accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 640px; margin: 24px auto 0; font-size: 18.5px; color: var(--text-soft); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.hero-stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 48px 0 0; padding: 0; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 30px; min-width: 150px; box-shadow: var(--shadow);
}
.stat dt { font-size: 13.5px; color: var(--muted); order: 2; }
.stat dd { margin: 0; font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: var(--primary-strong); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; letter-spacing: -0.01em; }
.section-sub { max-width: 620px; margin: 16px auto 0; text-align: center; font-size: 17px; color: var(--text-soft); }

/* ===== Features ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 52px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.section-alt .feature-card { background: var(--bg); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #b2f0e4; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; font-size: 24px; border-radius: 12px;
  background: var(--surface-alt); border: 1px solid #b2f0e4; margin-bottom: 16px;
}
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ===== How it works ===== */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 52px; }
.how-card {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
}
.how-step {
  position: absolute; top: -18px; left: 24px; font-family: var(--font-heading);
  font-size: 26px; font-weight: 800; color: #fff; background: var(--grad);
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.how-card h3 { font-size: 20px; font-weight: 700; margin: 20px 0 10px; }
.how-card p { margin: 0; color: var(--text-soft); font-size: 15px; }

.pipeline-title { text-align: center; font-size: 22px; font-weight: 700; margin: 68px 0 30px; }
.pipeline {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.pipeline li {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-heading);
  font-weight: 600; font-size: 14.5px; color: var(--primary-strong);
  background: var(--surface-alt); border: 1px solid #b2f0e4; border-radius: 999px; padding: 10px 18px;
}
.pipeline li + li::before {
  content: '→'; color: var(--secondary); font-weight: 800; margin-right: 2px;
}

/* ===== Providers ===== */
.provider-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.provider-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.provider-head { font-size: 17px; font-weight: 700; color: var(--primary-strong); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--surface-alt); }
.provider-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.provider-list li {
  font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px;
}

/* ===== FAQ ===== */
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.section-alt .faq-item { background: var(--bg); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--text);
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--primary); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--text-soft); font-size: 15.5px; }

/* ===== CTA ===== */
.cta-section { padding: 88px 0; }
.cta-box {
  background: var(--grad); border-radius: 24px; text-align: center;
  padding: 72px 32px; box-shadow: var(--shadow-lg); color: #fff;
}
.cta-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.cta-sub { margin: 16px auto 0; max-width: 520px; font-size: 17px; color: rgba(255, 255, 255, 0.92); }
.cta-box .hero-ctas { margin-top: 32px; }

/* ===== Contact ===== */
.contact-box { text-align: center; }
.contact-box .btn { margin-top: 30px; }

/* ===== Footer ===== */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { border-radius: 8px; }
.footer-tagline { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 15px; }
.footer-made { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-soft); font-weight: 600; font-size: 14.5px; }
.footer-links a:hover { color: var(--primary); }
.footer-license { text-align: center; margin: 36px 0 0; font-size: 13px; color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 12px; }
  .stat { padding: 14px 20px; min-width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
