/* Info icon fix */
.neo-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6C63FF, #8d86ff);
    color: white;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 11px;
    font-weight: bold;
    cursor: help;
    position: relative;
    box-shadow: 3px 3px 6px #d1d5db, -3px -3px 6px #ffffff;
}

/* Calculator Container */
.neo-calculator-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

.calc-main-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #6C63FF, #8d86ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-main-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 50px 0 30px;
    color: var(--text-main);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Form Elements */
.neo-form-group {
    margin-bottom: 25px;
}

.neo-form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-main);
}

.neo-input,
.neo-input-small {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s ease;
}

.neo-input-small {
    margin: 8px 0;
    padding: 12px 16px;
    font-size: 14px;
}

.neo-input:focus,
.neo-input-small:focus {
    outline: none;
    background: #ffffff;
    border-color: #6C63FF;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

/* Tooltip */
.neo-tooltip {
    visibility: hidden;
    width: 280px;
    background: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 400;
}

.neo-info-icon:hover .neo-tooltip {
    visibility: visible;
    opacity: 1;
    bottom: 135%;
}

/* Toggles */
.neo-toggle-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.neo-toggle {
    appearance: none;
    width: 48px;
    height: 26px;
    background: #e2e8f0;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 12px;
}

.neo-toggle:checked {
    background: #6C63FF;
}

.neo-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.neo-toggle:checked::after {
    left: 25px;
}

.neo-toggle-label {
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
}

/* Buttons */
.neo-button-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.neo-freq-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.neo-freq-btn.active {
    background: #6C63FF;
    color: white;
}

.neo-calculate-btn {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(145deg, #6C63FF, #5650c7);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin: 30px 0;
    box-shadow: 0 10px 25px -5px rgba(108, 99, 255, 0.4);
    transition: transform 0.2s;
}

.neo-calculate-btn:hover {
    transform: translateY(-2px);
}

/* Results */
.neo-results {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    display: none;
}

.result-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
}

.neo-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.neo-result-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.neo-result-item span {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.neo-result-item strong {
    display: block;
    font-size: 22px;
    color: #6C63FF;
}

.neo-result-item.highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.neo-result-item.highlight strong {
    color: #2563eb;
}

/* Schedule & Tables */
.neo-schedule-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.neo-toggle-btn {
    width: 100%;
    padding: 15px;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.neo-schedule-container {
    margin-top: 20px;
    display: none;
}

.neo-table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.neo-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.neo-table th {
    background: #6C63FF;
    color: white;
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

.neo-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: var(--text-muted);
}

.neo-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Related Cards */
.neo-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.neo-calc-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s;
    display: block;
}

.neo-calc-card:hover {
    transform: translateY(-5px);
    border-color: #6C63FF;
}

.calc-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.neo-calc-card h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.neo-calc-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* SEO & FAQ */
.neo-seo-container,
.neo-faq-section {
    max-width: 900px;
    margin: 60px auto;
}

.neo-seo-content h2 {
    margin-bottom: 20px;
    color: var(--text-main);
}

.neo-seo-section h3 {
    margin: 25px 0 15px;
    color: var(--text-main);
    font-size: 1.3rem;
}

.neo-seo-section p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.neo-faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .calc-main-title {
        font-size: 1.8rem;
    }

    .neo-result-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 20px;
    }
}