:root {
    --bg: #f5f9f8;
    --surface: #ffffff;
    --border: rgba(78,179,154,0.15);
    --brand: #4eb39a;
    --brand-dark: #3a9b83;
    --text: #1a2e2b;
    --text-muted: #5f7a74;
    --text-light: #94aaa6;
}

.br-page {
    background: var(--bg);
    min-height: 100vh;
    padding: 2rem 1.5rem 4rem;
}

.br-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.br-hero {
    background: linear-gradient(145deg, #0e2d27 0%, #1a4a3d 60%, #0e3530 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.br-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(78,179,154,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.br-hero-content {
    position: relative;
    z-index: 1;
}

.br-hero-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: #6fd1b3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.br-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.br-hero h1 mark {
    background: none;
    color: #6fd1b3;
}

.br-hero-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    max-width: 700px;
}

.br-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.br-badge {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(111,209,179,0.3);
    background: rgba(78,179,154,0.1);
    color: #6fd1b3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Calculator Card */
.br-calc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.br-calc-header {
    background: #eaf4f1;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.br-calc-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.br-calc-body {
    padding: 1.5rem;
}

/* Form Elements */
.br-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.br-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.br-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.br-required {
    color: #dc2626;
    font-size: 0.75rem;
}

.br-input, .br-select {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--surface);
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.br-input:focus, .br-select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(78,179,154,0.1);
}

.br-input[type="number"] {
    font-family: 'DM Mono', monospace;
}

.br-help {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Collapsible Section */
.br-collapsible {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.br-coll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f5f9f8;
    cursor: pointer;
    transition: background 0.2s;
}

.br-coll-header:hover {
    background: #eaf4f1;
}

.br-coll-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.br-coll-chevron {
    color: var(--text-muted);
    transition: transform 0.2s;
    font-size: 0.9rem;
}

.br-collapsible.open .br-coll-chevron {
    transform: rotate(180deg);
}

.br-coll-body {
    display: none;
    padding: 1.25rem;
    background: var(--surface);
}

.br-collapsible.open .br-coll-body {
    display: block;
}

/* Results Card */
.br-results {
    background: linear-gradient(135deg, #0e2d27 0%, #1a4a3d 100%);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.br-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.br-result-item {
    text-align: center;
}

.br-result-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-family: 'DM Mono', monospace;
}

.br-result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #6fd1b3;
    line-height: 1;
    font-family: 'DM Mono', monospace;
}

.br-result-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

/* Breakdown Table */
.br-breakdown {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.br-breakdown-header {
    background: #eaf4f1;
    padding: 1rem 1.25rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.br-breakdown-table {
    width: 100%;
    border-collapse: collapse;
}

.br-breakdown-table th {
    text-align: left;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.br-breakdown-table td {
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text);
    border-bottom: 1px solid rgba(78,179,154,0.08);
}

.br-breakdown-table tr:last-child td {
    border-bottom: none;
}

.br-breakdown-table tr:hover {
    background: #f5f9f8;
}

.br-breakdown-table .br-price {
    font-family: 'DM Mono', monospace;
    font-weight: 600;
    color: var(--brand-dark);
    text-align: right;
}

/* SEO Content Sections */
.br-seo-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.br-seo-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.br-seo-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 1.5rem 0 0.75rem;
}

.br-seo-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.br-seo-section ul {
    list-style: none;
    padding: 0;
}

.br-seo-section li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.br-seo-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--brand);
}

/* FAQ Section */
.br-faq {
    margin-top: 2rem;
}

.br-faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.br-faq-item:last-child {
    border-bottom: none;
}

.br-faq-q {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.br-faq-q:hover {
    color: var(--brand-dark);
}

.br-faq-toggle {
    color: var(--brand);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.br-faq-item.open .br-faq-toggle {
    transform: rotate(45deg);
}

.br-faq-a {
    display: none;
    padding-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.br-faq-item.open .br-faq-a {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .br-page {
        padding: 1.5rem 1rem 3rem;
    }
    
    .br-hero {
        padding: 1.75rem 1.5rem;
    }
    
    .br-form-grid {
        grid-template-columns: 1fr;
    }
    
    .br-results-grid {
        grid-template-columns: 1fr;
    }
    
    .br-calc-body {
        padding: 1rem;
    }
    
    .br-seo-section {
        padding: 1.5rem;
    }
}
