* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.content {
    padding: 50px 40px;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.discount {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.image-container {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantages {
    margin-bottom: 40px;
}

.advantages h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.advantages ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.advantages li {
    font-size: 1.2rem;
    color: #2c3e50;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    position: relative;
    padding-left: 50px;
}

.advantages li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    color: #667eea;
    font-weight: 700;
    font-size: 1.3rem;
}

.form-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

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

.input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.input-group input:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading span {
    opacity: 0;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.submit-btn.loading .loading-spinner {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.error-message {
    background: rgba(255, 87, 87, 0.1);
    border: 2px solid rgba(255, 87, 87, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.error-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.error-text {
    color: #d63031;
    font-size: 1rem;
    line-height: 1.4;
}

.error-text small {
    display: block;
    margin-top: 5px;
    color: #636e72;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .content {
        padding: 30px 20px;
    }

    .title {
        font-size: 1.8rem;
    }

    .discount {
        font-size: 1.5rem;
        padding: 12px;
    }

    .price {
        font-size: 2rem;
    }

    .advantages h2 {
        font-size: 1.5rem;
    }

    .advantages li {
        font-size: 1rem;
        padding: 12px 15px 12px 45px;
    }

    .advantages li::before {
        left: 15px;
        font-size: 1.1rem;
    }

    .form-section {
        padding: 20px;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .input-group input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 15px;
        font-size: 1rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .content {
        padding: 20px 15px;
    }

    .title {
        font-size: 1.5rem;
    }

    .discount {
        font-size: 1.3rem;
        padding: 10px;
    }

    .price {
        font-size: 1.8rem;
    }

    .advantages h2 {
        font-size: 1.3rem;
    }

    .advantages li {
        font-size: 0.95rem;
        padding: 10px 12px 10px 40px;
        margin-bottom: 10px;
    }

    .advantages li::before {
        left: 12px;
        font-size: 1rem;
    }

    .form-section {
        padding: 15px;
    }

    .form-title {
        font-size: 1.1rem;
    }

    .input-group input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    .checkbox-label {
        font-size: 0.8rem;
    }
}

.success-page {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.success-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-text {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.next-steps {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.next-steps h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.steps-list {
    text-align: left;
}

.steps-list p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.steps-list p strong {
    color: #2c3e50;
}

@media (max-width: 768px) {
    .success-page {
        padding: 40px 20px;
    }

    .success-icon {
        font-size: 4rem;
    }

    .success-title {
        font-size: 2.2rem;
    }

    .success-text {
        font-size: 1.1rem;
    }

    .next-steps {
        padding: 20px;
    }

    .next-steps h3 {
        font-size: 1.5rem;
    }

    .steps-list p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .success-page {
        padding: 30px 15px;
    }

    .success-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .success-title {
        font-size: 1.8rem;
    }

    .success-text {
        font-size: 1rem;
    }

    .next-steps {
        padding: 15px;
    }

    .next-steps h3 {
        font-size: 1.3rem;
    }

    .steps-list p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
}
