/* 
====================================================================
GROWME - WISHLINK INSPIRED LIGHT THEME
====================================================================
Table of Contents:
1. CSS Variables & Design System
2. Resets & Base Styles
3. Layout & Typography
4. Buttons & Interactive Elements
5. Navigation & Header
6. Hero Section & Backgrounds
7. Scrolling Ticker
8. Features & Benefits
9. Card Comparison / Offers
10. How It Works Steps
11. Refer & Earn Section
12. FAQ Section
13. Footer
14. Modals & Overlays
15. Animations & Keyframes
16. Responsive Media Queries
====================================================================
*/

/* ====================================================================
   1. CSS VARIABLES & DESIGN SYSTEM
==================================================================== */
:root {
  /* Core Colors */
  --color-bg: #FAFAFA;
  --color-bg-white: #FFFFFF;
  --color-bg-secondary: #F3F4F6;
  --color-bg-elevated: #FFFFFF;
  --color-bg-dark: #0f0f0f;
  
  /* Text Colors */
  --color-text-primary: #111827;
  --color-text-secondary: #4B5563;
  --color-text-muted: #9CA3AF;
  --color-text-inverse: #FFFFFF;
  
  /* Borders */
  --color-border: #E5E7EB;
  --color-border-hover: #D1D5DB;
  
  /* Brand Accents (Amber/Gold) */
  --brand-primary: #F59E0B;
  --brand-dark: #D97706;
  --brand-light: #FEF3C7;
  --brand-muted: rgba(245, 158, 11, 0.1);
  --brand-gradient: linear-gradient(135deg, #F59E0B 0%, #EF6C00 100%);
  
  /* Utility Colors */
  --color-success: #10B981;
  --color-success-light: #D1FAE5;
  --color-info: #3B82F6;
  --color-info-light: #DBEAFE;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, system-ui;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, system-ui;
  
  /* Shadows - Wishlink Style Soft Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-brand: 0 8px 24px rgba(245, 158, 11, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Card Themes */
  --gold-primary: #c5a85c;
  --gold-dark: #8e702a;
  --gold-light: #f4e8c1;
  --gold-glow: rgba(197, 168, 92, 0.15);
  --gold-metal-gradient: linear-gradient(135deg, #1b160b 0%, #4a3b1a 60%, #c5a85c 100%);
  --scapia-gradient: linear-gradient(135deg, #1a0500 0%, #3d1500 40%, #CE3E00 100%);
  --roarbank-gradient: linear-gradient(135deg, #121316 0%, #1a1d22 40%, #0b0c0e 100%);
  
  --color-onecard: #ef4444;
  --onecard-gradient: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  
  --color-hdfc: #00b4d8;
  --hdfc-gradient: linear-gradient(135deg, #1a237e, #0d47a1, #1565c0);
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 72px;
  --section-padding-desk: 7rem;
  --section-padding-mob: 5rem;
}

/* ====================================================================
   2. RESETS & BASE STYLES
==================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ====================================================================
   3. LAYOUT & TYPOGRAPHY
==================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.section-padding {
  padding-top: var(--section-padding-desk);
  padding-bottom: var(--section-padding-desk);
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ====================================================================
   SCROLL REVEAL UTILITIES
==================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ====================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 2.875rem;
  box-sizing: border-box;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary, .btn-brand {
  background: var(--brand-gradient);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover, .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
  color: var(--color-bg-white);
}

.btn-primary::after, .btn-brand::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: none;
}

.btn-primary:hover::after, .btn-brand:hover::after {
  animation: shimmer 1.5s infinite;
}

.btn-secondary {
  background: var(--color-bg-white);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

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

.btn-ghost:hover {
  color: var(--brand-primary);
  background: var(--brand-muted);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  min-height: 3.25rem;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  min-height: 2.375rem;
  font-size: 0.875rem;
}

/* Modal Actions Grid */
.modal-actions-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.modal-actions-grid .btn {
  width: 100%;
  min-height: 3.25rem;
}

@media (max-width: 580px) {
  .modal-actions-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ====================================================================
   5. HEADER & NAV
==================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.logo-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-only-cta {
  display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 2.5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====================================================================
   6. HERO SECTION & BACKGROUNDS
==================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background-color: var(--color-bg);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
}

.hero-bg-shapes .shape-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: var(--brand-primary);
  animation: bgFloat1 20s infinite alternate;
}

.hero-bg-shapes .shape-2 {
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: #EF6C00;
  animation: bgFloat2 25s infinite alternate;
}

.hero-bg-shapes .shape-3 {
  top: 40%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: #FEF3C7;
  opacity: 0.15;
  animation: bgFloat3 22s infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 4rem;
  z-index: 2;
  position: relative;
  padding: 4rem 0 8rem; /* bottom padding for ticker */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--color-bg-white);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.8s ease backwards;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Visuals - Floating Cards */
.hero-visual {
  position: relative;
  height: 600px;
  perspective: 1000px;
}

.hero-cards-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.floating-card {
  position: absolute;
  width: 320px;
  height: 200px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  will-change: transform;
}

.fc-inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
}

.fc-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.fc-back {
  background: var(--hdfc-gradient);
  transform: translate3d(40px, -40px, -100px) rotateX(10deg) rotateY(-15deg) scale(0.9);
  animation: cardFloat 6s ease-in-out infinite;
  z-index: 1;
}

.fc-mid {
  background: var(--onecard-gradient);
  transform: translate3d(-30px, -10px, -50px) rotateX(5deg) rotateY(-10deg) scale(0.95);
  animation: cardFloat 7s ease-in-out infinite reverse;
  z-index: 2;
}

.fc-front {
  background: var(--gold-metal-gradient);
  transform: translate3d(0, 30px, 0) rotateX(0deg) rotateY(-5deg) scale(1);
  animation: cardFloat 5s ease-in-out infinite;
  z-index: 3;
  color: #333;
}

.fc-logo {
  font-weight: 800;
  font-style: italic;
  font-size: 1.2rem;
  text-align: right;
  opacity: 0.9;
}

.fc-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #e0c38c, #cda75f);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}
.fc-chip::after {
  content: ''; position: absolute; top:50%; left:0; width:100%; height:1px; background: rgba(0,0,0,0.2);
}
.fc-chip::before {
  content: ''; position: absolute; left:50%; top:0; height:100%; width:1px; background: rgba(0,0,0,0.2);
}

.fc-number {
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-top: auto;
  margin-bottom: 10px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Cashback Float Badge */
.cashback-float-badge {
  position: absolute;
  top: 15%;
  right: 5%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  animation: floatBounce 4s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.5);
}

.cashback-float-badge .icon {
  width: 40px;
  height: 40px;
  background: var(--color-success-light);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cashback-float-badge .content strong {
  display: block;
  color: var(--color-text-primary);
  font-size: 1.1rem;
}
.cashback-float-badge .content span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ====================================================================
   7. SCROLLING TICKER
==================================================================== */
.brands-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
  overflow: hidden;
  z-index: 5;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-primary);
  border-radius: 50%;
}

/* ====================================================================
   8. CARD COMPARISON / OFFERS SECTION
==================================================================== */
.card-comparison-section {
  background-color: var(--color-bg);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: var(--brand-light);
  color: var(--brand-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.card-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Individual Offer Card */
.offer-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-muted);
}

.offer-card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.offer-card-badge:not(.badge-premium) {
  background: var(--brand-gradient);
  color: white;
}

.badge-premium {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: white;
}

/* Visual Card Representation */
.grid-card-visual {
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.offer-card:hover .grid-card-visual {
  transform: scale(1.05) rotate(2deg);
}

.grid-card-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
}

.card-theme-unicard .grid-card-visual { background: var(--gold-metal-gradient); color: #333; }
.card-theme-onecard .grid-card-visual { background: var(--onecard-gradient); }
.card-theme-hdfccard .grid-card-visual { background: var(--hdfc-gradient); }

.card-logo {
  font-weight: 800;
  font-style: italic;
  font-size: 1rem;
  text-align: right;
  z-index: 1;
}

.card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #e0c38c, #cda75f);
  border-radius: 4px;
  z-index: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  z-index: 1;
}

.card-holder-text,
.card-holder-name {
  font-size: clamp(0.55rem, 2.5cqw, 0.725rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Content Info */
.card-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-info-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.payout-badges-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.payout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-apply {
  background-color: var(--color-success-light);
  color: #047857; /* Darker emerald */
}

.badge-refer {
  background-color: var(--color-info-light);
  color: #1D4ED8; /* Darker blue */
}

.card-highlights-list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.card-highlights-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-primary);
  width: 14px;
  height: 14px;
}

/* Card Actions */
.card-actions-wrapper {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-apply-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  color: white;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.card-theme-unicard .card-apply-btn {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
}
.card-theme-unicard:hover .card-apply-btn {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.card-theme-scapiacard .card-apply-btn {
  background: linear-gradient(135deg, #CE3E00 0%, #FF6B35 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
}
.card-theme-scapiacard:hover .card-apply-btn {
  box-shadow: 0 8px 24px rgba(206, 62, 0, 0.4);
}

.card-theme-roarbank .card-apply-btn {
  background: linear-gradient(135deg, #0974FF 0%, #00D4AA 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
}
.card-theme-roarbank:hover .card-apply-btn {
  box-shadow: 0 8px 24px rgba(9, 116, 255, 0.4);
}

.card-apply-btn:hover {
  transform: translateY(-2px);
}

.view-details-trigger {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.view-details-trigger:hover {
  color: var(--color-text-primary);
}


/* ====================================================================
   9. HOW IT WORKS
==================================================================== */
.how-it-works {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
}

.step-card {
  flex: 1;
  background: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: var(--color-text-primary);
  opacity: 0.04;
  line-height: 1;
  font-family: var(--font-heading);
  pointer-events: none;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-brand);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.step-connector {
  width: 40px;
  display: flex;
  justify-content: center;
  color: var(--color-border-hover);
  font-size: 1.5rem;
  z-index: 1;
}

/* ====================================================================
   10. REFER & EARN SECTION
==================================================================== */
.refer-section {
  background-color: var(--color-bg);
}

.refer-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--brand-primary);
  overflow: visible; /* changed from hidden to prevent clipping */
  display: flex;
  align-items: stretch;
  min-height: 420px;
}

.refer-content {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.refer-content h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.refer-content p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.refer-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.refer-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.refer-stat-label {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Visual side — amber gradient background, no overflow:hidden */
.refer-visual {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #FFF8E7 0%, #FEF3C7 50%, #FDE68A 100%);
  border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden; /* keep this but fix illustration sizing */
}

/* Decorative circles in background */
.refer-visual::before,
.refer-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.refer-visual::before {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  top: -50px;
  right: -80px;
}

.refer-visual::after {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(239, 108, 0, 0.1) 0%, transparent 70%);
  bottom: -40px;
  left: -40px;
}

/* Animated Live Referral Wallet Display */
.refer-anim-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Floating Badge 1 - Top Left & Bottom Right */
.ref-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 5;
}

.badge-top-left {
  top: -25px;
  left: -20px;
  animation: floatBadge1 4s ease-in-out infinite;
}

.badge-bottom-right {
  bottom: -25px;
  right: -20px;
  animation: floatBadge2 4.5s ease-in-out infinite 0.5s;
}

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.green-icon {
  background: #D1FAE5;
  color: #059669;
}

.blue-icon {
  background: #DBEAFE;
  color: #2563EB;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.1;
}

.badge-amount {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-success);
}

.badge-status {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563EB;
}

/* Main Live Wallet Glass Card */
.ref-wallet-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 1.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: floatCard 5s ease-in-out infinite;
}

.ref-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ref-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

.pulse-green-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

.ref-card-chip {
  width: 24px;
  height: 18px;
  background: var(--brand-gradient);
  border-radius: 4px;
}

.ref-card-balance {
  background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.ref-card-balance::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.balance-label {
  font-size: 0.75rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.balance-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
}

.plus-anim {
  font-size: 1.5rem;
  color: var(--color-success);
  animation: plusPulse 2s infinite;
}

/* Steps Flow Bar Inside Card */
.ref-steps-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.25rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.flow-step span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.flow-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reward-step .flow-icon {
  background: #FEF3C7;
  border: 2px solid var(--brand-primary);
  animation: floatBounce 3s ease-in-out infinite;
}

.flow-line {
  flex: 1;
  height: 3px;
  background: #E5E7EB;
  margin: 0 0.4rem;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.flow-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 2px;
  animation: laserPulse 2s infinite linear;
}

/* Animations */
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(8px) scale(1.03); }
}

@keyframes laserPulse {
  0% { left: -40%; }
  100% { left: 100%; }
}

@keyframes plusPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ====================================================================
   11. FAQ SECTION
==================================================================== */
.faq-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px 24px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-elevated);
}

.faq-question {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: inherit;
  font-weight: inherit;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

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

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
  background: var(--brand-gradient);
  color: #1a1505;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: 12px;
}

.faq-answer p {
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}


/* ====================================================================
   12. FOOTER (Unified Across All Pages)
==================================================================== */
.site-footer, footer {
  background-color: #0f0f0f !important;
  background: #0f0f0f !important;
  color: #f3f4f6 !important;
  padding: 4rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo {
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff !important;
  gap: 0;
}

.footer-brand .logo-accent {
  color: #F59E0B !important;
}

.footer-brand p {
  color: #9CA3AF !important;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
  text-align: left;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-align: left;
}

.footer-col ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  text-align: left !important;
}

.footer-col ul li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.footer-col ul li::marker {
  display: none !important;
  content: "" !important;
}

.footer-col ul li a {
  color: #9CA3AF !important;
  font-size: 0.925rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #F59E0B !important;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center !important;
  width: 100%;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  color: #6B7280 !important;
  margin: 0;
  text-align: center !important;
}

/* Fluid Responsive Footer Media Queries */
@media (max-width: 860px) {
  .site-footer, footer {
    padding: 3rem 0 2rem 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }

  .footer-brand p {
    max-width: 100% !important;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    gap: 2rem !important;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-brand p {
    font-size: 0.875rem !important;
  }
}


/* ====================================================================
   13. MODALS & OVERLAYS
==================================================================== */
/* Shared Overlay */
.secure-overlay, .details-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.secure-overlay.active, .details-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Boxes */
.secure-modal, .details-modal-box {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: all var(--transition-bounce);
  box-sizing: border-box;
}

.secure-overlay.active .secure-modal,
.details-modal-overlay.active .details-modal-box {
  transform: scale(1) translateY(0);
}

.close-modal-btn,
.details-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  z-index: 50;
  transition: all var(--transition-fast);
}

.close-modal-btn:hover,
.details-modal-close:hover {
  background: var(--brand-primary);
  color: white;
  transform: scale(1.05);
}

/* Lead Capture Form Modal */
.secure-modal {
  max-width: 480px;
  padding: 2.25rem;
}

.secure-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--color-text-primary);
}

.secure-modal > p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text-primary);
}

.form-group input,
.form-group select {
  width: 100%;
  height: 3rem;
  min-height: 48px;
  padding: 0 1rem;
  background-color: var(--color-bg-secondary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  box-sizing: border-box;
  transition: all var(--transition-fast);
  margin: 0;
}

/* Custom Dropdown styling for select elements */
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background-color: var(--color-bg-white);
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Responsive Form Rows */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  width: 100%;
}

.lead-form {
  display: flex;
  flex-direction: column;
}

.secure-shield {
  width: 52px;
  height: 52px;
  background: var(--brand-muted);
  color: var(--brand-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

/* Card Details Modal */
.details-modal-box {
  max-width: 820px;
  width: 92%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  background: var(--color-bg-white);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-sizing: border-box;
}

.details-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: #F3F4F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  color: #4B5563;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  z-index: 50;
  transition: all var(--transition-fast);
}

.details-modal-close:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
  transform: scale(1.06);
}

.details-modal-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-header-visual {
  width: 140px;
  height: 88px;
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: linear-gradient(135deg, #121316, #1a1d22, #0b0c0e);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.modal-header-visual .card-logo {
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-header-info h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.2;
}

.modal-payout-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.modal-payout-text span {
  font-weight: 700;
  color: var(--color-success);
  background: #D1FAE5;
  padding: 2px 8px;
  border-radius: 6px;
}

.modal-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-top: 0.25rem;
  letter-spacing: -0.01em;
}

/* Un-congested Key Benefits list */
.modal-benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.modal-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #F9FAFB;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.modal-benefit-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.modal-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.modal-benefit-text p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Un-congested Fees & Eligibility Grids */
.modal-grid-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: #F9FAFB;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid #E5E7EB;
}

@media (max-width: 640px) {
  .modal-grid-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.modal-detail-col h4 {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.modal-detail-col p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

/* Google Spinner */
.google-spinner {
  animation: rotate 2s linear infinite;
  width: 24px;
  height: 24px;
}
.google-spinner circle {
  stroke: white;
  stroke-width: 3;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}


/* ====================================================================
   14. KEYFRAME ANIMATIONS
==================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cardFloat {
  0%, 100% { transform: translate3d(var(--tx, 0), var(--ty, 30px), var(--tz, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, -5deg)) scale(var(--s, 1)); }
  50% { transform: translate3d(var(--tx, 0), calc(var(--ty, 30px) - 15px), var(--tz, 0)) rotateX(calc(var(--rx, 0deg) + 2deg)) rotateY(calc(var(--ry, -5deg) - 2deg)) scale(var(--s, 1)); }
}

@keyframes shimmer {
  100% { left: 200%; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes bgFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}
@keyframes bgFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, -5%) scale(1.05); }
}
@keyframes bgFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, -10%) scale(1.15); }
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}
@keyframes dash {
  0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
  100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; }
}

/* Specific properties for generic cardFloat */
.fc-back { --tx: 40px; --ty: -40px; --tz: -100px; --rx: 10deg; --ry: -15deg; --s: 0.9; }
.fc-mid { --tx: -30px; --ty: -10px; --tz: -50px; --rx: 5deg; --ry: -10deg; --s: 0.95; }
.fc-front { --tx: 0; --ty: 30px; --tz: 0; --rx: 0deg; --ry: -5deg; --s: 1; }


/* ====================================================================
   15. RESPONSIVE MEDIA QUERIES
==================================================================== */
@media (max-width: 1200px) {
  .hero-title { font-size: 3.5rem; }
  .card-offers-grid { gap: 1.5rem; }
  .offer-card { padding: 1.5rem; }
  .refer-content { padding: 3rem; }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual {
    height: 500px;
  }
  
  .card-offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: var(--section-padding-mob);
    padding-bottom: var(--section-padding-mob);
  }

  /* Mobile Nav */
  .mobile-menu-btn { display: flex; }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-bg-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-cta {
    display: flex;
    align-items: center;
  }

  #nav-tracker-btn {
    display: none !important;
  }

  .mobile-only-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
  }

  /* Mobile Card Layout - Clean, Modern & High Converting */
  .card-offers-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .offer-card {
    display: grid !important;
    grid-template-columns: 95px 1fr !important;
    grid-template-areas:
      "visual info"
      "actions actions" !important;
    gap: 0.75rem 0.85rem !important;
    padding: 1.25rem !important;
    background: var(--color-bg-white) !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-card) !important;
    position: relative !important;
    align-items: start !important;
    height: auto !important;
  }

  /* Badge top right */
  .offer-card-badge {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    font-size: 0.65rem !important;
    padding: 0.2rem 0.55rem !important;
    z-index: 5 !important;
    border-radius: var(--radius-full) !important;
  }

  /* Mini credit card preview on top-left grid area */
  .grid-card-visual {
    grid-area: visual !important;
    width: 95px !important;
    height: 60px !important;
    aspect-ratio: 1.586 !important;
    border-radius: 8px !important;
    padding: 0.4rem !important;
    box-shadow: var(--shadow-sm) !important;
    margin: 0 !important;
  }

  .grid-card-visual .card-logo {
    font-size: 0.5rem !important;
    gap: 2px !important;
  }
  .grid-card-visual .card-logo span {
    font-size: 0.5rem !important;
  }
  .grid-card-visual .card-chip {
    width: 10px !important;
    height: 8px !important;
    border-radius: 2px !important;
  }
  .grid-card-visual .card-number {
    font-size: 0.4rem !important;
    margin: 4px 0 !important;
    letter-spacing: 0px !important;
  }
  .grid-card-visual .card-footer {
    font-size: clamp(0.35rem, 3.2cqw, 0.5rem) !important;
    margin-top: auto !important;
    width: 100% !important;
  }
  .grid-card-visual .card-holder-text,
  .grid-card-visual .card-holder-name {
    font-size: clamp(0.35rem, 3.2cqw, 0.5rem) !important;
  }

  /* Right side info area */
  .card-info-content {
    grid-area: info !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    margin-bottom: 0 !important;
  }

  .card-info-content h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--color-text-primary) !important;
    margin: 0 !important;
    padding-right: 65px !important; /* space for badge */
    line-height: 1.25 !important;
  }

  .payout-badges-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
  }

  .payout-badge {
    padding: 0.2rem 0.55rem !important;
    font-size: 0.725rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
  }

  .card-highlights-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    margin: 0.4rem 0 0 0 !important;
    padding-top: 0.4rem !important;
    border-top: 1px dashed var(--color-border) !important;
  }

  .card-highlights-list li {
    font-size: 0.775rem !important;
    color: var(--color-text-secondary) !important;
    line-height: 1.3 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  /* Action buttons area spanning full width at bottom */
  .card-actions-wrapper {
    grid-area: actions !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 0.25rem !important;
    border-top: 1px solid var(--color-border) !important;
    padding-top: 0.75rem !important;
  }

  .card-actions-wrapper .btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    text-align: center !important;
    height: auto !important;
  }

  .view-details-trigger {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    color: var(--color-text-muted) !important;
    margin-top: 0.15rem !important;
  }

  /* Hero */
  .hero-title { font-size: 2.5rem; }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }

  /* Steps */
  .steps-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .step-connector {
    transform: rotate(90deg);
  }
  
  /* Refer */
  .refer-card {
    flex-direction: column;
    overflow: hidden; /* restore on mobile */
  }
  .refer-visual {
    min-height: 280px;
    width: 100%;
    flex: 1;
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    padding: 2.5rem 1.5rem;
  }
  .refer-content {
    padding: 2rem;
  }
  .refer-stats {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .refer-illustration {
    max-width: 280px;
    gap: 0.4rem;
  }
  .refer-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  .refer-arrow svg {
    width: 40px;
  }
  
  /* Modals */
  .modal-header-visual .grid-card-visual {
    width: 220px;
  }
  .modal-content-area {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 400px;
  }
  .floating-card {
    width: 260px;
    height: 160px;
  }
  .cashback-float-badge {
    padding: 0.75rem 1rem;
    right: 0;
  }
  .cashback-float-badge .icon {
    width: 32px; height: 32px; font-size: 1.2rem;
  }
  .cashback-float-badge .content strong { font-size: 0.95rem; }
  
  .card-offers-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .modal-grid-details {
    grid-template-columns: 1fr;
  }
}

/* Sticky Floating CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: 90%;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 231, 235, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  border-radius: 9999px;
  z-index: 999;
  padding: 12px 24px;
  transition: transform var(--transition-slow);
}

.sticky-cta-bar.active {
  transform: translateX(-50%) translateY(0);
}

.sticky-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 0 !important;
}

.sticky-cta-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.sticky-cta-text strong {
  color: var(--brand-dark);
}

.sticky-cta-btn {
  white-space: nowrap;
  padding: 8px 20px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .sticky-cta-bar {
    bottom: 0;
    left: 0;
    transform: translateY(150px);
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 16px 20px;
  }
  
  .sticky-cta-bar.active {
    transform: translateY(0);
  }

  .sticky-cta-text {
    font-size: 0.85rem;
  }
}

