.otp-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 4px !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2vw;
  box-sizing: border-box;
}
.otp-input {
  width: 32px !important;
  height: 38px !important;
  text-align: center !important;
  font-size: 1.1rem !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
}
@media (max-width: 480px) {
  .otp-input {
    width: 26px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }
  .otp-container {
    gap: 2px !important;
    max-width: 98vw;
    padding: 0 1vw;
  }
}
/* Global Styles */

:root {
  --primary-color: #ff4757;

  /* Chef Red */

  --primary-hover: #ff6b81;

  --secondary-color: #2f3542;

  --accent-color: #ffa502;

  /* Cheese Yellow */

  --bg-light: #f1f2f6;

  --text-dark: #2f3542;

  --font-heading: "Poppins", sans-serif;

  --border-radius: 12px;

  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);

  --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Poppins", sans-serif;

  background-color: var(--bg-light);

  color: var(--text-dark);

  margin-bottom: 0;
}

.hf-main-container {
  margin-top: 100px;
}

.hf-deferred-section {
  content-visibility: auto;

  contain-intrinsic-size: 1px 720px;
}

.hf-flash {
  border-radius: 14px;

  padding: 12px 14px;

  margin-bottom: 14px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border: 1px solid transparent;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.hf-flash-content {
  display: flex;

  align-items: center;

  font-weight: 600;

  color: #1f2430;
}

.hf-flash-close {
  border: none;

  background: transparent;

  color: inherit;

  opacity: 0.65;

  cursor: pointer;
}

.hf-flash-close:hover {
  opacity: 1;
}

.hf-flash-success {
  background: linear-gradient(135deg, #e9fff1 0%, #ddf8ea 100%);

  border-color: #9bd7b1;

  color: #11643d;
}

.hf-flash-danger {
  background: linear-gradient(135deg, #fff1f3 0%, #ffe5eb 100%);

  border-color: #ffb2c2;

  color: #8f1f3b;
}

.hf-flash-warning {
  background: linear-gradient(135deg, #fff7ea 0%, #ffefd9 100%);

  border-color: #ffc88a;

  color: #8a4b0e;
}

.hf-flash-info {
  background: linear-gradient(135deg, #edf4ff 0%, #e3ecff 100%);

  border-color: #afc6ff;

  color: #1d4fa9;
}

/* Footer */

footer {
  padding-bottom: 3rem;
}

/* Premium Navbar */

.navbar {
  background: rgba(255, 255, 255, 0.98) !important;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  font-weight: 700;

  font-size: 1.5rem;

  color: var(--primary-color) !important;

  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 500;

  color: var(--secondary-color) !important;

  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );

  color: white;

  padding: 120px 0 80px;

  margin-top: -80px;

  /* Pull up behind navbar */

  position: relative;

  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .hero-section {
    clip-path: none;
  }
}

.hero-section::before {
  content: "";

  position: absolute;

  top: -50%;

  left: -50%;

  width: 200%;

  height: 200%;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );

  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .hero-section {
    clip-path: none;
  }

  .hero-section::before,
  .animate-fade-in-up,
  .btn-pulse {
    animation: none !important;
  }

  .card,
  .btn {
    transition: none;
  }
}

/* Cards & Products */

.card {
  border-radius: 16px;

  border: none;

  transition:
    transform 0.3s,
    box-shadow 0.3s;

  background: white;
}

.card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hero-title {
  font-size: 3.5rem;

  font-weight: 800;

  margin-bottom: 1rem;

  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;

  font-weight: 300;

  margin-bottom: 2rem;

  opacity: 0.9;
}

/* Buttons */

.btn {
  border-radius: 50px;

  /* Pill shape */

  padding: 10px 25px;

  font-weight: 600;

  font-family: var(--font-heading);

  text-transform: uppercase;

  font-size: 0.9rem;

  letter-spacing: 0.5px;

  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);

  border-color: var(--primary-color);

  color: white;

  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.32);
}

.btn-primary:hover {
  background-color: var(--primary-hover);

  border-color: var(--primary-hover);

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.44);
}

.btn-outline-primary {
  color: var(--primary-color);

  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);

  color: white;
}

/* Cards */

.card {
  border: none;

  border-radius: var(--border-radius);

  background: white;

  box-shadow: var(--card-shadow);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);

  box-shadow: var(--card-hover-shadow);
}

.card-img-top {
  height: 220px;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);

  /* Zoom effect */
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.1rem;

  margin-bottom: 0.5rem;
}

.price-tag {
  color: var(--primary-color);

  font-weight: 700;

  font-size: 1.25rem;
}

/* Utilities */

.section-title {
  position: relative;

  margin-bottom: 3rem;

  text-align: center;
}

.section-title::after {
  content: "";

  display: block;

  width: 60px;

  height: 4px;

  background: var(--primary-color);

  margin: 15px auto 0;

  border-radius: 2px;
}

/* Badge Tweaks */

.badge {
  padding: 0.5em 0.8em;

  font-weight: 600;

  border-radius: 6px;
}

/* Footer cleaned up */

/* Animation Utilities */

@keyframes fadeInUp {
  from {
    opacity: 0;

    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;

    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Glassmorphism for Admin */

.glass-panel {
  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pulse Animation for CTA buttons */

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.btn-pulse {
  animation: pulse-green 2s infinite;
}

/* Card Entry Animation */

.product-card {
  opacity: 0;

  animation: fadeInUp 0.5s ease-out forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

/* ============== RESPONSIVE DESIGN ============== */

/* Mobile First Optimizations */

@media (max-width: 767.98px) {
  .hf-main-container {
    margin-top: 88px;

    padding-left: 0.8rem;

    padding-right: 0.8rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .hf-flash {
    align-items: flex-start;

    gap: 0.65rem;
  }

  .hf-flash-content {
    font-size: 0.92rem;

    line-height: 1.35;
  }

  .hero-section {
    padding: 80px 0 60px;

    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1rem;
  }

  .product-card .card-title {
    font-size: 1rem;
  }

  .price-tag {
    font-size: 1rem;
  }

  /* Stack buttons on mobile */

  .d-flex.gap-2 {
    flex-direction: column;
  }

  /* Better touch targets */

  .btn {
    min-height: 44px;

    padding: 0.75rem 1rem;
  }

  /* Full-width cards on mobile */

  .col-md-4.col-lg-3 {
    padding-left: 0.5rem;

    padding-right: 0.5rem;
  }

  /* Cart item adjustments */

  .cart-item {
    flex-direction: column;

    align-items: flex-start !important;
  }

  /* Quantity controls mobile */

  .input-group {
    width: 100% !important;

    max-width: 140px;
  }
}

/* Tablet Adjustments */

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .col-lg-3 {
    flex: 0 0 50%;

    max-width: 50%;
  }
}

/* Desktop Enhancements */

@media (min-width: 992px) {
  .container {
    max-width: 1200px;
  }

  .navbar {
    padding: 1rem 2rem;
  }
}

/* ============== PERFORMANCE OPTIMIZATIONS ============== */

/* Hardware acceleration for animations */

.card,
.btn,
.nav-link,
.product-card {
  will-change: transform;

  backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .btn-pulse {
    animation: none;
  }
}

/* Image optimization */

img {
  max-width: 100%;

  height: auto;
}

.card-img-top {
  object-fit: cover;

  height: 180px;
}

/* Super Admin Dashboard */

.sa-dashboard-shell {
  --sa-brand-1: #ff4d5a;

  --sa-brand-2: #ff7a59;

  --sa-brand-3: #ffb347;

  --sa-ink: #24324a;

  --sa-muted: #6b7280;

  --sa-surface: #fffaf8;

  --sa-border: rgba(255, 109, 92, 0.18);

  --sa-shadow: 0 18px 40px rgba(255, 92, 92, 0.12);
}

.sa-dashboard-shell .text-primary {
  color: var(--sa-brand-1) !important;
}

.sa-dashboard-shell .text-info {
  color: #ff914d !important;
}

.sa-dashboard-shell .btn-primary,
.sa-dashboard-shell .text-bg-primary {
  background: linear-gradient(
    135deg,
    var(--sa-brand-1) 0%,
    var(--sa-brand-2) 100%
  );

  border-color: transparent;

  color: #fff !important;
}

.sa-dashboard-shell .btn-primary:hover,
.sa-dashboard-shell .btn-primary:focus {
  background: linear-gradient(135deg, #ff3b4a 0%, #ff6a45 100%);

  border-color: transparent;
}

.sa-hero {
  background: linear-gradient(135deg, #ff4d5a 0%, #ff6b6b 48%, #ff9f43 100%);

  color: #fff;

  border-radius: 24px;

  padding: 1.45rem 1.6rem;

  box-shadow: 0 22px 42px rgba(255, 92, 92, 0.26);

  position: relative;

  overflow: hidden;
}

.sa-hero-modern {
  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 22px 42px rgba(255, 92, 92, 0.22);
}

.sa-hero::after {
  content: "";

  position: absolute;

  width: 240px;

  height: 240px;

  border-radius: 50%;

  right: -70px;

  top: -85px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0) 68%
  );
}

.sa-hero::before {
  content: "";

  position: absolute;

  width: 360px;

  height: 360px;

  border-radius: 50%;

  left: -150px;

  bottom: -210px;

  background: radial-gradient(
    circle,
    rgba(255, 199, 125, 0.28) 0%,
    rgba(255, 199, 125, 0) 70%
  );
}

.sa-hero-content {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 1rem;

  flex-wrap: wrap;

  position: relative;

  z-index: 1;
}

.sa-title {
  font-size: 1.95rem;

  font-weight: 800;

  letter-spacing: -0.03em;
}

.sa-overline {
  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.16);

  color: #fff8f4;

  border: 1px solid rgba(255, 255, 255, 0.28);

  border-radius: 999px;

  padding: 0.35rem 0.72rem;

  backdrop-filter: blur(8px);
}

.sa-subtitle {
  max-width: 760px;

  color: rgba(255, 255, 255, 0.92);
}

.sa-hero-pills {
  display: flex;

  gap: 0.6rem;

  flex-wrap: wrap;

  align-items: center;
}

.sa-hero-pills .dropdown {
  display: inline-flex;
}

.sa-hero-pills .btn,
.sa-hero-pills .badge {
  min-height: 42px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  line-height: 1;

  border-radius: 999px;

  font-weight: 700;

  background: rgba(255, 255, 255, 0.94) !important;

  color: #9e2a32 !important;

  border: 1px solid rgba(255, 255, 255, 0.45);

  box-shadow: 0 10px 24px rgba(117, 30, 36, 0.14);
}

.sa-bell-btn {
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.sa-hero-pills .btn {
  padding: 0 1rem;
}

.sa-hero-pills .badge {
  padding: 0 0.95rem;
}

.sa-card {
  border: 1px solid rgba(255, 109, 92, 0.1);

  animation: sa-slide-up 0.5s ease both;
}

.sa-analytics-card {
  position: relative;

  overflow: hidden;

  border-radius: 22px;

  background: linear-gradient(180deg, #fffefe 0%, #fff8f5 100%);

  border: 1px solid rgba(255, 109, 92, 0.14);

  box-shadow: var(--sa-shadow);
}

.sa-analytics-card::before {
  content: "";

  position: absolute;

  inset: 0 0 auto 0;

  height: 4px;

  background: linear-gradient(
    90deg,
    var(--sa-brand-1) 0%,
    var(--sa-brand-2) 50%,
    var(--sa-brand-3) 100%
  );
}

.sa-analytics-card .card-body {
  position: relative;

  z-index: 1;
}

.sa-analytics-header {
  position: relative;
}

.sa-analytics-intro p {
  color: var(--sa-muted) !important;
}

.sa-filter-form {
  display: flex;

  gap: 0.75rem;

  flex-wrap: wrap;

  align-items: end;

  padding: 0.7rem 0.8rem;

  border-radius: 16px;

  background: linear-gradient(180deg, #fff7f4 0%, #fffefe 100%);

  border: 1px solid var(--sa-border);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sa-filter-group {
  min-width: 130px;
}

.sa-filter-label {
  font-size: 0.74rem;

  font-weight: 700;

  color: #9e5460;

  text-transform: uppercase;

  letter-spacing: 0.05em;
}

.sa-filter-select {
  min-width: 120px;

  border-radius: 12px;

  border-color: rgba(255, 109, 92, 0.22);

  color: var(--sa-ink);

  box-shadow: none;
}

.sa-filter-select:focus {
  border-color: rgba(255, 77, 90, 0.45);

  box-shadow: 0 0 0 0.18rem rgba(255, 77, 90, 0.12);
}

.sa-filter-btn {
  min-height: 40px;

  padding: 0 1rem;

  border: none;

  border-radius: 12px;

  font-weight: 700;

  color: #fff;

  background: linear-gradient(
    135deg,
    var(--sa-brand-1) 0%,
    var(--sa-brand-2) 100%
  );

  box-shadow: 0 12px 22px rgba(255, 92, 92, 0.22);
}

.sa-filter-btn:hover,
.sa-filter-btn:focus {
  color: #fff;

  transform: translateY(-1px);
}

.sa-section-title {
  display: inline-flex;

  align-items: center;

  font-weight: 800;

  font-size: 0.92rem;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #b63d48;

  background: #fff1ed;

  border: 1px solid var(--sa-border);

  border-radius: 999px;

  padding: 0.45rem 0.82rem;
}

.sa-kpi-card {
  position: relative;

  overflow: hidden;

  border: 1px solid rgba(255, 109, 92, 0.14) !important;

  border-radius: 18px !important;

  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 100%) !important;

  box-shadow: 0 12px 26px rgba(47, 31, 31, 0.07);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sa-kpi-card::after {
  content: "";

  position: absolute;

  inset: 0 0 auto 0;

  height: 3px;

  background: linear-gradient(
    90deg,
    rgba(255, 77, 90, 0.95) 0%,
    rgba(255, 179, 71, 0.9) 100%
  );

  opacity: 0.85;
}

.sa-kpi-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 16px 28px rgba(255, 92, 92, 0.14);
}

.sa-kpi-card h5 {
  font-size: 1.55rem;

  font-weight: 800;

  letter-spacing: -0.02em;
}

.sa-kpi-card small.text-muted {
  color: var(--sa-muted) !important;
}

.sa-kpi-card .progress {
  background: #f4ece9;

  border-radius: 999px;

  overflow: hidden;
}

.hf-clickable-card-body {
  cursor: pointer;
}

.hf-clickable-card-body .badge {
  pointer-events: none;
}

.sa-alert-dropdown {
  width: min(380px, 92vw);

  max-height: 420px;

  overflow-y: auto;

  z-index: 1200;

  margin-top: 0.45rem;

  background: #fffaf8;

  border: 1px solid rgba(255, 109, 92, 0.14);

  border-radius: 16px;

  box-shadow: 0 18px 35px rgba(73, 32, 32, 0.16);
}

.sa-info-panel {
  border: 1px solid rgba(255, 109, 92, 0.12) !important;

  border-radius: 18px !important;

  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%) !important;

  box-shadow: 0 12px 28px rgba(37, 28, 28, 0.06);
}

.sa-alert-card {
  border-color: rgba(255, 109, 92, 0.14) !important;

  border-radius: 14px;

  background: linear-gradient(145deg, #ffffff 0%, #fff7f4 100%);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sa-alert-card:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 77, 90, 0.35) !important;

  box-shadow: 0 12px 24px rgba(80, 37, 37, 0.12);
}

.sa-chart-panel canvas {
  border-radius: 14px;

  background: linear-gradient(
    180deg,
    rgba(255, 247, 244, 0.65) 0%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

.sa-top-card {
  border-radius: 18px;

  background: linear-gradient(145deg, #ffffff 0%, #fff9f6 100%);

  border-color: rgba(255, 109, 92, 0.12) !important;

  box-shadow: 0 10px 24px rgba(37, 28, 28, 0.06);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sa-top-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 14px 26px rgba(255, 92, 92, 0.12);
}

.sa-top-card .badge {
  border-radius: 999px;

  font-weight: 700;
}

.sa-module-card {
  border-radius: 20px;

  background: linear-gradient(152deg, #ffffff 0%, #fff7f4 100%);

  border: 1px solid rgba(255, 109, 92, 0.12);

  box-shadow: 0 12px 28px rgba(44, 30, 30, 0.06);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sa-module-card:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 109, 92, 0.28);

  box-shadow: 0 18px 34px rgba(255, 92, 92, 0.12);
}

@media (max-width: 767.98px) {
  .sa-alert-dropdown {
    width: min(360px, 92vw);
  }
}

.sa-card:nth-child(1) {
  animation-delay: 0.05s;
}

.sa-card-icon {
  width: 52px;

  height: 52px;

  border-radius: 16px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 1.35rem;

  background: linear-gradient(
    145deg,
    rgba(255, 77, 90, 0.12) 0%,
    rgba(255, 179, 71, 0.18) 100%
  );
}

@keyframes sa-slide-up {
  from {
    opacity: 0;

    transform: translateY(14px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .sa-title {
    font-size: 1.38rem;
  }

  .sa-hero {
    padding: 1rem;
  }

  .sa-filter-form {
    width: 100%;
  }

  .sa-filter-group,
  .sa-filter-select,
  .sa-filter-btn {
    width: 100%;
  }
}

.sa-panel {
  border: 1px solid rgba(24, 39, 75, 0.08);

  border-radius: 16px;

  box-shadow: 0 8px 20px rgba(24, 39, 75, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sa-panel:hover {
  transform: translateY(-2px);

  box-shadow: 0 14px 28px rgba(24, 39, 75, 0.13);
}

/* Public About Page */

.hf-about-page {
  --hf-about-ink: #2f3542;

  --hf-about-muted: #626b79;

  --hf-about-soft: #fff7f6;

  --hf-about-border: rgba(255, 71, 87, 0.18);
}

.hf-about-hero {
  position: relative;

  background: linear-gradient(130deg, #ff4757 0%, #ff6b81 58%, #ffa502 100%);

  border-radius: 22px;

  padding: 2rem;

  color: #fff;

  overflow: hidden;

  box-shadow: 0 20px 45px rgba(255, 71, 87, 0.3);
}

.hf-about-hero-shape {
  position: absolute;

  width: 280px;

  height: 280px;

  right: -70px;

  top: -90px;

  border-radius: 999px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0) 70%
  );

  animation: hfAboutFloat 9s ease-in-out infinite;
}

.hf-about-badge {
  background: rgba(255, 255, 255, 0.16);

  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.28);

  border-radius: 999px;

  padding: 0.4rem 0.8rem;

  font-weight: 600;
}

.hf-about-title {
  font-size: 2.1rem;

  font-weight: 800;

  letter-spacing: -0.02em;

  line-height: 1.18;
}

.hf-about-subtitle {
  color: rgba(255, 255, 255, 0.88);

  max-width: 620px;
}

.hf-about-hero .btn-outline-primary {
  color: #ffffff;

  border-color: rgba(255, 255, 255, 0.72);

  background: rgba(255, 255, 255, 0.12);
}

.hf-about-hero .btn-outline-primary:hover {
  color: #ff4757;

  border-color: #ffffff;

  background: #ffffff;
}

.hf-about-hero-card {
  position: relative;

  z-index: 1;

  background: rgba(255, 255, 255, 0.96);

  color: var(--hf-about-ink);

  border-radius: 16px;

  padding: 1.2rem;

  border: 1px solid rgba(255, 255, 255, 0.65);

  box-shadow: 0 10px 26px rgba(11, 19, 34, 0.18);

  animation: fadeInUp 0.55s ease both;
}

.hf-about-list {
  list-style: none;

  padding: 0;

  display: grid;

  gap: 0.6rem;
}

.hf-about-list li {
  display: flex;

  align-items: center;

  gap: 0.55rem;

  color: #2c3348;

  font-weight: 500;
}

.hf-about-list i {
  color: #ff8a00;
}

.hf-about-stats {
  position: relative;
}

.hf-about-stat-card {
  height: 100%;

  border-radius: 14px;

  border: 1px solid var(--hf-about-border);

  background: linear-gradient(145deg, #ffffff 0%, #fff4f3 100%);

  padding: 1rem;

  display: flex;

  flex-direction: column;

  gap: 0.45rem;

  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.11);

  animation: fadeInUp 0.55s ease both;
}

.hf-about-stat-card strong {
  color: var(--hf-about-ink);

  font-size: 0.95rem;
}

.hf-about-stat-card span {
  color: var(--hf-about-muted);

  font-size: 0.87rem;

  line-height: 1.45;
}

.hf-about-panel {
  border: 1px solid var(--hf-about-border);
}

.hf-about-steps {
  display: grid;

  gap: 1rem;
}

.hf-about-step {
  display: grid;

  grid-template-columns: 36px 1fr;

  gap: 0.75rem;

  align-items: start;
}

.hf-about-step span {
  width: 36px;

  height: 36px;

  border-radius: 50%;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-weight: 700;

  background: linear-gradient(140deg, #ff4757 0%, #ff7f50 100%);

  box-shadow: 0 8px 18px rgba(255, 71, 87, 0.35);
}

.hf-about-step p {
  margin: 0;

  color: #4f5870;
}

.hf-about-mini-card {
  height: 100%;

  border: 1px solid rgba(255, 71, 87, 0.2);

  border-radius: 12px;

  background: var(--hf-about-soft);

  padding: 1rem;

  display: flex;

  flex-direction: column;

  gap: 0.4rem;

  align-items: flex-start;

  justify-content: center;
}

.hf-about-mini-card i {
  font-size: 1.15rem;

  color: #ff5a46;
}

.hf-about-mini-card span {
  color: #394055;

  font-weight: 600;
}

.hf-about-values {
  background: linear-gradient(145deg, #fff8f7 0%, #fff1ee 100%);

  border: 1px solid rgba(255, 71, 87, 0.16);

  border-radius: 18px;

  padding: 1rem;
}

.hf-about-value-card {
  background: #fff;

  border: 1px solid rgba(255, 71, 87, 0.14);

  border-radius: 12px;

  padding: 1rem;

  height: 100%;

  box-shadow: 0 8px 18px rgba(255, 71, 87, 0.1);
}

.hf-about-value-card h6 {
  font-weight: 700;

  margin-bottom: 0.5rem;

  color: #2f3542;
}

.hf-about-value-card p {
  margin: 0;

  color: #57607a;
}

@keyframes hfAboutFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 991.98px) {
  .hf-about-hero {
    padding: 1.4rem;
  }

  .hf-about-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 767.98px) {
  .hf-about-title {
    font-size: 1.42rem;
  }

  .hf-about-subtitle {
    font-size: 0.96rem;
  }

  .hf-about-step {
    grid-template-columns: 30px 1fr;
  }

  .hf-about-step span {
    width: 30px;

    height: 30px;

    font-size: 0.82rem;
  }

  .hf-about-hero-card,
  .hf-about-stat-card,
  .hf-about-value-card {
    padding: 0.85rem;
  }
}

/* Public Advantages Page */

.hf-advantages-page {
  --hf-adv-ink: #2f3542;

  --hf-adv-muted: #636b78;
}

.hf-advantages-hero {
  position: relative;

  border-radius: 24px;

  padding: 2rem;

  background: linear-gradient(130deg, #ff4757 0%, #ff6b81 58%, #ffa502 100%);

  color: #fff;

  overflow: hidden;

  box-shadow: 0 24px 45px rgba(255, 71, 87, 0.28);
}

.hf-advantages-glow {
  position: absolute;

  right: -80px;

  top: -100px;

  width: 300px;

  height: 300px;

  border-radius: 999px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0) 70%
  );

  animation: hfAdvFloat 8s ease-in-out infinite;
}

.hf-advantages-kicker {
  display: inline-block;

  background: rgba(255, 255, 255, 0.18);

  border: 1px solid rgba(255, 255, 255, 0.35);

  border-radius: 999px;

  padding: 0.35rem 0.75rem;

  font-weight: 600;

  font-size: 0.82rem;
}

.hf-advantages-title {
  font-size: 2.1rem;

  font-weight: 800;

  line-height: 1.2;

  letter-spacing: -0.02em;
}

.hf-advantages-subtitle {
  color: rgba(255, 255, 255, 0.9);

  max-width: 680px;
}

.hf-advantages-hero-card {
  background: rgba(255, 255, 255, 0.96);

  border-radius: 16px;

  padding: 1rem;

  color: var(--hf-adv-ink);

  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hf-advantages-impact {
  display: grid;

  gap: 0.55rem;
}

.hf-advantages-impact div {
  display: flex;

  flex-direction: column;

  padding: 0.5rem 0.55rem;

  border-radius: 10px;

  background: #fff4f4;
}

.hf-advantages-impact strong {
  font-size: 0.93rem;

  color: #2f3542;
}

.hf-advantages-impact span {
  font-size: 0.82rem;

  color: #5f6c86;
}

.hf-adv-card {
  height: 100%;

  border-radius: 16px;

  border: 1px solid rgba(255, 71, 87, 0.14);

  background: linear-gradient(160deg, #ffffff 0%, #fff7f7 100%);

  padding: 1.2rem;

  box-shadow: 0 10px 24px rgba(255, 71, 87, 0.1);

  animation: fadeInUp 0.55s ease both;
}

.hf-adv-card i {
  font-size: 1.3rem;

  color: #ff5f45;

  background: rgba(255, 95, 69, 0.14);

  width: 42px;

  height: 42px;

  border-radius: 10px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 0.85rem;
}

.hf-adv-card h5 {
  font-size: 1.02rem;

  color: #2f3542;

  margin-bottom: 0.55rem;
}

.hf-adv-card p {
  margin: 0;

  color: var(--hf-adv-muted);

  line-height: 1.45;
}

.hf-advantages-cta {
  border-radius: 16px;

  border: 1px solid rgba(255, 71, 87, 0.2);

  background: #ffffff;

  padding: 1.2rem;

  text-align: center;
}

.hf-advantages-cta h6 {
  color: #2f3542;

  font-weight: 700;
}

.hf-advantages-cta p {
  color: #5e6b85;
}

@keyframes hfAdvFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* Public Plans Page */

.hf-pricing-page {
  --hf-pr-ink: #2f3542;

  --hf-pr-muted: #687385;
}

.hf-contact-page {
  --hf-ct-ink: #2f3542;

  --hf-ct-muted: #667184;

  --hf-ct-border: rgba(255, 71, 87, 0.16);

  position: relative;
}

.hf-contact-page::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background-image: radial-gradient(
    rgba(255, 71, 87, 0.09) 1px,
    transparent 1px
  );

  background-size: 18px 18px;

  opacity: 0.28;
}

.hf-contact-hero {
  position: relative;

  border-radius: 24px;

  padding: 1.5rem;

  background: linear-gradient(130deg, #ff4757 0%, #ff6b81 58%, #ffa502 100%);

  color: #fff;

  overflow: hidden;

  box-shadow: 0 24px 45px rgba(255, 71, 87, 0.26);

  animation: hfSectionEnter 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hf-contact-hero::after {
  content: "";

  position: absolute;

  right: -70px;

  top: -90px;

  width: 280px;

  height: 280px;

  border-radius: 999px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}

.hf-contact-kicker {
  display: inline-block;

  font-size: 0.8rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  font-weight: 700;

  color: #ffffff;

  background: rgba(255, 255, 255, 0.16);

  border: 1px solid rgba(255, 255, 255, 0.34);

  border-radius: 999px;

  padding: 0.35rem 0.75rem;
}

.hf-contact-title {
  font-size: 2rem;

  font-weight: 800;

  letter-spacing: -0.02em;

  color: #ffffff;
}

.hf-contact-subtitle {
  color: rgba(255, 255, 255, 0.92);

  max-width: 700px;
}

.hf-contact-hero-card {
  position: relative;

  z-index: 1;

  background: rgba(255, 255, 255, 0.92);

  border: 1px solid rgba(255, 255, 255, 0.58);

  border-radius: 16px;

  padding: 0.85rem;

  display: grid;

  gap: 0.55rem;
}

.hf-contact-hero-item {
  background: rgba(255, 71, 87, 0.06);

  border-radius: 12px;

  padding: 0.6rem 0.7rem;

  line-height: 1.25;
}

.hf-contact-hero-item strong {
  display: block;

  color: #2f3542;
}

.hf-contact-hero-item span {
  color: #5f697a;

  font-size: 0.88rem;
}

.hf-contact-card {
  position: relative;

  border-radius: 18px;

  border: 1px solid var(--hf-ct-border);

  background: #ffffff;

  box-shadow: 0 16px 34px rgba(24, 39, 75, 0.1);
}

.hf-contact-required {
  color: #ff4757;

  font-weight: 700;
}

.hf-contact-label {
  color: #475163;

  font-weight: 600;
}

.hf-contact-input {
  border-radius: 12px;

  border: 1px solid rgba(47, 53, 66, 0.12);

  padding: 0.62rem 0.82rem;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hf-contact-input:focus {
  border-color: rgba(255, 71, 87, 0.45);

  box-shadow: 0 0 0 0.2rem rgba(255, 71, 87, 0.14);
}

.hf-contact-submit {
  border-radius: 999px;

  font-weight: 700;

  box-shadow: 0 10px 22px rgba(255, 71, 87, 0.26);
}

.hf-contact-side-card {
  border-radius: 16px;

  border: 1px solid var(--hf-ct-border);

  background: #fff;

  box-shadow: 0 12px 26px rgba(24, 39, 75, 0.08);
}

.hf-contact-channel-list {
  display: grid;

  gap: 0.6rem;
}

.hf-contact-channel-list a {
  display: flex;

  align-items: center;

  gap: 0.55rem;

  color: #2f3542;

  text-decoration: none;

  font-weight: 600;

  word-break: break-word;
}

.hf-contact-channel-list a:hover {
  color: #ff4757;
}

.hf-contact-channel-list i {
  color: #ff4757;
}

.hf-contact-tip-card {
  background: linear-gradient(180deg, #fff9f9 0%, #fff1f1 100%);
}

.hf-contact-tip-list {
  list-style: none;

  padding-left: 0;

  display: grid;

  gap: 0.5rem;
}

.hf-contact-tip-list li {
  position: relative;

  padding-left: 1.2rem;

  color: #4f5968;
}

.hf-contact-tip-list li::before {
  content: "\2022";

  position: absolute;

  left: 0;

  top: 0;

  color: #ff4757;

  font-weight: 800;
}

@media (max-width: 991.98px) {
  .hf-contact-title {
    font-size: 1.7rem;
  }

  .hf-contact-hero {
    padding: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .hf-contact-kicker {
    font-size: 0.74rem;
  }

  .hf-contact-title {
    font-size: 1.45rem;
  }
}

.hf-pricing-hero {
  border-radius: 22px;

  padding: 1.4rem;

  background: linear-gradient(130deg, #ff4757 0%, #ff6b81 58%, #ffa502 100%);

  border: 1px solid rgba(255, 71, 87, 0.22);

  box-shadow: 0 18px 36px rgba(255, 71, 87, 0.28);
}

.hf-pricing-kicker {
  display: inline-block;

  font-size: 0.78rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  font-weight: 700;

  color: #ffffff;

  background: rgba(255, 255, 255, 0.16);

  border: 1px solid rgba(255, 255, 255, 0.34);

  border-radius: 999px;

  padding: 0.32rem 0.72rem;
}

.hf-pricing-title {
  font-size: 2rem;

  font-weight: 800;

  letter-spacing: -0.02em;

  color: #ffffff;
}

.hf-pricing-subtitle {
  color: rgba(255, 255, 255, 0.92);

  max-width: 740px;
}

.hf-pricing-toggle-wrap {
  background: rgba(255, 255, 255, 0.9);

  border: 1px solid rgba(255, 255, 255, 0.5);

  border-radius: 14px;

  padding: 0.8rem;
}

.hf-pricing-toggle {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0.35rem;

  background: #ffeaea;

  border-radius: 10px;

  padding: 0.3rem;
}

.hf-pricing-toggle button {
  border: 0;

  border-radius: 8px;

  background: transparent;

  color: #6b3b3f;

  font-weight: 700;

  padding: 0.48rem 0.6rem;
}

.hf-pricing-toggle button.active {
  background: #fff;

  color: #2f3542;

  box-shadow: 0 6px 16px rgba(255, 71, 87, 0.2);
}

.hf-pricing-toggle-wrap small.text-muted {
  color: #5b6472 !important;
}

.hf-pricing-card {
  height: 100%;

  border-radius: 18px;

  border: 1px solid rgba(255, 71, 87, 0.14);

  background: linear-gradient(145deg, #ffffff 0%, #fff4f3 100%);

  padding: 1.25rem;

  box-shadow: 0 12px 28px rgba(255, 71, 87, 0.11);

  animation: fadeInUp 0.55s ease both;
}

.hf-pricing-card-highlight {
  border: 2px solid rgba(255, 95, 69, 0.58);

  box-shadow: 0 14px 32px rgba(255, 95, 69, 0.18);

  background: linear-gradient(145deg, #ffffff 0%, #ffe8ea 100%);
}

.hf-pricing-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 0.5rem;

  margin-bottom: 0.8rem;
}

.hf-pricing-badge {
  font-size: 0.74rem;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  font-weight: 700;

  color: #8a2f39;

  background: #ffe9ec;

  border-radius: 999px;

  padding: 0.3rem 0.6rem;
}

.hf-pricing-save {
  font-size: 0.75rem;

  font-weight: 700;

  color: #0f8c50;

  background: #e8faef;

  border-radius: 999px;

  padding: 0.3rem 0.6rem;
}

.hf-pricing-plan-name {
  color: var(--hf-pr-ink);

  font-weight: 800;

  margin-bottom: 0.45rem;
}

.hf-pricing-description {
  color: var(--hf-pr-muted);

  margin-bottom: 0.9rem;

  min-height: 44px;
}

.hf-pricing-price {
  display: flex;

  align-items: baseline;

  gap: 0.2rem;

  margin-bottom: 0.2rem;
}

.hf-pricing-prefix {
  color: #687385;

  font-size: 0.92rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.02em;

  margin-right: 0.1rem;
}

.hf-pricing-currency {
  color: #8a2f39;

  font-weight: 700;
}

.hf-pricing-value {
  font-size: 2rem;

  line-height: 1;

  font-weight: 800;

  color: #ff4757;
}

.hf-pricing-period {
  color: #687385;

  font-weight: 600;
}

.hf-pricing-note {
  font-size: 0.82rem;

  color: #687385;

  margin-bottom: 0.85rem;
}

.hf-pricing-features {
  list-style: none;

  padding: 0;

  margin: 0 0 1rem;

  display: grid;

  gap: 0.48rem;
}

.hf-pricing-features li {
  display: grid;

  grid-template-columns: 18px 1fr;

  gap: 0.5rem;

  align-items: start;
}

.hf-pricing-features i {
  color: #10a664;

  margin-top: 2px;
}

.hf-pricing-features span {
  color: #5f697a;

  font-size: 0.92rem;
}

.hf-pricing-bottom-cta {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 1rem;

  border-radius: 16px;

  border: 1px solid rgba(255, 71, 87, 0.18);

  background: linear-gradient(145deg, #ffffff 0%, #fff4f3 100%);

  padding: 1rem 1.1rem;
}

.hf-pricing-bottom-cta h6 {
  color: #2f3542;

  font-weight: 700;
}

.hf-pricing-bottom-cta p {
  color: #687385;
}

@media (max-width: 991.98px) {
  .hf-advantages-title,
  .hf-pricing-title {
    font-size: 1.6rem;
  }

  .hf-advantages-hero {
    padding: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  .hf-pricing-bottom-cta {
    flex-direction: column;

    text-align: center;
  }

  .hf-pricing-value {
    font-size: 1.75rem;
  }
}

/* ===== Visual Upgrade: Advantages + Plans ===== */

.hf-advantages-page,
.hf-pricing-page {
  position: relative;
}

.hf-advantages-page::before,
.hf-pricing-page::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background-image: radial-gradient(
    rgba(255, 71, 87, 0.09) 1px,
    transparent 1px
  );

  background-size: 18px 18px;

  opacity: 0.35;
}

.hf-advantages-hero,
.hf-pricing-hero {
  animation: hfSectionEnter 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hf-advantages-hero::after {
  content: "";

  position: absolute;

  left: -35%;

  top: 0;

  width: 55%;

  height: 100%;

  transform: skewX(-18deg);

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
}

.hf-adv-card,
.hf-pricing-card {
  position: relative;

  overflow: hidden;
}

.hf-adv-card::before,
.hf-pricing-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 45%,
    rgba(255, 255, 255, 0) 100%
  );

  transform: translateX(-120%);

  transition: transform 0.75s ease;

  pointer-events: none;
}

.hf-adv-card:hover::before,
.hf-pricing-card:hover::before {
  transform: translateX(120%);
}

.hf-adv-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hf-adv-card:hover {
  transform: translateY(-7px);

  border-color: rgba(255, 95, 69, 0.35);

  box-shadow: 0 18px 32px rgba(255, 71, 87, 0.2);
}

.hf-adv-card i {
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.hf-adv-card:hover i {
  transform: scale(1.08) rotate(-3deg);

  background: rgba(255, 165, 2, 0.2);

  color: #ff6b00;
}

.hf-pricing-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hf-pricing-card:hover {
  transform: translateY(-8px);

  border-color: rgba(255, 71, 87, 0.35);

  box-shadow: 0 20px 34px rgba(255, 71, 87, 0.22);
}

.hf-pricing-card-highlight {
  background: linear-gradient(145deg, #ffffff 0%, #ffe8ea 100%);
}

.hf-pricing-card-highlight::after {
  content: "Destaque";

  position: absolute;

  top: 14px;

  right: -34px;

  background: linear-gradient(90deg, #ff5f45, #ff8d4e);

  color: #fff;

  font-size: 0.66rem;

  letter-spacing: 0.06em;

  text-transform: uppercase;

  font-weight: 700;

  padding: 0.3rem 2.2rem;

  transform: rotate(38deg);

  box-shadow: 0 8px 18px rgba(255, 95, 69, 0.35);
}

.hf-pricing-value {
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.hf-pricing-toggle button.active {
  background: linear-gradient(145deg, #ffffff 0%, #fff5f5 100%);
}

.hf-pricing-toggle button:hover {
  color: #8a2f39;
}

.hf-pricing-price.is-switching .hf-pricing-value {
  transform: translateY(-4px);

  color: #ff5f45;
}

.hf-pricing-features li {
  transition: transform 0.22s ease;
}

.hf-pricing-card:hover .hf-pricing-features li {
  transform: translateX(2px);
}

.hf-advantages-page .row.g-4 > [class*="col-"]:nth-child(1) .hf-adv-card,
.hf-pricing-page .row.g-4 > [class*="col-"]:nth-child(1) .hf-pricing-card {
  animation-delay: 0.04s;
}

.hf-advantages-page .row.g-4 > [class*="col-"]:nth-child(2) .hf-adv-card,
.hf-pricing-page .row.g-4 > [class*="col-"]:nth-child(2) .hf-pricing-card {
  animation-delay: 0.08s;
}

.hf-advantages-page .row.g-4 > [class*="col-"]:nth-child(3) .hf-adv-card,
.hf-pricing-page .row.g-4 > [class*="col-"]:nth-child(3) .hf-pricing-card {
  animation-delay: 0.12s;
}

.hf-advantages-page .row.g-4 > [class*="col-"]:nth-child(4) .hf-adv-card,
.hf-pricing-page .row.g-4 > [class*="col-"]:nth-child(4) .hf-pricing-card {
  animation-delay: 0.16s;
}

.hf-advantages-page .row.g-4 > [class*="col-"]:nth-child(5) .hf-adv-card,
.hf-pricing-page .row.g-4 > [class*="col-"]:nth-child(5) .hf-pricing-card {
  animation-delay: 0.2s;
}

.hf-advantages-page .row.g-4 > [class*="col-"]:nth-child(6) .hf-adv-card,
.hf-pricing-page .row.g-4 > [class*="col-"]:nth-child(6) .hf-pricing-card {
  animation-delay: 0.24s;
}

@keyframes hfSectionEnter {
  from {
    opacity: 0;

    transform: translateY(10px) scale(0.995);
  }

  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767.98px) {
  .hf-pricing-card-highlight::after {
    display: none;
  }

  .hf-adv-card:hover,
  .hf-pricing-card:hover {
    transform: translateY(-4px);
  }
}

.sa-input {
  border: 1px solid #d6dbe7;

  border-radius: 12px;

  background: #fcfdff;
}

.sa-input:focus {
  border-color: #3765d8;

  box-shadow: 0 0 0 0.2rem rgba(55, 101, 216, 0.18);

  background: #fff;
}

.sa-table thead th {
  border-bottom: 0;

  color: #394a6d;

  font-size: 0.8rem;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.sa-table tbody td {
  vertical-align: middle;
}

.sa-table tbody tr {
  transition: background-color 0.2s ease;
}

.sa-table tbody tr:hover {
  background-color: #f6f9ff;
}

.sa-action-stack {
  display: inline-flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 0.55rem;
}

.sa-action-stack .btn {
  margin: 0;
}

.ticket-thread {
  max-height: 520px;

  overflow-y: auto;

  border: 1px solid #e6ecf5;

  border-radius: 16px;

  background: linear-gradient(180deg, #f9fbff 0%, #f4f7fb 100%);

  padding: 1rem;
}

.ticket-message {
  position: relative;

  max-width: min(88%, 760px);

  margin-bottom: 0.8rem;

  padding: 0.85rem 0.95rem;

  border-radius: 14px;

  box-shadow: 0 8px 18px rgba(20, 28, 45, 0.06);
}

.ticket-message-admin {
  margin-right: auto;

  background: #ffffff;

  border: 1px solid #dde6f3;
}

.ticket-message-ceo {
  margin-left: auto;

  background: linear-gradient(135deg, #2f3542 0%, #3f4758 100%);

  color: #fff;
}

.ticket-message-head {
  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 0.5rem;

  margin-bottom: 0.35rem;

  font-size: 0.8rem;
}

.ticket-message-head small {
  color: #708098;
}

.ticket-message div {
  word-break: break-word;

  line-height: 1.5;
}

.ticket-message-ceo .ticket-message-head small {
  color: rgba(255, 255, 255, 0.85);
}

.support-ticket-page {
  --support-brand: #ff4757;

  --support-brand-2: #ff7a59;

  --support-accent: #ffb347;

  --support-ink: #2f3542;

  --support-muted: #667184;

  --support-border: rgba(255, 71, 87, 0.14);

  --support-soft: #fff7f6;

  max-width: 1360px;

  margin: 0 auto;

  padding-top: 0.25rem;
}

.support-ticket-page .card-body {
  overflow: visible;
}

.support-ticket-page .card,
.support-ticket-page .card:hover {
  transform: none !important;
}

.support-ticket-page .card:hover {
  box-shadow: 0 14px 30px rgba(39, 28, 28, 0.07) !important;
}

.support-ticket-page .text-muted {
  color: #64748b !important;
}

.support-ticket-card,
.support-ticket-page .sa-panel {
  border-radius: 22px;

  border: 1px solid var(--support-border);

  background: linear-gradient(180deg, #ffffff 0%, #fffdfc 100%);

  box-shadow: 0 14px 30px rgba(39, 28, 28, 0.05);
}

.support-ticket-hero {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 1rem;

  flex-wrap: wrap;

  padding: 1.5rem 1.6rem;

  border-radius: 24px;

  color: var(--support-ink);

  background: linear-gradient(145deg, #fffdfc 0%, #fff5f1 58%, #fffaf2 100%);

  border: 1px solid rgba(255, 71, 87, 0.12);

  box-shadow: 0 20px 40px rgba(255, 116, 92, 0.08);

  position: relative;

  overflow: hidden;
}

.support-ticket-hero::before {
  content: "";

  position: absolute;

  inset: 0 0 auto 0;

  height: 4px;

  background: linear-gradient(
    90deg,
    var(--support-brand) 0%,
    var(--support-brand-2) 55%,
    var(--support-accent) 100%
  );
}

.support-ticket-hero::after {
  content: "";

  position: absolute;

  right: -70px;

  top: -90px;

  width: 260px;

  height: 260px;

  border-radius: 999px;

  background: radial-gradient(
    circle,
    rgba(255, 160, 67, 0.16) 0%,
    rgba(255, 255, 255, 0) 70%
  );
}

.support-ticket-hero-copy,
.support-ticket-hero-side {
  position: relative;

  z-index: 1;
}

.support-ticket-hero-copy {
  max-width: 760px;
}

.support-ticket-hero-side {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 0.75rem;
}

.support-ticket-hero--compact {
  padding: 1.25rem 1.35rem;
}

.support-ticket-kicker {
  display: inline-flex;

  align-items: center;

  border-radius: 999px;

  padding: 0.35rem 0.75rem;

  background: rgba(255, 71, 87, 0.08);

  border: 1px solid rgba(255, 71, 87, 0.16);

  color: #c13d4d;

  font-size: 0.78rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  margin-bottom: 0.65rem;
}

.support-ticket-title {
  font-size: 1.8rem;

  font-weight: 800;

  letter-spacing: -0.03em;

  margin-bottom: 0.35rem;

  color: var(--support-ink);
}

.support-ticket-subtitle {
  max-width: 760px;

  color: var(--support-muted);
}

.support-ticket-mini-stats {
  display: flex;

  flex-wrap: wrap;

  gap: 0.55rem;

  margin-bottom: 0.75rem;
}

.support-ticket-mini-stats span {
  padding: 0.4rem 0.7rem;

  border-radius: 999px;

  background: #ffffff;

  border: 1px solid rgba(255, 71, 87, 0.14);

  color: var(--support-ink);

  font-weight: 600;
}

.support-ticket-mini-stats strong {
  color: #c13d4d;
}

.support-ticket-page .btn,
.support-ticket-page a.btn,
.support-ticket-page button.btn,
.support-ticket-page .btn-ticket-action {
  display: inline-flex !important;

  align-items: center;

  justify-content: center;

  text-transform: none !important;

  letter-spacing: 0 !important;

  border-radius: 12px !important;

  font-size: 0.92rem;

  line-height: 1.2;

  text-decoration: none !important;
}

.support-ticket-page .btn-outline-secondary,
.support-ticket-page .btn-outline-dark,
.support-ticket-page .btn-outline-danger,
.support-ticket-page .btn-outline-primary {
  background: #fff !important;
}

.support-ticket-page .btn-primary {
  background: linear-gradient(
    135deg,
    var(--support-brand) 0%,
    var(--support-brand-2) 100%
  ) !important;

  border-color: transparent !important;

  box-shadow: 0 12px 22px rgba(255, 92, 92, 0.16);
}

.support-ticket-page .btn-primary:hover,
.support-ticket-page .btn-primary:focus {
  transform: translateY(-1px);

  box-shadow: 0 14px 26px rgba(255, 92, 92, 0.22);
}

.support-ticket-page .btn-success {
  background: linear-gradient(135deg, #1f9d5a 0%, #157f49 100%) !important;

  border-color: transparent !important;

  box-shadow: 0 12px 22px rgba(21, 127, 73, 0.16);
}

.support-ticket-page .btn-success:hover,
.support-ticket-page .btn-success:focus {
  transform: translateY(-1px);

  box-shadow: 0 14px 26px rgba(21, 127, 73, 0.22);
}

.support-hero-btn {
  border: 0 !important;

  border-radius: 14px !important;

  padding: 0.75rem 1rem;

  text-transform: none !important;

  letter-spacing: 0 !important;

  font-weight: 700;

  color: #ffffff !important;

  background: linear-gradient(
    135deg,
    var(--support-brand) 0%,
    var(--support-brand-2) 100%
  ) !important;

  box-shadow: 0 12px 22px rgba(255, 92, 92, 0.18);
}

.support-hero-btn:hover {
  transform: translateY(-1px);

  box-shadow: 0 14px 26px rgba(255, 92, 92, 0.22);
}

.support-summary-card {
  height: 100%;

  display: flex;

  flex-direction: column;

  gap: 0.35rem;

  padding: 1rem;

  border-radius: 18px;

  border: 1px solid var(--support-border);

  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 100%);

  box-shadow: 0 10px 24px rgba(35, 27, 27, 0.05);
}

.support-summary-card-highlight.is-primary {
  background: linear-gradient(
    135deg,
    rgba(33, 104, 243, 0.08) 0%,
    #ffffff 100%
  );
}

.support-summary-card-highlight.is-warning {
  background: linear-gradient(
    135deg,
    rgba(255, 179, 71, 0.14) 0%,
    #ffffff 100%
  );
}

.support-summary-card-highlight.is-info {
  background: linear-gradient(
    135deg,
    rgba(18, 184, 219, 0.12) 0%,
    #ffffff 100%
  );
}

.support-summary-card-highlight.is-success {
  background: linear-gradient(
    135deg,
    rgba(16, 166, 100, 0.12) 0%,
    #ffffff 100%
  );
}

.support-summary-card small {
  color: var(--support-muted);

  font-weight: 600;
}

.support-summary-card strong {
  font-size: 1.45rem;

  color: var(--support-ink);

  line-height: 1;
}

.support-summary-icon {
  width: 42px;

  height: 42px;

  border-radius: 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 1rem;

  margin-bottom: 0.4rem;
}

.support-summary-icon.is-dark {
  background: rgba(47, 53, 66, 0.1);
  color: #2f3542;
}

.support-summary-icon.is-primary {
  background: rgba(33, 104, 243, 0.12);
  color: #2168f3;
}

.support-summary-icon.is-warning {
  background: rgba(255, 179, 71, 0.18);
  color: #b97700;
}

.support-summary-icon.is-info {
  background: rgba(18, 184, 219, 0.14);
  color: #0891b2;
}

.support-summary-icon.is-success {
  background: rgba(16, 166, 100, 0.14);
  color: #10a664;
}

.support-summary-icon.is-muted {
  background: rgba(100, 116, 139, 0.14);
  color: #64748b;
}

.support-filter-card h5,
.support-ticket-page .card-title,
.support-subcard-title {
  color: var(--support-ink);

  font-weight: 700;
}

.ticket-filters-panel {
  max-height: 0;

  opacity: 0;

  overflow: hidden;

  transition:
    max-height 0.25s ease,
    opacity 0.25s ease,
    margin-top 0.25s ease;
}

.ticket-filters-panel.is-open {
  max-height: 700px;

  opacity: 1;

  margin-top: 1rem;
}

.support-filter-row .form-label,
.support-ticket-page .form-label {
  margin-bottom: 0.35rem;

  font-weight: 600;

  color: #475569;
}

.support-ticket-page .form-control,
.support-ticket-page .form-select {
  min-height: 46px;

  border-radius: 12px;
}

.support-ticket-page textarea.form-control {
  min-height: 118px;
}

.btn-ticket-action {
  min-height: 44px;

  border-radius: 14px !important;

  font-weight: 700;

  letter-spacing: 0;

  white-space: normal;

  padding: 0.6rem 1rem;

  text-transform: none;
}

.btn-ticket-filter-toggle {
  min-width: 190px;
}

.support-utility-grid {
  align-items: stretch;
}

.support-utility-card {
  height: 100%;

  display: flex;

  flex-direction: column;

  gap: 0.8rem;

  border-radius: 18px;

  border: 1px solid var(--support-border);

  background: linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);

  padding: 1rem;

  box-shadow: 0 10px 24px rgba(35, 27, 27, 0.05);
}

.support-search-box {
  position: relative;
}

.support-search-box i {
  position: absolute;

  left: 0.9rem;

  top: 50%;

  transform: translateY(-50%);

  color: #94a3b8;

  pointer-events: none;
}

.support-search-box .form-control {
  padding-left: 2.5rem;

  background: #fff;
}

.support-action-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

  gap: 0.65rem;
}

.support-action-grid .btn {
  width: 100%;

  min-height: 42px;
}

.support-kb-list {
  list-style: none;

  padding: 0;

  margin: 0;

  display: grid;

  gap: 0.55rem;
}

.support-kb-list li {
  position: relative;

  padding-left: 1rem;

  color: var(--support-muted);

  line-height: 1.45;
}

.support-kb-list li::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0.55rem;

  width: 6px;

  height: 6px;

  border-radius: 999px;

  background: linear-gradient(
    135deg,
    var(--support-brand) 0%,
    var(--support-brand-2) 100%
  );
}

.support-empty-search {
  border: 1px dashed rgba(255, 71, 87, 0.24);

  background: #fff7f6;
}

.support-ticket-list {
  display: grid;

  gap: 0.8rem;

  max-height: 920px;

  overflow-y: auto;

  padding-right: 0.15rem;
}

.support-ticket-item,
.support-ticket-item:link,
.support-ticket-item:visited,
.support-ticket-item:hover,
.support-ticket-item:focus {
  display: block;

  text-decoration: none !important;

  color: var(--support-ink) !important;

  padding: 0.95rem;

  border-radius: 18px;

  border: 1px solid rgba(47, 53, 66, 0.08);

  background: linear-gradient(180deg, #ffffff 0%, #fff9f7 100%);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.support-ticket-item:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 71, 87, 0.26);

  box-shadow: 0 14px 28px rgba(40, 28, 28, 0.08);
}

.support-ticket-item.active {
  background: linear-gradient(145deg, #fff4ef 0%, #ffece6 100%);

  color: var(--support-ink);

  border-color: rgba(255, 71, 87, 0.26);

  box-shadow: 0 16px 30px rgba(255, 116, 92, 0.12);
}

.support-ticket-item.active .support-ticket-item-meta,
.support-ticket-item.active .support-ticket-time {
  color: var(--support-muted);
}

.support-ticket-item.active .badge {
  border: 1px solid rgba(255, 71, 87, 0.16);
}

.support-ticket-item-head {
  display: flex;

  justify-content: space-between;

  gap: 0.75rem;

  align-items: start;

  margin-bottom: 0.25rem;
}

.support-ticket-item-title {
  font-weight: 800;

  line-height: 1.35;
}

.support-ticket-time,
.support-ticket-item-meta {
  font-size: 0.82rem;

  color: var(--support-muted);
}

.support-ticket-item-meta + .support-ticket-item-meta {
  margin-top: 0.15rem;
}

.support-ticket-badges {
  display: flex;

  flex-wrap: wrap;

  gap: 0.45rem;

  margin-top: 0.65rem;
}

.support-ticket-badges .badge {
  border-radius: 999px;

  padding: 0.36rem 0.62rem;

  font-size: 0.72rem;

  font-weight: 700;
}

.support-ticket-counter {
  min-width: 38px;

  height: 38px;

  border-radius: 999px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: #fff1ed;

  color: #b33945;

  font-weight: 800;
}

.support-ticket-detail-header {
  display: flex;

  justify-content: space-between;

  align-items: start;

  gap: 1rem;

  flex-wrap: wrap;

  padding-bottom: 1rem;

  margin-bottom: 1rem;

  border-bottom: 1px solid var(--support-border);
}

.support-ticket-label {
  display: inline-flex;

  align-items: center;

  border-radius: 999px;

  padding: 0.3rem 0.7rem;

  background: #fff0ed;

  color: #b33945;

  font-size: 0.75rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  margin-bottom: 0.55rem;
}

.support-status-form {
  display: grid;

  grid-template-columns: minmax(170px, 220px) auto;

  align-items: end;

  justify-content: end;

  gap: 0.75rem;

  width: min(100%, 420px);

  margin-left: auto;

  padding: 0.75rem;

  border-radius: 16px;

  background: linear-gradient(180deg, #fff9f7 0%, #ffffff 100%);

  border: 1px solid var(--support-border);
}

.support-status-form .form-select {
  min-width: 170px;
}

.support-status-form .btn {
  min-width: 150px;
}

.support-subcard {
  border-radius: 18px;

  border: 1px solid var(--support-border);

  background: linear-gradient(180deg, #ffffff 0%, #fffaf8 100%);

  padding: 1rem;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.support-subcard-title {
  display: flex;

  align-items: center;

  gap: 0.45rem;

  margin-bottom: 0.85rem;
}

.support-info-note {
  border-radius: 12px;

  padding: 0.75rem 0.85rem;

  background: #fff7ea;

  border: 1px solid rgba(255, 165, 2, 0.2);

  color: #8a5714;

  font-size: 0.88rem;
}

.support-info-note-danger {
  background: #fff2f4;

  border-color: rgba(255, 71, 87, 0.2);

  color: #b03346;
}

.support-empty-state {
  min-height: 420px;

  display: grid;

  place-items: center;

  gap: 0.85rem;

  text-align: center;

  color: var(--support-muted);
}

.support-empty-icon {
  width: 72px;

  height: 72px;

  border-radius: 20px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 1.6rem;

  color: #ff6b59;

  background: linear-gradient(
    145deg,
    rgba(255, 71, 87, 0.12) 0%,
    rgba(255, 179, 71, 0.18) 100%
  );
}

.support-empty-inline {
  border-radius: 16px;

  padding: 1rem;

  text-align: center;

  background: #fff9f7;

  color: var(--support-muted);

  border: 1px dashed rgba(255, 71, 87, 0.18);
}

@media (max-width: 1200px) {
  .ticket-filters-panel.is-open {
    max-height: 960px;
  }
}

@media (max-width: 991.98px) {
  .support-utility-grid > [class*="col-"] {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .support-ticket-hero {
    padding: 1.1rem;
  }

  .support-ticket-title {
    font-size: 1.45rem;
  }

  .support-ticket-mini-stats {
    margin-bottom: 0.5rem;
  }

  .support-ticket-hero-side {
    width: 100%;

    align-items: flex-start;
  }

  .btn-ticket-filter-toggle,
  .support-status-form,
  .support-status-form > div,
  .support-status-form .form-select,
  .support-status-form .btn,
  .support-filter-row .btn-ticket-action {
    width: 100%;
  }

  .support-status-form {
    grid-template-columns: 1fr;

    margin-left: 0;
  }

  .support-ticket-item-head {
    flex-direction: column;
  }

  .ticket-thread {
    max-height: none;
  }

  .ticket-message {
    max-width: 100%;
  }
}

/* Smooth scrolling */

html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */

.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);

  outline-offset: 2px;
}

/* Skip to content for screen readers */

.skip-link {
  position: absolute;

  top: -40px;

  left: 0;

  background: var(--primary-color);

  color: white;

  padding: 8px;

  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* Institutional plans */

.hf-plan-card {
  position: relative;

  border-radius: 18px;

  border: 1px solid rgba(255, 71, 87, 0.12);

  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);

  opacity: 0;

  animation: hfPlanCardIn 0.55s ease-out forwards;
}

.hf-plan-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 18px 28px rgba(255, 71, 87, 0.14) !important;
}

.hf-plan-card-featured {
  border-color: rgba(255, 71, 87, 0.35);

  background: linear-gradient(180deg, #ffffff 0%, #ffeff2 100%);
}

.hf-plan-badge {
  background: linear-gradient(45deg, #ff4757, #ff6b81);

  color: #fff;

  border-radius: 999px;

  padding: 0.4rem 0.75rem;

  font-size: 0.72rem;

  letter-spacing: 0.02em;
}

.hf-plan-price-block {
  padding: 0.7rem 0.9rem;

  border-radius: 12px;

  background: #ffffff;

  border: 1px solid rgba(47, 53, 66, 0.08);
}

.hf-plan-price-block-annual {
  background: #f8fbff;
}

.hf-plan-features li {
  margin-bottom: 0.35rem;
}

.hf-plan-preview-section {
  background: linear-gradient(130deg, #fdfdfd 0%, #f6f8fb 55%, #eef2f6 100%);

  border: 2px solid rgba(31, 41, 55, 0.08);

  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);

  position: relative;

  overflow: hidden;
}

.hf-plan-preview-section::before {
  content: "";

  position: absolute;

  width: 260px;

  height: 260px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(148, 163, 184, 0.18) 0%,
    rgba(148, 163, 184, 0) 70%
  );

  top: -100px;

  left: -80px;

  pointer-events: none;
}

.hf-plan-preview-note {
  max-width: 720px;

  margin: 0 auto 1.5rem;

  text-align: center;

  background: #fff;

  border: 1px solid rgba(148, 163, 184, 0.32);

  border-radius: 999px;

  padding: 0.6rem 1rem;

  color: #5a6573;

  font-size: 0.92rem;

  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.hf-plan-preview-section .section-title p {
  max-width: 560px;

  margin: 0.4rem auto 0;
}

.hf-plan-preview-card {
  position: relative;

  opacity: 1;

  border-radius: 18px;

  overflow: hidden;

  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;

  border: 2px solid #111111;

  animation: hfPlanCardIn 0.45s ease-out both;
}

.hf-plan-preview-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0) 100%
  );

  transform: translateX(-125%);

  transition: transform 0.7s ease;

  pointer-events: none;
}

.hf-plan-preview-card:hover::before {
  transform: translateX(125%);
}

.hf-plan-preview-card:hover {
  transform: translateY(-7px);

  border-color: #000000;

  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14) !important;
}

.hf-plan-preview-card .h4 {
  font-size: 2rem;
}

.hf-plan-preview-divider {
  width: 100%;

  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(255, 71, 87, 0),
    rgba(255, 71, 87, 0.35),
    rgba(255, 71, 87, 0)
  );

  margin: 0.9rem 0 0.8rem;
}

.hf-plan-preview-feature-list {
  list-style: none;

  padding-left: 0;
}

.hf-plan-preview-feature-list li {
  position: relative;

  padding-left: 1.2rem;

  margin-bottom: 0.35rem;

  color: #4c5563;

  font-size: 0.92rem;
}

.hf-plan-preview-feature-list li::before {
  content: "•";

  position: absolute;

  left: 0;

  top: 0;

  color: #ff4757;

  font-weight: 700;
}

.hf-plan-preview-price {
  color: #ff4757;
}

.hf-plan-preview-card-featured {
  border: 2px solid #111111;

  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);

  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14) !important;
}

.hf-plan-preview-card-featured .hf-plan-preview-price {
  color: #e8000f;
}

.hf-plan-preview-badge {
  background: linear-gradient(45deg, #ff4757, #ff8a00);

  color: #fff;

  border-radius: 999px;

  padding: 0.35rem 0.7rem;

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.hf-plan-preview-cta {
  box-shadow: 0 10px 22px rgba(255, 71, 87, 0.28);
}

/* ============== METRICS SECTION ============== */

.hf-metrics-section {
  background: linear-gradient(130deg, #ff4757 0%, #ff6b81 58%, #ffa502 100%);

  position: relative;

  overflow: hidden;

  border-radius: 20px;

  box-shadow: 0 20px 40px rgba(255, 71, 87, 0.2);
}

.hf-metrics-section::before {
  content: "";

  position: absolute;

  width: 320px;

  height: 320px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0) 70%
  );

  top: -100px;

  right: -80px;

  pointer-events: none;
}

.hf-metrics-section .section-title h2 {
  color: #ffffff;
}

.hf-metrics-section .section-title p {
  color: #ffffff;
}

.hf-metrics-section .section-title p.text-muted {
  color: #ffffff !important;
}

.hf-metrics-section .section-title::after {
  background: rgba(255, 255, 255, 0.7);
}

.hf-metric-card {
  background: rgba(255, 255, 255, 0.93);

  border: 1px solid rgba(255, 255, 255, 0.55);

  border-radius: 16px;

  padding: 1.75rem 1rem;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  box-shadow: 0 10px 22px rgba(24, 39, 75, 0.12);
}

.hf-metric-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 16px 30px rgba(24, 39, 75, 0.16);
}

.hf-metric-icon {
  font-size: 1.5rem;

  color: #ff4757;

  margin-bottom: 0.65rem;
}

.hf-metric-value {
  font-size: 2rem;

  font-weight: 800;

  color: #2f3542;

  line-height: 1.1;

  margin-bottom: 0.3rem;
}

.hf-metric-label {
  font-size: 0.875rem;

  color: #5a6573;

  line-height: 1.35;
}

/* ============== FEATURES TILE GRID ============== */

.hf-feature-tile {
  display: flex;

  align-items: center;

  gap: 0.75rem;

  background: #fff;

  border: 1px solid rgba(47, 53, 66, 0.07);

  border-radius: 14px;

  padding: 0.9rem 1rem;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;

  height: 100%;
}

.hf-feature-tile:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 24px rgba(47, 53, 66, 0.1);
}

.hf-feature-tile-icon {
  width: 44px;

  height: 44px;

  flex-shrink: 0;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.15rem;
}

.hf-feature-tile-label {
  font-weight: 600;

  font-size: 0.9rem;

  color: #2f3542;

  line-height: 1.3;
}

/* ============== FAQ SECTION ============== */

.hf-faq-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.hf-faq-accordion .hf-faq-item {
  border: 1px solid rgba(47, 53, 66, 0.1);

  border-radius: 12px !important;

  margin-bottom: 0.6rem;

  overflow: hidden;
}

.hf-faq-accordion .accordion-button {
  border-radius: 12px !important;

  font-weight: 600;

  color: #2f3542;

  background: #fff;
}

.hf-faq-accordion .accordion-button:not(.collapsed) {
  color: #ff4757;

  background: #fff9f9;

  box-shadow: none;
}

.hf-faq-accordion .accordion-button::after {
  filter: none;
}

.hf-faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(27%) sepia(99%) saturate(2000%) hue-rotate(332deg);
}

/* ============== FINAL CTA SECTION ============== */

.hf-home-cta-section {
  background: linear-gradient(135deg, #ff4757 0%, #c0392b 100%);

  position: relative;

  overflow: hidden;
}

.hf-home-cta-section::before {
  content: "";

  position: absolute;

  width: 300px;

  height: 300px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  right: -60px;

  top: -80px;

  pointer-events: none;
}

.hf-home-cta-section .btn-light {
  color: #ff4757;
}

.hf-home-step-card {
  border: 1px solid rgba(47, 53, 66, 0.08);

  border-radius: 16px;

  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

.hf-home-step-number {
  width: 34px;

  height: 34px;

  border-radius: 50%;

  background: linear-gradient(135deg, #ff4757, #ff8a00);

  color: #fff;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;

  margin-bottom: 0.9rem;
}

.hf-home-review-card {
  border: 1px solid rgba(47, 53, 66, 0.08);

  border-radius: 16px;

  background: #fff;
}

.hf-home-reviews-carousel .carousel-control-prev,
.hf-home-reviews-carousel .carousel-control-prev,
.hf-home-reviews-carousel .carousel-control-next {
  width: 42px;

  height: 42px;

  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  background: rgba(47, 53, 66, 0.12);

  border: 1px solid rgba(47, 53, 66, 0.18);

  opacity: 1;
}

.hf-home-reviews-carousel .carousel-control-prev:hover,
.hf-home-reviews-carousel .carousel-control-next:hover {
  background: rgba(255, 71, 87, 0.15);

  border-color: rgba(255, 71, 87, 0.4);
}

.hf-home-reviews-carousel .carousel-control-prev {
  left: -8px;
}

.hf-home-reviews-carousel .carousel-control-next {
  right: -8px;
}

.hf-home-reviews-carousel .carousel-indicators [data-bs-target] {
  width: 11px;

  height: 11px;

  border-radius: 50%;

  border: 0;

  background-color: rgba(47, 53, 66, 0.25);
}

.hf-home-reviews-carousel .carousel-indicators .active {
  background-color: #ff4757;
}

@keyframes hfPlanCardIn {
  from {
    opacity: 0;

    transform: translateY(16px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .hf-plan-card,
  .hf-plan-preview-card {
    animation: none;

    opacity: 1;
  }

  .hf-plan-preview-note {
    border-radius: 14px;

    text-align: left;
  }

  .hf-home-reviews-carousel .carousel-control-prev,
  .hf-home-reviews-carousel .carousel-control-next {
    display: none;
  }
}

/* Loading skeleton placeholder */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);

  background-size: 200% 100%;

  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Toast positioning fix for mobile */

@media (max-width: 575.98px) {
  .toast-container {
    left: 0.5rem !important;

    right: 0.5rem !important;

    bottom: 0.5rem !important;
  }

  .toast {
    width: 100% !important;
  }
}

.sa-kpi-head {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 0.45rem;
}

.sa-kpi-dot {
  width: 38px;

  height: 38px;

  border-radius: 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-size: 0.95rem;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sa-module-card .sa-card-icon {
  background: linear-gradient(
    145deg,
    rgba(255, 77, 90, 0.14) 0%,
    rgba(255, 179, 71, 0.16) 100%
  );

  border: 1px solid rgba(255, 109, 92, 0.16);
}

.sa-module-card .badge {
  font-size: 0.72rem;

  border-radius: 999px;

  padding: 0.5rem 0.75rem;
}
