/* ====== TAX RATES PAGE EXCLUSIVE CSS ====== */

/* ====== ADDITIONAL COLOR VARIABLES ====== */
:root {
    --warning: #d69e2e;
    --info: #4299e1;
}

/* ====== HERO SECTION (TAX-SPECIFIC) ====== */
.tax-hero {
    background: var(--gradient-light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.tax-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tax-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.tax-hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--dark-secondary);
}

.tax-hero-image {
    position: relative;
}

.tax-hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ====== TAX CATEGORY NAVIGATION (EXCLUSIVE) ====== */
.tax-category-nav {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 67px;
    z-index: 999;
}

.tax-category-nav .container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tax-category-nav a {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.tax-category-nav a:hover,
.tax-category-nav a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
}

/* ====== TAX OVERVIEW SECTION (EXCLUSIVE) ====== */
.tax-overview {
    background: var(--light);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.overview-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.overview-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--primary);
}

.tax-rate-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.tax-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ====== TAX DETAILS SECTION (EXCLUSIVE) ====== */
.tax-details {
    background: var(--light-bg);
}

.tax-category {
    margin-bottom: 5rem;
    scroll-margin-top: 150px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.tax-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.category-content h2 {
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ====== TAX TABLE STYLES (EXCLUSIVE) ====== */
.tax-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
}

.tax-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.tax-table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem;
}

.tax-table th:first-child {
    border-radius: var(--radius) 0 0 0;
}

.tax-table th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.tax-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-light);
}

.tax-table tr:nth-child(even) {
    background: rgba(0, 102, 204, 0.02);
}

.tax-table tr:hover {
    background: rgba(0, 102, 204, 0.05);
}

.tax-rate {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.tax-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-standard {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
}

.badge-reduced {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.badge-special {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
}

/* ====== TAX CALCULATOR SECTION (EXCLUSIVE) ====== */
.tax-calculator {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-top: 4rem;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calculator-input {
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.calculator-input select,
.calculator-input input {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.calculator-input select:focus,
.calculator-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.calculator-results {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.result-item.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    border-bottom: none;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-light);
}

/* ====== KEY INSIGHTS SECTION (EXCLUSIVE) ====== */
.key-insights {
    background: var(--light);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 160, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

/* ====== RESPONSIVE DESIGN (TAX RATES PAGE EXCLUSIVE) ====== */
@media (max-width: 1024px) {
    .tax-hero .container {
        gap: 2rem;
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insights-grid,
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .tax-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tax-category-nav .container {
        justify-content: flex-start;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .tax-category {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .tax-hero {
        padding: 4rem 0 3rem;
    }
    
    .tax-category {
        padding: 1.5rem;
    }
    
    .insight-card,
    .tax-calculator {
        padding: 1.5rem;
    }
}

/* ====== TAX RATES PAGE HEADINGS ====== */
h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.text-center {
    text-align: center;
}