
:root {
  --blue: #0b3cff;
  --blue-dark: #0827a8;
  --red: #e70000;
  --cyan: #00b4d8;
  --green: #16a34a;
  --yellow: #ffd400;
  --ink: #112033;
  --muted: #64748b;
  --soft: #f6f8fc;
  --line: #dce5f2;
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(17, 32, 51, .10);
  --shadow-lg: 0 26px 80px rgba(17, 32, 51, .18);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: radial-gradient(circle at top left, rgba(11,60,255,.14), transparent 34%), #fff;
}
.logo-loader {
  width: 74px; height: 74px; display: grid; place-items: center;
  border-radius: 22px; color: #fff; font-weight: 900; font-size: 28px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  box-shadow: var(--shadow);
}
.spinner { width: 40px; height: 40px; border-radius: 999px; border: 4px solid #dbe7ff; border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.topbar {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 14px;
}
.topbar .wrap {
  max-width: var(--max);
  margin: auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { text-decoration: none; font-weight: 700; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(220,229,242,.82);
}
.header-wrap {
  max-width: var(--max);
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  width: 190px;
  height: auto;
  object-fit: contain;
}
.brand-text { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav a {
  text-decoration: none;
  color: #23334a;
  font-weight: 750;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
}
.nav a:hover { background: #eef4ff; color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 22px;
}
.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 850;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 12px 26px rgba(11,60,255,.22); }
.btn.red { background: linear-gradient(135deg, var(--red), #ff6b00); color: #fff; box-shadow: 0 12px 26px rgba(231,0,0,.20); }
.btn.ghost { background: #fff; color: var(--blue); border: 1px solid #c8d7ff; }
.btn.dark { background: #101827; color: #fff; }
.btn.full { width: 100%; }
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/pattern-educar.svg') center/cover no-repeat;
  opacity: .9;
}
.hero-wrap {
  position: relative;
  max-width: var(--max);
  margin: auto;
  padding: 74px 20px 46px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d7e4ff;
  color: var(--blue);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(17,32,51,.06);
  margin-bottom: 18px;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .94;
  letter-spacing: -0.055em;
  color: #0d1a2d;
}
h1 span { color: var(--red); }
.lead {
  font-size: clamp(18px, 2.4vw, 23px);
  color: #42526a;
  max-width: 680px;
  margin: 24px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.stat {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(220,229,242,.86);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(17,32,51,.06);
}
.stat strong { display: block; font-size: 24px; color: var(--blue); }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }
.hero-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(220,229,242,.9);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.hero-logo-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #edf2fb;
  padding: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.quick-grid { display: grid; gap: 12px; }
.quick-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #f8fbff;
  border: 1px solid #e6eefb;
  border-radius: 18px;
  padding: 14px;
}
.quick-icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-size: 20px; flex: 0 0 auto;
}
.quick-item strong { display: block; }
.quick-item span { color: var(--muted); font-size: 14px; }
.section {
  padding: 72px 20px;
}
.section.alt { background: var(--soft); }
.container { max-width: var(--max); margin: auto; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.eyebrow {
  color: var(--red);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; font-size: 25px; background: linear-gradient(135deg, var(--blue), var(--red));
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p { color: var(--muted); margin: 0; }
.card a.inline { display: inline-flex; margin-top: 16px; color: var(--blue); font-weight: 900; text-decoration: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  border-radius: 999px; background: #eef4ff; color: var(--blue); padding: 7px 10px;
  font-size: 12px; font-weight: 850;
}
.tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tab-buttons {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tab-btn {
  border: 0; border-radius: 999px; padding: 12px 16px; background: #f1f5f9;
  color: #344256; font-weight: 900; cursor: pointer; white-space: nowrap;
}
.tab-btn.active { background: var(--blue); color: #fff; }
.tab-panel { padding: 28px; display: none; }
.tab-panel.active { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.platform-mark {
  min-height: 290px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0d1a2d, var(--blue));
  padding: 24px;
  overflow: hidden;
  position: relative;
}
.platform-mark::before { content: ""; position: absolute; width: 280px; height: 280px; border: 38px solid rgba(255,255,255,.12); border-radius: 999px; right: -80px; bottom: -110px; }
.platform-mark b { position: relative; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.platform-copy h3 { font-size: clamp(28px, 3vw, 42px); margin: 0 0 14px; letter-spacing: -0.035em; }
.platform-copy p { color: var(--muted); margin: 0 0 18px; }
.feature-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 13px; font-weight: 900; flex: 0 0 auto; margin-top: 2px; }
.timeline { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
.step-num {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: #101827; color: #fff; font-weight: 950; font-size: 20px;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }
.cta-band {
  background: linear-gradient(135deg, #081a54, var(--blue) 55%, var(--red));
  color: #fff;
  border-radius: 34px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.86); }
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 26px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid.one-col { grid-template-columns: 1fr; }
label { display: grid; gap: 7px; color: #243249; font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd7e7;
  border-radius: 14px;
  padding: 13px 14px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,60,255,.10); }
textarea { min-height: 118px; resize: vertical; }
.span-2 { grid-column: span 2; }
.alert { border-radius: 16px; padding: 14px; font-weight: 800; }
.alert.success { background: #e9fbf0; color: #126b34; border: 1px solid #bdebcf; }
.alert.info { background: #eef5ff; color: #1644a6; border: 1px solid #cfe0ff; }
.footer {
  background: #0d1628;
  color: #dbe6f5;
  padding: 48px 20px 24px;
}
.footer .container { display: grid; gap: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.footer h3, .footer h4 { color: #fff; margin: 0 0 12px; }
.footer p, .footer a { color: #b9c7dc; }
.footer a { display: block; text-decoration: none; margin: 8px 0; }
.footer a:hover { color: #fff; }
.footer-logo { width: 220px; background: #fff; border-radius: 18px; padding: 10px; margin-bottom: 14px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: #9fb0c9; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.install-pill {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  border: 1px solid #cfe0ff; background: #fff; color: var(--blue);
  border-radius: 999px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-weight: 900; cursor: pointer;
}
.install-pill[hidden] { display: none; }
.login-page { min-height: 100vh; background: radial-gradient(circle at top left, rgba(11,60,255,.18), transparent 34%), #f8fbff; display: grid; place-items: center; padding: 20px; }
.login-shell { width: min(440px, 100%); }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg); padding: 30px; }
.login-logo { width: 260px; margin: 0 auto 20px; }
.login-card h1 { font-size: 34px; letter-spacing: -0.035em; text-align: center; }
.login-card p { color: var(--muted); text-align: center; }
.back-link { display: inline-flex; margin-bottom: 16px; color: var(--blue); text-decoration: none; font-weight: 900; }
@media (max-width: 980px) {
  .hero-wrap, .tab-panel.active, .cta-band { grid-template-columns: 1fr; }
  .grid.cols-4, .grid.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-logo { width: 150px; }
  .nav { position: fixed; top: 115px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; background: #fff; padding: 14px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); display: none; }
  .nav.open { display: flex; }
  .nav a { border-radius: 14px; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn.ghost { display: none; }
}
@media (max-width: 680px) {
  .topbar .wrap { justify-content: center; text-align: center; }
  .hero-wrap { padding-top: 48px; }
  .hero-stats, .grid.cols-4, .grid.cols-3, .grid.cols-2, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .section { padding: 54px 18px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .cta-band { padding: 26px; }
  .brand-logo { width: 132px; }
  .header-wrap { padding: 10px 16px; }
}
