* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
}

header {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.hero h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.order-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.form-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.form-left {
    flex: 1;
}

.form-right {
    width: 350px;
    position: sticky;
    top: 20px;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.checkbox-group label:hover {
    background: #e9ecef;
}

.tooltip-container {
    position: relative;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 5px;
    width: 350px;
    background-color: #2c3e50;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.tooltip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 20px;
    border: 6px solid transparent;
    border-bottom-color: #2c3e50;
}

.tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.radio-group .tooltip {
    width: 400px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

input[type="number"] {
    width: 100px;
    padding: 8px;
    margin: 0 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.slider-container {
    margin-bottom: 1rem;
}

.slider-container label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.slider-container #bot-count {
    color: #1e3c72;
    font-weight: bold;
    font-size: 1.2rem;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-group label {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.radio-group label:hover {
    background: #e9ecef;
}

.radio-group input[type="radio"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.price-info {
    color: #666;
    font-size: 0.9rem;
    margin-left: 10px;
}

.info-text {
    margin-top: 10px;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.content-amount {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f0f4ff;
    border-radius: 5px;
}

.content-amount label {
    flex: 1;
}

.content-amount input[type="number"] {
    width: 80px;
    margin: 0;
}

.summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.summary h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

#order-summary {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.total {
    font-size: 1.5rem;
    color: #1e3c72;
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    text-align: center;
}

.cta-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.about {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.about h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about h3 {
    color: #2a5298;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about p, .about li {
    margin-bottom: 0.8rem;
}

.about ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.warning-box {
    background: #fff3cd;
    border: 3px solid #ff6b6b;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h3 {
    color: #d63031;
    margin-top: 0;
    margin-bottom: 1rem;
}

.warning-box p {
    color: #333;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    color: white;
    padding: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    nav a {
        display: block;
        margin: 10px 0;
    }

    .form-container {
        flex-direction: column;
    }

    .form-right {
        width: 100%;
        position: static;
    }

    .tooltip {
        width: 280px;
        font-size: 0.8rem;
    }

    .radio-group .tooltip {
        width: 280px;
    }
}
