/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)), 
                url('https://eco-kuka.ru/_next/image?url=%2Fimages%2Fbg-form.webp&w=2048&q=75');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(10px);
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.static-header {
    background: white;
    backdrop-filter: blur(10px);
    height: 30vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.logo i {
    font-size: 2rem;
}

/* Logo in static header */
.static-header .logo {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0;
}

.static-header .logo i {
    font-size: 2.5rem;
    color: #667eea;
}

.static-header .logo-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.static-header .logo-link:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.static-header .logo-link:hover .logo {
    color: #5a67d8;
}

.static-header .logo-link:hover .logo i {
    color: #5a67d8;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.subtitle {
    font-size: 1.2rem;
    color: #2d3748;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Main Content */
.main {
    padding: 3rem 0;
}

/* Section Styles */
section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

section h2 i {
    color: #667eea;
    font-size: 1.8rem;
}

/* Calculator Section */
.calculator-description {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 2rem;
}

.calculator-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.calculator-description p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.cta-button {
    margin-top: 1.5rem;
}

.calculate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.field-comment {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 400;
    font-style: italic;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.input-section h3,
.results-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Input Slider Container */
.input-slider-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.slider-value-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    min-width: 80px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.slider-value-display:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    transform: scale(1.02);
}

.slider-value-display:focus {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.slider-value-display[contenteditable="true"]:empty:before {
    content: attr(data-placeholder);
    color: #a0aec0;
    font-style: italic;
}

.slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 2px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.1);
    transition: all 0.2s ease;
    position: relative;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4), 0 0 0 4px rgba(102, 126, 234, 0.1);
    border-color: #5a67d8;
}

.slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5), 0 0 0 6px rgba(102, 126, 234, 0.15);
}

.slider::-webkit-slider-track {
    background: transparent;
    height: 4px;
    border-radius: 2px;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 2px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    border-color: #5a67d8;
}

.slider::-moz-range-thumb:active {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.slider::-moz-range-track {
    background: transparent;
    height: 4px;
    border-radius: 2px;
    border: none;
}

.number-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    background: white;
    transition: all 0.3s ease;
    text-align: center;
}

.number-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.number-input::-webkit-outer-spin-button,
.number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.result-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.result-card.current-revenue {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 1px solid #9ae6b4;
}

.result-card.lost-revenue {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 1px solid #feb2b2;
}

.result-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result-card.current-revenue h4 {
    color: #22543d;
}

.result-card.lost-revenue h4 {
    color: #742a2a;
}

.result-card h4 i {
    font-size: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item .label {
    font-weight: 500;
    color: #4a5568;
}

.result-item .value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3748;
}

.result-item .value.loss {
    color: #e53e3e;
}

.result-item .value.profit {
    color: #38a169;
}

/* Knowledge Base Section */
.knowledge-base-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e0;
}

/* AI Tools Section */
.ai-tools-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
}

.ai-tools-description {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 2.5rem;
}

.ai-tools-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.ai-tools-description p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.ai-tool-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tool-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.tool-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tool-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.tool-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.tool-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.tool-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.5;
}

.tool-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.tool-result {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.tool-result strong {
    color: #166534;
}

.ai-tools-summary {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.ai-tools-summary p {
    margin: 0;
    font-size: 1.1rem;
    color: #92400e;
    font-weight: 500;
}


.knowledge-base-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.main-question-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.main-question-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.main-question-block p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.knowledge-sources {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.source-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.source-category h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.source-category h4 i {
    color: #667eea;
    font-size: 1.4rem;
}

.source-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.source-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.source-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.source-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.source-content {
    flex: 1;
    line-height: 1.5;
}

.source-content strong {
    color: #2d3748;
    font-weight: 600;
}

.final-message-block {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 2px solid #81e6d9;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(49, 151, 149, 0.2);
}

.main-message h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #234e52;
    margin-bottom: 1rem;
    line-height: 1.3;
}


/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Volume Control */
.volume-control {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.volume-control h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-control h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-container {
    position: relative;
}

.volume-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 1rem;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
}

#current-volume {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
}

.volume-info {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.volume-text {
    font-size: 1.1rem;
    color: #4a5568;
}

/* Simplified Volume Control */
.volume-control {
    margin-top: 1.5rem;
}

.volume-slider-container {
    margin-bottom: 1rem;
}

.volume-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.volume-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.volume-unit {
    font-size: 1rem;
    color: #718096;
}

/* Sync Info Styles */
.sync-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 1px solid #81e6d9;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #234e52;
}

.sync-info i {
    color: #319795;
    font-size: 1rem;
}

.sync-calculation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #22543d;
}

.sync-calculation i {
    color: #38a169;
    font-size: 0.9rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Channel Selection */
.channel-selection {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #cbd5e0;
}

.channel-selection h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.channel-option {
    cursor: pointer;
}

.channel-option input[type="radio"] {
    display: none;
}

.channel-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.channel-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.channel-card.premium {
    border: 2px solid #f6ad55;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

.channel-card.premium:hover {
    border-color: #ed8936;
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.2);
}

.channel-option input[type="radio"]:checked + .channel-card {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.channel-option input[type="radio"]:checked + .channel-card .channel-icon {
    background: rgba(255, 255, 255, 0.2);
}

.channel-option input[type="radio"]:checked + .channel-card .channel-name,
.channel-option input[type="radio"]:checked + .channel-card .channel-desc {
    color: white !important;
}

.channel-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.channel-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.channel-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.channel-icon.both {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.channel-icon i {
    font-size: 2.5rem;
    color: white;
}

.channel-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.channel-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.channel-desc {
    font-size: 1rem;
    color: #718096;
}

.channel-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e53e3e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Package Selection */
.package-selection {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #cbd5e0;
}

.package-selection h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Package Categories */
.package-category {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #cbd5e0;
}

.package-category h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.package-category h4 i {
    font-size: 1.6rem;
}

/* Package Options */
.package-option {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.package-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.package-option.premium-package {
    border: 2px solid #f6ad55;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

.package-option.premium-package:hover {
    border-color: #ed8936;
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.2);
}

.package-label {
    display: block;
    cursor: pointer;
    padding: 0;
}

.package-label input[type="radio"] {
    display: none;
}

.package-label input[type="radio"]:checked + .package-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.package-label input[type="radio"]:checked + .package-header .package-icon {
    background: rgba(255, 255, 255, 0.2);
}

.package-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f7fafc;
    transition: all 0.3s ease;
}

.package-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.package-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.package-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.package-icon i {
    font-size: 1.8rem;
    color: white;
}

.package-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.package-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.package-desc {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.package-price {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.package-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38a169;
}


.package-services {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid #e2e8f0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    width: 20px;
    text-align: center;
    color: #667eea;
    font-size: 1.1rem;
}

.service-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Package Description Styles */
.package-description {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid #e2e8f0;
}

.package-description h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-description ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.package-description li {
    padding: 0.5rem 0;
    color: #4a5568;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.package-description li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.result-highlight {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 1px solid #81e6d9;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #234e52;
}

.result-highlight strong {
    color: #2d3748;
    font-weight: 600;
}

/* Free Service Styles */
.service-item.free-service {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 0.8rem;
    margin: 0.5rem 0;
    position: relative;
    border-bottom: none !important;
}

.service-item.free-service i {
    color: #38a169;
    font-size: 1.2rem;
}

.service-item.free-service span:first-of-type {
    color: #22543d;
    font-weight: 500;
}

.free-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(56, 161, 105, 0.3);
    animation: pulse 2s infinite;
}

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

/* Individual Services */
.individual-services {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.individual-services h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.service-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: #667eea;
}

.service-option input[type="checkbox"]:checked {
    transform: scale(1.1);
}

.service-option input[type="checkbox"]:checked + .service-icon + .service-info {
    color: #667eea;
}

.service-option input[type="checkbox"]:checked ~ * {
    color: #667eea;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-option:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3748;
}

.service-price {
    font-weight: 700;
    color: #38a169;
    font-size: 1.1rem;
}

.service-desc {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

.cost-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Selection Summary Styles */
.selection-summary {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.summary-header i {
    color: #667eea;
    font-size: 1rem;
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f3ff 100%);
    border-radius: 8px;
    border: 1px solid #cbd5e0;
}

.channel-info-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.channel-icon-display {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-icon-display.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.channel-icon-display.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.channel-icon-display.both {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.channel-icon-display i {
    color: white;
    font-size: 1.2rem;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.channel-name-display {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

/* Channel Dropdown Styles */
.channel-dropdown-container {
    position: relative;
    width: 100%;
}

.channel-dropdown {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.channel-dropdown:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.channel-dropdown:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #667eea;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.channel-dropdown:focus + .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.channel-dropdown option {
    padding: 0.5rem;
    background: #ffffff;
    color: #2d3748;
    font-weight: 500;
}

.channel-dropdown option:hover {
    background: #f8fafc;
}

.channel-dropdown option:checked {
    background: #667eea;
    color: #ffffff;
    font-weight: 600;
}

/* Package Dropdown Styles */
.package-dropdown-container {
    position: relative;
    width: 100%;
}

.package-dropdown {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.package-dropdown:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.package-dropdown:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.package-dropdown option {
    padding: 0.5rem;
    background: #ffffff;
    color: #2d3748;
    font-weight: 500;
}

.package-dropdown option:hover {
    background: #f8fafc;
}

.package-dropdown option:checked {
    background: #667eea;
    color: #ffffff;
    font-weight: 600;
}

.package-info-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-icon-display {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-icon-display i {
    color: white;
    font-size: 1.2rem;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.package-name-display {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}


/* Cost Breakdown Styles */
.cost-breakdown {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: transparent;
    border-radius: 10px;
    border: none;
}

.cost-breakdown h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cost-breakdown h4:before {
    content: "📋";
    font-size: 1.1rem;
}

.breakdown-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background: transparent;
}

.breakdown-item .service-name {
    font-weight: 500;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breakdown-item .service-name i {
    color: #667eea;
    font-size: 0.9rem;
}

.breakdown-item .service-price {
    font-weight: 600;
    color: #2d3748;
}

.breakdown-item .service-price.free {
    color: #38a169;
}

/* Default Message Styles */
.default-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f3ff 100%);
    border-radius: 10px;
    border: 1px solid #cbd5e0;
    color: #4a5568;
    font-style: italic;
    text-align: center;
    justify-content: center;
}

.default-message i {
    color: #667eea;
    font-size: 1.2rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item.main {
    background: transparent;
    margin: 0;
    padding: 1rem 0;
    border-radius: 10px;
    border: none;
    margin-bottom: 0;
}

.cost-item.main:last-child {
    margin-bottom: 0;
}

.cost-breakdown {
    background: transparent;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    border: none;
}

.breakdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    background: transparent;
    border: none;
}

.breakdown-item:not(:last-child) {
    border-bottom: none;
}

.total-cost {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-item .label {
    font-weight: 500;
    font-size: 1.1rem;
}

.total-item .value.total {
    font-weight: 700;
    font-size: 1.3rem;
}

.cost-item .label {
    font-weight: 500;
    color: #4a5568;
}

.cost-item .value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3748;
}

.cost-item .value.profit {
    color: #38a169;
}

/* Cost Calculation Module */
.cost-calculation {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #cbd5e0;
}

.cost-calculation h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Subscription Module */
.subscription-module {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #cbd5e0;
}

.subscription-module h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscription-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.subscription-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.subscription-info p {
    color: #718096;
    font-size: 1rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rate-info {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 400;
}

.subscription-price {
    text-align: right;
}

.subscription-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.subscription-price .period {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.subscription-breakdown {
    background: #f7fafc;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.subscription-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.feature-item i {
    color: #38a169;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Forecast Section */
.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.forecast-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.forecast-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.forecast-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.forecast-item:last-child {
    border-bottom: none;
}

.forecast-item .label {
    font-weight: 500;
    color: #4a5568;
}

.forecast-item .value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3748;
}

.forecast-item .value.profit {
    color: #38a169;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    color: #718096;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.footer-link:active {
    color: #5a67d8;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

.scroll-to-test-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
}

.scroll-to-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.scroll-to-test-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.scroll-to-test-btn i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .static-header {
        height: 25vh;
        min-height: 200px;
    }
    
    .static-header .logo {
        font-size: 1.5rem;
    }
    
    .static-header .logo i {
        font-size: 2rem;
    }
    
    section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .calculator-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .forecast-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .knowledge-sources {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ai-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-tool-card {
        padding: 1.5rem;
    }
    
    .tool-header h3 {
        font-size: 1.2rem;
    }
    
    .main-question-block h3 {
        font-size: 1.5rem;
    }
    
    .main-question-block p {
        font-size: 1.1rem;
    }
    
    .main-message h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .static-header {
        height: 20vh;
        min-height: 150px;
    }
    
    .static-header .logo {
        font-size: 1.3rem;
    }
    
    .static-header .logo i {
        font-size: 1.8rem;
    }
    
    section {
        padding: 1rem;
    }
    
    .service-option {
        padding: 1rem;
    }
    
    .service-info {
        gap: 0.5rem;
    }
    
    .main-question-block {
        padding: 1.5rem;
    }
    
    .main-question-block h3 {
        font-size: 1.3rem;
    }
    
    .main-question-block p {
        font-size: 1rem;
    }
    
    .source-category {
        padding: 1.5rem;
    }
    
    .source-category h4 {
        font-size: 1.1rem;
    }
    
    .source-item {
        padding: 0.8rem;
    }
    
    .final-message-block {
        padding: 1.5rem;
    }
    
    .main-message h3 {
        font-size: 1.3rem;
    }
    
}


/* Animation for value changes */
.value {
    transition: all 0.3s ease;
}

.value.updated {
    animation: pulse 0.6s ease-in-out;
}

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

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success message */
.success-message {
    background: #38a169;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

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

/* Test Section */
.test-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
}

.test-description {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 2.5rem;
}

.test-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.test-description h3 i {
    font-size: 1.6rem;
}

.test-description p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.test-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.test-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.test-form h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-form h4 i {
    color: #667eea;
    font-size: 1.2rem;
}

.test-form .form-group {
    margin-bottom: 1.5rem;
}

.test-form .form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.test-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.test-form .form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.test-form .form-group input::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.test-instruction {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.test-instruction h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.instruction-text {
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.instruction-text p {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.test-button-container {
    margin-bottom: 1.5rem;
}

.test-booking-btn {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    color: #718096;
    border: 2px solid #e2e8f0;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    justify-content: center;
}

.test-booking-btn.enabled {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.test-booking-btn.enabled:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.test-booking-btn.enabled:active {
    transform: translateY(-1px);
}

.test-booking-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.test-booking-btn i {
    font-size: 1.3rem;
}

.test-booking-btn span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Loading animation for spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

.test-info {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 1px solid #81e6d9;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
}

.test-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #234e52;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.test-info i {
    color: #319795;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}


/* Responsive design for test section */
@media (max-width: 768px) {
    .test-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .test-description h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .test-description p {
        font-size: 1.1rem;
    }
    
    .test-form,
    .test-instruction {
        padding: 1.5rem;
    }
    
    .scroll-to-test-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .test-booking-btn {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .test-description {
        padding: 2rem;
    }
    
    .test-description h3 {
        font-size: 1.3rem;
    }
    
    .test-description p {
        font-size: 1rem;
    }
    
    .test-form,
    .test-instruction {
        padding: 1rem;
    }
    
    .test-form h4,
    .test-instruction h4 {
        font-size: 1.2rem;
    }
    
    .test-booking-btn {
        min-width: 180px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .instruction-text {
        padding: 1rem;
    }
    
    .instruction-text p {
        font-size: 1rem;
    }
    
    .test-info {
        padding: 1rem;
    }
    
    .test-info p {
        font-size: 0.9rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

/* Privacy Policy */
.policy-section {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
}

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #2d3748;
}

.policy-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
}

.policy-content p {
    font-size: 1rem;
    color: #4a5568;
}

.policy-list {
    list-style: disc;
    padding-left: 1.25rem;
    color: #4a5568;
}

.policy-list li {
    margin-bottom: 0.5rem;
}


/* Выбранное состояние - фиолетовое выделение всей кнопки */
.radio-option:has(input[type="radio"]:checked) {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

.radio-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
}

/* Rating Slider Styles - Apple Style */
.rating-description {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.rating-slider-container {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.rating-slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-bottom: 1rem;
    position: relative;
}

.rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.rating-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #007AFF;
}

.rating-slider::-webkit-slider-thumb:active {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
    background: #007AFF;
    border-color: #007AFF;
}

.rating-slider::-webkit-slider-thumb:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.rating-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rating-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: #007AFF;
}

.rating-slider::-moz-range-thumb:active {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: #007AFF;
    border-color: #007AFF;
}

.rating-slider::-moz-range-track {
    background: rgba(0, 0, 0, 0.1);
    height: 4px;
    border-radius: 2px;
    border: none;
}

.rating-value-display {
    text-align: center;
    margin-top: 0.5rem;
}

.rating-value-display span {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    min-width: 40px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Comments Textarea - Apple Style */
.comments-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    min-height: 120px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comments-textarea:focus {
    outline: none;
    border-color: #007AFF;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.comments-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
}


/* Success Message */
.success-message {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    margin-top: 2rem;
}

.success-content i {
    font-size: 4rem;
    color: #38a169;
    margin-bottom: 1.5rem;
    display: block;
}

.success-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.success-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    margin-top: 2rem;
}

.back-to-main-btn {
    background: #34C759;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.back-to-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.back-to-main-btn:hover {
    background: #30B04A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: white;
}

.back-to-main-btn:hover::before {
    left: 100%;
}

.back-to-main-btn:active {
    transform: translateY(0);
    background: #2A9D42;
    box-shadow: 0 1px 3px rgba(52, 199, 89, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Special Offer Banner */
.special-offer-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: 2px solid #ff4757;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.special-offer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner-icon {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

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

.banner-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.banner-text p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* Responsive Design for Banner */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .banner-icon {
        font-size: 2.5rem;
    }
    
    .banner-text h3 {
        font-size: 1.4rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-text h3 {
        font-size: 1.2rem;
    }
    
    .banner-text p {
        font-size: 0.9rem;
    }
}

/* Forum Offer Section */
.forum-offer-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    margin: 2rem 0;
}

.forum-offer-content {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.forum-offer-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.forum-offer-content h2 i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.offer-description {
    margin-bottom: 2rem;
}

.offer-description p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #92400e;
    margin: 0;
}

.offer-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    text-align: left;
}

.offer-deadline {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    }
}

.offer-deadline p {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Forum Offer Section */
@media (max-width: 768px) {
    .forum-offer-content {
        padding: 2rem 1rem;
    }
    
    .forum-offer-content h2 {
        font-size: 1.8rem;
    }
    
    .offer-description p {
        font-size: 1.1rem;
    }
    
    .benefit-item {
        padding: 0.8rem 1.5rem;
        gap: 0.8rem;
    }
    
    .benefit-item i {
        font-size: 1.3rem;
    }
    
    .benefit-item span {
        font-size: 1rem;
    }
    
    .offer-deadline {
        padding: 1.2rem 1.5rem;
    }
    
    .offer-deadline p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .forum-offer-content h2 {
        font-size: 1.5rem;
    }
    
    .offer-description p {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 0.7rem 1rem;
        gap: 0.7rem;
    }
    
    .benefit-item span {
        font-size: 0.9rem;
    }
    
    .offer-deadline p {
        font-size: 1rem;
    }
}

