/* ============================================
   INDEX PAGE - Homepage Specific Styles
   ============================================ */

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.lang-switcher a {
    padding: 6px 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.lang-switcher a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.lang-switcher a.active {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    color: white;
    margin-bottom: 30px;
}

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

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero .description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

/* For Who Cards */
.for-who-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.for-who-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.for-who-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 105, 92, 0.1), transparent);
    transition: left 0.5s;
}

.for-who-card:hover::before {
    left: 100%;
}

.for-who-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.for-who-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.for-who-card-text {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Problems List */
.problems-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.problems-list li {
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--text-primary);
}

.problems-list li:last-child {
    border-bottom: none;
}

.problems-list li::before {
    content: "* ";
    color: var(--warning-color);
    font-weight: bold;
    margin-right: 10px;
}

/* PDF Decorations */
.pdf-decoration {
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.pdf-decoration-1 {
    top: 50px;
    left: 50px;
    animation: float 6s ease-in-out infinite;
}

.pdf-decoration-2 {
    bottom: 50px;
    right: 50px;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.app-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 105, 92, 0.1), transparent);
    transition: left 0.5s;
}

.app-card:hover::before {
    left: 100%;
}

.app-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.app-card:hover::after {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.app-card--featured {
    background: var(--bg-gradient);
    color: white;
    border: none;
}

.app-card--featured::after {
    background: rgba(255, 255, 255, 0.3);
}

.app-card .status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.app-card .status.active {
    background: var(--success-color);
    color: white;
}

.app-card-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.app-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: inherit;
    text-align: center;
}

.app-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.app-card--featured h3,
.app-card--featured p {
    color: white;
}

.app-card-actions {
    text-align: center;
}

/* How Steps */
.how-steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.how-step {
    text-align: center;
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.how-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 105, 92, 0.1), transparent);
    transition: left 0.5s;
}

.how-step:hover::before {
    left: 100%;
}

.how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.how-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-sm);
}

.how-step-text {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Why List */
.why-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.why-list li {
    font-size: 18px;
    padding: 12px 0;
    color: var(--text-primary);
    line-height: 1.7;
}

.why-list li::before {
    content: "• ";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 24px;
    margin-right: 10px;
}

/* Pricing Plans */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-plan {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.pricing-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 105, 92, 0.1), transparent);
    transition: left 0.5s;
}

.pricing-plan:hover::before {
    left: 100%;
}

.pricing-plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.pricing-plan h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* Footer Disclaimer */
.footer-disclaimer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
    font-size: 13px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .subtitle {
        font-size: 20px;
    }
    
    .hero .description {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .for-who-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .how-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lang-switcher {
        top: 10px;
        right: 10px;
        padding: 6px;
    }
    
    .lang-switcher a {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .pdf-decoration {
        font-size: 80px;
    }
}
