/* ==========================================================================
   WaashKaro — Modern Stylesheet & Design System
   Brand Primary: #5D2C88 | Accent: #6F2DA8 | Neutral Light: #F8FAFC
   ========================================================================== */

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

:root {
  --brand-primary: #5D2C88;
  --brand-accent: #6F2DA8;
  --brand-deep: #4A1E6D;
  --brand-light: #F3E8FF;
  --brand-tint: #FAF5FF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --bg-canvas: #FFFFFF;
  --bg-subtle: #F8FAFC;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0F172A;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Custom Selection */
::selection {
  background-color: rgba(93, 44, 136, 0.18);
  color: #5D2C88;
}

/* Header blur effect on scroll */
.header-glass {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

/* Subtle Gradient Accents */
.bg-brand-mesh {
  background: radial-gradient(circle at 10% 20%, rgba(93, 44, 136, 0.06) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(111, 45, 168, 0.05) 0%, transparent 50%),
              #FFFFFF;
}

.bg-brand-gradient {
  background: linear-gradient(135deg, #5D2C88 0%, #7B39B6 100%);
}

.bg-brand-dark {
  background: linear-gradient(180deg, #1C0F2B 0%, #12091C 100%);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #5D2C88 0%, #9333EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Elevation & Shadows */
.shadow-soft {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

.shadow-card {
  box-shadow: 0 10px 30px -4px rgba(93, 44, 136, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.shadow-card-hover {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.shadow-card-hover:hover {
  box-shadow: 0 20px 35px -6px rgba(93, 44, 136, 0.14), 0 10px 18px -4px rgba(15, 23, 42, 0.06);
  transform: translateY(-3px);
}

/* Clean Transitions */
.transition-smooth {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ==========================================================================
   Perfect Glitch-Free FAQ Accordion (CSS Grid Transition)
   Animates smoothly with 0 hardcoded pixel height and zero snap/jitter.
   ========================================================================== */
.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.faq-item.active {
  border-color: #5D2C88;
  background-color: #FAF5FF;
  box-shadow: 0 4px 20px -2px rgba(93, 44, 136, 0.08);
}

.faq-item .faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #5D2C88;
}

.faq-item.active .faq-trigger span {
  color: #5D2C88;
}

.faq-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-accordion-body {
  grid-template-rows: 1fr;
}

.faq-accordion-content {
  overflow: hidden;
}

/* Badge styling */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: #FAF5FF;
  color: #5D2C88;
  border: 1px solid #E9D5FF;
}

/* Legal Content Typography */
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1E293B;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: #334155;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 0.5rem;
}
