/* ===================================================================

    [INDEX PAGE MODERN STYLE]
    - Hero Section
    - How It Works Section
    - Features Section
    - Benefit Section
    - Final CTA Section

=================================================================== */

/* --- General --- */
body {
    background-color: #0B0B0F;
    color: #EAEAEA;
}

.main-container {
    width: 100%;
    word-break: keep-all;
}

.gradient-text {
    background: linear-gradient(90deg, #8E2DE2, #4A00E0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.4;
}

.fade-in {
    opacity: 0;
    transform: translate3d(0, 20px, 0); /* Use translate3d for hardware acceleration */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Slightly reduced duration */
    will-change: opacity, transform; /* Hint to the browser for optimization */
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    background: radial-gradient(circle at 50% 0%, rgba(30, 20, 80, 0.4), transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #A0A0A0;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #8E2DE2, #4A00E0);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.hero-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(142, 45, 226, 0.5);
    color: white;
    text-decoration: none;
}

.hero-image-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10rem;
    width: 100%;
    max-width: 1200px;
}

.hero-image-gallery .gallery-img {
    width: 30%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.hero-image-gallery .gallery-img:nth-child(1) {
    transform: rotate(-5deg) translateY(10px);
}

.hero-image-gallery .gallery-img:nth-child(2) {
    transform: scale(1.1) translateY(-20px);
    z-index: 1;
}

.hero-image-gallery .gallery-img:nth-child(3) {
    transform: rotate(5deg) translateY(10px);
}

.hero-image-gallery:hover .gallery-img {
    transform: rotate(0) scale(1) translateY(0);
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 6rem 2rem;
    background-color: #121217;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    max-width: 300px;
}

.step-number {
    width: 50px;
    height: 50px;
    border: 2px solid #4A00E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8E2DE2;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: #A0A0A0;
    line-height: 1.6;
}

.step-separator {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, #4A00E0, #8E2DE2);
    margin-top: 25px;
    opacity: 0.3;
}

/* --- Features Section --- */
.features-section {
    padding: 6rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #1A1A20;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

.feature-card .card-content {
    padding: 1.5rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #A0A0A0;
    line-height: 1.6;
}

/* --- Benefit Section --- */
.benefit-section {
    padding: 6rem 2rem;
    background-color: #121217;
}

.benefit-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
    background: #1A1A20;
    padding: 4rem;
    border-radius: 24px;
}

.benefit-text .section-title {
    text-align: left;
    font-size: 2.5rem;
}

.benefit-description {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefit-description .highlight {
    color: #F0B90B;
    font-weight: 700;
}

.benefit-sub-description {
    color: #A0A0A0;
}

.benefit-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.benefit-visual img {
    width: 100px;
    animation: float 3s ease-in-out infinite;
}

.benefit-visual .credit-text {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #F0B90B, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- Final CTA Section --- */
.final-cta-section {
    padding: 8rem 2rem;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(30, 20, 80, 0.4), transparent 70%);
}

.final-cta-button {
    padding: 1.2rem 3.5rem;
    background: linear-gradient(90deg, #8E2DE2, #4A00E0);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
}

.final-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(142, 45, 226, 0.6);
    color: white;
    text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .section-title { font-size: 2.4rem; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-image-gallery { flex-direction: column; align-items: center; gap: 2rem; }
    .hero-image-gallery .gallery-img {
        width: 80%;
        max-width: 400px;
        transform: none !important;
    }
    .steps-container { flex-direction: column; align-items: center; gap: 3rem; }
    .step-separator { display: none; }
    .benefit-content { flex-direction: column; gap: 3rem; padding: 3rem; }
    .benefit-text .section-title { text-align: center; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; margin-bottom: 3rem; }
    .hero-section { padding: 6rem 1.5rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .how-it-works-section, .features-section, .benefit-section, .final-cta-section { padding: 4rem 1.5rem; }
    .benefit-content { padding: 2rem; }
    .benefit-description { font-size: 1.3rem; }
}