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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    margin-bottom: 40px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-link {
    color: #D4B5A0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #F5E6D3;
}

.logo {
    flex: 1;
    text-align: center;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #F5E6D3;
    border: 3px solid #8B4513;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9CAF88 0%, #B8D4A3 100%);
    width: 14.28%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active {
    background: #9CAF88;
    color: white;
    transform: scale(1.1);
}

.step.completed {
    background: #B8D4A3;
    color: white;
}

/* Form Container */
.form-container {
    background: linear-gradient(135deg, #9CAF88 0%, #B8D4A3 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.9) 0%, rgba(184, 212, 163, 0.9) 100%);
    border-radius: 20px;
    z-index: 1;
}

.form-step {
    display: none;
    position: relative;
    z-index: 2;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.step-title {
    text-align: center;
    color: #D4B5A0;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Form Grid */
.form-grid {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    position: relative;
}

/* Form Elements */
input, select, textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(212, 181, 160, 0.9);
    color: #8B4513;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #8B4513;
    opacity: 0.8;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background: rgba(245, 230, 211, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%238B4513' viewBox='0 0 16 16'%3e%3cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 100px;
    border-radius: 15px;
}

/* Radio and Checkbox Groups */
.radio-group, .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-label, .checkbox-label {
    background: rgba(212, 181, 160, 0.9);
    padding: 15px 25px;
    border-radius: 25px;
    color: #8B4513;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

input[type="radio"], input[type="checkbox"] {
    display: none;
}

input[type="radio"]:checked + .radio-label,
input[type="checkbox"]:checked + .checkbox-label {
    background: rgba(245, 230, 211, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-next, .btn-pay {
    background: linear-gradient(135deg, #F5E6D3 0%, #E8D5C4 100%);
    color: #8B4513;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-next:hover, .btn-pay:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #E8D5C4 0%, #D4B5A0 100%);
}

.btn-next:active, .btn-pay:active {
    transform: translateY(-1px);
}

/* Required Note */
.required-note {
    text-align: center;
    color: #D4B5A0;
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.8;
}

/* Summary Boxes */
.summary-box {
    background: rgba(245, 230, 211, 0.9);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.summary-box h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Product Options */
.product-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(212, 181, 160, 0.5);
    padding: 15px;
    border-radius: 15px;
    min-width: 150px;
}

.product-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.product-option select {
    width: 120px;
    padding: 8px 12px;
    font-size: 14px;
}

/* Payment Sections */
.total-box {
    background: rgba(245, 230, 211, 0.9);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.total-amount {
    font-size: 32px;
    font-weight: 700;
    color: #8B4513;
    margin-top: 10px;
}

.payment-box {
    background: rgba(245, 230, 211, 0.9);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-note {
    text-align: center;
    font-size: 14px;
    color: #8B4513;
    opacity: 0.8;
    margin-top: 10px;
}

.carlo-payment {
    background: rgba(245, 230, 211, 0.9);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.qr-img {
    width: 120px;
    height: 120px;
    background: #333;
    border-radius: 10px;
}

.carlo-logo {
    font-size: 24px;
    font-weight: 700;
    color: #8B4513;
}

.carlo-note {
    font-size: 14px;
    color: #8B4513;
    opacity: 0.8;
    margin-top: 15px;
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn {
    background: linear-gradient(135deg, #9CAF88 0%, #B8D4A3 100%);
}

.email-btn {
    background: linear-gradient(135deg, #D4B5A0 0%, #E8D5C4 100%);
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .card-details {
        grid-template-columns: 1fr;
    }
    
    .product-options {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons {
        right: 15px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
        border-radius: 15px;
    }
    
    .step-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    input, select, textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .radio-label, .checkbox-label {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-next, .btn-pay {
        padding: 12px 30px;
        font-size: 16px;
    }
}

