@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body.site-page {
  font-family: 'DM Sans', sans-serif;
  color: #1a1d2e;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

html,
body.site-page {
  overflow-x: clip;
}

.nav {
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 60px;
  border-bottom: 1px solid #EAECF4;
  background: #fff;
  gap: 16px;
  position: relative;
  flex-wrap: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 32px;
  min-width: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: #374151;
  font-size: 20px;
  flex-shrink: 0;
  padding: 0;
}

.nav-logo { display: flex; align-items: center; margin-right: 8px; flex-shrink: 0; }
.nav-logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  display: block;
  flex-shrink: 0;
}

body.site-page img:not(.nav-logo-img):not(.footer-logo-img):not(.eleman-brand-img) {
  max-width: 100%;
  height: auto;
}

.eleman-brand-img {
  height: 22px;
  width: auto;
  max-width: 160px;
  min-height: 22px;
  display: block;
}
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-link {
  font-size: 13.5px;
  color: #6b7280;
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link-active { color: #4361EE; font-weight: 500; }
.nav-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-shrink: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-right: 4px;
}
.lang-switch-sep { color: #D1D5DB; user-select: none; }
.lang-switch-opt {
  color: #9ca3af;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s;
}
.lang-switch-opt:hover { color: #4361EE; }
.lang-switch-opt.is-active { color: #4361EE; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all 0.15s;
}
.btn-outline { background: #fff; color: #374151; border: 1px solid #D1D5DB; }
.btn-outline:hover { border-color: #4361EE; color: #4361EE; }
.btn-primary { background: #4361EE; color: #fff; }
.btn-primary:hover { background: #3451d1; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.page-main { flex: 1; }

.page-hero {
  padding: 56px 40px 48px;
  text-align: center;
  border-bottom: 1px solid #F3F4F6;
  background: #fff;
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #0f1224;
  max-width: 640px;
  margin: 0 auto 14px;
}

.page-hero h1 em { font-style: italic; color: #4361EE; }

.page-hero-lead {
  font-size: 17px;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.page-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.section { padding: 56px 40px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4361EE;
  margin-bottom: 14px;
}
.section-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #0f1224;
  margin-bottom: 14px;
}
.section-h2 em { font-style: italic; color: #4361EE; }
.section-sub { font-size: 16px; color: #6b7280; line-height: 1.65; max-width: 560px; }

.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 15px; color: #374151; line-height: 1.7; margin-bottom: 16px; }
.prose h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: #0f1224;
  margin: 32px 0 12px;
}
.prose ul { margin: 0 0 16px 20px; color: #374151; font-size: 15px; }
.prose li { margin-bottom: 8px; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.feat-card {
  background: #F7F8FC;
  border: 1px solid #EAECF4;
  border-radius: 14px;
  padding: 24px;
}
.feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.feat-icon.blue { background: #EEF2FF; color: #4361EE; }
.feat-icon.green { background: #ECFDF5; color: #059669; }
.feat-icon.amber { background: #FFFBEB; color: #D97706; }
.feat-icon.purple { background: #F5F3FF; color: #7C3AED; }
.feat-icon.teal { background: #F0FDFA; color: #0D9488; }
.feat-icon.red { background: #FEF2F2; color: #DC2626; }
.feat-title { font-size: 15px; font-weight: 600; color: #1a1d2e; margin-bottom: 7px; }
.feat-desc { font-size: 13.5px; color: #6b7280; line-height: 1.6; }
.feat-detail {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.65;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #EAECF4;
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 32px auto 0;
}
.int-card {
  background: #fff;
  border: 1px solid #EAECF4;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}
.int-icon { font-size: 24px; margin-bottom: 8px; }
.int-name { font-size: 12.5px; font-weight: 600; color: #374151; }
.int-type { font-size: 11px; color: #9ca3af; margin-top: 2px; }

.eleman-callout {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px;
  background: #F7F8FC;
  border: 1px solid #EAECF4;
  border-radius: 14px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.eleman-callout-logo {
  background: #0088CC;
  border-radius: 8px;
  padding: 10px 14px;
  flex-shrink: 0;
}
.eleman-callout-logo img { height: 22px; width: auto; display: block; }
.eleman-callout h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #1a1d2e; }
.eleman-callout p { font-size: 14px; color: #6b7280; line-height: 1.6; }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.toggle-label { font-size: 13.5px; color: #6b7280; cursor: pointer; user-select: none; }
.toggle-label.act { color: #1a1d2e; font-weight: 500; }
.toggle-pill {
  width: 44px;
  height: 24px;
  background: #4361EE;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
}
.toggle-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 9px;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}
.pricing-toggle.is-annual .toggle-thumb { transform: translateX(20px); }
.save-badge {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.plan {
  background: #F7F8FC;
  border: 1px solid #EAECF4;
  border-radius: 16px;
  padding: 28px;
}
.plan.featured { background: #fff; border: 2px solid #4361EE; }
.plan-badge {
  background: #4361EE;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}
.plan-name { font-size: 16px; font-weight: 700; color: #1a1d2e; margin-bottom: 6px; }
.plan-desc { font-size: 13px; color: #9ca3af; margin-bottom: 20px; }
.plan-price {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: #1a1d2e;
  line-height: 1;
}
.plan-price sup {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.plan-period { font-size: 13px; color: #9ca3af; margin-left: 4px; }
.plan-divider { border: none; border-top: 1px solid #EAECF4; margin: 20px 0; }
.plan-feat {
  font-size: 13px;
  color: #374151;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-feat i { font-size: 14px; color: #059669; flex-shrink: 0; }
.plan-feat.no i { color: #D1D5DB; }
.plan-feat.no span { color: #9ca3af; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.blog-card {
  background: #F7F8FC;
  border: 1px solid #EAECF4;
  border-radius: 14px;
  padding: 24px;
}
.blog-date { font-size: 12px; color: #9ca3af; margin-bottom: 10px; }
.blog-title { font-size: 17px; font-weight: 600; color: #1a1d2e; margin-bottom: 10px; line-height: 1.35; }
.blog-excerpt { font-size: 14px; color: #6b7280; line-height: 1.6; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 12px;
}
.contact-info p { font-size: 14px; color: #6b7280; margin-bottom: 16px; line-height: 1.65; }
.contact-detail { font-size: 14px; color: #374151; margin-bottom: 8px; }
.contact-detail strong { color: #1a1d2e; }

.contact-form-card {
  background: #F7F8FC;
  border: 1px solid #EAECF4;
  border-radius: 14px;
  padding: 28px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #4361EE;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-msg {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}
.form-msg.error { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.form-msg.success { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }

.cta-band {
  background: #0f1224;
  padding: 48px 40px;
  text-align: center;
  margin-top: 0;
}
.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}
.cta-band h2 em { font-style: italic; color: #818CF8; }
.cta-band p { font-size: 15px; color: rgba(255, 255, 255, 0.55); margin-bottom: 24px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: #1a1d2e; }
.btn-white:hover { background: #F3F4F6; }

.footer {
  background: #fff;
  border-top: 1px solid #EAECF4;
  padding: 48px 40px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 12px; }
.footer-logo-img { height: 32px; width: auto; display: block; }
.footer-eleman { margin-top: 16px; max-width: 300px; }
.footer-eleman-desc { font-size: 13px; color: #6b7280; line-height: 1.65; margin-bottom: 14px; }
.footer-powered { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-powered-label { font-size: 13px; color: #6b7280; font-weight: 500; }
.footer-powered-logo {
  display: inline-flex;
  align-items: center;
  background: #0088CC;
  border-radius: 6px;
  padding: 8px 14px;
}
.footer-col-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-link:hover { color: #4361EE; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F3F4F6;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12.5px; color: #9ca3af; }
.footer-legal { display: flex; gap: 20px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 32px auto 0;
}
.value-card {
  background: #F7F8FC;
  border: 1px solid #EAECF4;
  border-radius: 14px;
  padding: 22px;
}
.value-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: #6b7280; line-height: 1.6; }

@media (min-width: 769px) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex: 1;
    gap: 32px;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-links {
    flex-direction: row;
    flex: 1;
    width: auto;
  }

  .nav-link {
    padding: 0;
    border-bottom: none;
    width: auto;
  }

  .nav-cta {
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    margin-top: 0;
    width: auto;
  }

  .nav-cta .btn { width: auto; }
}

@media (max-width: 900px) {
  .feat-grid,
  .int-grid,
  .plans,
  .blog-grid,
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero,
  .section { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 16px;
    height: auto;
    min-height: 56px;
    gap: 12px;
  }

  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #EAECF4;
    box-shadow: 0 8px 24px rgba(15, 18, 36, 0.08);
    padding: 12px 16px 16px;
    z-index: 200;
  }

  .nav.nav-open .nav-menu { display: flex; }

  .nav-links {
    flex-direction: column;
    gap: 0;
    flex: none;
    width: 100%;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    width: 100%;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    gap: 8px;
  }

  .nav-cta .btn { width: 100%; justify-content: center; }

  .page-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .page-hero-lead { font-size: 15px; }
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-hero-actions .btn { width: 100%; }

  .feat-grid,
  .plans,
  .blog-grid,
  .values-grid,
  .steps { grid-template-columns: 1fr; }

  .int-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 28px;
  }

  .int-card {
    padding: 10px 6px;
    border-radius: 10px;
  }

  .int-icon {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .int-name {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .int-type {
    font-size: 9px;
    margin-top: 2px;
    line-height: 1.2;
  }

  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-band-actions .btn { width: 100%; }

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

  .footer-legal { flex-wrap: wrap; gap: 12px; }

  .eleman-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .int-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .int-card { padding: 8px 4px; }

  .int-icon {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .int-name { font-size: 9.5px; }

  .int-type { font-size: 8px; }
}

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

  .section,
  .page-hero { padding-left: 16px; padding-right: 16px; }

  .footer { padding-left: 16px; padding-right: 16px; }
}
