/* ==========================================
   OneZpay - Main Stylesheet
   Design: Modern, Clean, Professional
   Colors: Vibrant Red + White + Blue Accents
   Inspired by: redbus.in
   ========================================== */

/* ==========================================
   CSS VARIABLES (Design Tokens)
   ========================================== */
:root {
    /* Primary Colors - Vibrant Red */
    --primary-red: #D84043;
    --primary-red-dark: #C13538;
    --primary-red-light: #EF5350;
    --primary-red-hover: #B92D30;

    /* Secondary Colors - Blue Accents */
    --secondary-blue: #5258E4;
    --secondary-blue-dark: #4040F2;
    --secondary-blue-light: #7C81FF;
    --secondary-teal: #00BCD4;

    /* Accent Colors - Complementary */
    --accent-orange: #FF6B35;
    --accent-yellow: #FFC107;
    --accent-gold: #FFB800;
    --accent-purple: #7C3AED;

    /* Background Colors - Clean & Crisp */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FC;
    --bg-gray: #F2F2F8;
    --bg-red-light: #FEF2F2;
    --bg-blue-light: #EEF2FF;

    /* Card Background Colors */
    --card-white: #FFFFFF;
    --card-red: #FEF2F2;
    --card-blue: #EEF2FF;
    --card-green: #ECFDF5;
    --card-yellow: #FFFBEB;
    --card-purple: #F5F3FF;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FDFDFD;
    --soft-gray: #F8F9FA;
    --light-gray: #E6E6E6;
    --medium-gray: #9CA3AF;
    --dark-gray: #6B7280;
    --charcoal: #4B5563;

    /* Text Colors */
    --text-primary: #1D1D1D;
    --text-secondary: #4B4B4B;
    --text-muted: #6F6F6F;
    --text-light: #9CA3AF;

    /* Status Colors */
    --success: #10B981;
    --success-dark: #007B28;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-dark: #B14B00;
    --warning-light: #FEF3C7;
    --error: #EF4444;
    --error-dark: #CD2400;
    --error-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    --gradient-red: linear-gradient(135deg, #D84043 0%, #EF5350 100%);
    --gradient-blue: linear-gradient(135deg, #5258E4 0%, #7C81FF 100%);
    --gradient-hero: linear-gradient(180deg, #FFFFFF 0%, #F8F9FC 100%);
    --gradient-subtle: linear-gradient(180deg, #F8F9FC 0%, #FFFFFF 100%);
    --gradient-dark: linear-gradient(135deg, #1D1D1D 0%, #374151 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --shadow-red: 0 4px 14px 0 rgba(216, 64, 67, 0.3);
    --shadow-red-lg: 0 8px 25px 0 rgba(216, 64, 67, 0.35);
    --shadow-blue: 0 4px 14px 0 rgba(82, 88, 228, 0.3);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.text-red {
    color: var(--primary-red);
}

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

.text-gold {
    color: var(--accent-gold);
}

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

.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   LAYOUT & CONTAINERS
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

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

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

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

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

.btn-secondary {
    background: var(--secondary-blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
    background: var(--secondary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--text-primary);
}

.btn-gold:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-red);
}

.btn-white {
    background: var(--white);
    color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

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

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

.logo-text span {
    color: var(--primary-red);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

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

.nav-cta {
    display: flex;
    gap: var(--space-3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-red);
    transition: all var(--transition-normal);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--light-gray);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(216, 64, 67, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(82, 88, 228, 0.05) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: var(--space-6);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--text-primary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
}

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

.hero-title {
    font-size: var(--text-6xl);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-red);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--primary-red);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: -200px;
    overflow: visible;
}

.hero-phone {
    max-width: 350px;
    margin: 0 auto;
    position: relative;
}

.hero-phone-mockup {
    background: var(--white);
    border-radius: 40px;
    padding: var(--space-4);
    box-shadow: var(--shadow-2xl);
}

.hero-phone-screen {
    background: var(--soft-gray);
    border-radius: 32px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.hero-phone-logo {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.hero-phone-logo span {
    color: var(--primary-red);
}

.coming-soon-badge {
    background: var(--primary-red);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
    box-shadow: var(--shadow-red);
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.floating-card-1 {
    top: 20%;
    left: -20px;
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 25%;
    right: -30px;
    animation: float 3s ease-in-out infinite 1s;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.floating-card-icon.green {
    background: var(--success-light);
    color: var(--success);
}

.floating-card-icon.gold {
    background: var(--warning-light);
    color: var(--accent-gold);
}

.floating-card-text {
    font-size: var(--text-sm);
}

.floating-card-title {
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

.floating-card-subtitle {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* ==========================================
   TRUST BADGES
   ========================================== */
.trust-section {
    background: var(--white);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--light-gray);
}

.trust-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-secondary);
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--card-red);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.trust-text {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    background: var(--soft-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--card-red);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: var(--primary-red);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
}

.feature-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.feature-description {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works-section {
    background: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--light-gray);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-4);
}

.step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    background: var(--primary-red);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--white);
    position: relative;
    box-shadow: var(--shadow-red);
}

.step:hover .step-number {
    background: var(--secondary-blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-blue);
}

.step-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.step-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==========================================
   CALCULATOR SECTION
   ========================================== */
.calculator-section {
    background: var(--primary-red);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.calculator-content {
    color: var(--white);
}

.calculator-content h2 {
    color: var(--white);
}

.calculator-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
}

/* Calculator Stats */
.calculator-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.calculator-stat {
    text-align: left;
}

.calculator-stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: #FFB800;
    line-height: 1.2;
}

.calculator-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-1);
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
}

.calculator-form {
    margin-bottom: var(--space-8);
}

.calculator-group {
    margin-bottom: var(--space-6);
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.calculator-label-text {
    font-weight: var(--font-medium);
    color: var(--text-primary);
}

.calculator-label-value {
    font-weight: var(--font-bold);
    color: var(--primary-red);
}

.calculator-slider {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--light-gray);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--primary-red);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--primary-red-dark);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--primary-red);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

.calculator-range {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

.calculator-results {
    background: var(--soft-gray);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.calculator-result-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--light-gray);
}

.calculator-result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calculator-result-label {
    color: var(--text-secondary);
}

.calculator-result-value {
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

.calculator-result-value.highlight {
    color: var(--primary-red);
    font-size: var(--text-xl);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
    background: var(--soft-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: var(--text-5xl);
    color: var(--card-red);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
}

.testimonial-info h5 {
    margin-bottom: var(--space-1);
    font-size: var(--text-base);
}

.testimonial-info p {
    margin-bottom: 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    color: var(--accent-gold);
    margin-top: var(--space-2);
}

/* ==========================================
   PARTNERS
   ========================================== */
.partners-section {
    background: var(--white);
    padding: var(--space-12) 0;
}

.partners-title {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--primary-red);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.cta-form {
    display: flex;
    gap: var(--space-4);
    max-width: 500px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    outline: none;
}

.cta-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--soft-gray);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    text-align: left;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    transition: transform var(--transition-normal);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--text-secondary);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #1D1D1D;
    color: var(--white);
    padding-top: var(--space-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: var(--space-4) 0 var(--space-6);
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-red);
    color: var(--white);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-6);
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-red-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.footer-contact-icon {
    color: var(--primary-red-light);
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--primary-red-light);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: var(--font-medium);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(216, 64, 67, 0.15);
}

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

.form-error {
    color: var(--error);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

.form-success {
    color: var(--success);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-xl);
}

.card-header {
    margin-bottom: var(--space-6);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.card-subtitle {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ==========================================
   BADGES & TAGS
   ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

.badge-primary {
    background: var(--primary-red);
    color: var(--white);
}

.badge-blue {
    background: var(--secondary-blue);
    color: var(--white);
}

.badge-gold {
    background: var(--accent-gold);
    color: var(--text-primary);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

/* ==========================================
   PAGE HERO (Internal Pages)
   ========================================== */
.page-hero {
    background: var(--primary-red);
    padding: 140px 0 var(--space-16);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--accent-gold);
    font-size: var(--text-sm);
}

/* ==========================================
   ELIGIBILITY TABLE
   ========================================== */
.eligibility-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.eligibility-table th,
.eligibility-table td {
    padding: var(--space-5);
    text-align: left;
}

.eligibility-table th {
    background: var(--primary-red);
    color: var(--white);
    font-weight: var(--font-semibold);
}

.eligibility-table tr:nth-child(even) {
    background: var(--soft-gray);
}

.eligibility-table td:first-child {
    font-weight: var(--font-medium);
    color: var(--text-primary);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-card {
    display: flex;
    gap: var(--space-4);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-red);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: var(--space-2);
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.legal-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.legal-content p {
    margin-bottom: var(--space-4);
}

.legal-content ul {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.legal-content li {
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    list-style: disc;
}

.legal-updated {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

/* ==========================================
   HERO ILLUSTRATION STYLES
   ========================================== */
.hero-illustration {
    position: relative;
    width: 180%;
    max-width: 1200px;
    margin: 0;
}

.illustration-main {
    width: 100%;
    height: auto;
}

/* New Illustration Container Styles */
.illustration-container {
    position: relative;
    width: 100%;
    padding: var(--space-8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-bg-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216, 64, 67, 0.1) 0%, rgba(254, 242, 242, 0.8) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.illustration-bg-circle-2 {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(82, 88, 228, 0.08) 0%, rgba(238, 242, 255, 0.6) 100%);
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.illustration-main-img {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
    animation: floatSlow 6s ease-in-out infinite;
    object-fit: contain;
    background: transparent;
}

/* Floating Rupee Symbols */
.floating-rupee {
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    opacity: 0.9;
}

.floating-rupee-1 {
    top: 10%;
    right: 15%;
    font-size: 2.5rem;
    animation: floatCoin 3s ease-in-out infinite;
}

.floating-rupee-2 {
    top: 25%;
    right: 5%;
    font-size: 1.8rem;
    animation: floatCoin 3.5s ease-in-out infinite 0.5s;
}

.floating-rupee-3 {
    bottom: 30%;
    right: 10%;
    font-size: 2rem;
    animation: floatCoin 4s ease-in-out infinite 1s;
}

/* Success Badge Floating */
.success-badge-floating {
    position: absolute;
    bottom: 15%;
    right: 0;
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.3));
}

/* Sparkle Elements */
.sparkle {
    position: absolute;
    font-size: 1.5rem;
    z-index: 2;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 5%;
    left: 20%;
    color: var(--accent-gold);
}

.sparkle-2 {
    top: 15%;
    right: 25%;
    color: var(--primary-red);
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 25%;
    left: 10%;
    color: var(--secondary-blue);
    animation-delay: 1s;
}

.sparkle-4 {
    top: 35%;
    left: 5%;
    color: var(--accent-gold);
    animation-delay: 1.5s;
}

.hero-illustration .floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.hero-illustration .floating-card-1 {
    top: 5%;
    left: -10%;
    animation: floatCard 4s ease-in-out infinite;
}

.hero-illustration .floating-card-2 {
    bottom: 20%;
    right: -15%;
    animation: floatCard 4s ease-in-out infinite 1s;
}

.hero-illustration .floating-card-3 {
    bottom: 5%;
    left: 5%;
    animation: floatCard 4s ease-in-out infinite 2s;
}

.floating-card-icon.blue {
    background: var(--card-blue);
    color: var(--secondary-blue);
}

/* ==========================================
   PAGE ILLUSTRATIONS
   ========================================== */

/* Step Illustrations - How It Works */
.step-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
}

.step-illustration svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* About Page Illustration */
.about-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
}

.about-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Contact Page Illustration */
.contact-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-2);
}

.contact-illustration svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* SVG Animation Classes */
.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

.float-card {
    animation: floatCard 4s ease-in-out infinite;
}

.float-coin-1 {
    animation: floatCoin 3s ease-in-out infinite;
}

.float-coin-2 {
    animation: floatCoin 3.5s ease-in-out infinite 0.5s;
}

.float-coin-3 {
    animation: floatCoin 4s ease-in-out infinite 1s;
}

.sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

.money-rain > g {
    animation: moneyRain 3s ease-in-out infinite;
}

.money-rain > g:nth-child(2) {
    animation-delay: 0.5s;
}

.money-rain > g:nth-child(3) {
    animation-delay: 1s;
}

.money-rain > g:nth-child(4) {
    animation-delay: 1.5s;
}

.progress-animate {
    animation: progressBar 2s ease-in-out infinite;
}

/* Additional Keyframes */
@keyframes floatCoin {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes moneyRain {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-5px) rotate(3deg);
        opacity: 0.8;
    }
}

@keyframes progressBar {
    0% {
        width: 10px;
    }
    50% {
        width: 25px;
    }
    100% {
        width: 10px;
    }
}

/* Team member hover effect */
.team-member {
    transition: transform 0.3s ease;
}

/* ==========================================
   DECORATIVE ELEMENTS
   ========================================== */
.section-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.features-section {
    position: relative;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.decor-circle {
    position: absolute;
}

.decor-1 {
    top: 10%;
    left: -5%;
    animation: floatSlow 8s ease-in-out infinite;
}

.decor-2 {
    bottom: 10%;
    right: -3%;
    animation: floatMedium 6s ease-in-out infinite;
}

.decor-3 {
    top: 50%;
    right: 10%;
    animation: floatFast 4s ease-in-out infinite;
}

.decor-dots {
    position: absolute;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

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

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

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

@keyframes floatMedium {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(5px);
    }
}

@keyframes floatFast {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

@keyframes floatCoin {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(10deg);
    }
    75% {
        transform: translateY(5px) rotate(-5deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8) rotate(180deg);
    }
}

@keyframes pulseBtnAnim {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* SVG Animation Classes */
.float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

.float-medium {
    animation: floatMedium 4s ease-in-out infinite;
}

.float-fast {
    animation: floatFast 3s ease-in-out infinite;
}

.float-coin-1 {
    animation: floatCoin 3s ease-in-out infinite;
}

.float-coin-2 {
    animation: floatCoin 3.5s ease-in-out infinite 0.5s;
}

.float-coin-3 {
    animation: floatCoin 4s ease-in-out infinite 1s;
}

.sparkle-1 {
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-2 {
    animation: sparkle 2.5s ease-in-out infinite 0.5s;
}

.sparkle-3 {
    animation: sparkle 3s ease-in-out infinite 1s;
}

.pulse-btn {
    animation: pulseBtnAnim 2s ease-in-out infinite;
}

.bg-circle {
    animation: pulse 4s ease-in-out infinite;
}

/* Element Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

.rotate-in {
    animation: rotateIn 0.6s ease forwards;
}

/* Animation Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* Hover Animations */
.hover-float:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(216, 64, 67, 0.3);
    transition: box-shadow 0.3s ease;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.hidden {
    display: none !important;
}

.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;
}

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

.bg-white { background: var(--white); }
.bg-gray { background: var(--soft-gray); }

/* ==========================================
   ILLUSTRATION GRID CROPPING
   Uses the composite 3x3 grid image
   ========================================== */
.illustration-crop {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    background-image: url('../assets/images/illustrations/onezpay-illustrations.png');
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    margin: 0 auto;
}

/* Row 1 - Top */
.illustration-crop.loan-received { background-position: 0% 0%; }
.illustration-crop.download-app { background-position: 50% 0%; }
.illustration-crop.celebration { background-position: 100% 0%; }

/* Row 2 - Middle */
.illustration-crop.kyc-verify { background-position: 0% 50%; }
.illustration-crop.fill-form { background-position: 50% 50%; }
.illustration-crop.emi-plans { background-position: 100% 50%; }

/* Row 3 - Bottom */
.illustration-crop.rbi-certified { background-position: 0% 100%; }
.illustration-crop.support-24x7 { background-position: 50% 100%; }
.illustration-crop.customer-support { background-position: 100% 100%; }

/* Step illustration styling */
.step-illustration .illustration-crop {
    max-width: 280px;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.1));
    transition: transform var(--transition-normal);
}

.step-illustration .illustration-crop:hover {
    transform: scale(1.05);
}

/* Feature illustration */
.feature-illustration {
    width: 120px;
    height: 120px;
    background-image: url('../assets/images/illustrations/onezpay-illustrations.png');
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-4);
}

/* Smaller illustration size options */
.illustration-crop.small {
    max-width: 200px;
}

.illustration-crop.medium {
    max-width: 250px;
}

.illustration-crop.large {
    max-width: 350px;
}

/* ==========================================
   HOMEPAGE ILLUSTRATIONS (2x3 grid)
   ========================================== */
.homepage-illustration {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background-image: url('../assets/images/illustrations/homepage-illustrations.png');
    background-size: 200% 300%;
    margin: 0 auto;
}

/* Row 1 */
.homepage-illustration.hero-couple { background-position: 0% 0%; }
.homepage-illustration.hero-celebration { background-position: 100% 0%; }

/* Row 2 */
.homepage-illustration.trust-security { background-position: 0% 50%; }
.homepage-illustration.fast-approval { background-position: 100% 50%; }

/* Row 3 */
.homepage-illustration.digital-process { background-position: 0% 100%; }
.homepage-illustration.cta-download { background-position: 100% 100%; }

/* Hero illustration specific styles */
.hero-illustration .homepage-illustration {
    max-width: 500px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

/* Feature section homepage illustrations */
.feature-card .homepage-illustration {
    max-width: 200px;
    margin-bottom: var(--space-4);
}
