/* ===================================
   VastoMundo - Homepage Styles
   =================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    color: #1e3a8a;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
    background: #f9fafb;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #111827;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-card i {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

.category-card:hover i {
    color: #10b981;
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.category-card p {
    color: #6b7280;
    font-size: 14px;
}

.quiz-category {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
}

.quiz-category i,
.quiz-category h3,
.quiz-category p {
    color: white;
}

.quiz-category:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-link:hover {
    color: #10b981;
    transform: translateX(5px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    background: #f3f4f6;
    padding: 20px;
    text-align: center;
    position: relative;
}

.product-image img {
    max-width: 180px;
    height: auto;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.product-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.rating-count {
    color: #6b7280;
    font-size: 14px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 8px 0;
    color: #4b5563;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features i {
    color: #10b981;
    font-size: 12px;
    flex-shrink: 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.fee-free {
    color: #10b981;
    font-weight: 600;
}

.fee-amount {
    color: #6b7280;
    font-size: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Calculator CTA */
.calculator-cta {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    padding: 60px 20px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.calculator-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #2563eb;
    font-weight: 600;
}

.btn-white:hover {
    background: #f3f4f6;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Banks Grid */
.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.bank-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.bank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bank-logo {
    max-width: 120px;
    height: auto;
}

.bank-type {
    background: #e5e7eb;
    color: #4b5563;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.bank-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.bank-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.feature-item i {
    color: #2563eb;
}

.btn-outline-primary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-block {
    width: 100%;
}

/* Blog Section */
.blog-section {
    background: #f9fafb;
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    background: #e5e7eb;
    color: #4b5563;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #111827;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: #2563eb;
}

.blog-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: #10b981;
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(180deg); }
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form-inline {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.newsletter-form-inline input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-form-inline button {
    background: #1e293b;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form-inline button:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.newsletter-content small {
    opacity: 0.8;
    font-size: 14px;
}

/* Content Ads */
.content-ad {
    padding: 40px 0;
    text-align: center;
}

.grid-ad {
    grid-column: 1 / -1;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-card i {
        font-size: 36px;
    }
    
    .products-grid,
    .banks-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cta-text h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .newsletter-form-inline {
        flex-direction: column;
    }
    
    .bank-features {
        gap: 15px;
    }
}