/* Homepage Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero .robot-icon-large {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2));
    animation: robotFloat 4s ease-in-out infinite;
}

@keyframes robotFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-8px) rotate(-2deg);
    }
    50% { 
        transform: translateY(-4px) rotate(0deg);
    }
    75% { 
        transform: translateY(-8px) rotate(2deg);
    }
}

/* Calculators Grid */
.calculators-section {
    margin: 40px 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.calculator-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.calculator-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.calculator-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.calculator-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.calculator-card .features {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.calculator-card .features li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.calculator-card .features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 40px 0;
    text-align: center;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Features Grid */
.features-section {
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent-color), #f57c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #45a049);
    color: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-section .btn {
    background: var(--white);
    color: var(--secondary-color);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--background);
}

/* Responsive for Homepage */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero .robot-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .calculators-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .calculator-card {
        padding: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section,
    .cta-section {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .calculator-card h3 {
        font-size: 1.2rem;
    }
}
