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

body {
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #3d4b59;
  background: #ffffff;
}

a { color: #0074C2; }

h1, h2, h3, h4, .heading {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: #0B2A4A;
}

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

.nav-bar {
  background: #ffffff;
  border-bottom: 3px solid #7B53FF;
  box-shadow: 0 1px 3px rgba(11,42,74,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.logo-mark { display: inline-flex; align-items: center; }
.logo-mark img { display: block; height: 26px; width: auto; }

.tabs { list-style: none; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.tabs a {
  color: #33414D;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.tabs a:hover { color: #7B53FF; }
.tabs a.active { color: #7B53FF; }
.tabs a.nav-cta {
  background: #7B53FF;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: background 0.15s;
}
.tabs a.nav-cta:hover { background: #6a46e0; color: #ffffff; }
.lang-item { position: relative; }
.lang-dd { position: relative; }
.lang-dd summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #d4dce4;
  border-radius: 4px;
  padding: 7px 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #33414D;
  user-select: none;
  transition: border-color 0.15s, color 0.15s;
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::marker { content: ""; }
.lang-dd summary:hover,
.lang-dd summary:focus-visible { outline: none; border-color: #7B53FF; color: #7B53FF; }
.lang-dd[open] summary { border-color: #7B53FF; color: #7B53FF; }
.lang-dd .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: block;
  flex: none;
  box-shadow: 0 0 0 1px rgba(11,42,74,0.10);
}
.lang-dd .chev { width: 13px; height: 13px; transition: transform 0.15s; }
.lang-dd[open] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 178px;
  background: #ffffff;
  border: 1px solid #e5ebf1;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(11,42,74,0.14);
  padding: 6px;
  z-index: 40;
}
.lang-menu .lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #33414D;
  text-decoration: none;
  letter-spacing: normal;
}
.lang-menu .lang-opt:hover { background: #f3f0ff; color: #7B53FF; }
.lang-menu .lang-opt.cur { color: #7B53FF; }
.lang-menu .lang-opt .check { width: 15px; height: 15px; margin-left: auto; color: #7B53FF; }

.hero {
  position: relative;
  background-color: #282828;
  background-image: url("../img/hero.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #e2e9f0;
}
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 84px 24px 92px;
}
.badge {
  display: inline-block;
  background: #7B53FF;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 18px;
  color: #ffffff;
}
.hero h1 .accent { color: #a98fff; }
.hero p.sub {
  font-size: 18px;
  color: #ffffffbc;
  max-width: 580px;
  font-weight: 400;
}
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: #2a2140;
  background: linear-gradient(120deg, #241b4d 0%, #3d2b7a 60%, #4a36b0 100%);
  border-bottom: 1px solid #e2e9f0;
}
.page-hero .hero-inner { padding: 56px 24px 60px; }
.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.page-hero p.sub { font-size: 17px; color: #ffffffbc; max-width: 640px; }

.btn {
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  color: #ffffff;
  background: #7B53FF;
  border: 2px solid #7B53FF;
  border-radius: 4px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: #6a46e0; border-color: #6a46e0; }
.btn:active { background: #4a36b0; border-color: #4a36b0; }
.btn.ghost {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff88;
}
.btn.ghost:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }
.btn.ghost-dark {
  background: transparent;
  color: #7B53FF;
  border-color: #7B53FF;
}
.btn.ghost-dark:hover { background: rgba(123,83,255,0.08); }
.btn.block { display: block; width: 100%; text-align: center; }

.section { padding: 60px 0 68px; }
.section.alt { background: #f7f8fb; border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 27px; font-weight: 700; margin-bottom: 10px; }
.section-head p { color: #5a6b7c; font-size: 15px; }
.section h2.left { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.section p.lead { font-size: 15px; color: #5a6b7c; margin-bottom: 26px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.feature {
  background: #ffffff;
  border: 1px solid #e5ebf1;
  border-radius: 4px;
  padding: 26px 24px;
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #f0ebff;
  color: #7B53FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature .icon svg { display: block; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: #5a6b7c; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: #ffffff;
  border: 1px solid #e5ebf1;
  border-top: 3px solid #7B53FF;
  border-radius: 4px;
  padding: 26px 24px;
}
.step .step-num {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #7B53FF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #5a6b7c; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5ebf1;
  border-radius: 4px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(11,42,74,0.05);
}
.plan.popular { border: 2px solid #7B53FF; }
.plan .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #7B53FF;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 2px;
  white-space: nowrap;
}
.plan h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.plan .tagline { font-size: 13px; color: #8a97a3; margin-bottom: 18px; }
.plan .price {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #0B2A4A;
  line-height: 1;
}
.plan .price .cur { font-size: 18px; font-weight: 700; vertical-align: super; }
.plan .per { font-size: 12px; color: #8a97a3; margin-bottom: 20px; }
.plan ul {
  list-style: none;
  margin: 0 0 24px;
  flex: 1;
}
.plan ul li {
  font-size: 14px;
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid #f0f3f7;
  position: relative;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 15px;
  height: 15px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237B53FF" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center / contain;
}
.plan ul li.no::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c2d0dd" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"/></svg>');
}
.plan ul li.no { color: #9aa6b2; }

.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}
table.data th {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
  color: #ffffff;
  background: #0B2A4A;
  padding: 12px 14px;
}
table.data td {
  padding: 11px 14px;
  border-bottom: 1px solid #e9eef3;
  vertical-align: top;
}
table.data tr:nth-child(even) td { background: #f9fafc; }
table.data code, .mono {
  font-family: "Consolas", "Menlo", monospace;
  font-size: 13px;
  background: #f0ebff;
  color: #4a36b0;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.cta-band {
  background: #7B53FF;
  background: linear-gradient(120deg, #6a46e0 0%, #7B53FF 100%);
  color: #ffffff;
  text-align: center;
  padding: 52px 0;
}
.cta-band h2 { color: #ffffff; font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: #ffffffcc; margin-bottom: 24px; }
.cta-band .btn { background: #ffffff; border-color: #ffffff; color: #4a36b0; }
.cta-band .btn:hover { background: #f0ebff; border-color: #f0ebff; }

.prose { max-width: 780px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { font-size: 13px; color: #8a97a3; margin-bottom: 26px; }

.callout {
  background: #f0ebff;
  border-left: 3px solid #7B53FF;
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.callout.warn {
  background: #fdf3e7;
  border-left-color: #d98a2b;
}

.faq details {
  background: #ffffff;
  border: 1px solid #e5ebf1;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq summary {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0B2A4A;
  cursor: pointer;
  padding: 14px 0;
  outline: none;
}
.faq details[open] summary { border-bottom: 1px solid #f0f3f7; }
.faq details p { padding: 12px 0 16px; font-size: 14px; color: #5a6b7c; }

.fine-print {
  margin-top: 22px;
  font-size: 12px;
  color: #8a97a3;
  line-height: 1.5;
}

footer {
  background: #ffffff;
  border-top: 1px solid #e5ebf1;
  color: #7a8794;
  font-size: 13px;
  padding: 42px 0 36px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 30px;
}
.footer-cols h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #33414D;
  margin-bottom: 12px;
}
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: #5a6b7c; text-decoration: none; }
.footer-cols a:hover { color: #7B53FF; }
footer .legal {
  color: #9aa6b2;
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid #eef1f5;
  padding-top: 20px;
}

@media (max-width: 860px) {
  .grid-3, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-wrap { padding: 14px 18px; }
  .tabs { gap: 16px; }
  .hero-inner { padding: 48px 20px 56px; }
  .hero h1 { font-size: 32px; }
  .hero p.sub { font-size: 16px; }
  .page-hero h1 { font-size: 28px; }
  .grid-3, .grid-2, .steps, .plans { grid-template-columns: 1fr; }
}
