:root {
  --bg-1: #f4f8fc;
  --bg-2: #dce9f7;
  --card: #ffffff;
  --ink: #1f2d3d;
  --muted: #5c6f82;
  --line: rgba(52, 152, 219, 0.18);
  --primary: #3498db;
  --primary-2: #2980b9;
  --accent: #f39c12;
  --ok: #27ae60;
  --shadow: 0 12px 34px rgba(35, 82, 124, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 152, 219, 0.26), transparent 36%),
    radial-gradient(circle at 95% 8%, rgba(243, 156, 18, 0.22), transparent 30%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2));
}

.app-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 18px 52px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #223347;
}

.badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 8px 14px;
  color: #365168;
  font-size: 0.9rem;
  font-weight: 600;
}

.welcome-section {
  position: relative;
  border-radius: 24px;
  padding: 34px 30px;
  margin-bottom: 22px;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  box-shadow: 0 12px 34px rgba(30, 99, 148, 0.32);
  overflow: hidden;
}

.welcome-section::before {
  content: "";
  position: absolute;
  right: -72px;
  top: -72px;
  width: 228px;
  height: 228px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}

.kicker {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.welcome-title {
  margin: 10px 0 10px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
}

.welcome-subtitle {
  margin: 0;
  max-width: 780px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.93);
}

.actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #ff9a2f, #e26a1b);
  box-shadow: 0 8px 18px rgba(198, 88, 20, 0.35);
}

.btn-secondary {
  color: #184468;
  background: #f8fbff;
  border-color: rgba(21, 73, 110, 0.18);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: #23435f;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.action-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fdfefe;
  min-height: 120px;
}

.action-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.action-icon.invoice { background: #2d9cdb; }
.action-icon.einvoice { background: #16a085; }
.action-icon.collections { background: #8e44ad; }
.action-icon.treasury { background: #d35400; }
.action-icon.bank { background: #1b4f72; }
.action-icon.orders { background: #2c3e50; }
.action-icon.glapro { background: #27ae60; }

.action-title {
  margin: 0 0 5px;
  font-size: 1rem;
}

.action-description {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.benefits {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
  color: #2b4258;
  line-height: 1.45;
}

.benefits strong {
  color: #19405f;
}

.footer {
  margin-top: 20px;
  color: #4f667c;
  font-size: 0.92rem;
}

.footer strong {
  color: #2a4862;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome-section {
    padding: 24px 20px;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }
}
