/* Home Page Styles */

/* The base template wraps header content in `.intro-text`, which is styled
   as a white panel for calculators. On the home page we want a hero instead. */
.home-page .intro-text {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    padding-right: 0;
}

.home-page .header-row {
    margin-bottom: 28px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 24px;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* Calculators Showcase */
.calculators-showcase {
    margin-top: 48px;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.calculator-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.calculator-card.featured {
    border: 2px solid #667eea;
}

.calculator-card.coming-soon {
    opacity: 0.7;
    border: 2px dashed #cbd5e0;
}

.calculator-card:hover:not(.coming-soon) {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
}

.calculator-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.calculator-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.calculator-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.calculator-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.calculator-features li {
    font-size: 0.95rem;
    color: #64748b;
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.calculator-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
    font-size: 1.1rem;
}

.calculator-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.calculator-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.calculator-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.coming-soon-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    font-size: 0.95rem;
    border: 2px dashed #cbd5e0;
}

/* Why WealthGrok Section */
.why-wealthgrok {
    margin-top: 80px;
    margin-bottom: 64px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Get Started Section */
.get-started {
    margin-top: 80px;
    margin-bottom: 64px;
    text-align: center;
}

.get-started-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 24px auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.primary-cta {
    background: white;
    color: #667eea;
}

.primary-cta:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.secondary-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid white;
}

.secondary-cta:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tertiary-cta {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.tertiary-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 1.8rem;
    }
    
    .hero-subheading {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .calculator-cards {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .calculator-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
