:root {
  --brand: #3730a3;
  --brand-2: #5b52d6;
  --brand-3: #8b80f5;
  --brand-50: #eef0fb;
  --brand-100: #dde0f6;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --line: #e6e8f0;
  --bg: #f7f8fc;
  --success: #16a34a;
  --warn: #f59e0b;
  --danger: #dc2626;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(55, 48, 163, 0.12);
  --shadow-lg: 0 30px 70px rgba(55, 48, 163, 0.22);
  --gradient: linear-gradient(135deg, #3730a3 0%, #5b52d6 55%, #8b80f5 100%);
  --gradient-soft: linear-gradient(135deg, #eef0fb 0%, #ffffff 100%);
}
* {
  box-sizing: border-box;
}
html,
body {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: -0.02em;
}
.section {
  padding: 5rem 0;
}
.section-tight {
  padding: 3.5rem 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--brand-50);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--brand-100);
}
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 1rem 0 0.75rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}
.text-brand {
  color: var(--brand) !important;
}
.bg-brand {
  background: var(--brand) !important;
  color: #fff;
}
.bg-soft {
  background: var(--bg);
}

/* ===== Top bar ===== */
.top-bar {
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
}
.top-bar a,
.top-bar .contact-info {
  color: #fff;
}
.top-bar .socials a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: 0.2s;
}
.top-bar .socials a:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-2px);
}
.btnn-login {
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
}
.btnn-login:hover {
  background: var(--brand-50);
  color: var(--brand);
}
.btnn-staff {
  background: #16a34a;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
}
.btnn-staff:hover {
  background: #15803d;
  color: #fff;
}

/* ===== Navbar ===== */
.main-nav {
  padding: 0.85rem 0;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(255, 255, 255, 0.92) !important;
}
.brand-logo {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 12px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}
.brand-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  font-size: 1.05rem;
}
.brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -2px;
}
.main-nav .nav-link {
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.55rem 0.9rem !important;
  border-radius: 8px;
  transition: 0.2s;
}
.main-nav .nav-link:hover {
  color: var(--brand);
  background: var(--brand-50);
}
.main-nav .nav-link.active {
  color: var(--brand);
  background: var(--brand-50);
  font-weight: 600;
}
.nav-icons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink-2);
  background: #f1f3f9;
  transition: 0.2s;
}
.nav-icons a:hover {
  background: var(--brand);
  color: #fff;
}
.wishlist-badge {
  font-size: 0.6rem;
  background: var(--brand);
  color: #fff;
  padding: 0.2rem 0.35rem;
}

/* ===== Buttons ===== */
.btnn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  transition: 0.25s;
}
.btnn-brand {
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(55, 48, 163, 0.28);
}
.btnn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(55, 48, 163, 0.4);
}
.btnn-outline-brand {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: #fff;
}
.btnn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
}
.btnn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.btnn-ghost:hover {
  background: #fff;
  color: var(--brand);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 40px 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(15, 12, 60, 0.85) 0%,
    rgba(55, 48, 163, 0.7) 50%,
    rgba(91, 82, 214, 0.45) 100%
  );
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 1.25rem 0 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.hero-title .accent {
  background: linear-gradient(90deg, #fde68a, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 560px;
  margin-bottom: 1.75rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.hero-stats .stat span {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Floating search card on hero */
.hero-search {
  position: relative;
  z-index: 3;
  margin: -50px auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 1100px;
}
.hero-search .form-control,
.hero-search .form-select {
  border: 1px solid var(--line);
  height: 52px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.hero-search .form-control:focus,
.hero-search .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(55, 48, 163, 0.1);
}

/* ===== Feature/Value cards ===== */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: 0.3s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--brand-100);
}
.feature-card h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

/* ===== Cow Card (marketplace) ===== */
.cow-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: 0.35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.cow-card .media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eef0fb;
}
.cow-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cow-card:hover .media img {
  transform: scale(1.07);
}
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.badge-pill.brand {
  background: var(--gradient);
  color: #fff;
}
.badge-pill.success {
  background: #dcfce7;
  color: #15803d;
}
.card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateX(8px);
  transition: 0.3s;
}
.cow-card:hover .card-actions {
  opacity: 1;
  transform: translateX(0);
}
.icon-btnn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: 0.2s;
}
.icon-btnn:hover {
  background: var(--brand);
  color: #fff;
}
.cow-card .body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.breed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breed-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.02em;
}
.breed-sex {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.yield-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(90deg, var(--brand-50), #fff);
  border-radius: 10px;
  border: 1px solid var(--brand-100);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.yield-bar i {
  color: var(--brand);
}
.yield-bar strong {
  color: var(--brand);
  font-weight: 800;
}
.yield-bar span {
  color: var(--muted);
  margin-left: auto;
  font-size: 0.75rem;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}
.spec-value {
  font-size: 0.82rem;
  color: var(--ink-2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.spec-value i {
  color: var(--brand);
  font-size: 0.9rem;
}
.price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand);
}
.btnn-details {
  padding: 0.55rem 0.9rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: 0.2s;
}
.btnn-details:hover {
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}

/* ===== Marketplace banner ===== */
.marketplace-banner {
  padding: 2.5rem 0 0;
}
.banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 12, 60, 0.7),
    rgba(55, 48, 163, 0.2)
  );
}
.banner-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  color: #fff;
}

/* ===== Auction ===== */
.auction-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: 0.3s;
}
.auction-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.auction-card .auc-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.auction-card .auc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cow-no {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
.auc-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.auc-name {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.auc-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.auc-info dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auc-info dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink-2);
}
.auc-status {
  padding: 0.7rem;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  border: none;
  font-size: 0.9rem;
}
.auc-status.sold {
  background: #fee2e2;
  color: #b91c1c;
}
.auc-status.buy {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(55, 48, 163, 0.3);
}
.auc-status.buy:hover {
  transform: translateY(-2px);
}
.top-buyers {
  margin-top: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}
.top-buyers h6 {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.top-buyers table {
  width: 100%;
  font-size: 0.82rem;
}
.top-buyers th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
}
.top-buyers td {
  padding: 0.4rem 0;
  color: var(--ink-2);
}

/* ===== Service sections (AI / Extension) ===== */
.service-row {
  padding: 4rem 0;
}
.service-row.alt {
  background: var(--bg);
}
.service-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}
.service-img .float-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.check-list li {
  padding: 0.45rem 0 0.45rem 1.9rem;
  position: relative;
  color: var(--ink-2);
  font-weight: 500;
}
.check-list li::before {
  content: "\F26B";
  font-family: bootstrap-icons;
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--brand);
  background: var(--brand-50);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ===== Stats strip ===== */
.stats-strip {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}
.stat-item {
  text-align: center;
  padding: 0.5rem;
}
.stat-item strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.stat-item span {
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}

/* ===== Learning cards ===== */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card .blog-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eef0fb;
}
.blog-card .blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-media img {
  transform: scale(1.05);
}
.blog-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-50);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
}
.blog-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
}
.blog-excerpt {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  flex: 1;
}
.read-more {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.read-more:hover {
  gap: 0.55rem;
  color: var(--brand-2);
}

/* ===== About ===== */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: 0.3s;
  height: 100%;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.value-card .v-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}
.value-card h4 {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.value-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: 0.25s;
}
.faq-item.open {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}
.faq-q .toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.25s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-q .toggle {
  background: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 1.4rem;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: 0.3s;
  font-size: 0.93rem;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  padding: 0 1.4rem 1.3rem;
  max-height: 500px;
}

/* ===== CTA ===== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 3.5rem;
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 70%
  );
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  position: relative;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.6rem;
  position: relative;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #1e1a5e, #3730a3);
  color: #fff;
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
}
.site-footer h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.site-footer h6::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #fde68a;
  border-radius: 2px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: 0.2s;
  font-size: 0.92rem;
  display: inline-block;
  padding: 0.25rem 0;
}
.site-footer a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-social a:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

a {
  text-decoration: none !important;
}

/* ===== Page header (inner pages) ===== */
.page-header {
  position: relative;
  padding: 5rem 0 6rem;
  color: #fff;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(15, 12, 60, 0.88),
    rgba(55, 48, 163, 0.6)
  );
}
.page-header .ph-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.crumbs {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.85;
}
.crumbs a {
  color: #fde68a;
}

/* ===== Product page (kept) ===== */
.product-gallery {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.thumb {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #eef0fb;
  cursor: pointer;
  padding: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.active {
  border-color: var(--brand);
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef0fb;
  aspect-ratio: 4/3;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--brand);
  cursor: pointer;
}
.gallery-nav.prev {
  left: 14px;
}
.gallery-nav.next {
  right: 14px;
}
.product-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.product-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.product-meta li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.93rem;
}
.badge-yield {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 0.4rem;
}
.viewing-now {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #b45309;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.viewing-count {
  background: var(--warn);
  color: #fff;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
}
.price-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price-strike {
  text-decoration: line-through;
  color: var(--muted);
}
.off-pill {
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}
.price-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}
.btnn-enquire {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}
.btnn-enquire:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btnn-wish {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  width: 50px;
  border-radius: 12px;
}
.btnn-wish:hover {
  background: var(--brand-50);
  color: var(--brand);
  border-color: var(--brand);
}
.spec-table {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-row:nth-child(odd) {
  background: #fafafa;
}
.spec-key {
  font-weight: 600;
  color: var(--muted);
}
.spec-val {
  color: var(--ink);
}

.mp-filter-bar {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  padding: 16px 20px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.mp-filter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 140px;
  min-width: 120px;
}
.mp-filter-item.mp-search-item {
  flex: 2 1 200px;
}
.mp-filter-item.mp-clear-item {
  flex: 0 0 auto;
  align-self: flex-end;
}
.mp-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mp-filter-label i {
  font-size: 12px;
}
.mp-filter-bar input,
.mp-filter-bar select {
  width: 100%;
  height: 38px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #1e293b;
  padding: 0 10px;
  outline: none;
  box-sizing: border-box;
  transition:
    border-color 0.15s,
    background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.mp-filter-bar select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.mp-filter-bar input:focus,
.mp-filter-bar select:focus {
  border-color: #94a3b8;
  background: #fff;
}
.mp-filter-bar input::placeholder {
  color: #cbd5e1;
}
.mp-search-wrap {
  position: relative;
}
.mp-search-wrap > i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #cbd5e1;
  pointer-events: none;
}
.mp-search-wrap input {
  padding-left: 32px;
}
.mp-filter-divider {
  width: 1px;
  height: 38px;
  background: #e2e8f0;
  align-self: flex-end;
  flex-shrink: 0;
}
.mp-clear-btnn {
  height: 38px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s;
}
.mp-clear-btnn:hover {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fecaca;
}
@media (max-width: 767px) {
  .mp-filter-item {
    flex: 1 1 calc(50% - 10px);
  }
  .mp-filter-item.mp-search-item {
    flex: 1 1 100%;
  }
  .mp-filter-divider {
    display: none;
  }
}
/* ===== Product Detail Page Additional Styles ===== */
/* These styles complement your main CSS without conflicts */

/* Gallery Styles - Enhanced version */
.pd-gallery {
  position: sticky;
  top: 20px;
}

.pd-main-image-container {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
}

.pd-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-nav-btnn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.pd-nav-btnn:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-md);
}

.pd-prev-btnn {
  left: 16px;
}

.pd-next-btnn {
  right: 16px;
}

.pd-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pd-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.pd-thumbnails::-webkit-scrollbar-track {
  background: var(--brand-50);
  border-radius: 10px;
}

.pd-thumbnails::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

.pd-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pd-thumbnail:hover {
  transform: scale(1.05);
}

.pd-thumbnail.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.pd-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Key Info Styles */
.pd-key-info {
  margin-bottom: 24px;
}

.pd-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.pd-info-grid {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
}

.pd-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.pd-info-row:last-child {
  border-bottom: none;
}

.pd-info-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.pd-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.pd-info-highlight {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
}

.pd-info-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Purchase Card Styles */
.pd-purchase-card {
  background: linear-gradient(135deg, var(--bg) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.pd-price-section {
  text-align: center;
  margin-bottom: 24px;
}

.pd-old-price {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
  display: inline-block;
  margin-right: 12px;
}

.pd-discount-badge {
  display: inline-block;
  background: var(--danger);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pd-current-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand);
  margin: 12px 0 8px;
}

.pd-savings {
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
}

.pd-btnn-block {
  width: 100%;
  text-align: center;
}

.pd-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pd-badge {
  background: var(--brand-50);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pd-badge-live {
  background: var(--danger);
  color: white;
  animation: pd-pulse 1.4s infinite;
}

@keyframes pd-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Specifications Styles */
.pd-specs-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
}

.pd-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}

.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.pd-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all 0.2s;
  border: 1px solid var(--line);
}

.pd-spec-item:hover {
  background: var(--brand-50);
  transform: translateX(4px);
  border-color: var(--brand);
}

.pd-spec-highlight {
  background: rgba(22, 163, 74, 0.1);
  border-color: var(--success);
}

.pd-spec-icon {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--brand);
  border: 1px solid var(--line);
}

.pd-spec-content {
  flex: 1;
}

.pd-spec-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.pd-spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

/* Modal Styles - Non-conflicting */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
}

.modal-container {
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.show .modal-container {
  transform: scale(1);
}

.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-track {
  background: var(--brand-50);
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
  padding: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-close:hover {
  color: var(--danger);
  background: var(--brand-50);
}

.modal-form {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(55, 48, 163, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cbd5e1;
}

.error-msg {
  display: block;
  font-size: 12px;
  color: var(--danger);
  margin-top: 5px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Button Secondary - Complement to your btnn */
.btnn-secondary {
  background: white;
  color: var(--ink-2);
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btnn-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-50);
  color: var(--brand);
  transform: translateY(-2px);
}

/* Skeleton Loading */
.pd-skel-img,
.skel-line {
  background: linear-gradient(
    90deg,
    var(--brand-50) 25%,
    var(--line) 50%,
    var(--brand-50) 75%
  );
  background-size: 200% 100%;
  border-radius: var(--radius);
}

.skel-line {
  height: 14px;
}

.skel-anim {
  animation: pd-skel-sweep 1.4s infinite;
}

@keyframes pd-skel-sweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Toast/Swal Customization - Override defaults */
.swal2-toast {
  border-radius: var(--radius) !important;
  font-family: "Inter", system-ui, sans-serif !important;
}

.swal2-toast .swal2-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink-2) !important;
}

.swal2-toast .swal2-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pd-current-price {
    font-size: 32px;
  }

  .pd-specs-grid {
    grid-template-columns: 1fr;
  }

  .pd-thumbnail {
    width: 60px;
    height: 60px;
  }

  .modal-container {
    width: 95%;
    margin: 16px;
  }

  .pd-title {
    font-size: 1.5rem;
  }

  .pd-gallery {
    position: relative;
    top: 0;
  }
}

/* Small screens */
@media (max-width: 576px) {
  .pd-purchase-card {
    padding: 16px;
  }

  .modal-form {
    padding: 16px;
  }

  .modal-header {
    padding: 16px;
  }

  .pd-spec-item {
    padding: 10px;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: 560px;
    border-radius: 0 0 24px 24px;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .cta-band {
    padding: 2rem;
  }
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
  }
}

/* ====== Contact Page ====== */

.contact-page-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===== Contact Info Panel ===== */

.contact-page-info {
  position: relative;
  height: 100%;
  overflow: hidden;

  padding: 3rem 2.25rem;

  color: #fff;

  background: linear-gradient(160deg, #3730a3 0%, #1e1b7a 100%);
}

.contact-page-info::before,
.contact-page-info::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.contact-page-info::before {
  top: -60px;
  left: -60px;

  width: 180px;
  height: 180px;
}

.contact-page-info::after {
  right: -80px;
  bottom: -80px;

  width: 240px;
  height: 240px;

  background: rgba(255, 255, 255, 0.06);
}

.contact-page-info h2 {
  position: relative;

  margin-bottom: 0.5rem;

  font-size: 2rem;
  font-weight: 800;
}

/* ===== Contact Info Cards ===== */

.contact-page-info .info-card {
  position: relative;

  margin-bottom: 0.9rem;
  padding: 0.9rem 1rem;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(6px);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-page-info .info-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.contact-page-info .info-label {
  margin-bottom: 0.25rem;

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0.75;
}

.contact-page-info .info-value {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  font-size: 0.98rem;
  font-weight: 600;
}

.contact-page-info .info-value i {
  color: #ffd84d;
}

/* ===== Social Icons ===== */

.contact-page-socials {
  position: relative;

  display: flex;
  gap: 0.55rem;

  margin-top: 1.5rem;
}

.contact-page-socials a {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.12);
  color: #fff;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-page-socials a:hover {
  background: #ffd84d;
  color: #1e1b7a;

  transform: translateY(-2px);
}

/* ===== Contact Form ===== */

.contact-page-form {
  padding: 3rem 2.5rem;
  background: #fff;
}

.contact-page-form h3 {
  color: var(--brand);
  font-weight: 800;
}

.contact-page-form .form-label {
  margin-bottom: 0.35rem;

  color: var(--ink);

  font-size: 0.88rem;
  font-weight: 600;
}

.contact-page-form .form-control,
.contact-page-form .form-select {
  padding: 0.75rem 1rem;

  border: 1.5px solid var(--line);
  border-radius: 12px;

  font-size: 0.95rem;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-page-form .form-control:focus,
.contact-page-form .form-select:focus {
  border-color: var(--brand);

  box-shadow: 0 0 0 4px rgba(55, 48, 163, 0.12);
}

/* ===== Success Message ===== */

.contact-form-success {
  display: none;

  color: #0a7d39;

  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form-success.show {
  display: inline-flex;
  align-items: center;
}

/* ===== Map ===== */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  height: 420px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Responsive ===== */

@media (max-width: 991px) {
  .contact-page-info {
    padding: 2.25rem 1.5rem;
  }

  .contact-page-form {
    padding: 2.25rem 1.5rem;
  }
}

.legal-hero {
  position: relative;
  padding: 90px 0 60px;
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 100%);
  color: #fff;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 200px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.legal-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-top: 1rem;
}

.legal-hero .sub {
  opacity: 0.85;
  margin-top: 0.5rem;
}

.legal-wrap {
  padding: 70px 0 90px;
  background: #fff;
}

.legal-card {
  background: #fff;
  border: 1px solid #eef0f7;
  border-radius: 24px;
  box-shadow: 0 30px 80px -40px rgba(55, 48, 163, 0.25);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 920px;
  margin: -90px auto 0;
  position: relative;
  z-index: 3;
}

.legal-toc {
  background: #f6f7fb;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.legal-toc h6 {
  font-weight: 700;
  color: #3730a3;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.5rem;
}

.legal-toc a {
  color: #1f2937;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.9;
}

.legal-toc a:hover {
  color: #3730a3;
}

.legal-section {
  padding: 1.2rem 0;
  border-top: 1px dashed #eef0f7;
}

.legal-section:first-of-type {
  border-top: 0;
}

.legal-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.legal-section h2 .num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3730a3, #6366f1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-section p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f7;
  color: #64748b;
  font-size: 0.85rem;
}

.legal-meta .pill {
  background: #eef0ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal-toc ol {
    columns: 1;
  }
}

.legal-hero {
  position: relative;
  padding: 90px 0 60px;
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 100%);
  color: #fff;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 200px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.legal-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-top: 1rem;
}

.legal-hero .sub {
  opacity: 0.85;
  margin-top: 0.5rem;
}

.legal-wrap {
  padding: 70px 0 90px;
  background: #fff;
}

.legal-card {
  background: #fff;
  border: 1px solid #eef0f7;
  border-radius: 24px;
  box-shadow: 0 30px 80px -40px rgba(55, 48, 163, 0.25);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 920px;
  margin: -90px auto 0;
  position: relative;
  z-index: 3;
}

.legal-toc {
  background: #f6f7fb;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.legal-toc h6 {
  font-weight: 700;
  color: #3730a3;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.5rem;
}

.legal-toc a {
  color: #1f2937;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.9;
}

.legal-toc a:hover {
  color: #3730a3;
}

.legal-section {
  padding: 1.2rem 0;
  border-top: 1px dashed #eef0f7;
}

.legal-section:first-of-type {
  border-top: 0;
}

.legal-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.legal-section h2 .num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3730a3, #6366f1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-section p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f7;
  color: #64748b;
  font-size: 0.85rem;
}

.legal-meta .pill {
  background: #eef0ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-weight: 600;
}

.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.privacy-highlights .ph {
  background: linear-gradient(135deg, #eef0ff, #fff);
  border: 1px solid #e3e6f5;
  border-radius: 16px;
  padding: 1rem;
  text-align: left;
}

.privacy-highlights .ph i {
  font-size: 1.4rem;
  color: #3730a3;
}

.privacy-highlights .ph h6 {
  margin: 0.5rem 0 0.25rem;
  font-weight: 700;
  color: #0f172a;
}

.privacy-highlights .ph p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .legal-toc ol {
    columns: 1;
  }
}

/* auth */
/* ─── ACCOUNT BUTTON ─── */
.nav-account-wrap {
  position: relative;
}

.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-account-btn:hover {
  border-color: #6c47ff;
  background: #f5f3ff;
}

.nav-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6c47ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.nav-avatar-letter {
  font-size: 13px;
  font-weight: 800;
}
.nav-account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-caret {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s;
}
.nav-account-btn[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}
/* ─── ACCOUNT BUTTON ─── */
.nav-account-wrap {
  position: relative;
}
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-account-btn:hover {
  border-color: #6c47ff;
  background: #f5f3ff;
}
.nav-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6c47ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.nav-avatar-letter {
  font-size: 13px;
  font-weight: 800;
}
.nav-account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-caret {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s;
}
.nav-account-btn[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

/* ─── ACCOUNT DROPDOWN ─── */
.nav-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 240px;
  padding: 8px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-account-dropdown.open {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

/* Logged-in user info block */
.nav-drop-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}
.nav-drop-avatar-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6c47ff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-drop-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  white-space: nowrap;
}
.nav-drop-email {
  font-size: 11px;
  color: #94a3b8;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Guest hero block */
.nav-drop-guest-hero {
  text-align: center;
  padding: 20px 12px 12px;
}
.nav-drop-guest-icon {
  font-size: 40px;
  color: #c7d2fe;
  display: block;
  margin-bottom: 8px;
}
.nav-drop-guest-text {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 12px;
}

/* Auth buttons inside guest dropdown */
.nav-drop-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.15s;
  border: none;
}
.nav-drop-login-btn {
  border: 1.5px solid #e2e8f0 !important;
  background: #fff;
  color: #1e293b;
}
.nav-drop-login-btn:hover {
  background: #f8fafc;
  border-color: #6c47ff !important;
  color: #6c47ff;
}
.nav-drop-signup-btn {
  background: linear-gradient(135deg, #6c47ff, #8b5cf6);
  color: #fff;
}
.nav-drop-signup-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Shared dropdown item */
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.12s;
  white-space: nowrap;
}
.nav-drop-item i {
  font-size: 16px;
  width: 16px;
  flex-shrink: 0;
  color: #64748b;
}
.nav-drop-item:hover {
  background: #f8fafc;
  color: #1e293b;
}
.nav-drop-item:hover i {
  color: #6c47ff;
}
.nav-drop-danger {
  color: #dc2626 !important;
}
.nav-drop-danger i {
  color: #dc2626 !important;
}
.nav-drop-danger:hover {
  background: #fef2f2 !important;
}
.nav-drop-danger:hover i {
  color: #dc2626 !important;
}
.nav-drop-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}
.nav-drop-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 0 2px;
}
.nav-drop-small-link {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: none !important;
}
.nav-drop-small-link:hover {
  color: #6c47ff;
}
.nav-drop-dot {
  color: #cbd5e1;
  font-size: 11px;
}

/* ─── AUTH MODAL OVERLAY ─── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.25s ease;
  opacity: 0;
}
@media (min-width: 600px) {
  .auth-overlay {
    align-items: center;
  }
}
.auth-overlay.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

/* Modal sheet */
.auth-sheet {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 24px 32px;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}
@media (min-width: 600px) {
  .auth-sheet {
    border-radius: 20px;
    transform: scale(0.93) translateY(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
}
.auth-overlay.open .auth-sheet {
  transform: none;
}

/* Close button */
.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.15s;
}
.auth-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  padding: 9px;
  border-radius: 9px;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #64748b;
  transition: all 0.18s;
}
.auth-tab.active {
  background: #fff;
  color: #6c47ff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

/* Hero */
.auth-hero {
  text-align: center;
  margin-bottom: 20px;
}
.auth-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6c47ff;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.auth-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 4px;
}
.auth-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Fields */
.auth-field {
  margin-bottom: 13px;
}
.auth-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 5px;
}
.auth-optional {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 400;
  text-transform: none;
}

/* Input wrap */
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.auth-input-wrap:focus-within {
  border-color: #6c47ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.1);
}
.has-error .auth-input-wrap {
  border-color: #ef4444;
}
.has-error .auth-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.auth-input-icon {
  padding: 0 10px 0 12px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
  flex-shrink: 0;
}
.auth-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 10px 10px 10px 0;
  font-size: 14px;
  color: #1e293b;
  min-width: 0;
}
.auth-input::placeholder {
  color: #cbd5e1;
}

/* PIN boxes */
.auth-pin-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 5px 0;
}
.auth-pin-box {
  width: 55px;
  height: 55px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  transition: all 0.2s;
  font-family: monospace;
}
.auth-pin-box:focus {
  border-color: #6c47ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.1);
  outline: none;
}
.has-error .auth-pin-box {
  border-color: #ef4444;
}
@media (max-width: 480px) {
  .auth-pin-box {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* Hide backend errors */
.auth-backend-errors {
  display: none !important;
}

/* Field error */
.auth-field-error {
  display: none;
  font-size: 11px;
  color: #dc2626;
  margin-top: 5px;
  padding: 5px 8px;
  background: #fef2f2;
  border-radius: 6px;
  border-left: 3px solid #ef4444;
  font-weight: 500;
  align-items: center;
  gap: 6px;
}
.auth-field-error::before {
  content: "⚠️";
  font-size: 10px;
}
.auth-field.has-error .auth-field-error {
  display: flex;
}

/* Submit button */
.auth-submit-btn {
  width: 100%;
  padding: 12px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, #6c47ff, #8b5cf6);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: opacity 0.15s, transform 0.1s;
  margin-top: 6px;
}
.auth-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
}
.auth-submit-btn:active {
  transform: scale(0.98);
}
.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth-btn-label,
.auth-btn-spin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.auth-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: auth-spin 0.65s linear infinite;
  display: inline-block;
}
@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer row */
.auth-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  margin-top: 16px;
}
.auth-link {
  border: none;
  background: none;
  color: #6c47ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-link:hover {
  color: #5a38e0;
}
.auth-terms {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}
.auth-terms a {
  color: #6c47ff;
  text-decoration: none;
}
.auth-terms a:hover {
  text-decoration: underline;
}

/* Role cards */
.auth-role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.auth-role-card {
  padding: 20px 12px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
}
.auth-role-card:hover {
  border-color: #6c47ff;
  background: #f5f3ff;
}
.auth-role-card.selected {
  border-color: #6c47ff;
  background: #f5f3ff;
  box-shadow: 0 0 0 4px rgba(108, 71, 255, 0.12);
}
.auth-role-icon {
  font-size: 28px;
  color: #6c47ff;
  margin-bottom: 8px;
}
.auth-role-label {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}
.auth-role-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}

/* Back button */
.auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: #6c47ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.auth-back-btn:hover {
  color: #5a38e0;
}

/* Two-column row */
.auth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .auth-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Fix: prevent nav-icons global style bleeding into dropdown items */
.nav-account-dropdown .nav-drop-item i {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
  display: inline !important;
  font-size: 15px;
  color: #64748b;
  flex-shrink: 0;
}

.nav-account-dropdown .nav-drop-danger i {
  color: #dc2626 !important;
}

.nav-account-dropdown .nav-drop-item:hover i {
  color: #6c47ff;
  background: none !important;
}

.nav-account-dropdown .nav-drop-danger:hover i {
  color: #dc2626 !important;
}



/* ── Scroll to top ─────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3730a3;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(55, 48, 163, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s;
  z-index: 9999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #312e81;
  box-shadow: 0 6px 20px rgba(55, 48, 163, 0.45);
  transform: translateY(-2px);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

@media (max-width: 640px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}