/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0b3b5e 0%, #1a6d8f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

h1 {
    font-size: 28px;
    font-weight: 600;
    color: #0b5e7e;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.subtitle {
    color: #5c7c8a;
    font-size: 14px;
    margin-bottom: 28px;
    border-bottom: 2px solid #e2f0f5;
    padding-bottom: 16px;
}

.steps {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    background: #f0f7fa;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #5c7c8a;
    transition: all 0.2s;
}

.step.active {
    background: #1a8fbf;
    color: white;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2f0f5;
    border-radius: 16px;
    font-size: 15px;
    font-family: 'Google Sans', sans-serif;
    transition: all 0.2s;
    outline: none;
}

input:focus {
    border-color: #1a8fbf;
    box-shadow: 0 0 0 3px rgba(26, 143, 191, 0.1);
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Google Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.btn-next, .btn-pay {
    background: #1a8fbf;
    color: white;
}

.btn-next:hover, .btn-pay:hover {
    background: #0b6b8f;
    transform: translateY(-1px);
}

.btn-back {
    background: #eef2f4;
    color: #4a6a78;
}

.btn-back:hover {
    background: #e2e8eb;
}

.tariff-info {
    background: #e8f4f9;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.tariff-name {
    font-size: 20px;
    font-weight: 600;
    color: #0b5e7e;
    margin-bottom: 12px;
}

.tariff-price {
    font-size: 32px;
    font-weight: 700;
    color: #1a8fbf;
}

.tariff-oldprice {
    text-decoration: line-through;
    color: #8aaebf;
    font-size: 16px;
    margin-left: 12px;
}

.tariff-discount {
    background: #ff6b4a;
    color: white;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 12px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #1a8fbf;
    font-weight: 500;
}

.error {
    background: #ffe6e6;
    color: #d32f2f;
    padding: 14px;
    border-radius: 16px;
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.hidden {
    display: none;
}