/* ============================================
   முஸ்லிம் மேட்ரிமோனி - Rose Gold Design
   Version 2.0 - Romantic + Sparkle Edition
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&family=Catamaran:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ============================================
   1. CSS Variables - Rose Gold Theme
   ============================================ */
:root {
    /* Primary - Deep Rose */
    --primary: #be3455;
    --primary-light: #d94d6f;
    --primary-dark: #9a2945;
    --primary-50: #fdf2f5;
    --primary-100: #fce7ec;
    
    /* Accent - Rose Gold */
    --accent: #e8b4a0;
    --accent-light: #f0c9b8;
    --accent-dark: #d69a82;
    --gold: #d4af37;
    --gold-light: #e8c96a;
    
    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #8b5cf6;
    
    /* Neutrals */
    --bg-body: #fdfafb;
    --bg-white: #ffffff;
    --bg-gray: #fef7f9;
    --text-dark: #2d1b24;
    --text-body: #4a3540;
    --text-muted: #7a6470;
    --text-light: #a89299;
    --border: #f0e4e8;
    --border-dark: #e0cdd4;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(190, 52, 85, 0.06), 0 1px 2px rgba(190, 52, 85, 0.04);
    --shadow-md: 0 4px 6px rgba(190, 52, 85, 0.06), 0 2px 4px rgba(190, 52, 85, 0.04);
    --shadow-lg: 0 10px 25px rgba(190, 52, 85, 0.1), 0 4px 10px rgba(190, 52, 85, 0.05);
    --shadow-xl: 0 20px 40px rgba(190, 52, 85, 0.12), 0 8px 20px rgba(190, 52, 85, 0.06);
    --shadow-rose: 0 10px 30px rgba(190, 52, 85, 0.2);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
    
    /* Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Fonts */
    --font-tamil: 'Noto Sans Tamil', system-ui, sans-serif;
    --font-heading: 'Poppins', 'Catamaran', system-ui, sans-serif;
    --font-body: 'Noto Sans Tamil', system-ui, sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
}

/* ============================================
   2. Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1em; line-height: 1.8; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover { color: var(--primary-dark); }

/* ============================================
   4. Navbar - Rose Theme
   ============================================ */
.navbar {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.bg-success,
.navbar.navbar-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    color: var(--gold);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: rgba(255,255,255,0.9) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white !important;
}

.navbar-nav .btn-light {
    background: white;
    color: var(--primary) !important;
    font-weight: 600;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius);
}

.navbar-nav .btn-outline-light {
    border: 1.5px solid rgba(255,255,255,0.6);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius);
}

.navbar-nav .btn-outline-light:hover {
    background: white;
    color: var(--primary) !important;
    border-color: white;
}

/* ============================================
   5. ⭐ SPARKLE EFFECTS ON BUTTONS
   ============================================ */

/* Base button styling */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: none;
    transition: var(--transition);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

/* ⭐ Sparkle particles - Base */
.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.8) 1.5px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.9) 2px, transparent 2.5px),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.7) 1px, transparent 1.5px),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.85) 1.5px, transparent 2px),
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.75) 1px, transparent 1.5px);
    background-size: 200px 200px;
    background-position: 0 0, 50px 80px, 100px 40px, 150px 120px, 180px 60px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
    animation: sparkleMove 3s linear infinite;
}

@keyframes sparkleMove {
    0% { background-position: 0 0, 50px 80px, 100px 40px, 150px 120px, 180px 60px; }
    100% { background-position: 200px 200px, 250px 280px, 300px 240px, 350px 320px, 380px 260px; }
}

/* ⭐ Sparkle shimmer - Light sweep */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255,255,255,0.4) 50%, 
        transparent 100%
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.btn:hover::after {
    left: 100%;
}

/* Show sparkles on hover */
.btn:hover::before {
    opacity: 1;
}

/* ============================================
   6. Button Variants - Sparkle Enhanced
   ============================================ */

/* ⭐ PRIMARY - Rose Gold Sparkle */
.btn-success,
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(190, 52, 85, 0.3);
    border: none;
}

.btn-success:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(190, 52, 85, 0.4),
        0 0 30px rgba(232, 180, 160, 0.3),
        inset 0 0 20px rgba(255,255,255,0.1);
    color: white;
}

/* ⭐ GOLD PREMIUM - Sparkle Enhanced */
.btn-warning,
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 50%, var(--gold-light) 100%);
    background-size: 200% 200%;
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
    animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-warning:hover,
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.5),
        0 0 40px rgba(232, 201, 106, 0.4),
        inset 0 0 20px rgba(255,255,255,0.3);
}

/* ⭐ OUTLINE - Rose Sparkle */
.btn-outline-success {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-success::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(190, 52, 85, 0.6) 1.5px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(190, 52, 85, 0.7) 2px, transparent 2.5px),
        radial-gradient(circle at 40% 20%, rgba(190, 52, 85, 0.5) 1px, transparent 1.5px),
        radial-gradient(circle at 80% 50%, rgba(190, 52, 85, 0.65) 1.5px, transparent 2px);
    background-size: 200px 200px;
}

.btn-outline-success:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(190, 52, 85, 0.3),
        0 0 30px rgba(232, 180, 160, 0.3);
}

/* ⭐ LIGHT BUTTON - Sparkle */
.btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-light::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(190, 52, 85, 0.4) 1.5px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(232, 180, 160, 0.6) 2px, transparent 2.5px),
        radial-gradient(circle at 40% 20%, rgba(212, 175, 55, 0.5) 1px, transparent 1.5px),
        radial-gradient(circle at 80% 50%, rgba(190, 52, 85, 0.4) 1.5px, transparent 2px);
    background-size: 200px 200px;
}

.btn-light:hover {
    background: var(--primary-50);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(190, 52, 85, 0.2),
        0 0 30px rgba(232, 180, 160, 0.2);
}

/* ⭐ WHATSAPP - Green Sparkle */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
}

.btn-whatsapp::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.9) 1.5px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,1) 2px, transparent 2.5px),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.8) 1px, transparent 1.5px);
    background-size: 200px 200px;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ⭐ DANGER - Red Sparkle */
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    color: white;
}

/* ⭐ INFO - Purple Sparkle */
.btn-info {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
}

.btn-info:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
}

/* ⭐ SECONDARY - Gray Sparkle */
.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-3px);
    color: white;
}

/* ============================================
   7. Button Sizes
   ============================================ */
.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.btn-sm::before {
    /* Smaller sparkles for small buttons */
    background-size: 100px 100px;
}

/* ============================================
   8. ⭐ Sparkle on Icon Buttons
   ============================================ */
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

/* ============================================
   9. ⭐ Special Hero CTA - Extra Sparkle
   ============================================ */
.btn-hero {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    position: relative;
    overflow: visible;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: var(--radius-full);
    background: linear-gradient(45deg, var(--gold), var(--primary), var(--accent), var(--gold));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientRotate 3s linear infinite;
}

.btn-hero:hover::before {
    opacity: 1;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   10. Sparkle Particles - Floating
   ============================================ */
.btn-sparkle-particle {
    position: absolute;
    pointer-events: none;
    font-size: 14px;
    color: var(--gold);
    opacity: 0;
    z-index: 10;
}

.btn:hover .btn-sparkle-particle {
    animation: sparkleFloat 1.5s ease-out forwards;
}

@keyframes sparkleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.3);
    }
}

/* ============================================
   11. Cards - Rose Gold
   ============================================ */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    background: white;
}

.card:hover { 
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    font-weight: 600;
}

.card-header.bg-success {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: white;
    border: none;
}

.card-body { padding: 24px; }

.card-footer {
    background: var(--bg-gray);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
}

/* ============================================
   12. Form Controls
   ============================================ */
.form-control,
.form-select {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(190, 52, 85, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* ============================================
   13. Hero Section - Rose Gold
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--accent) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(232, 180, 160, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-section p {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-section .lead {
    font-family: var(--font-elegant);
    font-size: 1.3rem;
    font-style: italic;
}

/* Hero Floating Hearts */
.hero-heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: 2rem;
    animation: floatHeart 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-heart:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-heart:nth-child(2) { top: 60%; left: 85%; animation-delay: 1s; font-size: 3rem; }
.hero-heart:nth-child(3) { top: 80%; left: 15%; animation-delay: 2s; font-size: 2.5rem; }
.hero-heart:nth-child(4) { top: 20%; left: 75%; animation-delay: 3s; }

@keyframes floatHeart {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
        opacity: 0.3;
    }
}

/* ============================================
   14. Feature Cards
   ============================================ */
.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--gold) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-rose);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   15. Pricing Cards
   ============================================ */
.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.premium {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-50) 100%);
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.15;
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-8px);
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 20px 0 8px;
    letter-spacing: -0.03em;
}

.pricing-card .price::before {
    content: '₹';
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 2px;
}

/* ============================================
   16. Stats
   ============================================ */
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* ============================================
   17. Testimonial Cards
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-100);
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    color: var(--text-body);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card .bi-person-circle {
    color: var(--primary);
}

/* ============================================
   18. Profile Cards
   ============================================ */
.profile-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.profile-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover img {
    transform: scale(1.05);
}

/* ============================================
   19. Badges
   ============================================ */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.badge.bg-success { background: var(--success) !important; }
.badge.bg-warning { background: var(--warning) !important; color: var(--text-dark) !important; }
.badge.bg-danger { background: var(--danger) !important; }
.badge.bg-info { background: var(--info) !important; }
.badge.bg-secondary { background: var(--text-muted) !important; }

.badge-premium {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
    color: var(--text-dark);
    font-weight: 700;
    padding: 6px 14px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* ============================================
   20. Alerts
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 16px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid var(--warning);
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

/* ============================================
   21. Footer
   ============================================ */
footer, .footer {
    background: linear-gradient(135deg, #2d1b24 0%, #4a3540 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 50%, var(--primary) 100%);
}

.footer h5, .footer h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition-fast);
    display: inline-block;
    padding: 4px 0;
}

.footer a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer .text-success {
    color: var(--gold) !important;
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0;
}

/* ============================================
   22. Animations
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-up { animation: fadeInUp 0.6s ease-out; }
.animate-fade { animation: fadeIn 0.6s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ============================================
   23. Utilities
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.bg-gradient-rose {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--gold) 100%);
}

.shadow-rose { box-shadow: var(--shadow-rose); }
.shadow-gold { box-shadow: var(--shadow-gold); }

.rounded-xl { border-radius: var(--radius-xl) !important; }

.text-elegant {
    font-family: var(--font-elegant);
    font-style: italic;
    font-weight: 500;
}

/* ============================================
   24. Heart Divider
   ============================================ */
.heart-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    color: var(--primary);
}

.heart-divider::before,
.heart-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    max-width: 200px;
}

/* ============================================
   25. Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .hero-section { padding: 60px 0 40px; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section p { font-size: 1rem; }
    
    .price { font-size: 2.2rem; }
    .stat-number { font-size: 2rem; }
    
    .pricing-card.premium { transform: none; }
    .pricing-card.premium:hover { transform: translateY(-5px); }
    
    .btn {
        padding: 12px 20px;
        min-height: 48px;
    }
    
    .card-body { padding: 20px; }
    .feature-card { padding: 24px 20px; }
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    .hero-section h1 { font-size: 1.7rem; }
    .price { font-size: 2rem; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .btn::before,
    .btn::after,
    .btn-hero::before,
    .hero-heart,
    .navbar-brand i {
        animation: none !important;
        transition: none !important;
    }
}

/* Print */
@media print {
    .navbar, footer, .footer, .btn, .mobile-bottom-nav {
        display: none !important;
    }
}


/* ============================================
   HERO SECTION - Optimized Spacing
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--accent) 100%);
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(232, 180, 160, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

/* Bismillah line */
.hero-bismillah {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: var(--fw-medium);
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

/* Main title */
.hero-title {
    font-family: var(--font-heading-ta);
    font-weight: var(--fw-black);
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Description */
.hero-description {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 32px;
    padding: 0 15px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto 40px;
}

.hero-buttons .btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
}

/* Stats */
.hero-stats {
    margin-top: 24px;
}

.hero-stats h3 {
    font-family: var(--font-heading-ta);
    font-weight: var(--fw-extrabold);
    font-size: 1.5rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 6px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-stats h3 i {
    color: var(--gold);
    font-size: 1.25rem;
}

.hero-stats p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: var(--fw-regular);
}

/* ============================================
   Desktop - Hero
   ============================================ */
@media (min-width: 769px) {
    .hero-buttons {
        flex-direction: row;
        max-width: 100%;
        gap: 16px;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-stats h3 {
        font-size: 1.75rem;
    }
}

/* ============================================
   Tablet - Hero
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 40px;
    }
    
    .hero-bismillah {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 16px;
        padding: 0 8px;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 24px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        margin-bottom: 28px;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        margin-top: 20px;
    }
    
    .hero-stats h3 {
        font-size: 1.25rem;
        margin-bottom: 4px;
    }
    
    .hero-stats h3 i {
        font-size: 1.05rem;
    }
    
    .hero-stats p {
        font-size: 0.85rem;
        line-height: 1.35;
    }
}

/* ============================================
   Mobile - Hero (Extra Small)
   ============================================ */
@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0 32px;
    }
    
    .hero-bismillah {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 14px;
        padding: 0 12px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.45;
        margin-bottom: 20px;
        padding: 0 16px;
    }
    
    .hero-buttons {
        margin-bottom: 24px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        min-height: 46px;
        padding: 11px 18px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        margin-top: 16px;
    }
    
    .hero-stats h3 {
        font-size: 1.15rem;
    }
    
    .hero-stats h3 i {
        font-size: 0.95rem;
    }
    
    .hero-stats p {
        font-size: 0.8rem;
    }
}

/* ============================================
   Very Small Screens
   ============================================ */
@media (max-width: 400px) {
    .hero-section {
        padding: 32px 0 24px;
    }
    
    .hero-title {
        font-size: 1.35rem;
        line-height: 1.35;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    .hero-stats h3 {
        font-size: 1.05rem;
    }
    
    .hero-stats p {
        font-size: 0.75rem;
    }
}