* {
    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, #0f3d0f 0%, #1a5c1a 50%, #0f3d0f 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

.light {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: 0 0 20px currentColor;
    animation: blink 1.5s infinite;
}

.light.red {
    background: #ff0000;
    color: #ff0000;
    animation-delay: 0s;
}

.light.blue {
    background: #0080ff;
    color: #0080ff;
    animation-delay: 0.3s;
}

.light.green {
    background: #00ff00;
    color: #00ff00;
    animation-delay: 0.6s;
}

.light.yellow {
    background: #ffff00;
    color: #ffff00;
    animation-delay: 0.9s;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-form {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 300px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 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);
    animation: pulse 2s infinite;
    line-height: 1.2;
    color: #ff4444;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.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: #ff4444;
}

.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: #2d5016;
    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, #ff4444 0%, #cc0000 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,68,68,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(255,68,68,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, #1a5c1a 0%, #0f3d0f 100%);
}

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.product-image img:hover {
    transform: scale(1.05);
}

.why-us {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d5016;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2d5016;
}

.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: #2d5016;
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.footer {
    background: #0a2a0a;
    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;
    }
    
    .feature-item h3 {
        font-size: 1.5rem;
    }
}

@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;
    }
    
}

