/* Navigation Bar Styles */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin-bottom: 25px;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3182ce;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #3182ce;
}

/* Mobile responsive navigation */
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #1a202c;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.header p {
    color: #4a5568;
}

/* Calculator Wrapper Layout */
.calculator-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Input Section */
.input-section {
    flex: 1 1 400px;
    padding: 30px;
    border-right: 1px solid #edf2f7;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #3182ce;
}

.calc-btn {
    width: 100%;
    background-color: #3182ce;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calc-btn:hover {
    background-color: #2b6cb0;
}

/* Result Section */
.result-section {
    flex: 1 1 300px;
    background-color: #f8fafc;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #2d3748;
}

.result-card {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-card p {
    font-size: 0.95rem;
    color: #4a5568;
}

.result-card h4 {
    font-size: 1.1rem;
    color: #1a202c;
}

.result-card h4.highlight {
    color: #38a169; /* Green for returns */
}

.result-card.total {
    background-color: #ebf8ff;
    border-color: #bee3f8;
}

.result-card.total h4 {
    color: #3182ce;
    font-size: 1.3rem;
}

/* Ad Spaces */
.ad-space {
    background-color: #e2e8f0;
    color: #718096;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px dashed #a0aec0;
}

/* SEO Content */
.seo-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.seo-content h2, .seo-content h3 {
    margin-bottom: 15px;
    color: #2d3748;
}

.seo-content p {
    margin-bottom: 15px;
    color: #4a5568;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .input-section {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }
    
    .result-card {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}