/*
  Shared visual alignment with website-audit.html.
  Loaded after each localized landing page's inline CSS.
*/

:root {
  --teal: #0f766e;
  --teal-dark: #0b5d57;
  --teal-light: #14b8a6;
  --teal-soft: #f0fdf9;
  --dark: #0f172a;
  --slate: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --muted-soft: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --line: #e2e8f0;
  --brand: #0f172a;
  --brand-soft: #f0fdf9;
  --accent: #0f766e;
  --accent-strong: #0b5d57;
  --accent-soft: #f0fdf9;
  --cyan: #d9f7f2;
  --violet: #e2e8f0;
  --shadow: 0 8px 40px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1100px;
}

body {
  background: var(--surface-strong);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand,
.hero-copy h1,
.section-header h2,
.preview-top h2,
.feature-card h3,
.step-card h3,
.pricing-card h3,
.faq-card h3,
.demo-card h3,
.proof-card h3,
.merchant-fit-card h3,
.final-cta h2 {
  color: var(--dark);
}

.container {
  max-width: var(--container);
  padding: 0 28px;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.site-header .container {
  min-height: 64px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--dark);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}

.nav {
  gap: 18px;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--muted-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--dark);
}

.btn {
  min-height: 44px;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.92rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  box-shadow: none;
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: var(--surface-strong);
  border-color: var(--border);
  color: var(--dark);
}

.btn-secondary:hover,
.sample-url:hover {
  background: var(--surface-strong);
  box-shadow: none;
  border-color: rgba(15, 118, 110, 0.24);
}

.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-strong) 100%);
}

.hero-grid {
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
}

.eyebrow,
.hero-proof span,
.sample-url {
  background: var(--teal-soft);
  border: 1px solid rgba(15, 118, 110, 0.2);
  color: var(--teal);
  border-radius: 999px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 5px 12px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  background: var(--teal-light);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 22px 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-copy p {
  max-width: 560px;
  color: var(--muted-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  gap: 12px;
}

.hero-proof {
  margin-top: 18px;
}

.hero-proof span {
  padding: 7px 12px;
  color: var(--muted);
  background: var(--surface-strong);
  border-color: var(--border);
  font-size: 0.82rem;
}

.hero-note,
.section-header p,
.proof-card p,
.proof-card li,
.demo-card p,
.demo-card li,
.pricing-card p,
.pricing-card ul,
.faq-card p,
.trust-item span,
.impact-card span,
.form-note,
.preview-result-meta,
.preview-kpi span,
.preview-bullets,
.compatibility-note,
.compatibility-item span,
.site-footer {
  color: var(--muted-soft);
}

.hero-visual {
  gap: 16px;
}

.glass-card,
.feature-card,
.step-card,
.pricing-card,
.faq-card,
.demo-card,
.proof-card,
.merchant-fit-card,
.impact-card,
.trust-item,
.demo-checklist,
.preview-result-card,
.compatibility-item,
.preview-kpi,
.preview-followup-note {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: none;
}

.preview-panel,
.feature-card,
.step-card,
.pricing-card,
.faq-card,
.demo-card,
.proof-card,
.merchant-fit-card,
.impact-card {
  padding: 28px;
}

.preview-top p {
  color: var(--muted-soft);
  line-height: 1.6;
}

.status-chip,
.step-number,
.section-label,
.preview-success,
.preview-grid-card span:last-child,
.bottom-nav-item.is-active {
  color: var(--teal);
}

.status-chip,
.icon-badge,
.card-num {
  background: var(--teal-soft);
  border-radius: 10px;
}

.phone-frame {
  border-radius: 30px;
  background: var(--dark);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.phone-screen {
  border-radius: 22px;
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

.phone-header,
.bottom-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
  backdrop-filter: blur(18px);
}

.app-top {
  background: var(--dark);
  border-radius: 20px;
}

.app-logo,
.preview-grid-card,
.product-card {
  border-color: var(--border);
}

.product-card,
.preview-grid-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.product-visual,
.preview-grid-visual,
.story-bubble {
  background: linear-gradient(135deg, var(--teal-soft), #e2e8f0);
}

.preview-grid-badge {
  background: #fffbeb;
  color: #d97706;
}

.bottom-nav {
  border-radius: 16px;
}

.trust-strip {
  gap: 14px;
}

.trust-item {
  border-radius: 16px;
}

.impact-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.impact-grid {
  gap: 0;
}

.impact-card {
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: 6px 24px;
}

.impact-card:first-child {
  padding-left: 0;
}

.impact-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.impact-card strong {
  font-size: 1.35rem;
  letter-spacing: 0;
  color: var(--dark);
}

section {
  padding: 80px 0;
}

section:nth-of-type(even):not(.hero):not(.impact-strip) {
  background: var(--bg);
}

.section-header {
  margin-bottom: 48px;
  max-width: 700px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
}

.feature-grid,
.steps-grid,
.pricing-grid,
.faq-grid,
.proof-band,
.merchant-fit,
.demo-layout {
  gap: 16px;
}

.feature-card h3,
.step-card h3,
.pricing-card h3,
.faq-card h3,
.demo-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
}

.feature-card p,
.step-card p,
.pricing-card p,
.faq-card p,
.demo-card p,
.proof-card p,
.proof-card li,
.demo-card li,
.merchant-fit-card li {
  font-size: 0.88rem;
  line-height: 1.6;
}

.icon-badge {
  width: 36px;
  height: 36px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.proof-card li::before,
.merchant-fit-card li::before,
.demo-card li::before,
.preview-bullets li::before {
  color: var(--teal);
}

.demo-section {
  background: var(--dark) !important;
}

.demo-section .section-label {
  color: #5eead4;
}

.demo-section .section-header h2,
.demo-section .section-header p {
  color: #ffffff;
}

.demo-section .section-header p {
  color: #94a3b8;
}

.demo-section .demo-card,
.demo-section .demo-checklist,
.demo-section .preview-result-card,
.demo-section .compatibility-item,
.demo-section .preview-kpi,
.demo-section .preview-followup-note {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.demo-section .demo-card h3,
.demo-section .demo-checklist h4,
.demo-section .preview-result-card h4,
.demo-section .preview-kpi strong,
.demo-section .compatibility-item strong {
  color: #ffffff;
}

.demo-section .demo-card p,
.demo-section .demo-card li,
.demo-section .demo-checklist li,
.demo-section .preview-result-meta,
.demo-section .preview-kpi span,
.demo-section .preview-bullets,
.demo-section .compatibility-note,
.demo-section .compatibility-item span,
.demo-section .form-note {
  color: #94a3b8;
}

.demo-section .sample-url {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #d1fae5;
}

label {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
select,
textarea {
  min-height: 44px;
  border-radius: 10px;
  border-color: var(--border);
  background: var(--surface-strong);
  color: var(--dark);
  font-size: 0.92rem;
}

.demo-section input,
.demo-section select,
.demo-section textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.demo-section input::placeholder,
.demo-section textarea::placeholder {
  color: #64748b;
}

.demo-section select option {
  background: var(--slate);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  outline: none;
}

.preview-result-card {
  background: var(--surface-strong);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%);
  border-color: rgba(15, 118, 110, 0.2);
}

.price {
  color: var(--dark);
  font-size: 2.6rem;
}

.pricing-card li {
  border-top-color: var(--border);
}

.final-cta {
  padding: 48px 28px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.site-footer .container {
  max-width: var(--container);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .impact-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface-strong);
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  .site-header .container {
    min-height: auto;
    gap: 14px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .hero-actions,
  .compatibility-cta {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 56px 0;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .preview-panel,
  .feature-card,
  .step-card,
  .pricing-card,
  .faq-card,
  .demo-card,
  .proof-card,
  .merchant-fit-card,
  .impact-card {
    padding: 22px;
  }
}
