/* Advanced UI Styles for Homepage */
:root {
    --primary: #4CAF50;
    --secondary: #2196F3;
    --accent: #FF5722;
    --dark: #1a1f2c;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --gradient: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-alt: linear-gradient(120deg, #6a11cb 0%, #2575fc 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.07);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    background: var(--gradient-alt);
    color: var(--light);
    overflow: hidden;
    padding: 80px 0 120px;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--border-radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: var(--light);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.hero-btn-primary:hover .btn-shine {
    opacity: 1;
    left: 100%;
    top: 100%;
}

.hero-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--light);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--light);
    transform: translateY(-5px);
}

.hero-image {
    position: relative;
    width: 450px;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.payment-card {
    width: 300px;
    height: 180px;
    background: linear-gradient(135deg, #1a1f2c 0%, #2d3748 100%);
    color: white;
    padding: 20px;
    top: 50px;
    left: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 5px;
    margin-bottom: 20px;
}

.card-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.8;
}

.card-number {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.card-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.notification-card {
    width: 250px;
    padding: 15px;
    top: 0;
    right: 0;
    z-index: 3;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

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

.notification-icon.success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary);
}

.notification-title {
    font-weight: 600;
    color: var(--gray-800);
}

.notification-body {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 5px;
    text-align: right;
}

.analytics-card {
    width: 200px;
    padding: 15px;
    bottom: 30px;
    right: 30px;
}

.analytics-header {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.analytics-chart {
    display: flex;
    align-items: flex-end;
    height: 80px;
    gap: 8px;
    margin-bottom: 10px;
}

.chart-bar {
    flex: 1;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.chart-bar.active {
    background: var(--primary);
}

.analytics-footer {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
}

.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-shape-divider .shape-fill {
    fill: var(--light);
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    background-color: var(--gray-100);
    text-align: center;
}

.trusted-by-title {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trusted-by-logo {
    height: 40px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.trusted-by-logo:hover {

        /* Stats Section */
        .stats {
            padding: 80px 0;
            background-color: var(--light);
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .stat-item {
            text-align: center;
            padding: 30px;
            border-radius: var(--border-radius-md);
            background: var(--light);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .stat-item:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-md);
        }

        .stat-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 1.5rem;
            color: var(--primary);
            background: rgba(76, 175, 80, 0.1);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 10px;
            color: var(--gray-900);
            line-height: 1;
        }

        .stat-label {
            color: var(--gray-600);
            font-size: 1rem;
        }

        /* Features Section */
/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.feature-icon i {
    transform: rotate(-45deg);
}

.feature-card:hover .feature-icon {
    transform: rotate(90deg);
}

.feature-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.feature-desc {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/hanupayout/assets/img/pattern.png');
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes patternMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
