@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

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

.header {
    text-align: center;
    padding: 40px 0;
    background: rgba(0,0,0,0.1);
    border-radius: 20px;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #e8eaf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.3em;
    color: #e8eaf6;
    margin-bottom: 20px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-section, .info-section {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #3949ab, #5c6bc0);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.product-image::before {
    content: "MINOXIDIL 5%";
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.price {
    font-size: 3em;
    font-weight: bold;
    color: #4fc3f7;
    text-align: center;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.benefits {
    list-style: none;
    margin: 20px 0;
}

.benefits li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    position: relative;
    padding-left: 30px;
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2em;
}

.testimonials {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 4px solid #4fc3f7;
}

.shipping-info {
    background: linear-gradient(45deg, #ff9800, #ffb74d);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    color: #fff;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.motivational-message {
    background: linear-gradient(45deg, #e91e63, #f06292);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.motivational-message h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.cta-button {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    padding: 20px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.6);
    background: linear-gradient(45deg, #66bb6a, #81c784);
}

.guarantee-box, .urgency-box, .social-proof {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.1);
}

.stock-bar {
    background: rgba(255,255,255,0.2);
    height: 10px;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.stock-fill {
    background: linear-gradient(45deg, #f44336, #ff5722);
    height: 100%;
    width: 23%;
    border-radius: 5px;
    animation: stockPulse 2s infinite;
}

@keyframes stockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.testimonial-carousel {
    position: relative;
    min-height: 100px;
}

.testimonial {
    display: none;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 4px solid #4fc3f7;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #4fc3f7;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.stars {
    font-size: 1.2em;
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    padding: 0;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #4fc3f7;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.8) translateY(-50px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.1);
}

.modal-header h2 {
    color: #4fc3f7;
    margin: 0;
}

.close {
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f44336;
    transform: scale(1.1);
}

#orderForm {
    padding: 30px;
}

.form-step {
    display: none;
    animation: stepSlideIn 0.3s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h3 {
    color: #4fc3f7;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #e8eaf6;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.5);
    transform: translateY(-2px);
}

.card-input {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
}

.next-btn, .prev-btn, .submit-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.next-btn, .submit-btn {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.prev-btn {
    background: linear-gradient(45deg, #757575, #9e9e9e);
    color: white;
}

.next-btn:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}

.prev-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(117, 117, 117, 0.6);
}

.payment-info {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.cash-info {
    text-align: center;
    color: #4fc3f7;
}

.order-summary {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.order-summary h4 {
    color: #4fc3f7;
    margin-bottom: 15px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.2em;
    color: #4fc3f7;
    border-top: 2px solid #4fc3f7;
}

.success-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 4em;
    color: #4caf50;
    margin: 20px 0;
    animation: bounce 1s infinite;
}

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

.motivational-final {
    background: linear-gradient(45deg, #e91e63, #f06292);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    font-style: italic;
}

.close-modal {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}

.error {
    color: #f44336;
    font-size: 0.9em;
    margin-top: 5px;
}

.success {
    color: #4caf50;
    font-size: 0.9em;
    margin-top: 5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .card-input {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .price {
        font-size: 2.5em;
    }
}
