:root {
  --bg: #f3f7ff;
  --bg-soft: #e9f0ff;
  --card: #ffffff;
  --text: #0f1e42;
  --muted: #4e618f;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --accent: #16a34a;
  --warning: #d97706;
  --border: #d4dffc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #edf3ff 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.brand {
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
  font-weight: 700;
  white-space: nowrap;
}

.brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none !important;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.06);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.hero-copy p {
  max-width: 100%;
}

.hero-video {
  padding: 0;
  overflow: hidden;
  display: flex;
}

.hero-video-frame {
  width: 100%;
  min-height: 100%;
}

.hero-video-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 0 28px;
}

.badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(217, 119, 6, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #9a5806;
  padding: 7px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section {
  padding: 28px 0 56px;
}

.section h2 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  margin: 0 0 10px;
}

.section p.lead {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 760px;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.price-box {
  margin-top: 12px;
  border-top: 1px dashed rgba(78, 97, 143, 0.24);
  padding-top: 12px;
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
}

.list {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.list li {
  margin-bottom: 6px;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

.muted-warning {
  color: #9a5806;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.input-wrap {
  position: relative;
}

.input-wrap input[type='password'],
.input-wrap input[data-has-eye='1'] {
  padding-right: 42px !important;
}

.input-eye-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
  width: 32px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input-eye-btn:hover {
  color: var(--text);
}

.input-eye-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #eef4ff;
  color: var(--text);
}

.status-chip.pending {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(245, 158, 11, 0.14);
  color: #9a5806;
}

.status-chip.approved {
  border-color: rgba(22, 163, 74, 0.4);
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.spinner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.1s ease-in-out infinite;
}

@keyframes pulseDot {
  0% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.35; transform: scale(0.85); }
}

.panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 24px;
}

.panel-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.panel-nav a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.calc-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
}

.calc-title {
  text-align: center;
  margin-bottom: 10px;
}

.calc-price {
  text-align: center;
  font-size: clamp(2rem, 6vw, 3.3rem);
  color: #16a34a;
  font-weight: 800;
  margin: 2px 0 14px;
}

.calc-range {
  width: 100%;
  accent-color: #16a34a;
}

.calc-legend {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.95rem;
}

.calc-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.calc-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #f8fbff;
}

.calc-box.active {
  border-color: rgba(22, 163, 74, 0.55);
  background: rgba(22, 163, 74, 0.1);
}

.calc-box h4 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.calc-box .gross {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0b4d9a;
  line-height: 1.15;
}

.calc-box .net {
  margin-top: 4px;
  color: #16a34a;
  font-weight: 700;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .nav {
    align-items: center;
    flex-direction: row;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-video-frame iframe {
    min-height: 220px;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
    z-index: 50;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }
}

@media (min-width: 721px) {
  .nav-links {
    display: flex !important;
  }
}
