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

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

.subtitle {
    font-size: 1.25rem;
    color: #718096;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

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

.feature-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s;
}

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

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

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

.calculator-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 32px;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.required {
    color: #e53e3e;
}

.price-input, .discount-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.2s;
}

.price-input:focus, .discount-input:focus {
    outline: none;
    border-color: #4299e1;
}

.calculate-btn {
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 1.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: #3182ce;
}

.result-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid #e2e8f0;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #4a5568;
}

.result-value {
    font-weight: 700;
    color: #1a202c;
}

.final-price {
    color: #2b6cb0;
    font-size: 1.25rem;
}

.copy-btn {
    background: #e2e8f0;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    margin-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #4a5568;
    transition: background 0.2s;
}

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

.visual-breakdown {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
}

.chart-container {
    margin-top: 20px;
}

.chart-bar {
    height: 32px;
    border-radius: 8px;
    background: #e2e8f0;
    overflow: hidden;
    display: flex;
}

.chart-original {
    height: 100%;
    background: #cbd5e0;
}

.chart-discount {
    height: 100%;
    background: #4299e1;
    transition: width 0.3s ease;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #718096;
}

.formula-box {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #bbf7d0;
    margin: 24px 0;
}

.formula {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.formula span {
    display: block;
    margin: 8px 0;
    font-family: monospace;
}

.discount-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.discount-table th, .discount-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.discount-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #2d3748;
}

.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
}

.faq-item h3 {
    color: #2b6cb0;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}