:root {
  --primary: #2f5bff;
  --primary-dark: #2148d9;
  --secondary: #8f3dff;
  --text: #101828;
  --muted: #667085;
  --bg: #ffffff;
  --soft: #f5f7ff;
  --soft-2: #f8fafc;
  --border: #e4e7ec;
  --border-dark: #d0d5dd;
  --success: #12b76a;
  --danger: #f04438;
  --warning: #f79009;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
  --shadow-sm: 0 10px 24px rgba(16, 24, 40, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 800;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6a8bff);
  color: white;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #344054;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-purple {
  background: var(--secondary);
  color: #fff;
}

.btn-purple:hover {
  background: #7a29eb;
}

.hero {
  padding: 36px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 10px 18px;
  border: 2px solid #36c275;
  border-radius: 999px;
  color: #111827;
  font-weight: 700;
  background: #f6fffa;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.02;
  margin: 26px 0 18px;
}

.hero p {
  font-size: 22px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 26px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  margin: 20px 0 14px;
  min-height: 125px;
  font-weight: 800;
}

.static-word,
.rotating-word {
  display: block;
}

.rotating-word {
  color: var(--primary);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-subtext {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 560px;
}

.trusted {
  margin-top: 38px;
}

.trusted small {
  color: var(--muted);
  font-size: 16px;
}

.hero-visual {
  background: linear-gradient(180deg, #fff7d6, #eef3ff);
  border-radius: 34px;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone,
.card-float {
  position: absolute;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 3px solid #101828;
}

.phone {
  width: 200px;
  height: 380px;
  left: 60px;
  bottom: 40px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 28px;
}

.card-float.one {
  right: 60px;
  top: 70px;
  width: 260px;
  height: 180px;
}

.card-float.two {
  right: 40px;
  bottom: 30px;
  width: 230px;
  height: 250px;
  background: #dfe7ff;
}

.circle-tag {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  border: 3px solid #101828;
  box-shadow: var(--shadow);
}

.tag-left {
  left: 12px;
  bottom: 90px;
  background: #ffd3e3;
}

.tag-right {
  right: 12px;
  bottom: 90px;
  background: #ffd89a;
}

.form-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8faff, #eef2ff);
  padding: 30px 14px;
}

.form-card {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-card h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.form-card p {
  color: var(--muted);
  margin: 0 0 24px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.12);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}

.alert-error {
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #fecdca;
}

.alert-success {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.text-center {
  text-align: center;
}

.dashboard {
  padding: 40px 0 70px;
}

.welcome-box {
  background: linear-gradient(135deg, #2f5bff, #6f8fff);
  color: #fff;
  padding: 34px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-card span {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

/* Admin pages */
.admin-page {
  min-height: 100vh;
  background: #f8fafc;
  padding: 28px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-header h1 {
  margin: 0 0 6px;
  font-size: 38px;
}

.admin-header p {
  margin: 0;
  color: var(--muted);
}

.admin-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #eaecf0;
  font-size: 14px;
  vertical-align: top;
}

th {
  background: #f9fafb;
  color: #344054;
  font-weight: 700;
}

.status-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pending {
  background: #fff7e6;
  color: #b54708;
}

.status-active {
  background: #ecfdf3;
  color: #027a48;
}

.status-inactive {
  background: #fff1f3;
  color: #c01048;
}

.status-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.status-form select {
  min-width: 130px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background: #fff;
  outline: none;
}

.small-btn {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.small-btn:hover {
  background: var(--primary-dark);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.admin-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 14px;
}

.admin-stat-card strong {
  font-size: 28px;
  color: var(--text);
}

.admin-filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-filter-bar input,
.admin-filter-bar select {
  max-width: 240px;
}

.card-title {
  font-size: 20px;
  margin: 0 0 14px;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-title {
    font-size: 38px;
    min-height: 90px;
  }

  .hero-subtext {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .admin-page {
    padding: 16px;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-header h1 {
    font-size: 30px;
  }

  th,
  td {
    font-size: 13px;
    padding: 12px 10px;
  }

  .btn {
    padding: 12px 18px;
  }

  .form-card {
    padding: 24px;
  }
}