/* Unique Homepage Design - Sample Image Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* Navigation Bar */
.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ff6b35;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff6b35;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff5f3 0%, #ffffff 100%);
    padding: 3rem 0 4rem 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.hero-cta:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Popular Tools Section */
.tools-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
}

/* Tool Cards Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.tool-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tool-icon-box {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.tool-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.tool-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-stats {
    display: flex;
    gap: 1.5rem;
}

.tool-stat {
    font-size: 0.85rem;
    color: #999;
}

.tool-stat strong {
    color: #333;
    font-weight: 600;
}

.tool-btn {
    background: #ff6b35;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tool-btn:hover {
    background: #e55a2b;
    transform: translateX(2px);
}

/* Different button colors for variety */
.tool-card:nth-child(2) .tool-btn {
    background: #4CAF50;
}

.tool-card:nth-child(2) .tool-btn:hover {
    background: #45a049;
}

.tool-card:nth-child(3) .tool-btn {
    background: #2196F3;
}

.tool-card:nth-child(3) .tool-btn:hover {
    background: #0b7dda;
}

.tool-card:nth-child(4) .tool-btn {
    background: #9C27B0;
}

.tool-card:nth-child(4) .tool-btn:hover {
    background: #7B1FA2;
}

/* Financial Calculators Section */
.calculators-section {
    padding: 4rem 0;
    background: white;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.calc-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s;
}

.calc-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.calc-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.calc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.calc-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.calc-stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calc-stat-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.calc-stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b35;
}

.calc-stat-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
}

.calc-btn {
    width: 100%;
    padding: 0.625rem;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.calc-btn:hover {
    background: #e55a2b;
}

/* Different colors for calc buttons */
.calc-card:nth-child(2) .calc-btn {
    background: #00BCD4;
}

.calc-card:nth-child(2) .calc-btn:hover {
    background: #00ACC1;
}

.calc-card:nth-child(3) .calc-btn {
    background: #8BC34A;
}

.calc-card:nth-child(3) .calc-btn:hover {
    background: #7CB342;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8f65 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 3rem 0 1.5rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .calculators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculators-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}