/* Alibaba Font Face Definitions */
@font-face {
    font-family: 'Alibaba';
    src: url('./fonts/woff2/Alibaba-Regular.woff2') format('woff2'),
         url('./fonts/ttf/Alibaba-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba';
    src: url('./fonts/woff2/Alibaba-Light.woff2') format('woff2'),
         url('./fonts/ttf/Alibaba-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba';
    src: url('./fonts/woff2/Alibaba-Bold.woff2') format('woff2'),
         url('./fonts/ttf/Alibaba-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alibaba';
    src: url('./fonts/woff2/Alibaba-Black.woff2') format('woff2'),
         url('./fonts/ttf/Alibaba-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alibaba', 'Tahoma', sans-serif;
    line-height: 1.7;
    color: #1a202c;
    direction: rtl;
    overflow-x: hidden;
    background: #fafbfc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Advanced Color Variables & Design System */
:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Secondary Colors */
    --secondary-50: #f5f3ff;
    --secondary-100: #ede9fe;
    --secondary-200: #ddd6fe;
    --secondary-300: #c4b5fd;
    --secondary-400: #a78bfa;
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;
    --secondary-700: #6d28d9;
    --secondary-800: #5b21b6;
    --secondary-900: #4c1d95;
    
    /* Accent Colors */
    --accent-50: #fffbeb;
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --accent-700: #b45309;
    --accent-800: #92400e;
    --accent-900: #78350f;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #0284c7;
    
    /* Main Variables */
    --primary-color: var(--primary-600);
    --secondary-color: var(--secondary-600);
    --accent-color: var(--accent-500);
    --dark-color: var(--gray-900);
    --light-color: var(--gray-50);
    --gray-color: var(--gray-500);
    --white: #ffffff;
    
    /* Advanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-500) 0%, var(--primary-500) 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    --gradient-cool: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-royal: linear-gradient(135deg, #667db6 0%, #0082c8 50%, #667db6 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-cosmic: radial-gradient(circle at center, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-backdrop: blur(20px);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --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.25);
    --shadow-colored: 0 20px 25px -5px rgba(59, 130, 246, 0.3), 0 10px 10px -5px rgba(59, 130, 246, 0.2);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Header Styles - Glass Morphism */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar {
    padding: 1.2rem 0;
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.nav-brand .logo:hover {
    transform: scale(1.05);
    color: var(--secondary-color);
}

.nav-brand .logo .logo-image {
    height: 2.2rem;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
    transition: all var(--transition-normal);
}

.nav-brand .logo i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-normal);
    z-index: -1;
    border-radius: var(--radius-lg);
}

.nav-menu a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section - Premium Background */
.hero {
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.2), transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 30px rgba(255, 107, 107, 0.6); }
}

.hero-text .highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    font-family: 'Alibaba', sans-serif;
    letter-spacing: 0.5px;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-xl), 0 0 0 0 rgba(255, 107, 107, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(255, 107, 107, 0.6);
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Loan Calculator Styles */
.hero-calculator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loan-calculator {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
    max-width: 400px;
    width: 100%;
}

.loan-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.1), transparent 60%);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.loan-calculator h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
}

.slider-container {
    position: relative;
    direction: ltr;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider::-webkit-slider-track {
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
    transition: all var(--transition-normal);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(59, 130, 246, 0.4);
}

.slider::-moz-range-track {
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    border: none;
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
    transition: all var(--transition-normal);
}

.slider-value {
    text-align: center;
    margin-top: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-600);
    direction: rtl;
}

.result-container {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item .label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.result-item .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-700);
}

.btn-calculator {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    width: 100%;
}

.btn-calculator:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(59, 130, 246, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        var(--gradient-cosmic);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        var(--shadow-2xl),
        0 0 50px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2), transparent 60%);
    border-radius: 38px;
    z-index: 1;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            rgba(255, 255, 255, 0.1), 
            transparent, 
            rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    transform: translate(-50%, -50%);
    animation: spin 20s linear infinite;
    z-index: 2;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.phone-mockup i {
    font-size: 9rem;
    color: white;
    opacity: 0.9;
    z-index: 3;
    position: relative;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    animation: pulse-phone 3s ease-in-out infinite;
}

@keyframes pulse-phone {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Services Overview - Glass Cards */
.services-overview {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 50%, var(--secondary-50) 100%);
    position: relative;
    overflow: hidden;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1), transparent 50%);
    pointer-events: none;
}

.services-overview h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.services-overview h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: rotate-slow 15s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.service-card:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.4));
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.service-card:hover h3 {
    color: var(--primary-700);
    transform: translateY(-2px);
}

.service-card p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.service-card:hover p {
    color: var(--gray-700);
}

/* AI Loan Assistant Section */
.ai-assistant {
    padding: 120px 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1), transparent 70%),
        linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.ai-assistant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ai-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="5" cy="5" r="0.3" fill="%2359a6e5" opacity="0.2"/><circle cx="15" cy="15" r="0.3" fill="%238b5cf6" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23ai-pattern)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
    animation: twinkle 8s ease-in-out infinite;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.ai-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.ai-text h2 .highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ai-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.ai-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.ai-feature i {
    font-size: 1.5rem;
    color: var(--accent-400);
    min-width: 1.5rem;
}

.rate-highlight {
    margin: 2rem 0;
}

.rate-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-warm);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
}

.rate-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.rate-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rate-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.btn-ai {
    background: var(--gradient-cosmic);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-xl);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.btn-ai:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(102, 126, 234, 0.5);
}

/* AI Robot Visual */
.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-robot {
    width: 200px;
    height: 280px;
    position: relative;
    animation: robot-float 4s ease-in-out infinite;
}

@keyframes robot-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.robot-head {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(59, 130, 246, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.robot-eyes {
    display: flex;
    justify-content: space-between;
    padding: 30px 20px 0;
}

.eye {
    width: 20px;
    height: 20px;
    background: var(--accent-400);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-400);
    animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

.robot-mouth {
    width: 40px;
    height: 8px;
    background: var(--accent-400);
    border-radius: var(--radius-full);
    margin: 15px auto;
    animation: talk 2s ease-in-out infinite;
}

@keyframes talk {
    0%, 50%, 100% { transform: scaleX(1); }
    25%, 75% { transform: scaleX(1.5); }
}

.robot-body {
    width: 140px;
    height: 160px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 25px rgba(139, 92, 246, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.screen {
    width: 80px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.data-lines {
    padding: 10px;
}

.line {
    height: 3px;
    background: var(--accent-400);
    margin-bottom: 5px;
    border-radius: 2px;
    animation: data-flow 2s ease-in-out infinite;
}

.line:nth-child(1) { width: 70%; animation-delay: 0s; }
.line:nth-child(2) { width: 40%; animation-delay: 0.5s; }
.line:nth-child(3) { width: 90%; animation-delay: 1s; }
.line:nth-child(4) { width: 60%; animation-delay: 1.5s; }

@keyframes data-flow {
    0%, 100% { opacity: 0.3; width: 20%; }
    50% { opacity: 1; }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    animation: float-around 6s ease-in-out infinite;
    opacity: 0.8;
}

.float-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.float-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.float-element:nth-child(4) {
    bottom: 10%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float-around {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

/* Statistics Section */
.statistics {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.15), transparent 50%),
        linear-gradient(135deg, var(--dark-color) 0%, #2d3748 50%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="stats-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="60" height="60" fill="url(%23stats-pattern)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
    animation: twinkle 6s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 70%),
        var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 
        var(--shadow-lg),
        0 0 25px rgba(59, 130, 246, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 
        var(--shadow-xl),
        0 0 40px rgba(59, 130, 246, 0.6);
}

.stat-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-normal);
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    display: block;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 107, 0.4));
}

.stat-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.stat-item:hover .stat-content p {
    color: white;
    transform: translateY(-2px);
}

/* Loan Section - Cosmic Background */
.loan-section {
    padding: 120px 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.2), transparent 70%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.loan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-sunset);
    border-radius: var(--radius-full);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 5px rgba(250, 112, 154, 0.5); }
    to { box-shadow: 0 0 25px rgba(250, 112, 154, 0.8), 0 0 35px rgba(254, 225, 64, 0.6); }
}

.mascot {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.mascot-character {
    width: 240px;
    height: 240px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 70%),
        var(--gradient-cosmic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        var(--shadow-2xl),
        0 0 60px rgba(139, 92, 246, 0.6),
        inset 0 4px 0 rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: mascot-float 4s ease-in-out infinite, mascot-glow 3s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes mascot-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes mascot-glow {
    from { box-shadow: var(--shadow-2xl), 0 0 30px rgba(139, 92, 246, 0.4); }
    to { box-shadow: var(--shadow-2xl), 0 0 60px rgba(139, 92, 246, 0.8), 0 0 90px rgba(139, 92, 246, 0.4); }
}

.mascot-character::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent, 
            rgba(255, 255, 255, 0.1), 
            transparent);
    border-radius: 50%;
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mascot-character i {
    font-size: 6rem;
    color: white;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    z-index: 2;
    position: relative;
    animation: bounce-subtle 2s ease-in-out infinite;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Features Section - Advanced Grid */
.features {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, var(--gray-50) 0%, rgba(59, 130, 246, 0.05) 50%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.08), transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.08), transparent 60%);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-royal);
    border-radius: var(--radius-full);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 70%),
        var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 
        var(--shadow-lg),
        0 0 25px rgba(59, 130, 246, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate-icon 8s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

@keyframes rotate-icon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 
        var(--shadow-xl),
        0 0 40px rgba(59, 130, 246, 0.6);
}

.feature-item:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    z-index: 2;
    position: relative;
    transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon i {
    transform: scale(1.2);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
    position: relative;
}

.feature-item:hover h3 {
    color: var(--primary-700);
    transform: translateY(-2px);
}

.feature-item p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all var(--transition-normal);
}

.feature-item:hover p {
    color: var(--gray-700);
    transform: translateY(-1px);
}

/* Loan Types - Premium Cards */
.loan-types {
    padding: 120px 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(168, 85, 247, 0.1), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1), transparent 50%),
        linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
    position: relative;
    overflow: hidden;
}

.loan-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagon" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,5 50,20 50,40 30,55 10,40 10,20" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="60" height="60" fill="url(%23hexagon)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.loan-types h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loan-types h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.loan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.loan-card {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    padding: 3rem 2rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: 
        var(--shadow-xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.loan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.loan-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.loan-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        var(--shadow-2xl),
        0 0 50px rgba(59, 130, 246, 0.4);
}

.loan-card:hover::before {
    opacity: 1;
}

.loan-card:hover::after {
    opacity: 1;
}

.loan-icon {
    width: 120px;
    height: 120px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 70%),
        var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(245, 158, 11, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: loan-pulse 4s ease-in-out infinite;
}

@keyframes loan-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.loan-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 6s linear infinite;
}

.loan-card:hover .loan-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        var(--shadow-xl),
        0 0 50px rgba(245, 158, 11, 0.6);
}

.loan-icon i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    z-index: 2;
    position: relative;
    transition: all var(--transition-normal);
}

.loan-card:hover .loan-icon i {
    transform: scale(1.2);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.loan-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.loan-card:hover h3 {
    color: var(--primary-700);
    transform: translateY(-2px);
}

.loan-card p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.loan-card:hover p {
    color: var(--gray-700);
    transform: translateY(-1px);
}

.loan-amount {
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.loan-card:hover .loan-amount {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

/* App Download Section - Dark Elegance */
.app-download {
    padding: 120px 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3), transparent 50%),
        linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.app-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="circuit" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M10,10 L50,10 M10,50 L50,50 M10,10 L10,50 M50,10 L50,50" stroke="%23ffffff" stroke-width="0.5" opacity="0.1" fill="none"/></pattern></defs><rect width="60" height="60" fill="url(%23circuit)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.app-download::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.app-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    line-height: 1.1;
}

.app-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
}

.app-text p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 28px;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--radius-2xl);
    font-weight: 700;
    font-size: 1.15rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        var(--shadow-xl), 
        0 0 25px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 2;
    min-width: 200px;
    justify-content: center;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.download-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        var(--shadow-2xl), 
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 80px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover::after {
    opacity: 1;
}

.download-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.download-btn i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
}

.download-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.app-preview {
    display: flex;
    justify-content: center;
}

.phone-preview {
    width: 280px;
    height: 560px;
    background: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        var(--gradient-cosmic);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        var(--shadow-2xl),
        0 0 60px rgba(102, 126, 234, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: phone-glow 4s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes phone-glow {
    from { box-shadow: var(--shadow-2xl), 0 0 30px rgba(102, 126, 234, 0.3); }
    to { box-shadow: var(--shadow-2xl), 0 0 60px rgba(102, 126, 234, 0.7), 0 0 90px rgba(102, 126, 234, 0.3); }
}

.phone-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2), transparent 60%);
    border-radius: 33px;
}

.phone-preview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: spin 15s linear infinite;
}

.phone-preview i {
    font-size: 7rem;
    color: white;
    opacity: 0.95;
    z-index: 3;
    position: relative;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    animation: phone-icon-pulse 3s ease-in-out infinite;
}

@keyframes phone-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* FAQ Section - Modern Accordion */
.faq {
    padding: 120px 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.05), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.05), transparent 50%),
        linear-gradient(135deg, var(--gray-50) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.faq h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-ocean);
    border-radius: var(--radius-full);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
    z-index: 2;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item:hover::before {
    left: 100%;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.1);
}

.faq-question h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    transition: all var(--transition-normal);
}

.faq-item:hover .faq-question h3 {
    color: var(--primary-700);
}

.faq-question i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

.faq-answer {
    padding: 0 2rem 0;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 2rem;
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer - Elegant Dark */
.footer {
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.2), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.2), transparent 50%),
        linear-gradient(135deg, #0f1419 0%, #1a202c 50%, #0f1419 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
    transition: all var(--transition-normal);
}

.footer-logo .logo-image {
    height: 2.2rem;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
    transition: all var(--transition-normal);
}

.footer-logo:hover .logo-image {
    transform: rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.5));
}

.footer-logo:hover i {
    transform: rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.5));
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 70%),
        var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-links a:hover::before {
    opacity: 1;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-brand .logo .logo-image {
        height: 1.8rem;
    }
    
    .footer-logo .logo-image {
        height: 1.8rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-calculator {
        order: -1; /* Show calculator first on mobile */
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone-mockup i {
        font-size: 6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-text h2 {
        font-size: 2.5rem;
    }
    
    .ai-robot {
        width: 150px;
        height: 210px;
    }
    
    .robot-head {
        width: 90px;
        height: 90px;
    }
    
    .robot-body {
        width: 110px;
        height: 120px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .loan-calculator {
        max-width: 100%;
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .loan-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2,
    .services-overview h2,
    .features h2,
    .loan-types h2,
    .faq h2 {
        font-size: 2rem;
    }
    
    .app-text h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-text h2 {
        font-size: 2rem;
    }
    
    .ai-robot {
        width: 120px;
        height: 170px;
    }
    
    .rate-number {
        font-size: 2rem;
    }
    
    .ai-features {
        gap: 0.8rem;
    }
    
    .ai-feature {
        padding: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .loan-calculator {
        padding: 1.5rem;
    }
    
    .loan-calculator h3 {
        font-size: 1.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .phone-preview {
        width: 220px;
        height: 440px;
    }
    
    .phone-mockup i {
        font-size: 5rem;
    }
    
    .phone-preview i {
        font-size: 4.5rem;
    }
    
    /* Optimize button sizes for mobile */
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* Better spacing for mobile */
    .services-overview,
    .features,
    .loan-types,
    .faq {
        padding: 80px 0;
    }
    
    .loan-section,
    .app-download {
        padding: 100px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* App Download Priority Section */
.app-download-priority {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-download-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars-app" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars-app)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
    animation: twinkle 4s ease-in-out infinite;
}

.app-download-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.app-download-text {
    text-align: right;
}

.app-download-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.app-title-gradient {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-download-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.app-download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1), 
        0 10px 10px -5px rgba(0, 0, 0, 0.04), 
        0 0 25px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.app-download-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 30px 35px -5px rgba(0, 0, 0, 0.15), 
        0 15px 15px -5px rgba(0, 0, 0, 0.08), 
        0 0 40px rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
}

.app-download-btn i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-phone-container {
    display: flex;
    justify-content: center;
}

.app-phone-mockup {
    width: 200px;
    height: 400px;
    background: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 70%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25), 
        0 0 60px rgba(102, 126, 234, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: phone-glow 4s ease-in-out infinite alternate;
}

.app-phone-mockup i {
    font-size: 5rem;
    color: white;
    opacity: 0.95;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    animation: phone-icon-pulse 3s ease-in-out infinite;
}

.app-phone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2), transparent 60%);
    border-radius: 28px;
}

.app-phone-spin {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: spin 15s linear infinite;
}

.app-features-box {
    text-align: left;
}

.app-features-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.app-features-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #feca57;
}

.app-features-card ul {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.app-features-card li {
    margin-bottom: 0.5rem;
}

.app-free-note {
    text-align: center;
}

.app-free-note p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

@keyframes phone-glow {
    from { 
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.25), 
            0 0 30px rgba(102, 126, 234, 0.3); 
    }
    to { 
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.25), 
            0 0 60px rgba(102, 126, 234, 0.7), 
            0 0 90px rgba(102, 126, 234, 0.3); 
    }
}

@keyframes phone-icon-pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.1); 
    }
}

/* Responsive for App Download */
@media (max-width: 768px) {
    .app-download-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .app-download-text {
        text-align: center;
        order: 1;
    }
    
    .app-phone-container {
        order: 2;
    }
    
    .app-features-box {
        text-align: center;
        order: 3;
    }
    
    .app-download-title {
        font-size: 2rem;
    }
    
    .app-phone-mockup {
        width: 160px;
        height: 320px;
    }
    
    .app-phone-mockup i {
        font-size: 4rem;
    }
    
    .app-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-download-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}