/* Home Page Specific Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Apply Inter font to entire page - good Vietnamese support */
* {
    font-family: "Inter", sans-serif !important;
}

html {
    margin-top: 0 !important;
}

body, html {
    font-family: "Inter", sans-serif !important;
}

/* Background gradient cho toàn bộ trang */
body {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    background: white;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, #f0f0f0 1px, transparent 1px),
        linear-gradient(to bottom, #f0f0f0 1px, transparent 1px),
        radial-gradient(circle 600px at 0% 200px, #d5c5ff, transparent),     /* Left */
        radial-gradient(circle 600px at 100% 200px, #d5c5ff, transparent),  /* Right */
        radial-gradient(circle 600px at 50% 0px, #d5c5ff, transparent),     /* Top */
        radial-gradient(circle 600px at 50% 100%, #d5c5ff, transparent);     /* Bottom */
    background-size: 
        96px 64px,    
        96px 64px,    
        100% 100%,    
        100% 100%,
        100% 100%,
        100% 100%;
    z-index: 1;
}

.home-gradient-bg {
    min-height: 100vh;
    width: 100%;
    background-color: transparent;
    position: relative;
}

.home-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #555a6f;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #374151;
    padding: 0.75rem 2rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    font-family: "Inter", sans-serif;
}

.stat-label {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.author-score {
    color: #8b5cf6;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    margin: 2rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.footer-wrapper {
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-card i {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta {
        padding: 14px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 120px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .features-section,
    .cta-section {
        padding: 60px 0;
    }

    .features-section h2,
    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card i {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .btn-cta {
        padding: 18px 40px;
        font-size: 1rem;
    }

    .home-content {
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    table {
        font-size: var(--font-size-sm);
    }

    td, th {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 100px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .btn-primary,
    .btn-secondary {
        width: 90%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .features-section h2,
    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .home-content {
        padding: 0.75rem;
    }

    .features-section {
        padding: 2rem 0;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .testimonials-section {
        padding: 2rem 0;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-content {
        font-size: 1rem;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.125rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
