/**
 * Bankrate-Inspired Homepage Styles
 * Modern, clean design with beige/brown color scheme
 */

/* === HERO SECTION === */
.fslp-homepage-bankrate {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
}

.bankrate-hero {
    background: linear-gradient(180deg, #003057 0%, #001f3d 100%);
    padding: 4rem 0 3rem;
    color: #ffffff;
}

.hero-main {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.quick-action-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.qa-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.qa-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Secondary Actions */
.quick-actions-secondary {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-action-sm {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-action-sm:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.qa-sm-icon {
    font-size: 1.25rem;
}

/* === FEATURED RATES CARD === */
.featured-rates-section {
    padding: 4rem 0;
    background: #ffffff;
}

.rates-card-container {
    background: linear-gradient(135deg, #003057 0%, #001f3d 100%);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.rates-image {
    background: rgba(247, 229, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.rates-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 8rem;
    opacity: 0.3;
}

.rates-content {
    padding: 3rem;
    color: #ffffff;
}

.rates-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.rates-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
}

.rates-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.rates-cta:hover {
    color: #F7E5DA;
    border-color: #F7E5DA;
}

/* === STATS BANNER === */
.stats-banner {
    padding: 3rem 0;
    background: var(--primary-beige);
}

.stats-banner-content {
    text-align: center;
}

.stats-banner-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 2rem 0;
}

.stats-banner-numbers {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-banner-item {
    text-align: center;
}

.stat-banner-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-banner-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* === CD RATES SECTION === */
.cd-rates-section {
    padding: 4rem 0;
    background: #ffffff;
}

.cd-rates-card {
    background: linear-gradient(135deg, #003057 0%, #001f3d 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cd-rates-tabs {
    display: flex;
    gap: 1rem;
    padding: 2rem 2rem 0;
}

.cd-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cd-tab.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cd-rates-content {
    padding: 2rem;
    color: #ffffff;
}

.cd-rates-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.cd-rates-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
}

.rates-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.rate-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.rate-row:last-child {
    border-bottom: none;
}

.rate-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.term-length {
    font-weight: 600;
    color: #ffffff;
}

.rate-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rate-apy {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.rate-earned {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.rate-cta-btn {
    width: 40px;
    height: 40px;
    background: #832B00;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.rate-cta-btn:hover {
    background: #5a1e00;
    transform: scale(1.1);
}

.compare-all-btn {
    display: inline-block;
    background: #832B00;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.compare-all-btn:hover {
    background: #5a1e00;
    color: #ffffff;
}

.rates-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 1rem 0 0 0;
}

/* === EXPERTS SECTION === */
.experts-section {
    padding: 4rem 0;
    background: var(--primary-beige);
}

.experts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.experts-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.experts-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.experts-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-brown);
    padding-bottom: 2px;
}

.experts-profiles {
    display: flex;
    gap: 2rem;
}

.expert-avatar {
    text-align: center;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #832B00, #5a1e00);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 12px rgba(131, 43, 0, 0.2);
}

.expert-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.expert-role {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.featured-in {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.featured-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-text {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

/* === AWARDS BANNER === */
.awards-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, #003057 0%, #001f3d 100%);
    color: #ffffff;
}

.awards-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.awards-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.awards-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.awards-btn {
    display: inline-block;
    background: #832B00;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.awards-btn:hover {
    background: #5a1e00;
    color: #ffffff;
}

.awards-badge {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: #003057;
    line-height: 1.2;
    margin: 0;
}

/* === ARTICLES SECTION === */
.articles-section {
    padding: 4rem 0;
    background: #ffffff;
}

.articles-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 2rem 0;
}

.articles-highlight {
    color: var(--primary-brown);
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-featured {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-image-placeholder {
    background: var(--primary-beige);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.article-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-brown);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1rem 0 0.5rem 0;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-item {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.article-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-brown);
}

.article-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.article-read-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.review-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--primary-beige);
    border-radius: 12px;
}

.review-logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-logo-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-rating {
    color: #f59e0b;
    font-weight: 600;
}

.view-all-reviews {
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
}

/* === CALCULATORS SECTION === */
.calculators-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #003057 0%, #001f3d 100%);
}

.calculators-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calculator-image {
    position: relative;
}

.calculator-image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    height: 400px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.calculator-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: #832B00;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(131, 43, 0, 0.3);
}

.badge-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.badge-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.calculators-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2rem 0;
}

.calculator-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.calculator-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.calculator-tool:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.tool-icon {
    font-size: 1.5rem;
}

.tool-name {
    font-weight: 600;
}

/* === FINAL CTA === */
.cta-section-final {
    padding: 5rem 0;
    background: var(--primary-beige);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.cta-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 2rem 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .bankrate-hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rates-card-container,
    .experts-content,
    .awards-content,
    .articles-grid,
    .calculators-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-tools {
        grid-template-columns: 1fr;
    }
    
    .stats-banner-numbers {
        gap: 2rem;
    }
    
    .experts-profiles {
        flex-direction: column;
        gap: 1rem;
    }
}


