/* ==========================================================================
   FlamePay Design System - Indian Recharge & Bill Payments Platform
   Domain: flamepay.in
   Brand: FlamePay | Premium Purple & White
   ========================================================================== */

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

:root {
  --color-primary: #7C3AED;
  --color-primary-hover: #6D28D9;
  --color-primary-dark: #4C1D95;
  --color-primary-light: #8B5CF6;
  --color-surface-white: #FFFFFF;
  --color-surface-soft: #FBF9FE;
  --color-surface-lavender: #F5F2FA;
  --color-border-subtle: #EDE9FE;
  --color-border-hover: #DDD6FE;
  --color-text-dark: #1E1035;
  --color-text-body: #4A4458;
  --color-text-muted: #79718B;
  --color-accent-emerald: #10B981;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text-dark);
  background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F5F2FA;
}
::-webkit-scrollbar-thumb {
  background: #C4B5FD;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7C3AED;
}

/* Glass & Elevated Surfaces */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(237, 233, 254, 0.85);
}

.recharge-widget-card {
  background: #FFFFFF;
  border: 1px solid #EDE9FE;
  box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-card {
  background: #FFFFFF;
  border: 1px solid #EDE9FE;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #C4B5FD;
  box-shadow: 0 16px 30px -8px rgba(124, 58, 237, 0.14), 0 2px 6px rgba(124, 58, 237, 0.04);
}

/* Service Tab Pills in Hero */
.recharge-tab-btn {
  transition: all 0.2s ease;
  color: #6B7280;
  background: #F5F2FA;
}

.recharge-tab-btn.active {
  background: #7C3AED;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.recharge-tab-btn:not(.active):hover {
  background: #EDE9FE;
  color: #7C3AED;
}

/* Plan Pills */
.plan-pill {
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1px solid #EDE9FE;
  background: #FAF8FF;
}

.plan-pill:hover, .plan-pill.selected {
  border-color: #7C3AED;
  background: #F3E8FF;
  color: #581C87;
}

/* Gradients */
.bg-gradient-purple {
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #6366F1 100%);
}

.bg-gradient-purple-subtle {
  background: radial-gradient(100% 100% at 50% 0%, #F5F3FF 0%, #FFFFFF 100%);
}

.text-gradient-purple {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge-purple {
  background: rgba(124, 58, 237, 0.08);
  color: #6D28D9;
  border: 1px solid rgba(167, 139, 250, 0.4);
}

.badge-coming-soon {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* Phone Mockup */
.phone-frame {
  border: 10px solid #1E1035;
  border-radius: 46px;
  box-shadow: 0 25px 60px -15px rgba(76, 29, 149, 0.28), 0 0 0 1px rgba(124, 58, 237, 0.1);
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #1E1035;
  border-radius: 20px;
  z-index: 30;
}

/* FAQ Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.open .faq-content {
  max-height: 500px;
  transition: max-height 0.45s ease-in-out, padding 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float-slow {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Focus outline */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #7C3AED;
  outline-offset: 2px;
}
