:root {
  --doculo-bg: #f4f8fb;
  --doculo-surface: #ffffff;
  --doculo-ink: #102a43;
  --doculo-muted: #486581;
  --doculo-primary: #0e7490;
  --doculo-primary-dark: #155e75;
  --doculo-accent: #f59e0b;
  --doculo-border: #d9e2ec;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: radial-gradient(circle at top left, #ecfeff, #f8fafc 44%, #f4f8fb 100%);
  color: var(--doculo-ink);
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--doculo-border);
}

.navbar-brand {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--doculo-primary-dark);
}

.navbar-toggler {
  border-color: var(--doculo-border);
}

.language-select {
  min-width: 130px;
}

.btn-brand {
  background: linear-gradient(135deg, var(--doculo-primary), var(--doculo-primary-dark));
  border: 0;
  color: #fff;
}

.btn-brand:hover {
  color: #fff;
  opacity: 0.95;
}

.hero-surface {
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-surface::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -190px;
  right: -160px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.25), rgba(14, 116, 144, 0));
  pointer-events: none;
}

.hero-surface::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0));
  pointer-events: none;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--doculo-primary-dark);
  font-weight: 800;
}

.hero-copy {
  color: var(--doculo-muted);
  max-width: 62ch;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-metrics span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--doculo-border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
  color: var(--doculo-muted);
}

.hero-metrics strong {
  color: var(--doculo-primary-dark);
}

.hero-showcase {
  position: relative;
  min-height: 380px;
}

.hero-panel {
  position: relative;
  z-index: 3;
  background: linear-gradient(160deg, #0f172a, #124e63);
  color: #f8fafc;
  border-radius: 1.2rem;
  padding: 1.35rem;
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.25);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-panel-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #a5f3fc;
  margin-bottom: 0.55rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
}

.orb-a {
  width: 140px;
  height: 140px;
  background: rgba(56, 189, 248, 0.25);
  top: -22px;
  right: 16px;
}

.orb-b {
  width: 100px;
  height: 100px;
  background: rgba(251, 191, 36, 0.24);
  bottom: 30px;
  left: -10px;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--doculo-border);
  border-radius: 0.9rem;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 14px 32px rgba(16, 42, 67, 0.12);
}

.floating-chip span {
  display: block;
  font-weight: 800;
  color: var(--doculo-primary-dark);
  line-height: 1.1;
}

.floating-chip small {
  color: var(--doculo-muted);
  font-size: 0.72rem;
}

.chip-a {
  right: -10px;
  top: 35px;
}

.chip-b {
  left: -12px;
  bottom: 20px;
}

.section-block {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-block.tint {
  background: linear-gradient(180deg, #f0fdff 0%, rgba(240, 253, 255, 0) 100%);
}

.section-title {
  margin-bottom: 1.4rem;
}

.feature-card {
  background: var(--doculo-surface);
  border: 1px solid var(--doculo-border);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 12px 26px rgba(16, 42, 67, 0.06);
}

.feature-card i {
  font-size: 1.45rem;
  color: var(--doculo-primary);
}

.feature-card p {
  color: var(--doculo-muted);
  margin-bottom: 0;
}

.step-card {
  background: var(--doculo-surface);
  border: 1px dashed #9fb3c8;
  border-radius: 0.9rem;
  padding: 1rem;
  min-height: 100%;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #cffafe;
  color: var(--doculo-primary-dark);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.step-card p {
  margin: 0;
}

.onboarding-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.onboarding-card p {
  color: var(--doculo-muted);
}

.price-card {
  background: #fff;
  border: 1px solid var(--doculo-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 34px rgba(16, 42, 67, 0.06);
}

.price-card.featured {
  border: 2px solid #99f6e4;
  background: linear-gradient(160deg, #ecfeff, #fff);
}

.price {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.price-card ul {
  padding-left: 1.2rem;
  color: var(--doculo-muted);
}

.roadmap-block {
  background: linear-gradient(180deg, rgba(207, 250, 254, 0.28), rgba(255, 255, 255, 0));
}

.roadmap-subtitle {
  color: var(--doculo-muted);
  max-width: 72ch;
  margin: 0 auto 1.1rem;
}

.roadmap-card {
  background: #fff;
  border: 1px solid var(--doculo-border);
  border-radius: 1rem;
  padding: 1.1rem;
  min-height: 100%;
  box-shadow: 0 15px 30px rgba(16, 42, 67, 0.07);
}

.roadmap-period {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--doculo-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.roadmap-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.roadmap-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--doculo-muted);
}

.site-footer {
  border-top: 1px solid var(--doculo-border);
  padding: 1rem 0;
  color: var(--doculo-muted);
  background: rgba(255, 255, 255, 0.75);
  margin-top: 2rem;
}

.legal-link {
  color: var(--doculo-primary-dark);
  font-weight: 600;
  text-decoration: underline;
}

.legal-link:hover {
  color: var(--doculo-primary);
}

.dashboard-shell {
  padding-top: 2.5rem;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.dashboard-title {
  margin-bottom: 0.35rem;
}

.dashboard-subtitle {
  color: var(--doculo-muted);
  max-width: 64ch;
}

.dashboard-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.dashboard-stats-extended {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.stat-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--doculo-border);
  border-radius: 0.85rem;
  padding: 0.8rem 1rem;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
}

.stat-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--doculo-muted);
}

.stat-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  color: var(--doculo-primary-dark);
}

.dashboard-info {
  border-radius: 0.85rem;
  border-width: 1px;
  margin-bottom: 1rem;
}

.dashboard-viewbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  gap: 0.8rem;
}

.dashboard-grid {
  margin-bottom: 1rem;
}

.dashboard-item-card {
  background: #fff;
  border: 1px solid var(--doculo-border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 16px 30px rgba(16, 42, 67, 0.07);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.item-type-badge {
  font-weight: 600;
}

.item-title {
  margin: 0;
  font-size: 1.05rem;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.item-meta span {
  background: #f0f7fb;
  color: #334e68;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
}

.item-amount {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--doculo-primary-dark);
}

.item-description {
  margin: 0;
  color: var(--doculo-muted);
  font-size: 0.92rem;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.dashboard-table-wrap {
  background: #fff;
  border: 1px solid var(--doculo-border);
  border-radius: 0.9rem;
  box-shadow: 0 14px 28px rgba(16, 42, 67, 0.06);
}

.dashboard-table {
  margin-bottom: 0;
}

.dashboard-table thead th {
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--doculo-muted);
}

.dashboard-table .editable {
  cursor: pointer;
  border-bottom: 1px dashed #9fb3c8;
}

.dashboard-filters .form-label {
  font-size: 0.78rem;
  color: var(--doculo-muted);
  margin-bottom: 0.3rem;
}

.dashboard-filters .btn-light {
  white-space: nowrap;
}

.onboarding-wizard {
  border-left: 4px solid #22c55e;
}

.type-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.type-chip {
  background: #f0f7fb;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  font-size: 0.83rem;
  color: #334e68;
}

.type-chip strong {
  color: var(--doculo-primary-dark);
}

.alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.alert-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e5edf4;
  border-radius: 0.7rem;
  background: #fbfdff;
}

.pagination .page-link {
  color: var(--doculo-primary-dark);
}

.app-form-card {
  background: #fff;
  border: 1px solid var(--doculo-border);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 16px 30px rgba(16, 42, 67, 0.07);
}

.app-form-card .form-control,
.app-form-card .form-select {
  border-color: #c9d4df;
  border-radius: 0.65rem;
}

.app-form-card .form-control:focus,
.app-form-card .form-select:focus {
  border-color: #67c3d6;
  box-shadow: 0 0 0 0.2rem rgba(14, 116, 144, 0.14);
}

@media (max-width: 768px) {
  .hero-surface {
    padding-top: 2rem;
  }

  .section-block {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-showcase {
    min-height: 320px;
  }

  .hero-panel {
    transform: none;
  }

  .chip-a,
  .chip-b {
    position: static;
    margin-top: 0.75rem;
    width: fit-content;
  }

  .dashboard-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-actions {
    width: 100%;
  }

  .dashboard-actions .btn {
    flex: 1;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats-extended {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-form-card {
    padding: 1rem;
  }
}
