/* PayPlugHub - styles for the home page (was inline in home.blade.php). */

.modern-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-btn {
    background: #fff;
    color: #667eea;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #764ba2;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.floating-card-3 {
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


.modern-section {
    padding: 100px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modern-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.modern-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.8;
}


.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 32px;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
}


.modern-service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.modern-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modern-service-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translateX(5px);
}

.modern-service-item i {
    color: #667eea;
    font-size: 18px;
}

.modern-service-item span {
    font-weight: 600;
    color: #1a1a2e;
}


.stats-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 8px;
}


.integration-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.integration-card:hover {
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.integration-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.integration-icon i {
    font-size: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.integration-card h4 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.integration-card p {
    color: #6b7280;
    font-size: 0.9rem;
}


.methods-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
}

.method-badge {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.method-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


.plugin-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.plugin-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.plugin-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
}

.plugin-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plugin-card h4 {
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}


.modern-faq {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.faq-question {
    padding: 24px 30px;
    font-weight: 700;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
}

.faq-question:hover {
    color: #667eea;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-question:not(.collapsed)::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px 24px;
    color: #6b7280;
    line-height: 1.8;
}


.modern-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.modern-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse-bg 15s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-btn {
    background: #fff;
    color: #667eea;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #764ba2;
}


.about-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.about-card p {
    color: #6b7280;
    line-height: 1.9;
    margin-bottom: 16px;
}


@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-glass-card {
        padding: 30px;
    }
    .modern-title {
        font-size: 2rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .modern-service-list {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}


body.dark .feature-card,
body.dark .integration-card,
body.dark .plugin-card,
body.dark .faq-item,
body.dark .about-card {
    background: #1e1e2f;
    border-color: #2d2d44;
}

body.dark .modern-title,
body.dark .feature-card h3,
body.dark .integration-card h4,
body.dark .plugin-card h4,
body.dark .faq-question {
    color: #fff;
}

body.dark .modern-subtitle,
body.dark .feature-card p,
body.dark .integration-card p,
body.dark .about-card p,
body.dark .faq-answer {
    color: #a1a1aa;
}

body.dark .modern-service-item span {
    color: #fff;
}

body.dark .methods-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark .method-badge {
    background: #1e1e2f;
}
