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

:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-deep: #7c3aed;
  --accent: #fb923c;
  --accent-dark: #ea7c1f;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 40px rgba(79, 70, 229, .15);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--indigo); text-decoration: none; transition: color .15s; }
a:hover { color: var(--indigo-dark); text-decoration: underline; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background .2s, transform .1s, box-shadow .2s, color .15s;
  cursor: pointer;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--indigo-dark); color: #fff; box-shadow: var(--shadow); }
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.btn--ghost {
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--border);
  padding: 12.5px 26.5px;
}
.btn--ghost:hover { border-color: var(--indigo); background: rgba(79, 70, 229, .04); color: var(--indigo); }

.hero .btn--primary {
  background: #fff;
  color: var(--indigo);
}
.hero .btn--primary:hover {
  background: #f1f5f9;
  color: var(--indigo-dark);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  text-align: center;
  padding: 96px 24px 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(251, 146, 60, .18) 0%, transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(255, 255, 255, .12) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 18px 28px;
  border-radius: 18px;
  margin-bottom: 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22), 0 2px 6px rgba(15, 23, 42, .12);
}
.hero__logo {
  max-width: 200px;
  height: auto;
  display: block;
}
.hero h1 {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: 22px;
  opacity: .94;
  margin: 0 auto 36px;
  max-width: 640px;
  font-weight: 400;
  line-height: 1.45;
}
.hero__desc {
  font-size: 15px;
  opacity: .8;
  margin-top: 28px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__lead {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.6;
}
.section__note {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.65;
}
.section__sub {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  text-align: center;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 12px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 70, 229, .25);
}
.section--alt .feature {
  background: #fff;
}
.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, .1), rgba(251, 146, 60, .1));
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Tariffs */
.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.tariff {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px 20px;
  text-align: left;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tariff:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 70, 229, .35);
}
.tariff--featured {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px var(--indigo), 0 8px 24px rgba(79, 70, 229, .12);
}
.tariff--featured:hover {
  box-shadow: 0 0 0 1px var(--indigo), 0 14px 32px rgba(79, 70, 229, .2);
}
.tariff__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}
.tariff__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.tariff__price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.1;
}
.tariff__price-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}
.tariff__limit {
  font-size: 13px;
  color: var(--text);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.45;
}
.tariff__limit strong { font-weight: 700; }

/* Partners */
.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  min-height: 110px;
  transition: border-color .2s, transform .2s;
}
.partner:hover {
  border-color: var(--indigo);
  text-decoration: none;
  transform: translateY(-2px);
}
.partner img {
  max-width: 180px;
  max-height: 70px;
  object-fit: contain;
}

/* Tables */
.req-table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.section--alt .req-table {
  background: #fff;
}
.req-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}
.req-table td {
  padding: 14px 20px;
  font-size: 15px;
  vertical-align: top;
  line-height: 1.5;
}
.req-table td:first-child {
  font-weight: 600;
  width: 38%;
  color: var(--text-light);
  background: var(--bg-alt);
}
.section--alt .req-table td:first-child {
  background: #f1f5f9;
}

/* Two-column layout for tables when side-by-side */
.tables-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

/* Docs list */
.docs-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 0;
}
.docs-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  transition: border-color .15s, transform .15s;
}
.docs-list li:hover {
  border-color: var(--indigo);
  transform: translateX(2px);
}
.docs-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}
.docs-list a:hover { color: var(--indigo); text-decoration: none; }
.docs-list a::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='13' x2='15' y2='13'/%3E%3Cline x1='9' y1='17' x2='15' y2='17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Contacts */
.contacts {
  max-width: 720px;
  margin: 0 auto;
}
.contacts__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, .7);
  padding: 48px 24px 36px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.footer__brand {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer__legal {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 16px;
}
.footer__links {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__links a {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
}
.footer__links a:hover {
  color: #fff;
}

/* Legal pages (policy / pdn / oferta) */
.legal-hero {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}
.legal-hero__crumbs {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 16px;
}
.legal-hero__crumbs a { color: #fff; text-decoration: underline; }
.legal-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  max-width: 860px;
  margin: 0 auto;
}
.legal-hero__meta {
  margin-top: 14px;
  font-size: 14px;
  opacity: .85;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  line-height: 1.3;
  color: var(--text);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
}
.legal p {
  margin-bottom: 14px;
}
.legal ul, .legal ol {
  margin: 0 0 16px 24px;
  padding-left: 4px;
}
.legal li {
  margin-bottom: 6px;
}
.legal__toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.legal__toc-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}
.legal__toc ol {
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
}
.legal__toc li { margin-bottom: 2px; }
.legal__sign {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--border);
  font-size: 15px;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light);
}
.legal__back::before { content: "←"; }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 64px 20px 56px; }
  .hero__logo-wrap { padding: 14px 22px; margin-bottom: 26px; border-radius: 14px; }
  .hero__logo { max-width: 150px; }
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero__subtitle { font-size: 18px; margin-bottom: 28px; }
  .hero__desc { font-size: 14px; margin-top: 22px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 28px; }
  .section__head { margin-bottom: 36px; }
  .partners { gap: 16px; }
  .partner { padding: 20px 24px; min-width: 160px; min-height: 96px; }
  .req-table td { padding: 11px 14px; font-size: 14px; }
  .req-table td:first-child { width: 44%; }
  .legal-hero h1 { font-size: 26px; }
  .legal { padding: 36px 20px 56px; font-size: 15px; }
  .legal h2 { font-size: 19px; margin-top: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero__subtitle { font-size: 16px; }
  .btn { padding: 12px 22px; font-size: 15px; }
  .req-table td { padding: 10px 12px; font-size: 13.5px; }
}
