/* Homepage Specific Styles */

/* Override app-container for homepage to match other pages */
.app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px; /* Add top margin to account for fixed navbar */
}

.home-main-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}


.home-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 16px 16px 0 0;
}

.home-main-card section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-top: 70px;
    border-radius: 12px;
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.hero-description {
    font-size: 1.1em;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.info-section {
    background: transparent;
    padding: 80px 20px;
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.info-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-description {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.step-item {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.step-text h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-text p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-container {
        padding: 10px;
        margin-top: 0; /* Let page-specific cards handle top spacing to avoid double offset */
        max-width: 100%;
    }
    
    .home-main-card {
        padding: 20px;
        border-radius: 12px;
        max-width: 100%;
        width: 100%;
        margin: 150px 10px;
    }
    
    .hero-section {
        padding: 40px 15px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2.8em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .info-section {
        padding: 40px 15px;
    }
    
    .info-title {
        font-size: 2.2rem;
    }
    
    .info-description {
        font-size: 1.1rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-item {
        padding: 20px;
    }
    
    .step-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .step-text h3 {
        font-size: 1.2rem;
    }
    
    .step-text p {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-main-card {
        padding: 15px;
        margin: 150px 10px;
        max-width:90%;
    }
    
    .hero-section {
        padding: 30px 10px;
    }
    
    .hero-title {
        font-size: 2.4em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .info-section {
        padding: 30px 10px;
    }
    
    .info-title {
        font-size: 1.8rem;
    }
    
    .info-description {
        font-size: 1rem;
    }
    
    .step-item {
        padding: 15px;
    }
    
    .step-icon {
        font-size: 2rem;
    }
    
    .step-text h3 {
        font-size: 1.1rem;
    }
    
    .step-text p {
        font-size: 0.85rem;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .feature-card .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}
