/* ═══════════════════════════════════════════
   Luthero — Shared Styles
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2D2A32;
  background: #FBF9F6;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Source Serif 4', 'Georgia', serif;
  color: #1F1B26;
}

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,249,246,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 16px 0;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2D2A32;
}
.logo span { color: #7C4DBA; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6E6880;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.1);
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch:hover { color: #7C4DBA; border-color: #7C4DBA; }
.nav-cta {
  background: #7C4DBA; color: #fff;
  padding: 10px 24px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}
.nav-cta:hover { background: #6A3FA6; }

/* ── Hero (homepage) ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, #FBF9F6 0%, #F3EEFF 100%);
}
.hero-badge {
  display: inline-block;
  background: #F3EEFF; color: #7C4DBA;
  padding: 6px 18px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(124,77,186,0.15);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto 24px;
}
.hero p.subtitle {
  font-size: 1.15rem;
  color: #6E6880;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ── Mock UI (Hero visual) ── */
.hero-visual {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.mock-editor {
  background: #FFFEF9;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(31,27,38,0.08), 0 4px 20px rgba(31,27,38,0.04);
  overflow: hidden;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: #F5F2ED;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mock-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mock-dot:nth-child(1) { background: #E8E4DE; }
.mock-dot:nth-child(2) { background: #E8E4DE; }
.mock-dot:nth-child(3) { background: #E8E4DE; }
.mock-titlebar span {
  margin-left: 8px;
  font-size: 0.78rem;
  color: #9B95A3;
  font-weight: 500;
}
.mock-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 340px;
}
.mock-sidebar {
  padding: 24px 20px;
  border-right: 1px solid rgba(0,0,0,0.06);
  background: #FAF8F5;
}
.mock-sidebar-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9B95A3;
  margin-bottom: 14px;
}
.mock-source {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: #4A4554;
  line-height: 1.4;
  cursor: default;
  transition: background 0.15s;
}
.mock-source:hover { background: rgba(124,77,186,0.06); }
.mock-source.active {
  background: rgba(124,77,186,0.08);
}
.mock-source-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  background: #F3EEFF;
}
.mock-source-meta {
  font-size: 0.7rem;
  color: #9B95A3;
  margin-top: 2px;
}
.mock-content {
  padding: 32px 36px;
}
.mock-content h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1F1B26;
  margin-bottom: 18px;
}
.mock-text-line {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.85;
  color: #4A4554;
  margin-bottom: 4px;
}
.mock-highlight {
  background: rgba(124,77,186,0.12);
  border-radius: 3px;
  padding: 1px 3px;
}
.mock-reference {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EBF5EE;
  color: #3D8B5E;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 2px;
  vertical-align: middle;
}
.mock-reference svg {
  width: 10px; height: 10px;
}
.mock-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: #7C4DBA;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Section shared ── */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7C4DBA;
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 600px;
}
.section-desc {
  font-size: 1.05rem;
  color: #6E6880;
  max-width: 520px;
  line-height: 1.75;
  margin-top: 16px;
}

/* ── How It Works ── */
.how-it-works {
  padding: 120px 0;
  background: #FFFEF9;
}
.how-it-works .section-heading {
  text-align: center;
  margin: 0 auto 20px;
}
.how-it-works .section-label {
  text-align: center;
}
.how-it-works .section-desc {
  text-align: center;
  margin: 0 auto 72px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step {
  text-align: left;
  position: relative;
}
.step-number {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(124,77,186,0.12);
  line-height: 1;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 0.92rem;
  color: #6E6880;
  line-height: 1.7;
}

/* ── Differentiation ── */
.differentiation {
  padding: 120px 0;
  background: #FBF9F6;
}
.diff-header {
  text-align: center;
  margin-bottom: 72px;
}
.diff-header .section-heading {
  margin: 0 auto;
}
.diff-header .section-desc {
  margin: 16px auto 0;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.diff-card {
  background: #FFFEF9;
  border-radius: 14px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.diff-card:hover {
  box-shadow: 0 12px 40px rgba(124,77,186,0.06);
  transform: translateY(-3px);
}
.diff-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.15rem;
}
.diff-card:nth-child(1) .diff-icon { background: #EBF5EE; }
.diff-card:nth-child(2) .diff-icon { background: #F3EEFF; }
.diff-card:nth-child(3) .diff-icon { background: #FEF3E8; }
.diff-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.diff-card p {
  font-size: 0.9rem;
  color: #6E6880;
  line-height: 1.7;
}

/* ── Example Output ── */
.example-output {
  padding: 120px 0;
  background: #FFFEF9;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.example-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.example-text .section-heading {
  margin-bottom: 16px;
}
.example-card {
  background: #FBF9F6;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(31,27,38,0.05);
}
.example-card-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1F1B26;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.example-paragraph {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.9;
  color: #4A4554;
  margin-bottom: 16px;
}
.example-ref {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #EBF5EE;
  color: #3D8B5E;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: super;
  line-height: 1;
}
.example-sources {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0,0,0,0.08);
}
.example-sources-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9B95A3;
  margin-bottom: 10px;
}
.example-source-item {
  font-size: 0.78rem;
  color: #6E6880;
  padding: 4px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.example-source-num {
  font-weight: 600;
  color: #3D8B5E;
  font-size: 0.72rem;
}

/* ── CTA ── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(180deg, #FBF9F6 0%, #F3EEFF 100%);
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.cta-section p.cta-desc {
  font-size: 1.05rem;
  color: #6E6880;
  margin-bottom: 40px;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}
.cta-form input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 14px 20px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: #FFFEF9;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-form input[type="email"]:focus {
  border-color: #7C4DBA;
  box-shadow: 0 0 0 3px rgba(124,77,186,0.1);
}
.cta-form button {
  padding: 14px 32px;
  background: #7C4DBA; color: #fff;
  border: none; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-form button:hover { background: #6A3FA6; }
.cta-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #9B95A3;
}
.form-success {
  display: none;
  padding: 20px;
  background: #EBF5EE;
  border: 1px solid rgba(61,139,94,0.15);
  border-radius: 12px;
  color: #3D8B5E;
  font-weight: 600;
  max-width: 460px;
  margin: 0 auto;
}

/* ── Footer ── */
footer {
  padding: 48px 0;
  text-align: center;
  background: #F5F2ED;
  border-top: 1px solid rgba(0,0,0,0.06);
}
footer p { font-size: 0.82rem; color: #9B95A3; }
footer a:hover { color: #7C4DBA; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.footer-links a {
  font-size: 0.82rem;
  color: #6E6880;
  transition: color 0.2s;
}
.footer-links a:hover { color: #7C4DBA; }

/* ── SEO Pages: Hero ── */
.seo-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #FBF9F6 0%, #F3EEFF 100%);
}
.seo-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 24px;
}
.seo-hero .subtitle {
  font-size: 1.1rem;
  color: #6E6880;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── SEO Pages: Sections ── */
.seo-section {
  padding: 100px 0;
}
.seo-section:nth-child(even) {
  background: #FFFEF9;
}
.seo-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.seo-section-header .section-heading {
  margin: 0 auto;
}
.seo-section-header .section-desc {
  margin: 16px auto 0;
}

/* ── Problem Grid ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.problem-card {
  background: #FFFAF9;
  border: 1px solid rgba(194,91,86,0.1);
  border-radius: 14px;
  padding: 28px 24px;
}
.problem-card .icon {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.problem-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2D2A32;
}
.problem-card p {
  font-size: 0.88rem;
  color: #6E6880;
  line-height: 1.7;
}

/* ── Solution Grid ── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.solution-card {
  background: #FFFEF9;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.solution-card:hover {
  box-shadow: 0 12px 40px rgba(124,77,186,0.06);
  transform: translateY(-3px);
}
.solution-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
  background: #F3EEFF;
}
.solution-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2D2A32;
}
.solution-card p {
  font-size: 0.88rem;
  color: #6E6880;
  line-height: 1.7;
}

/* ── FAQ Section ── */
.faq-section {
  padding: 100px 0;
  background: #FBF9F6;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px 0;
}
.faq-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.faq-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2D2A32;
}
.faq-item p {
  font-size: 0.92rem;
  color: #6E6880;
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 840px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .diff-grid { grid-template-columns: 1fr; }
  .example-layout { grid-template-columns: 1fr; gap: 48px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 130px 0 80px; }
  .seo-hero { padding: 130px 0 60px; }
  .cta-form { flex-direction: column; }
  .cta-form input[type="email"] { min-width: unset; }
  .mock-content { padding: 24px 20px; }
  .how-it-works, .differentiation, .example-output, .cta-section { padding: 80px 0; }
  .seo-section, .faq-section { padding: 64px 0; }
}
