:root {
  /* Brand Palette: Blend of Warm Beige, Dark Espresso Brown, Soft Blush Pink, and Rich Royal Purple */
  --primary: #7e22ce;
  --primary-dark: #581c87;
  --primary-light: #f3e8ff;
  --accent-pink: #ec4899;
  --accent-pink-light: #fce7f3;
  --accent-brown: #78350f;
  --dark: #1c1310;
  --dark-soft: #2d1e18;
  --bg: #f7f3ee;
  --surface: #ffffff;
  --surface-2: #efe8df;
  --text: #231714;
  --text-muted: #6b5a52;
  --border: #e6dcd0;
  --success: #059669;
  --warning: #d97706;
  --danger: #e11d48;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 28px rgba(35, 23, 20, 0.06);
  --shadow-lg: 0 20px 42px rgba(35, 23, 20, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 10% 15%, rgba(126, 34, 206, 0.1), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.12), transparent 28%),
    radial-gradient(circle at 85% 85%, rgba(120, 53, 15, 0.06), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(236, 72, 153, 0.25);
  color: var(--text);
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--text-muted);
  margin-top: 7px;
  max-width: 660px;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(126, 34, 206, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.35);
}

.btn-outline {
  background-color: rgba(253, 242, 248, 0.12);
  color: #ffffff;
  border-color: rgba(252, 231, 243, 0.6);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: rgba(252, 231, 243, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.page-banner {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 45%, var(--primary-dark) 100%);
  color: #ffffff;
}

.page-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--accent-pink);
  filter: blur(100px);
  opacity: 0.35;
  bottom: -150px;
  right: -70px;
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
}

.page-banner p {
  position: relative;
  z-index: 1;
  color: rgba(253, 242, 248, 0.85);
  max-width: 640px;
  margin-top: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 108px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 45%, var(--primary-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.hero::before {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -140px;
  left: -110px;
}

.hero::after {
  width: 340px;
  height: 340px;
  background: var(--accent-pink);
  bottom: -160px;
  right: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(252, 231, 243, 0.25);
  border-radius: 999px;
  background: rgba(252, 231, 243, 0.12);
  font-size: 0.85rem;
  color: var(--accent-pink-light);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(90deg, #fbcfe8 0%, #e9d5ff 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(253, 242, 248, 0.85);
  max-width: 560px;
  margin: 0 auto 30px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

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

.dash-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dash-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.dash-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 1.8rem;
  background: var(--icon-bg, #f3e8ff);
}

.dash-users {
  --icon-bg: #f3e8ff;
}

.dash-products {
  --icon-bg: #fce7f3;
}

.dash-carts {
  --icon-bg: #efe8df;
}

.dash-quotes {
  --icon-bg: #fdf4ff;
}

.dash-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.dash-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dash-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
}

.dash-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.dash-card:hover .dash-link::after {
  transform: translateX(5px);
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-pink);
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-box {
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b5a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.filter-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-select {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--surface);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.result-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 64px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.no-results {
  padding: 56px 0;
  text-align: center;
}

.no-results-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
}

.no-results h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.no-results p {
  color: var(--text-muted);
  margin-top: 4px;
}

.error-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  background: var(--accent-pink-light);
  border: 1px dashed var(--accent-pink);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.error-box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #9f1239;
}

.error-box p {
  color: #881337;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
