/* ==========================================================================
   AHMADIMS - SaaS Marketing Website Styles
   Modern, Professional, Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  --primary: #1a56db;
  --primary-dark: #1642c6;
  --primary-darker: #0f2f9e;
  --primary-light: #e8effc;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;

  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #f59e0b;

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-gradient: linear-gradient(135deg, #1a56db 0%, #0f2f9e 100%);

  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-blue: 0 4px 20px rgba(26, 86, 219, 0.15);
  --shadow-blue-lg: 0 10px 40px rgba(26, 86, 219, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
}

/* ==========================================================================
   2. BASE & RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--primary);
  color: white;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.display-1, .display-2, .display-3, .display-4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.display-1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.display-2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.display-3 { font-size: clamp(1.75rem, 3vw, 3rem); }
.display-4 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-400) 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ==========================================================================
   4. NAVBAR
   ========================================================================== */

.navbar-ais {
  padding: 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-height: 72px;
}

.navbar-ais.navbar-scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-ais .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  padding: 0;
}

.navbar-ais .navbar-brand img {
  height: 36px;
  width: auto;
}

.navbar-ais .navbar-brand .brand-highlight {
  color: var(--primary);
}

.navbar-ais .nav-link {
  padding: 8px 16px !important;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body) !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.navbar-ais .nav-link:hover,
.navbar-ais .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-50);
}

.navbar-ais .navbar-toggler {
  border: 1px solid var(--text-light);
  padding: 8px;
  border-radius: var(--radius-sm);
}

.navbar-ais .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-ais .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-btn {
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: all 0.3s ease !important;
}

.nav-btn-primary {
  background: var(--primary) !important;
  color: white !important;
  border: 1px solid var(--primary) !important;
}

.nav-btn-primary:hover {
  background: var(--primary-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.nav-btn-outline {
  background: transparent !important;
  color: var(--text-body) !important;
  border: 1px solid var(--text-light) !important;
}

.nav-btn-outline:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: var(--primary-50) !important;
}

@media (max-width: 991.98px) {
  .navbar-ais {
    min-height: 64px;
  }

  .navbar-ais .navbar-collapse {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: 12px;
    border: 1px solid rgba(0,0,0,0.05);
  }

  .navbar-ais .nav-link {
    padding: 10px 12px !important;
  }

  .navbar-ais .nav-btn {
    text-align: center;
    margin-top: 8px;
  }
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8effc 40%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: white;
  border: 1px solid var(--primary-200);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-400) 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-actions .btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary-ais {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn-primary-ais:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
}

.btn-outline-ais {
  background: white;
  border: 1px solid var(--primary-200);
  color: var(--text-dark);
}

.btn-outline-ais:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-mockup {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
}

.hero-mockup:hover {
  transform: translateY(-4px);
}

.hero-floating-card {
  position: absolute;
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.hero-floating-card.card-1 {
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: 1.5s;
}

.hero-floating-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-floating-card .fc-icon.green { background: var(--success-light); }
.hero-floating-card .fc-icon.blue { background: var(--info-light); }

.hero-floating-card .fc-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-floating-card .fc-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
    min-height: auto;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: 48px;
  }

  .hero-floating-card {
    display: none;
  }
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn:focus {
  box-shadow: none;
}

.btn-sm-ais {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg-ais {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-ais {
  background: transparent;
  border: 1px solid var(--primary-200);
  color: var(--primary);
}

.btn-ghost-ais:hover {
  background: var(--primary-50);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-link-ais {
  background: transparent;
  border: none;
  color: var(--primary);
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.btn-link-ais:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* Admin-compatible button variants */
.btn-outline {
  background: transparent;
  border: 1.5px solid #e2e8f0;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 10px 20px;
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-success {
  background: var(--success);
  border: 1px solid var(--success);
  color: white;
}

.btn-success:hover {
  background: #059669;
  border-color: #059669;
  color: white;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   7. SECTIONS COMMON
   ========================================================================== */

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: white;
}

.section-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
  color: white;
}

/* Divider shape */
.section-divider {
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

/* ==========================================================================
   8. FEATURES SECTION / CARDS
   ========================================================================== */

.feature-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}

.feature-icon.blue { background: var(--primary-light); color: var(--primary); }
.feature-icon.green { background: var(--success-light); color: var(--success); }
.feature-icon.orange { background: var(--warning-light); color: var(--warning); }
.feature-icon.purple { background: #f3e8ff; color: #7c3aed; }
.feature-icon.red { background: var(--danger-light); color: var(--danger); }
.feature-icon.teal { background: #ccfbf1; color: #0d9488; }
.feature-icon.indigo { background: #e0e7ff; color: #4f46e5; }
.feature-icon.pink { background: #fce7f3; color: #db2777; }

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Feature list items */
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-list-item .fl-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}

.feature-list-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-list-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   9. PRICING — Modern SaaS Design
   ========================================================================== */

/* Pricing section wrapper */
.pricing-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
  position: relative;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-gray);
  padding: 4px;
  border-radius: 50px;
  margin-bottom: 48px;
  border: 1px solid rgba(0,0,0,0.04);
}

.billing-toggle .bill-option {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  background: transparent;
  font-family: inherit;
}

.billing-toggle .bill-option.active {
  background: white;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.billing-toggle .save-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  padding: 3px 10px;
  border-radius: 50px;
  margin-left: 2px;
}

/* Pricing card — base */
.pricing-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 40px 32px 36px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
  border-color: rgba(26,86,219,0.1);
}

/* Featured (recommended) plan */
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(26,86,219,0.12);
  transform: scale(1.03);
  position: relative;
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 24px 64px rgba(26,86,219,0.18);
}

/* Recommended badge */
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 5px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}

/* Card header */
.pricing-header {
  text-align: center;
  margin-bottom: 28px;
}

.pricing-name {
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
  color: var(--text-muted);
}

.pricing-price .amount {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-description {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.6;
}

/* Feature list */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.pricing-card:hover .pricing-features li .check-icon {
  background: var(--success);
  color: white;
}

.pricing-features li .x-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger-light);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.pricing-features li.feature-muted {
  color: var(--text-light);
}

/* Action buttons */
.pricing-actions {
  text-align: center;
  margin-top: auto;
}

.pricing-actions .btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Featured card button */
.pricing-card.featured .pricing-actions .btn-primary-ais {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(26,86,219,0.25);
}

.pricing-card.featured .pricing-actions .btn-primary-ais:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,86,219,0.35);
}

/* Non-featured card button hover */
.pricing-card:not(.featured) .pricing-actions .btn-outline-ais:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(26,86,219,0.2);
}

/* Responsive pricing card tweaks */
@media (max-width: 991.98px) {
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  .pricing-section {
    padding: 40px 0 60px;
  }
}

@media (max-width: 575.98px) {
  .pricing-card {
    padding: 32px 24px 28px;
  }
  .pricing-price .amount {
    font-size: 2.8rem;
  }
  .billing-toggle {
    margin-bottom: 32px;
  }
}

/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */

.testimonial-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   11. FAQ
   ========================================================================== */

.faq-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--bg-white);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.faq-item.active .faq-question .faq-icon {
  background: var(--primary-light);
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   12. CONTACT & FORM ELEMENTS
   ========================================================================== */

.contact-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.form-control-ais {
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  background: var(--bg-white);
}

.form-control-ais:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-control-ais::placeholder {
  color: var(--text-light);
}

textarea.form-control-ais {
  min-height: 120px;
  resize: vertical;
}

/* Admin-compatible form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: var(--bg-white);
  outline: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: #94a3b8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-select {
  cursor: pointer;
  appearance: auto;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 500;
  margin-top: 2px;
}

/* Toggle/Switch */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle .toggle-track {
  width: 42px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 50px;
  transition: background 0.2s;
  position: relative;
  flex-shrink: 0;
}

.toggle .toggle-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-track {
  background: var(--primary);
}

.toggle input:checked + .toggle-track::before {
  transform: translateX(18px);
}

/* ==========================================================================
   13. CTA SECTIONS
   ========================================================================== */

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0f2f9e 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-highlight {
  color: var(--primary-400);
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   15. AUTH PAGES (Public)
   ========================================================================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 24px;
}

.auth-form-card {
  width: 100%;
  max-width: 440px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
}

.auth-form-card .auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-form-card .auth-header .auth-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-blue);
}

.auth-form-card .auth-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.auth-form-card .auth-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Auth Page Layout (vertical centering) ── */
.auth-page-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 92px 20px 60px;
  width: 100%;
}

@media (max-width: 991.98px) {
  .auth-page-layout {
    padding: 84px 16px 60px;
  }
}

/* Auth Card (compatible with admin theme naming) */
.auth-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
}

.auth-card.auth-card-wide {
  max-width: 680px;
}

.auth-card h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

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

/* ── Auth Stepper ── */
.auth-stepper {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  position: relative;
}

.auth-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: var(--border-color, #e2e8f0);
  z-index: 0;
}

.auth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.auth-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: #e2e8f0;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.auth-step.active .auth-step-number {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(26,86,219,0.15);
}

.auth-step.completed .auth-step-number {
  background: var(--success);
  color: white;
}

.auth-step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.auth-step.active .auth-step-label {
  color: var(--primary);
  font-weight: 600;
}

.auth-step.completed .auth-step-label {
  color: var(--success);
}

/* ── Auth Form ── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .auth-form-actions {
    flex-direction: column;
  }
  .auth-form-actions .btn {
    width: 100%;
  }
}

/* ── Auth Separator ── */
.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.06);
  min-width: 40px;
}

/* ── Auth Icon Box ── */
.auth-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(26,86,219,0.3);
}

/* ==========================================================================
   16. PAGE HEADER / BANNER
   ========================================================================== */

.page-banner {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8effc 60%, #f0f4ff 100%);
  text-align: center;
  position: relative;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Pricing page banner — enhanced */
.pricing-banner {
  padding: 140px 0 70px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8effc 40%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
}

.pricing-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-banner h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.pricing-banner p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .pricing-banner {
    padding: 110px 0 50px;
  }
}

/* ==========================================================================
   17. ABOUT PAGE
   ========================================================================== */

.about-mission-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 40px;
  height: 100%;
  transition: all 0.3s ease;
}

.about-mission-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.about-mission-card .am-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.about-mission-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-mission-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.about-value-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  height: 100%;
  transition: all 0.3s ease;
}

.about-value-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.about-value-item .value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-value-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-value-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   18. ANIMATIONS
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 600ms; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 700ms; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation for elements */
.animate-pulse {
  animation: pulse-custom 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-custom {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   18a. GRID & TEXT UTILITIES
   ========================================================================== */

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.span-full {
  grid-column: 1 / -1;
}

.section-head-mini {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 12px;
  padding-bottom: 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 8px;
}

.text-secondary {
  color: var(--text-body);
}

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

.text-xs {
  font-size: 0.72rem;
}

.text-sm {
  font-size: 0.82rem;
}

/* ── Plan Selector (Registration) ── */
.plan-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.plan-card {
  position: relative;
  display: block;
  padding: 18px 16px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.plan-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.plan-card.selected {
  border-width: 2px;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.plan-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  white-space: nowrap;
  background: var(--bg-light);
  padding: 2px 10px;
  border-radius: 50px;
}

.plan-card.selected .plan-card-price {
  background: rgba(255,255,255,0.7);
}

.plan-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-body);
  margin-bottom: 6px;
}

.plan-card-features span {
  font-weight: 500;
}

.plan-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ── Plan color themes (registration) ── */
.plan-teal.selected { border-color: #0d9488; background: linear-gradient(135deg, #f0fdfa, #ccfbf1); }
.plan-blue.selected { border-color: var(--primary); background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.plan-purple.selected { border-color: #7c3aed; background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.plan-orange.selected { border-color: #ea580c; background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.plan-red.selected { border-color: #dc2626; background: linear-gradient(135deg, #fef2f2, #fee2e2); }

.plan-teal .plan-card-name { color: #0f766e; }
.plan-blue .plan-card-name { color: var(--primary-dark); }
.plan-purple .plan-card-name { color: #6d28d9; }
.plan-orange .plan-card-name { color: #c2410c; }
.plan-red .plan-card-name { color: #b91c1c; }

/* ==========================================================================
   19. RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .page-banner {
    padding: 100px 0 40px;
  }

  .contact-card {
    padding: 24px;
  }

  .footer {
    padding: 60px 0 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 575.98px) {
  .pricing-card {
    padding: 28px 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .about-mission-card {
    padding: 28px 24px;
  }
}

/* ==========================================================================
   20. PRELOADER / LOADING
   ========================================================================== */

.page-loader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

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

/* ==========================================================================
   21. BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue-lg);
}

/* ==========================================================================
   22. TOAST / FLASH NOTIFICATIONS
   ========================================================================== */

.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 40px);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
  animation: toastSlideIn 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
  position: relative;
  overflow: hidden;
  min-width: 280px;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  border-radius: 2px 0 0 2px;
}

.toast-success { border-color: #d1fae5; background: #f0fdf4; }
.toast-success::before { background: var(--success); }
.toast-success .toast-icon { color: var(--success); }
.toast-success .toast-text { color: #065f46; }

.toast-danger { border-color: #fee2e2; background: #fef2f2; }
.toast-danger::before { background: var(--danger); }
.toast-danger .toast-icon { color: var(--danger); }
.toast-danger .toast-text { color: #991b1b; }

.toast-warning { border-color: #fef3c7; background: #fffbeb; }
.toast-warning::before { background: var(--warning); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-warning .toast-text { color: #92400e; }

.toast-info { border-color: #dbeafe; background: #eff6ff; }
.toast-info::before { background: var(--info); }
.toast-info .toast-icon { color: var(--info); }
.toast-info .toast-text { color: #1e40af; }

.toast-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.toast-icon svg {
  width: 20px;
  height: 20px;
}

.toast-text {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
}

.toast-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transition: all 0.2s ease;
  color: inherit;
  padding: 0;
  margin-top: -2px;
}

.toast-close:hover {
  opacity: 1;
  background: rgba(0,0,0,0.06);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Toast progress bar (auto-hide indicator) */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 0 var(--radius-lg);
  animation: toastProgress 4s linear forwards;
}

.toast-success .toast-progress { background: var(--success); }
.toast-danger .toast-progress { background: var(--danger); }
.toast-warning .toast-progress { background: var(--warning); }
.toast-info .toast-progress { background: var(--info); }

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

@media (max-width: 480px) {
  .toast-container {
    top: 76px;
    right: 12px;
    width: calc(100% - 24px);
  }
  .toast {
    min-width: 0;
    padding: 14px 16px;
  }
}

/* ==========================================================================
   23. STATS COUNTER
   ========================================================================== */

.stat-counter {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-counter.text-white {
  color: white;
}

/* ==========================================================================
   24. COMPARISON TABLE — Professional Plan Comparison
   ========================================================================== */

.comparison-wrap {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
}

/* ── Scrollable container ── */
.comparison-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.comparison-scroll::-webkit-scrollbar {
  height: 6px;
}
.comparison-scroll::-webkit-scrollbar-track {
  background: var(--bg-light);
}
.comparison-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.comparison-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ── Table ── */
.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

/* ── Sticky header ── */
.comparison-thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-thead th {
  padding: 18px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  vertical-align: middle;
  color: var(--text-dark);
  transition: background 0.2s;
}

.comparison-thead th:first-child {
  text-align: left;
  padding-left: 24px;
  min-width: 180px;
  background: #f8fafc;
  position: sticky;
  left: 0;
  z-index: 11;
}

.comparison-thead th .plan-col-name {
  font-size: 1rem;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

.comparison-thead th .plan-col-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}

.comparison-thead th .plan-col-period {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Featured plan column ── */
.comparison-thead th.featured-col {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-bottom-color: var(--primary);
  position: relative;
}

.comparison-thead th.featured-col::before {
  content: 'Recommended';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 2px 14px;
  border-radius: 0 0 8px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.comparison-thead th.featured-col .plan-col-name {
  margin-top: 8px;
}

.comparison-thead th:first-child.featured-col {
  background: #f8fafc;
}
.comparison-thead th:first-child.featured-col::before {
  display: none;
}

/* ── Body ── */
.comparison-body td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: background 0.15s;
}

.comparison-body td:first-child {
  text-align: left;
  padding-left: 24px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: white;
  position: sticky;
  left: 0;
  z-index: 2;
  white-space: nowrap;
}

.comparison-body tr:hover td {
  background: #fafbfc;
}

.comparison-body tr:hover td:first-child {
  background: #fafbfc;
}

/* ── Category group headers ── */
.comparison-group td {
  padding: 10px 16px 10px 24px !important;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0;
  text-align: left !important;
}

.comparison-group:hover td {
  background: #f1f5f9 !important;
}

/* ── Numeric value cells ── */
.comparison-body td.numeric-val {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

/* ── Checkmark / Cross icons ── */
.comparison-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  flex-shrink: 0;
}

.comparison-check svg {
  width: 14px;
  height: 14px;
}

.comparison-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  flex-shrink: 0;
}

.comparison-cross svg {
  width: 14px;
  height: 14px;
}

/* ── Featured column highlight in body ── */
.comparison-body td.featured-col {
  background: #fafbff;
}

.comparison-body tr:hover td.featured-col {
  background: #f0f4ff;
}

/* ── Mobile hint ── */
.comparison-mobile-hint {
  display: none;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.comparison-mobile-hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .comparison-mobile-hint {
    display: flex;
  }
  .comparison-table {
    min-width: 600px;
  }
}

/* ── Re-number remaining sections ── */
/* (Sections 24-26 were already section 23 in the original file) */
