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

html {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

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

.hero-form {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 300px;
    background: linear-gradient(135deg, #0f3460 0%, #1a4d7c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 20px;
}

.form-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 15px;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 10px;
    padding-top: 30px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1.2;
    color: #fff;
}

.form-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-agreement {
    margin: 5px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #fff;
    position: relative;
    padding-left: 30px;
    text-align: left;
    line-height: 1.4;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.checkbox-container:hover .checkmark {
    background-color: #f0f0f0;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #e94560;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text {
    color: #fff;
    font-size: 0.85rem;
}

.privacy-text a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.privacy-text a:hover {
    opacity: 0.8;
}

.order-form input {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.order-form input:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.order-form button {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-form button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233,69,96,0.6);
}

.order-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.order-form button.loading span {
    opacity: 0;
}

.order-form button.loading .loading-spinner {
    display: block;
}

.loading-spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ip-block-warning,
.error-message {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
}

.ip-block-warning.show,
.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.warning-icon,
.error-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.warning-content,
.error-text {
    flex: 1;
}

.warning-main-text,
.error-text {
    color: #856404;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.warning-time,
.error-text small {
    display: block;
    margin-top: 10px;
    color: #856404;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.product-block {
    text-align: center;
    margin-bottom: 30px;
}

.product-block-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.product-block-list {
    list-style: none;
    font-size: 1.15rem;
    color: #e0e0e0;
    line-height: 2;
}

.product-block-list li::before {
    content: "✅";
    margin-right: 10px;
}

.product-image {
    text-align: center;
    margin-bottom: 24px;
}

.product-cta-text {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.product-cta-btn {
    display: block;
    margin: 0 auto;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
    transition: all 0.3s;
}

.product-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233,69,96,0.5);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 28px;
    color: #1a1a2e;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.modal-close:hover {
    color: #1a1a2e;
}

.quiz-step {
    display: none;
}

.quiz-step.is-active {
    display: block;
}

.quiz-question {
    font-size: 1.35rem;
    margin-bottom: 24px;
    color: #1a1a2e;
    font-weight: 600;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.quiz-option:hover {
    border-color: #e94560;
    background: rgba(233,69,96,0.06);
}

.quiz-form-step {
    display: none;
}

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

.modal-form-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.modal-form-subtitle {
    text-align: center;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.modal-order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-order-form input[type="text"],
.modal-order-form input[type="tel"] {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f5f5f5;
    color: #1a1a2e;
}

.modal-order-form input:focus {
    outline: none;
    border-color: #e94560;
}

.modal-privacy {
    margin: 4px 0;
}

.modal-checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    padding-left: 28px;
    line-height: 1.4;
}

.modal-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.modal-checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-checkbox-container input:checked ~ .modal-checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.modal-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-checkbox-container input:checked ~ .modal-checkmark:after {
    display: block;
}

.modal-privacy-text a {
    color: #2563eb;
    text-decoration: underline;
}

.modal-order-form button[type="submit"] {
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-order-form button[type="submit"]:hover:not(:disabled) {
    background: #1d4ed8;
}

.quiz-nav {
    margin-top: 20px;
    text-align: left;
}

.quiz-prev {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}

.quiz-prev:hover {
    background: #f5f5f5;
}

.product-image img,
.product-image video {
    max-width: 100%;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    object-fit: cover;
}

.product-image img:hover,
.product-image video:hover {
    transform: scale(1.05);
}

.why-us {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
}

.quiz-cta-section {
    padding: 70px 20px 90px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    text-align: center;
}

.quiz-cta-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #0f3460;
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.reviews-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
}

.reviews-title {
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

.review-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.review-heading {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 14px;
    color: #0f3460;
}

.review-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #2c2c3a;
    margin-bottom: 18px;
}

.review-author {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f3460;
}

.footer {
    background: #0f0f1a;
    padding: 60px 20px 20px;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero-form {
        padding: 15px 10px;
        min-height: auto;
    }
    
    .form-content {
        padding: 0 10px;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
        padding-top: 30px;
    }
    
    .form-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .privacy-text {
        font-size: 0.8rem;
    }
    
    .order-form {
        gap: 8px;
    }
    
    .order-form input {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
    
    .order-form button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quiz-cta-title {
        font-size: 1.6rem;
    }
    
    .feature-item h3 {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 24px 20px;
    }
    
    .review-heading {
        font-size: 1.2rem;
    }
    
    .review-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-form {
        padding: 12px 8px;
    }
    
    .form-content {
        padding: 0 5px;
    }
    
    .form-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
        padding-top: 30px;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .order-form {
        gap: 8px;
    }
    
    .order-form input {
        padding: 9px 14px;
        font-size: 0.9rem;
    }
    
    .order-form button {
        padding: 11px 20px;
        font-size: 0.9rem;
    }
    
    .checkbox-container {
        padding-left: 25px;
    }
    
    .checkmark {
        height: 18px;
        width: 18px;
    }
    
    .checkbox-container .checkmark:after {
        left: 6px;
        top: 2px;
        width: 4px;
        height: 9px;
    }
    
    .privacy-text {
        font-size: 0.75rem;
    }
    
    .quiz-cta-title {
        font-size: 1.35rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .review-image {
        height: 190px;
    }
    
}

