/* =====================================================
   PharmaOS — Clean SaaS (RxSense Inspired)
   ===================================================== */

/* FONT */
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
*/
/* ===== ROOT ===== */
:root {
   font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    font-size: 15px;
    line-height: 1.6;
    color: #0b1f33;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --primary: #2563eb;
    --secondary: #7c3aed;

    --white: #ffffff;
    --bg: #f8fafc;

    --text-dark: #0f172a;
    --text-muted: #64748b;

    --border: #e2e8f0;

    --radius: 8px;

    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.06);

    --grad: linear-gradient(90deg, #2563eb, #7c3aed);
    --footer-bg: #f5f7fb;
    --footer-border: #e6eaf0;
    --footer-text: #0b1f33;
    --footer-muted: #6b7c93;
    --footer-link: #0a66c2;
    --footer-hover: #084c94;
}

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

body {
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.pub-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
/* ==========================
   PREMIUM SaaS NAVBAR
========================== */

.pub-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* INNER */
.pub-navbar-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

/* ==========================
   BRAND
========================== */

.pub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.pub-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;

  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
}

.pub-brand-text {
  font-size: 16px;
  font-weight: 600;
  color: #0b1f33;
}

.pub-brand-text span {
  font-size: 11px;
  color: #6b7c93;
}

/* ==========================
   NAV LINKS
========================== */

.pub-nav {
  margin-left: 40px;
  margin-right: 20px;
  display: flex;
  gap: 18px;
}

.pub-nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #6b7c93;
  text-decoration: none;
  padding: 6px 8px;
  transition: all 0.2s ease;
}

/* HOVER */
.pub-nav-link:hover {
  color: #2563eb;
}

/* UNDERLINE ANIMATION */
.pub-nav-link::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.pub-nav-link:hover::after {
  transform: scaleX(1);
}

/* ACTIVE */
.pub-nav-link.active {
  color: #2563eb;
}

.pub-nav-link.active::after {
  transform: scaleX(1);
}

/* ==========================
   ACTION BUTTONS
========================== */

.pub-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================
   PRIMARY BUTTON (FIXED)
========================== */

.pub-btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  border: none;

  transition: all 0.25s ease;
  justify-content: center; /* 🔥 THIS FIXES CENTER */  
  box-shadow: 0 6px 18px rgba(37,99,235,0.25);
}

/* HOVER */
.pub-btn-primary:hover {
  background: linear-gradient(90deg, #1e40af, #6d28d9); /* darker gradient */
  color: #fff;

  transform: translateY(-1px);

  box-shadow: 0 10px 28px rgba(37,99,235,0.35);
}

/* ACTIVE CLICK */
.pub-btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

/* SUBTLE GLOW */
.pub-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: 0.3s;
}

.pub-btn-primary:hover::before {
  opacity: 1;
}

/* ==========================
   MOBILE CTA FIX
========================== */

@media (max-width: 768px) {

   .pub-mobile-actions .pub-btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;

    display: flex;
    align-items: center;
  }

  /* REMOVE HEAVY ANIMATION ON MOBILE */
  .pub-btn-primary::before,
  .pub-btn-primary::after {
    display: none;
  }

  /* ICON ALIGNMENT */
  .pub-btn-primary svg {
    margin-left: 4px;
  }

  /* FIX BUTTON GROUP */
  .pub-nav-actions {
    display: none;
  }

}

/* GHOST */
.pub-btn-ghost {
  color: #6b7c93;
}

/* OUTLINE */
.pub-btn-outline {
  border: 1px solid #e6eaf0;
  color: #0b1f33;
}

/* ==========================
   SCROLL EFFECT
========================== */

.pub-navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {
  .pub-nav,
  .pub-nav-actions {
    display: none;
  }
}

/* ==========================
   LOGO STYLE
========================== */

.pub-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* ALIGNMENT */
.pub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .pub-logo {
    height: 70px;
  }
}

/* ==========================
   NAV RIGHT ACTIONS FIX
========================== */

.pub-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTON BASE */
.pub-nav-actions .pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
}

/* PRIMARY CTA */
.pub-btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  border: none;
  position: relative;
}

.pub-btn-primary:hover {
  opacity: 0.95;
}

/* GHOST BUTTON */
.pub-btn-ghost {
  color: #6b7c93;
  background: transparent;
}

.pub-btn-ghost:hover {
  color: #2563eb;
}

/* OUTLINE BUTTON */
.pub-btn-outline {
  border: 1px solid #e6eaf0;
  color: #0b1f33;
  background: #fff;
}

.pub-btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* ICON FIX (SVG) */
.pub-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* =====================================================
   MAIN
===================================================== */

/* ALERT */
.pub-alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

.pub-alert-success {
  background: #ecfdf5;
  color: #065f46;
}

.pub-alert-danger {
  background: #fef2f2;
  color: #991b1b;
}

/* =====================================================
   HERO
===================================================== */
.pub-hero {
  padding: 100px 0;
  text-align: center;
}

.pub-hero-title {
  font-size: 42px;
  font-weight: 700;
}

.pub-hero-sub {
  color: var(--text-muted);
  margin-top: 15px;
}

/* =====================================================
   SECTION
===================================================== */
.pub-section {
  padding: 100px 0;
}

.pub-section-title {
  font-size: 28px;
  font-weight: 600;
}

.pub-section-sub {
  color: var(--text-muted);
  margin-top: 10px;
}
@media (max-width: 768px) {
  .pub-section {
    padding: 40px 0;
  }
}
/* =====================================================
   CARDS
===================================================== */
.pub-feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.pub-feature-card,
.pub-price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.pub-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pub-feature-card .htw-icons {
  display: block;
  font-size: 24px;
  line-height: 1;
}

/* =====================================================
   CTA
===================================================== */
.pub-cta-banner {
  background: var(--grad);
  color: #fff;
  padding: 60px;
  text-align: center;
  border-radius: 12px;
}


/* =====================================================
   FORM
===================================================== */
.form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 45px;
  padding: 10px;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

/* =====================================================
   AUTH
===================================================== */
.auth-card {
  display: flex;
  max-width: 900px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.auth-left {
  flex: 1;
  background: var(--grad);
  color: #fff;
  padding: 40px;
}
ul.auth-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-right {
  flex: 1;
  padding: 40px;
}
.auth-right .grid-2 {
  gap: 24px;
}
/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 992px) {
  .pub-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .auth-card .auth-right {
    padding: 30px 20px;
  }
  .auth-right .grid-2 {
    gap: 10px;
  }
  .auth-right .grid-2 .form-group-modern {
    margin-bottom: 0;
  }
}

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

  .pub-mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .pub-feature-grid {
    grid-template-columns: 1fr;
  }

  .pub-hero-title {
    font-size: 28px;
  }
}

/* ==========================
   FINAL FOOTER (CLEAN SaaS)
========================== */

.pub-footer {
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
  padding: 30px 0 30px;
  margin-top: 20px;
  border-top: 1px solid #e6eaf0;
}
@media (max-width: 768px) {
  .pub-footer {
    margin-top: 0;
    padding: 20px 0 20px;
  }
}

/* ===== TOP GRID ===== */
.pub-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* ===== BRAND ===== */
.pub-footer-brand {
  max-width: 420px;
}

.pub-footer .pub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* LOGO */
.pub-footer .pub-logo {
  height: 38px;
}

/* TAGLINE */
.pub-footer-tagline {
  font-size: 14px;
  color: #6b7c93;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== FEATURE TAGS ===== */
.pub-footer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pub-footer-features span {
  background: #fff;
  border: 1px solid #e6eaf0;
  color: #6b7c93;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ===== SOCIAL ===== */
.pub-footer-socials {
  display: flex;
  gap: 10px;
}

.pub-footer-socials .pub-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e6eaf0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7c93;
  font-size: 13px;
  transition: 0.2s;
}

.pub-footer-socials .pub-social-btn:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ===== RIGHT COLUMNS ===== */
.pub-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* TITLE */
.pub-footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: #0b1f33;
  margin-bottom: 12px;
}

/* LINKS */
.pub-footer-col a {
  display: block;
  font-size: 13px;
  color: #6b7c93;
  margin-bottom: 8px;
  text-decoration: none;
}

.pub-footer-col a:hover {
  color: #2563eb;
}

/* ===== BOTTOM BAR ===== */
.pub-footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e6eaf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7c93;
}

.footer-left strong {
  color: #0b1f33;
}

/* RIGHT LINKS */
.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-right a {
  color: #6b7c93;
  text-decoration: none;
}

.footer-right a:hover {
  color: #2563eb;
}

.footer-right .sep {
  opacity: 0.5;
}

/* ==========================
   MOBILE FIX (VERY IMPORTANT)
========================== */

@media (max-width: 992px) {
  .pub-footer-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pub-footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .pub-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hero-gradient {
  padding: 120px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #0b1f33;
  max-width: 700px;
  margin: auto;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  color: #6b7c93;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  border: none;
}

.btn-outline {
  border: 1px solid #e6eaf0;
  background: #fff;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
  color: #0b1f33;
}

.card-subtitle {
  font-size: 13px;
  color: #6b7c93;
}

.plan-card {
  border-radius: 16px;
  border: 1px solid #e6eaf0;
  padding: 20px;
  transition: 0.3s;
}

.plan-card.active-plan {
  border: 2px solid #2563eb;
  transform: scale(1.03);
}

.plan-price {
  font-size: 34px;
  font-weight: 700;
  margin: 10px 0;
}

.feature-item {
  font-size: 13px;
  margin-bottom: 6px;
}

.feature-item.active {
  color: #0b1f33;
}

.feature-item.inactive {
  color: #9ca3af;
}

.mt-6 {
  margin-top: 80px;
}

.mt-4 {
  margin-top: 30px;
}

.page-header {
  margin-bottom: 30px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #0b1f33;
}

.page-subtitle {
  font-size: 14px;
  color: #6b7c93;
  margin-top: 6px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }
}

/* ==========================
   MOBILE MENU FIX
========================== */

.pub-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.pub-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0b1f33;
  transition: all 0.3s ease;
}

/* ANIMATION */
.pub-mobile-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.pub-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.pub-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* MENU */
.pub-mobile-menu {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e6eaf0;

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
}

.pub-mobile-menu.open {
  max-height: 500px;
}

/* INNER */
.pub-mobile-menu-inner {
  padding: 20px;
}

/* LINKS */
.pub-mobile-link {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0b1f33;
  border-radius: 8px;
  text-decoration: none;
}

.pub-mobile-link:hover {
  background: #f5f7fb;
}

/* ACTIONS */
.pub-mobile-actions {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pub-nav,
  .pub-nav-actions {
    display: none;
  }

  .pub-mobile-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* ==========================
   PREMIUM BACK TO TOP BUTTON
========================== */

.pub-back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 48px;
  height: 48px;
  border-radius: 12px;

  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;

  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;

  box-shadow: 0 10px 25px rgba(37,99,235,0.25);

  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;

  z-index: 999;
}

/* SHOW STATE */
.pub-back-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* HOVER EFFECT */
.pub-back-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(37,99,235,0.35);
}

/* ACTIVE CLICK */
.pub-back-top:active {
  transform: scale(0.95);
}

/* OPTIONAL GLASS EFFECT */
.pub-back-top::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: 0.3s;
}

.pub-back-top:hover::after {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .pub-back-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* ==========================
   FEATURE DETAIL SECTION
========================== */

.feature-detail {
  align-items: center;
  gap: 60px;
}

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

/* SPACING */
.mb-6 {
  margin-bottom: 100px;
}

/* TITLES */
.feature-detail h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0b1f33;
  margin: 10px 0;
}

/* DESCRIPTION */
.text-muted {
  color: #6b7c93;
  font-size: 14px;
  line-height: 1.7;
}

/* ICON */
.feature-detail .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;

  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  margin-bottom: 10px;

  box-shadow: 0 8px 20px rgba(37,99,235,0.2);
}

.list-modern {
  margin-top: 15px;
  padding-left: 0;
  list-style: none;
}

.list-modern li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #6b7c93;
}

/* CHECK ICON */
.list-modern li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-size: 12px;
}

.img-fluid {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e6eaf0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.img-fluid:hover {
  transform: translateY(-5px);
}

.pub-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #ffffff, #f5f7fb);
}

.pub-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #0b1f33;
}

.grad-word {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pub-cta-banner {
  margin-top: 80px;
  padding: 80px 20px;
  border-radius: 20px;
}

.pub-cta-title {
  font-size: 28px;
  font-weight: 700;
}

.pub-cta-sub {
  font-size: 15px;
  margin: 15px 0 25px;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .feature-detail {
    gap: 30px;
  }

  .mb-6 {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .pub-hero-title {
    font-size: 28px;
  }
}

/* ==========================
   SCROLL ANIMATION SYSTEM
========================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* LEFT / RIGHT SLIDE */
.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s ease;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.7s ease;
}

.fade-right.show {
  opacity: 1;
  transform: translateX(0);
}


/* =====================================================
   🔥 NEXT LEVEL AUTH UI (GLASS + PREMIUM)
===================================================== */

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  background: linear-gradient(-45deg, #2563eb, #7c3aed, #2563eb, #7c3aed);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
}

@media (max-width: 768px) {
 .auth-wrapper {
    min-height: auto;
  }
}


/* BACKGROUND ANIMATION */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================
   GLASS CARD
========================== */

.auth-card {
  display: flex;
  width: 100%;
  max-width: 1000px;

  border-radius: 20px;
  overflow: hidden;

  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}

/* ==========================
   LEFT PANEL
========================== */

.auth-left {
  flex: 1;
  padding: 60px;
  color: #fff;

  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.9),
    rgba(15,23,42,0.7)
  );
}

.auth-brand {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

.auth-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}
.white-logo {
  margin-right: 10px;
  width: 50px;
}

.auth-subtitle {
  opacity: 0.8;
  margin-bottom: 25px;
}

.auth-features li {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.9;
}

/* ==========================
   RIGHT PANEL (GLASS WHITE)
========================== */

.auth-right {
  flex: 1;
  padding: 60px;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

/* ==========================
   HEADER
========================== */

.auth-header h3 {
  font-size: 24px;
  font-weight: 700;
}

.auth-header p {
  color: #64748b;
  margin-bottom: 30px;
}

/* ==========================
   INPUT (PREMIUM)
========================== */

.form-group-modern {
  position: relative;
  margin-bottom: 24px;
}

.form-group-modern input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;

  padding: 14px;
  font-size: 14px;

  transition: all 0.25s ease;
}

/* FOCUS GLOW */
.form-group-modern input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

/* LABEL */
.form-group-modern label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  padding: 0 6px;
  font-size: 13px;
  color: #6b7c93;
  transition: 0.2s;
}

/* FLOAT */
.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 11px;
  color: #2563eb;
}

/* ==========================
   PASSWORD ICON
========================== */

.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 16px;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.7;
}

.toggle-password:hover {
  opacity: 1;
}

/* ==========================
   BUTTON (PREMIUM CTA)
========================== */

.btn-primary {
  height: 52px;
  border-radius: 12px;

  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  border: none;

  font-weight: 600;
  font-size: 15px;

  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

/* HOVER */
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px rgba(37,99,235,0.4);
}

/* CLICK */
.btn-primary:active {
  transform: scale(0.97);
}

/* ==========================
   LINKS
========================== */

.auth-right a {
  color: #2563eb;
  font-weight: 500;
}

.auth-right a:hover {
  text-decoration: underline;
}

/* ==========================
   FOOTER
========================== */

.auth-footer {
  margin-top: 25px;
  text-align: center;
}

.auth-footer p {
  font-size: 13px;
  margin-bottom: 6px;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

  .auth-card {
    flex-direction: column;
  }

  .auth-left {
    display: none;
  }

  .auth-right {
    padding: 35px;
  }

}

.btn-primary.loading {
  pointer-events: none;
  opacity: 0.8;
}

input.is-valid { border-color: #22c55e; }
input.is-invalid { border-color: #ef4444; }

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gap-3 {
  gap: 12px;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gap-3 {
  gap: 12px;
}

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

/* PREMIUM HERO */
.premium-hero {
  position: relative;
  overflow: hidden;
}

.premium-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
}

/* HERO IMAGE */
.hero-dashboard {
  margin-top: 60px;
}

.hero-dashboard img {
  max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* TRUST BAR */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  font-size: 14px;
}

.trust-bar strong {
  font-size: 22px;
}

/* GLOW BUTTON */
.glow-btn {
  box-shadow: 0 10px 30px rgba(37,99,235,0.4);
}

/* PREMIUM CTA */
.premium-cta {
  margin-top: 80px;
  padding: 80px;
  border-radius: 20px;
  text-align: center;

  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}

/* COUNTER */
.counter {
  font-size: 32px;
  font-weight: 700;
}

/* BLOG */
.blog-card {
  transition: 0.3s;
  border-radius: 14px;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* TAG */
.blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37,99,235,0.08);
  padding: 4px 10px;
  border-radius: 999px;
}


/* FAQ */
.faq-item {
  border-bottom: 1px solid #e6eaf0;
  padding: 14px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0b1f33;
  cursor: pointer;
  padding: 10px 0;
}

.faq-question span {
  font-size: 18px;
  transition: 0.3s;
}

/* ROTATE ICON */
.faq-question:not(.collapsed) span {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 14px;
  color: #6b7c93;
  padding-top: 8px;
  line-height: 1.6;
}

/* CTA BUTTONS (ON GRADIENT BG) */
.pub-btn-cta-primary {
  background: #fff;
  color: #2563eb;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.pub-btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* OUTLINE BUTTON */
.pub-btn-cta-secondary {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.pub-btn-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.pub-cta-banner {
  position: relative;
  overflow: hidden;
}

.pub-cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
  top: -100px;
  right: -100px;
}

/* MODERN PLAN CARD */
.plan-card-modern {
  position: relative;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e6eaf0;
  background: #fff;
  text-align: center;
  transition: all 0.3s ease;
}

.plan-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ACTIVE PLAN */
.plan-card-modern.active-plan {
  border: 2px solid #2563eb;
  transform: scale(1.04);
}

/* BADGE */
.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}

/* PRICE */
.plan-price {
  font-size: 34px;
  font-weight: 700;
  margin: 10px 0;
}

.plan-price span {
  font-size: 14px;
  color: #6b7c93;
}

/* META */
.plan-meta {
  font-size: 13px;
  color: #6b7c93;
  margin-bottom: 10px;
}

/* FEATURES */
.plan-features {
  text-align: left;
  margin-top: 10px;
}

.feature-item {
  font-size: 13px;
  margin-bottom: 6px;
  color: #dbdbdb;
}

.feature-item.active {
  color: #0b1f33;
}

.feature-item.inactive {
  color: #9ca3af;
}

/* DEMO VIDEO BOX */
.demo-video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e6eaf0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* OVERLAY */
.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* HOVER EFFECT */
.demo-video-box:hover {
  transform: translateY(-4px);
  transition: 0.3s;
}

/* CTA BUTTON FIX */
.pub-btn-cta-primary {
  background: #ffffff;
  color: #2563eb;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;

  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.pub-btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* FIX CHECKBOX ALIGN */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MODERN CHECKBOX */
.form-check input {
  margin-right: 6px;
}

/* PASSWORD ICON */
.toggle-password {
  position: absolute;
  right: 14px;
  top: 16px;
  cursor: pointer;
  opacity: 0.6;
}

.toggle-password:hover {
  opacity: 1;
}

/* BUTTON FIX */
.pub-btn-primary {
  height: 52px;
  border-radius: 12px;
}

/* CONSISTENT INPUT HEIGHT */
.form-group-modern input {
  height: 52px;
}

/* BUTTON CONSISTENCY */
.pub-btn-primary {
  height: 52px;
  border-radius: 12px;
}

/* AUTH FOOTER */
.auth-footer {
  margin-top: 20px;
  text-align: center;
}

/* PASSWORD FIELD */
.password-field {
  position: relative;
}

/* ICON */
.toggle-password {
  position: absolute;
  right: 14px;
  top: 16px;
  cursor: pointer;
  opacity: 0.6;
}

.toggle-password:hover {
  opacity: 1;
}

/* INPUT CONSISTENCY */
.form-group-modern input {
  height: 52px;
}

/* BUTTON */
.pub-btn-primary {
  height: 52px;
  border-radius: 12px;
}

/* CONSISTENT INPUT */
.form-group-modern input {
  height: 52px;
}

/* BUTTON */
.pub-btn-primary {
  height: 52px;
  border-radius: 12px;
}

/* FOOTER */
.auth-footer {
  margin-top: 20px;
  text-align: center;
}

/* ERROR PAGE */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BIG CODE */
.error-code {
  font-size: 90px;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TITLE */
.error-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 10px;
}

/* SUBTEXT */
.error-sub {
  color: #6b7c93;
  margin-top: 10px;
  font-size: 15px;
}

/* PASSWORD STRENGTH */
.password-strength {
  font-size: 12px;
  font-weight: 600;
}

.password-strength.weak { color: #ef4444; }
.password-strength.medium { color: #f59e0b; }
.password-strength.strong { color: #22c55e; }

/* SUBDOMAIN UI */
.subdomain-preview {
  font-size: 12px;
  color: #6b7c93;
  margin-top: 4px;
}

/* PASSWORD FIELD */
.password-field {
  position: relative;
}

/* SUCCESS ICON */
.success-icon {
  font-size: 42px;
}

/* STORE BOX */
.store-box {
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  padding: 15px;
  background: #f8fafc;
}

/* STORE URL */
.store-url {
  font-weight: 600;
  font-size: 14px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6eaf0;
  word-break: break-all;
}

.form-group-modern {
  position: relative;
}

/* INPUT */
.form-group-modern input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  font-size: 14px;
  background: #fff;
}

/* LABEL */
.form-group-modern label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  padding: 0 6px;
  font-size: 13px;
  color: #6b7c93;
  transition: 0.2s;
  pointer-events: none;
}

/* FLOAT EFFECT */
.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 11px;
  color: #2563eb;
}

/* ERROR */
.form-group-modern .help-block {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

/* ================= FOOTER LOGOS ================= */

.pub-footer-logos {
  margin-top: 20px;
  text-align: center;
}

/* TITLE */
.footer-logos-title {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* LOGOS WRAPPER */
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* LOGO IMAGE */
.footer-logos img {
  height: 32px;
  opacity: 0.7;
  transition: 0.3s ease;
  filter: grayscale(100%);
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

/* HOVER EFFECT */
.footer-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ================= FOOTER BADGES ================= */

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

/* SINGLE BADGE */
.footer-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 500;
  color: #cbd5f5;

  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

/* HOVER */
.footer-badge:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ================= FOOTER FIX ================= */

.pub-footer {
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
  color: #1e293b; /* MAIN TEXT FIX */
}

/* LINKS */
.pub-footer a {
  color: #334155;
  text-decoration: none;
}

.pub-footer a:hover {
  color: #2563eb;
}

/* TITLE */
.pub-footer-col-title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 10px;
}

/* TAGLINE */
.pub-footer-tagline {
  color: #64748b;
}

/* FEATURE TEXT */
.pub-footer-features span {
  color: #475569;
}

/* SOCIAL ICON */
.pub-social-btn {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.pub-social-btn:hover {
  background: #2563eb;
  color: #fff;
}

/* BOTTOM TEXT */
.pub-footer-bottom {
  color: #64748b;
}

/* SEPARATOR */
.pub-footer .sep {
  color: #94a3b8;
}

/* LOGO TITLE */
.footer-logos-title {
  color: #64748b;
}

/* BADGES (LIGHT VERSION FIX) */
.footer-badge {
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

/* HOVER BADGE */
.footer-badge:hover {
  background: #2563eb;
  color: #fff;
}
