:root {
  --bg: #060808;
  --bg-soft: #0f1517;
  --panel: #ffffff;
  --panel-soft: #f4f7f8;
  --text: #172026;
  --muted: #62707b;
  --line: #d9e2e7;
  --primary: #173a45;
  --primary-2: #245a6a;
  --blue: #2b82b8;
  --green: #9fd834;
  --yellow: #ffe600;
  --success: #166534;
  --danger: #b42318;
  --shadow: 0 24px 60px rgba(6, 8, 8, 0.18);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,230,0,0.08), transparent 22%),
    linear-gradient(180deg, #0a0d0e 0%, #0f1718 16%, #eef4f5 16%, #eef4f5 100%);
}
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(6, 8, 8, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.brand-copy h1,
.brand-copy .brand-title {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.1;
}
.brand-copy p,
.brand-copy .brand-subtitle {
  margin: 5px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: .96rem;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,9,0.92) 0%, rgba(5,8,9,0.84) 42%, rgba(5,8,9,0.48) 72%, rgba(5,8,9,0.65) 100%),
    url('hero-emsolar.webp') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(6,8,8,0) 0%, rgba(6,8,8,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 92px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 230, 0, 0.12);
  color: var(--yellow);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 230, 0, 0.2);
}
.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero p {
  margin: 0 0 24px;
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 700px;
  color: rgba(255,255,255,0.86);
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.22);
}
.hero-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.24rem;
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
}
.hero-list li:last-child { border-bottom: 0; }
.section-wrap {
  position: relative;
  z-index: 1;
  margin-top: -44px;
  padding-bottom: 38px;
}
.main-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 26px;
  align-items: start;
}
.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23,58,69,0.06);
}
.card-dark {
  background: linear-gradient(180deg, #0c1011 0%, #132128 100%);
  color: #fff;
}
.card h2, .card h3 { margin-top: 0; color: var(--primary); }
.card-dark h2, .card-dark h3 { color: #fff; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(159,216,52,0.12);
  color: #3f6d08;
  font-weight: 700;
  font-size: .86rem;
  margin-bottom: 14px;
}
.card-dark .badge {
  background: rgba(255,230,0,0.12);
  color: var(--yellow);
}
.lead {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
}
.card-dark .lead, .card-dark .small { color: rgba(255,255,255,0.72); }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { margin-bottom: 16px; }
label {
  display: block;
  margin-bottom: 7px;
  font-size: .95rem;
  font-weight: 700;
  color: #24343b;
}
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43,130,184,0.13);
}
textarea {
  min-height: 118px;
  resize: vertical;
}
.help, .small {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin: 12px 0;
  background: #f8fbfc;
  border: 1px solid #e6eef1;
  border-radius: 16px;
}
.checkbox-row input { margin-top: 4px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #111827;
  background: linear-gradient(135deg, #ffe600 0%, #ffd000 100%);
  box-shadow: 0 16px 30px rgba(255, 208, 0, 0.28);
}
.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #18313a 0%, #275867 100%);
  box-shadow: 0 16px 30px rgba(24,49,58,0.18);
}
.btn-light {
  background: #eef4f6;
  color: var(--primary);
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.flash {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.flash.success { background: #ecfdf3; color: var(--success); border: 1px solid #b7e4c7; }
.flash.error { background: #fff2f1; color: var(--danger); border: 1px solid #fecaca; }
.flash.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.note-box {
  background: var(--panel-soft);
  border: 1px solid #e3eaee;
  border-radius: 18px;
  padding: 20px;
}
.note-box + .note-box { margin-top: 18px; }
.kpi-list, .clean {
  margin: 0;
  padding-left: 18px;
}
.kpi-list li, .clean li {
  margin-bottom: 10px;
  line-height: 1.6;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.highlight {
  background: linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
  border: 1px solid #e5ecef;
  border-radius: 18px;
  padding: 18px;
}
.highlight strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
}
.auth-visual {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.auth-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,230,0,0.18) 0%, rgba(43,130,184,0.18) 100%);
  color: var(--yellow);
  font-size: 28px;
  font-weight: 800;
}
.footer {
  padding: 10px 0 40px;
  color: #4d5f67;
  font-size: .95rem;
}
.consent-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
  border: 1px solid #e3eaee;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.yn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.yn-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d7e2e8;
  background: #f8fbfc;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}
.yn-option input {
  width: 16px;
  height: 16px;
}
.section-title {
  margin: 0 0 10px;
  color: var(--primary);
}
.center-card {
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .hero-content,
  .main-grid,
  .highlight-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .topbar-inner,
  .topbar-actions {
    align-items: flex-start;
  }
  .topbar-inner { flex-direction: column; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .hero-content { padding: 44px 0 76px; }
  .card { padding: 22px; }
  .brand { align-items: flex-start; }
  .brand-logo { width: 60px; height: 60px; }
  .actions-row, .topbar-actions { width: 100%; }
  .btn { width: 100%; }
}
