/* ========================================
   GATEWAY TRANSLATION — STYLES
   Fonts: Manrope (sans), IBM Plex Serif (serif)
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0f2a47;
  --navy-light: #1a3a5c;
  --blue: #2563eb;
  --sky: #5ba4e6;
  --bg-light: #eef3f8;
  --bg-card: #f4f7fb;
  --white: #ffffff;
  --text-primary: #0f2a47;
  --text-secondary: #4b5e73;
  --text-muted: #7a8a9a;
  --border: #d8e0e8;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --font-sans: 'Manrope', sans-serif;
  --font-serif: 'IBM Plex Serif', serif;
  --max-width: 1080px;
  --max-narrow: 680px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Pill / Badge ---------- */
.pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  letter-spacing: 0.02em;
}

/* ---------- Typography ---------- */
h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
}

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
  text-align: center;
  color: var(--navy);
  margin-bottom: 16px;
}

h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  background: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* =============================================
   SECTION: HERO
   ============================================= */
#hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  padding: 48px 24px 40px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* .hero-logo img {
  height: 60px;
  margin: 0 auto 32px;
  mix-blend-mode: multiply;
} */

/* ---------- Hero Logo (Compact) ---------- */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-logo-icon {
  height: 44px;
  width: auto;
}

.hero-logo-divider {
  width: 1px;
  height: 32px;
  background: var(--navy);
  opacity: 0.25;
}

.hero-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.hero-logo-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.12em;
}

.hero-logo-subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 9.5px;
  color: var(--navy);
  letter-spacing: 0.18em;
  margin-top: 2px;
}

#hero h1 {
  margin-bottom: 36px;
}

/* Upload Card */
.upload-card {
  max-width: 620px;
  margin: 0 auto 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 20px;
  box-shadow: 0 2px 12px rgba(15, 42, 71, 0.04);
}

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 36px 24px 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 20px;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--sky);
  background: rgba(91, 164, 230, 0.04);
}

.upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-label {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Upload Controls Row */
.upload-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.select-wrapper {
  flex: 1;
  position: relative;
}

.select-wrapper select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 36px 11px 14px;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.select-wrapper select:focus {
  border-color: var(--sky);
}

.select-wrapper .chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.upload-controls .btn-primary {
  white-space: nowrap;
  padding: 11px 28px;
}

/* Hero Tagline */
.hero-tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* =============================================
   SECTION: TRUST BAR
   ============================================= */
#trust {
  padding: 64px 24px 48px;
  text-align: center;
}

#trust h2 {
  font-size: clamp(22px, 3.5vw, 30px);
}

.trust-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trust-divider {
  width: 100%;
  max-width: 580px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 24px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logos span {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
}

/* =============================================
   MOUNTAIN DIVIDER
   ============================================= */
.mountain-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}

.mountain-divider img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   SECTION: 4 STEPS
   ============================================= */
#steps {
  padding: 80px 24px 72px;
  background: var(--white);
}

#steps h2 {
  margin-bottom: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step-card {
  text-align: center;
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* =============================================
   SECTION: SERVICES
   ============================================= */
#services {
  padding: 72px 24px 80px;
}

.service-row {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.service-row.reverse {
  flex-direction: row-reverse;
  margin-bottom: 0;
}

.service-image-placeholder {
  flex: 0 0 340px;
  height: 280px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.service-content {
  flex: 1;
}

.service-content .pill {
  margin-bottom: 16px;
}

.service-content h2 {
  text-align: left;
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 12px;
}

.notarized-heading em {
  font-family: var(--font-serif);
  font-style: italic;
}

.service-content > p {
  margin-bottom: 16px;
}

.service-content ul {
  margin-bottom: 24px;
}

.service-content ul li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 3px 0 3px 16px;
  position: relative;
}

.service-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.service-stats {
  display: flex;
  gap: 48px;
}

.service-stats div {
  display: flex;
  flex-direction: column;
}

.service-stats strong {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.service-stats span {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =============================================
   SECTION: PRICING / CONTACT FORM
   ============================================= */
#pricing {
  padding: 80px 24px;
  text-align: center;
}

#pricing .pill {
  margin-bottom: 20px;
}

.pricing-sub {
  font-family: var(--font-sans);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 40px;
}

.pricing-sub em {
  font-family: var(--font-serif);
  font-style: italic;
}

.contact-form {
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
}

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

.contact-form .btn-primary {
  display: block;
  margin: 8px auto 0;
}

/* =============================================
   SECTION: COMPARISON TABLE
   ============================================= */
#comparison {
  padding: 80px 24px;
  text-align: center;
}

#comparison .pill {
  margin-bottom: 16px;
}

#comparison h2 {
  margin-bottom: 40px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.comparison-col {
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
}

.comparison-col.other {
  background: var(--bg-card);
}

.comparison-col.gateway {
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.comparison-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 20px;
}

.comparison-logo {
  height: 22px;
  width: auto;
  mix-blend-mode: multiply;
}

.comparison-col ul li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-col.gateway ul li {
  color: var(--navy);
}

/* Dots */
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.grey { background: #c4cdd6; }
.dot.green { background: #22c55e; }
.dot.blue { background: #3b82f6; }
.dot.red { background: #ef4444; }

.comparison-footnote {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   SECTION: FAQ
   ============================================= */
#faq {
  padding: 72px 24px 80px;
}

.faq-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 30px);
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(15, 42, 71, 0.06);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   SECTION: LANGUAGES
   ============================================= */
#languages {
  padding: 72px 24px;
  text-align: center;
}

#languages .pill {
  margin-bottom: 16px;
}

.lang-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 32px;
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.lang-pills span {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  transition: background 0.2s, border-color 0.2s;
}

.lang-pills span:hover {
  background: var(--bg-light);
  border-color: var(--sky);
}

/* =============================================
   SECTION: CTA
   ============================================= */
#cta {
  padding: 72px 24px 80px;
  text-align: center;
}

#cta .pill {
  margin-bottom: 16px;
}

#cta h2 {
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

#cta .upload-card {
  max-width: 620px;
  margin: 0 auto;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 32px;
}

/* Footer logo override — left aligned */
#footer .hero-logo {
  justify-content: flex-start;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  margin-bottom: 28px;
}

.footer-logo img {
  height: 48px;
  mix-blend-mode: multiply;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-contact {
  display: flex;
  gap: 32px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-contact-item svg {
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal a {
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--navy);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
  }

  .service-image-placeholder {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .service-content h2 {
    text-align: center;
  }

  .service-stats {
    justify-content: center;
  }

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

  .upload-controls {
    flex-direction: column;
  }

  .upload-controls .btn-primary {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-logos {
    gap: 24px;
  }
}

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

  .hero-logo img {
    height: 48px;
  }
}