/* ==========================================================================
   Pricing Page Custom Stylesheet – Veltrix Technologies
   ========================================================================== */

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

:root {
  --primary: #1a1f6e;
  --secondary: #4f46e5;
  --accent: #7c3aed;
  --cyan: #06b6d4;
  --white: #ffffff;
  --off-white: #f8faff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --dark: #0f172a;
  
  --success: #10b981;
  --danger: #ef4444;
  
  --gradient-primary: linear-gradient(135deg, #1a1f6e 0%, #4f46e5 100%);
  --gradient-featured: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  --gradient-cta: linear-gradient(135deg, #1a1f6e 0%, #7c3aed 100%);
  
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(26, 31, 110, 0.05);
  --shadow-md: 0 8px 24px rgba(26, 31, 110, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 31, 110, 0.12);
  --shadow-xl: 0 24px 60px rgba(26, 31, 110, 0.16);
  --border-radius-lg: 24px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--gray-800);
  overflow-x: hidden;
  padding-top: 80px; /* Space for navbar */
}

/* ==========================================================================
   NAVBAR (Consistent with Veltrix Branding)
   ========================================================================== */
.navbar {
  transition: var(--transition);
  padding: 16px 0;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(26, 31, 110, 0.08);
  padding: 12px 0;
}
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary) !important;
}
.navbar-brand .logo-mark {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}
.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--secondary) !important;
  background: var(--gray-100);
}
.btn-nav-outline {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-nav-outline:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.page-hero {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  text-align: center;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}
.breadcrumb-item a:hover {
  color: var(--cyan);
}
.breadcrumb-item.active {
  color: var(--cyan) !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5) !important;
}
.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin: 0 auto;
}
.badge-custom::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 16px;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 680px;
  line-height: 1.6;
}

/* Custom Buttons */
.btn-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary-custom {
  background: var(--cyan);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}
.btn-primary-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}
.btn-outline-custom {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   STICKY PRICING TOGGLE
   ========================================================================== */
.sticky-toggle-wrap {
  position: sticky;
  top: 75px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.pricing-toggle-container {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid var(--gray-200);
}
.toggle-btn {
  border: none;
  background: transparent;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  transition: var(--transition);
}
.toggle-btn:hover {
  color: var(--primary);
}
.toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.toggle-btn .flag {
  font-size: 1.1rem;
}

/* ==========================================================================
   PRICING PLANS SECTION
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}
.plan-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200) !important;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}
.plan-card-header {
  background: var(--gradient-primary);
  padding: 40px;
  text-align: center;
  position: relative;
}
.plan-card.featured .plan-card-header {
  background: var(--gradient-featured);
}
.plan-card.featured {
  border: 2.5px solid var(--secondary) !important;
  position: relative;
}
.plan-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.15);
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
}
.plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
}
.plan-price {
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}
.currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 6px;
}
.price-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
.price-period {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 24px;
  margin-left: 4px;
}
.plan-card.featured .price-period {
  color: rgba(255, 255, 255, 0.7);
}

/* Card Body Features */
.plan-summary {
  font-size: 0.9rem;
  line-height: 1.6;
}
.plan-features li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.feature-included i {
  color: var(--success);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.feature-excluded {
  color: var(--gray-400);
}
.feature-excluded i {
  color: var(--danger);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Card Buttons */
.btn-plan {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.btn-plan-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}
.btn-plan-outline:hover {
  background: var(--secondary);
  color: white;
}
.btn-plan-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}
.btn-plan-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* ==========================================================================
   COMPARISON TABLE SECTION
   ========================================================================== */
.comparison-table th {
  padding: 20px !important;
}
.comparison-table td {
  padding: 16px 20px !important;
  font-size: 0.95rem;
}
.table-dark-header {
  background-color: var(--primary) !important;
  color: white !important;
}
.table-dark-header th {
  background-color: var(--primary) !important;
  color: white !important;
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.comparison-table tbody tr:hover td {
  background-color: rgba(79, 70, 229, 0.03) !important;
}
.comparison-table i {
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.accordion-item {
  border: none !important;
  border-bottom: 1px solid var(--gray-200) !important;
}
.accordion-item:last-child {
  border-bottom: none !important;
}
.accordion-button {
  box-shadow: none !important;
  background-color: transparent !important;
  color: var(--dark) !important;
  font-size: 1.05rem;
  transition: var(--transition);
}
.accordion-button:not(.collapsed) {
  color: var(--secondary) !important;
}
.accordion-button::after {
  background-size: 1rem;
  transition: var(--transition);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-pricing-section {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}
.cta-pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124, 58, 237, 0.35), transparent);
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER (Coherent styling)
   ========================================================================== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}
.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  padding-left: 0;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  text-decoration: none;
}
.footer-links a:hover {
  color: white;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  margin-bottom: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: white;
}

/* ==========================================================================
   SCROLL TO TOP & ANIMATIONS
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile First)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sticky-toggle-wrap {
    top: 68px;
  }
  .price-value {
    font-size: 3rem;
  }
  .plan-card-header {
    padding: 30px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
