.vat-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #475569;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vat-calculator-container h1 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.feature-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin: 16px 0 10px;
}

.security-badge {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #bbf7d0;
    margin: 25px 0;
    font-size: 0.95rem;
}

.security-badge p {
    margin: 0;
    color: #166534;
}

.calculator-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 30px 0;
}

.tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s;
}

.tab.active {
    background: white;
    color: #1d4ed8;
    border-bottom: 3px solid #1d4ed8;
}

.tab-content {
    padding: 24px;
    display: none;
}

.tab-content.active {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

.amount-input, .rate-select, .custom-rate {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.amount-input:focus, .rate-select:focus, .custom-rate:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.rate-select {
    cursor: pointer;
}

.custom-rate {
    margin-top: 10px;
}

.calculate-btn {
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: background 0.2s;
}

.calculate-btn:hover {
    background: #1e40af;
}

.result-container {
    margin-top: 25px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.result-header {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.25rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.result-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 5px;
}

.result-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.copy-btn {
    background: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #cbd5e1;
}

.terminal {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.terminal > div:first-child {
    margin-bottom: 12px;
    font-weight: 500;
}

.command {
    background: #334155;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: monospace;
    margin: 8px 0;
}

.comment {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-left: 25px;
    margin-top: -5px;
}