/* ================================================
   COGMAP - DUOLINGO-INSPIRED ASSESSMENT PLATFORM
   Mobile-First Responsive Design
   ================================================ */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #2ed573;
    --warning-color: #ffa502;
    --danger-color: #ff4757;
    --text-primary: #ffffff;
    --text-secondary: #8395a7;
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --success-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 70px; /* Account for fixed header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding-top: 60px; /* Fixed header space */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    padding-bottom: 80px;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    position: fixed;
    top: 60px; /* Below brand header */
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9998; /* Just below brand header */
}

.progress-fill {
    height: 100%;
    background: #e84f2d;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(232, 79, 45, 0.5);
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e84f2d 0%, #ff6b47 100%);
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bar.show {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 12px;
    text-align: center;
    position: relative;
}

.sticky-cta-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.sticky-cta-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sticky-cta-btn .btn-text {
    font-size: 15px;
    font-weight: 800;
}

.sticky-cta-btn .btn-desc {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
}

.sticky-cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticky-cta-btn.primary {
    background: rgba(255, 255, 255, 0.95);
    color: #e84f2d;
    border-color: white;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.sticky-cta-btn.primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #d63916;
}

.sticky-cta-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sticky-cta-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sticky-cta-content {
        gap: 10px;
    }
    
    .sticky-cta-text {
        font-size: 13px;
    }
    
    .sticky-cta-buttons {
        max-width: 250px;
    }
    
    .sticky-cta-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .sticky-cta-btn .btn-text {
        font-size: 14px;
    }
    
    .sticky-cta-btn .btn-desc {
        font-size: 10px;
    }
    
    .sticky-cta-btn.primary {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sticky-cta-bar {
        padding: 14px 15px;
    }
    
    .sticky-cta-text {
        font-size: 12px;
    }
    
    .sticky-cta-buttons {
        max-width: 220px;
    }
    
    .sticky-cta-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
    
    .sticky-cta-btn.primary {
        font-size: 13px;
    }
    
    .sticky-cta-close {
        top: 6px;
        right: 8px;
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1000;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #dc3545;
    transform: scale(1.1);
}

/* ===== CTA BUTTON DESCRIPTIONS ===== */
.cta-btn {
    position: relative;
    padding: 16px 24px !important;
    line-height: 1.2 !important;
}

.cta-btn small {
    font-weight: 400 !important;
    color: inherit !important;
}

/* ===== INSIGHT SECTION ===== */
.insight-section {
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #e84f2d;
}

.insight-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insight-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.insight-text.highlight {
    background: rgba(232, 79, 45, 0.1);
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid #e84f2d;
}

/* ===== APPOINTMENT SYSTEM ===== */
.appointment-form {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.time-slot {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #2f3542;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #e84f2d;
    background: rgba(232, 79, 45, 0.1);
    color: #e84f2d;
}

.time-slot.selected {
    background: #e84f2d;
    border-color: #e84f2d;
    color: white;
}

/* ===== FIXED FOOTER ===== */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid white;
    z-index: 1000;
    padding: 16px 20px;
    text-align: center;
}

/* ===== MAIN CONTAINERS ===== */
.welcome-card,
.question-card,
.user-info-card,
.result-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 20px 20px;
    margin: 12px auto;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    transform: translateY(0);
    transition: var(--transition);
    max-width: 480px;
}

.welcome-card:hover,
.question-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* ===== WELCOME SCREEN ===== */
.welcome-card {
    max-width: 480px;
    margin: 0 auto 20px auto;
}

.logo {
    font-size: 3rem;
    margin-bottom: 16px;
    background: #e84f2d;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.welcome-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 24px;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
    padding: 8px 0;
}

.feature-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 24px;
}

.feature-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== CREDIBILITY SECTION ===== */
.credibility-section {
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.credibility-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.credibility-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid #e84f2d;
    transition: all 0.3s ease;
}

.credibility-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.credibility-icon {
    font-size: 1.5rem;
    min-width: 32px;
    margin-top: 2px;
}

.credibility-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.evaluation-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-style: italic;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== STEP INFO BANNER ===== */
.step-info-banner {
    position: relative;
    margin: 0 16px 32px;
    padding: 0;
    margin-top: -180px !important;
    text-align: center;
    animation: fadeInScale 0.8s ease-out;
}

.step-info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step-info-icon {
    font-size: 3rem;
    animation: bounceIn 1s ease-out 0.3s both;
}

.step-info-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    text-align: center;
    max-width: 600px;
    animation: 
        slideInUp 0.6s ease-out 0.2s both,
        fadeInGlow 1.2s ease-out 0.8s both;
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        text-shadow: none;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1.02);
    }
    100% {
        opacity: 0.95;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
}

/* ===== DOMAIN BADGE ===== */
.domain-badge {
    display: inline-block;
    background: var(--success-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-badge.motor { background: #e84f2d; }
.domain-badge.visual { background: #00b4e5; }
.domain-badge.auditory { background: #51ad32; }
.domain-badge.attention { background: #f8af00; }
.domain-badge.social { background: #ce007f; }

/* ===== DOMAIN STEPS ===== */
.domain-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 24px;
    margin: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 900px;
    margin: 16px auto;
}

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-progress {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.domain-questions {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

.domain-question {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    margin-bottom: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.domain-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.question-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 16px;
}

.question-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.question-header-row .question-text {
    margin: 0;
    flex: 1;
}

.question-number {
    color: white !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Domain specific question number colors */
.domain-card.motor .question-number {
    background: #e84f2d !important;
    border-color: #d63916;
}

.domain-card.visual .question-number {
    background: #00b4e5 !important;
    border-color: #0099cc;
}

.domain-card.auditory .question-number {
    background: #51ad32 !important;
    border-color: #459928;
}

.domain-card.attention .question-number {
    background: #f8af00 !important;
    border-color: #e09900;
    color: #333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.domain-card.social .question-number {
    background: #ce007f !important;
    border-color: #b5006e;
}

.question-text {
    font-size: 1rem;
    font-weight: 500;
    color: white !important;
    margin: 12px 0;
    line-height: 1.5;
    min-height: auto;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mini-options {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    justify-content: center;
}

.mini-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
    color: white;
}

.mini-option:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mini-option.selected {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(88, 204, 2, 0.3);
}

.mini-option .option-emoji {
    font-size: 1rem;
    margin-right: 6px;
}

.domain-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 2px solid #e9ecef;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== QUESTIONS ===== */

.sub-skill-tag {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1rem;
    text-align: center;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #e84f2d;
    box-shadow: 0 0 0 3px rgba(232, 79, 45, 0.1);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #e84f2d;
    color: white;
    box-shadow: 0 4px 16px rgba(204, 39, 2, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 42, 2, 0.4);
}

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

/* ===== OPTION BUTTONS ===== */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.option-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #2f3542 !important;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.option-btn:hover {
    border-color: var(--success-color);
    background: rgba(232, 79, 45, 0.05);
    transform: translateY(-1px);
}

.option-btn.selected {
    border-color: var(--success-color);
    background: rgba(232, 79, 45, 0.1);
    color: var(--success-color);
}

.option-emoji {
    font-size: 1.5rem;
    margin-right: 12px;
    min-width: 32px;
}

/* Specific option button styles */
.yes-btn:hover { border-color: var(--success-color); background: rgba(232, 79, 45, 0.05); }
.sometimes-btn:hover { border-color: var(--warning-color); background: rgba(255, 165, 2, 0.05); }
.no-btn:hover { border-color: var(--danger-color); background: rgba(255, 71, 87, 0.05); }

.yes-btn.selected { border-color: var(--success-color); background: rgba(232, 79, 45, 0.1); }
.sometimes-btn.selected { border-color: var(--warning-color); background: rgba(255, 165, 2, 0.1); }
.no-btn.selected { border-color: var(--danger-color); background: rgba(255, 71, 87, 0.1); }

/* ===== CHART STYLES ===== */
.chart-container {
    background: #2f3542 !important;
    border-radius: var(--border-radius);
    padding: 24px;
    margin: 20px 0;
    box-shadow: var(--card-shadow);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

/* ===== LEAD GENERATION SECTION ===== */
.lead-generation-section {
    margin: 40px 0;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.cta-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.discount-card {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(232, 79, 45, 0.05) 0%, rgba(232, 79, 45, 0.1) 100%);
}

.consultation-card {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.1) 100%);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cta-card p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1rem;
}

.price-section {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--success-color);
}

.discount {
    background: var(--danger-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.consultation-note {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 16px 0;
}

/* Modern CTA Popup Styling - Demo Report ile aynı */
.cta-popup-content {
    background: linear-gradient(135deg, #f8af00 0%, #ffcf00 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 30px 80px rgba(248, 175, 0, 0.3) !important;
}

.cta-popup-header h3 {
    color: #2a2a2a;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-popup-header p {
    color: #2a2a2a;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: #2a2a2a;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.btn-cta.btn-secondary {
    background: white;
    color: #2a2a2a;
    border: 2px solid #2a2a2a;
}

.btn-cta.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta small {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.8;
    font-weight: 400;
    color: #2a2a2a;
}

.btn-secondary {
    background: #667eea;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid #e9ecef;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--success-color);
    color: var(--success-color);
    background: rgba(88, 204, 2, 0.05);
}

/* ===== CHARTS SECTION ===== */
.charts-section {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.chart-container canvas {
    position: static !important;
    display: block !important;
    box-sizing: border-box !important;
}

#main-chart {
    width: 100% !important;
    height: 280px !important;
    max-height: 280px !important;
}

#sub-skills-chart {
    width: 100% !important;
    height: 500px !important;
    max-height: 500px !important;
}

.chart-container h3 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.skills-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-summary-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.skill-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.skill-score {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.skill-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}

.skill-details {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-align: center;
}

/* ===== SUB-SKILLS DETAILED BARS ===== */
.sub-skills-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.domain-sub-skills {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-sub-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.domain-sub-score {
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.sub-skills-grid {
    display: grid;
    gap: 12px;
}

.sub-skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sub-skill-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
}

.sub-skill-bar-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.sub-skill-bar {
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease;
    position: relative;
}

.sub-skill-label {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== RESULT CARD ===== */
.result-summary {
    margin: 24px 0;
}

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

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

.result-domain {
    font-weight: 600;
    color: var(--text-primary);
}

.result-score {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== NEW SCORING COLORS ===== */
/* ===== DEMO REPORT SCORING COLORS ===== */
.score-excellent {
    background: #2ed573 !important;  /* Yeşil - Standart Düzeyde */
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.score-warning {
    background: #007bff !important;  /* Mavi - Standardın Altında */
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.score-critical {
    background: #ff8c00 !important;  /* Turuncu - Standardın Çok Altında */
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.score-emergency {
    background: #dc3545 !important;  /* Kırmızı - Acil Destek Gerekli */
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animations removed for cleaner experience */
.animate-pulse { animation: pulse 2s infinite; }

/* ===== RESPONSIVE DESIGN ===== */

/* Small phones (320px - 480px) */
@media (max-width: 480px) {
    body {
        padding-top: 45px; /* Reduced from 50px for better mobile UX */
    }
    
    .progress-bar {
        top: 45px; /* Match body padding */
    }
    
    .brand-header {
        height: 45px; /* Reduced from 50px */
    }
    
    .brand-logo {
        height: 28px;
    }
    
    .welcome-card,
    .domain-card,
    .user-info-card,
    .chart-container {
        margin: 8px !important; /* Force override desktop margin */
        padding: 16px;
        max-width: calc(100vw - 16px); /* Prevent overflow */
        box-sizing: border-box;
    }
    
    .credibility-section {
        margin: 16px 8px;
        padding: 16px;
    }
    
    .credibility-item {
        padding: 12px;
    }
    
    .credibility-text {
        font-size: 0.85rem;
    }
    
    .evaluation-info {
        margin: 16px 8px;
        font-size: 0.85rem;
    }
    
    .step-info-banner {
        margin: 0 8px 16px; /* Reduced from 32px to 16px */
    }
    
    .step-info-content {
        gap: 12px; /* Reduced gap */
    }
    
    .step-info-icon {
        font-size: 2rem;
    }
    
    .step-info-text {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 8px;
        line-height: 1.4;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .question-text {
        font-size: 0.9rem;
        margin: 8px 0;
        line-height: 1.3;
    }
    
    .option-btn {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .domain-question {
        padding: 12px;
        margin-bottom: 10px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .mini-options {
        gap: 3px;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin: 0 -2px; /* Slight negative margin for better fit */
    }
    
    .mini-option {
        padding: 6px 8px;
        min-width: 50px;
        font-size: 0.75rem;
        flex: 1;
        margin: 0 2px;
        max-width: none;
    }
    
    .mini-option .option-emoji {
        font-size: 0.8rem;
        margin-right: 3px;
    }
    
    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #main-chart {
        height: 220px !important;
        max-height: 220px !important;
    }
    
    #sub-skills-chart {
        height: 400px !important;
        max-height: 400px !important;
    }
    
    .chart-container {
        padding: 15px;
        margin: 15px 8px !important;
    }
    
    .chart-container h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .skill-summary-item {
        padding: 12px;
    }
    
    .skill-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }
    
    .skill-score {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .skill-details {
        font-size: 0.8rem;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .options-container {
        flex-direction: row;
        gap: 16px;
    }
    
    .option-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
    
    .welcome-card,
    .question-card,
    .user-info-card,
    .result-card {
        max-width: 600px;
        margin: 20px auto;
        padding: 40px;
    }
    
    .domain-card {
        max-width: 1000px;
    }
    
    .domain-questions {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    @media (min-width: 768px) {
        .domain-questions {
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
    }
    
    .lead-generation-section {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .charts-section {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .step-container {
        padding: 40px 20px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .welcome-card,
    .question-card,
    .user-info-card,
    .result-card {
        max-width: 700px;
        padding: 48px;
    }
    
    .options-container {
        gap: 20px;
    }
    
    .question-text {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 18px 36px;
        font-size: 1.1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.option-btn:focus,
.form-input:focus,
.form-select:focus {
    outline: 3px solid rgba(88, 204, 2, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --card-bg: white;
        --text-primary: black;
    }
    
    .btn-primary {
        background: #000;
        color: white;
    }
    
    .option-btn {
        border-color: #000;
    }
}

/* Force consistent dark theme for ALL devices */
html,
body {
    background: #1a1a1a !important;
    color: #ffffff !important;
    color-scheme: dark !important;
}

.app-container {
    background: #1a1a1a !important;
}

/* Override any light mode preferences */
@media (prefers-color-scheme: light) {
    html,
    body {
        background: #1a1a1a !important;
        color: #ffffff !important;
    }
    
    .app-container {
        background: #1a1a1a !important;
    }
    
    :root {
        --card-bg: rgba(255, 255, 255, 0.08) !important;
        --text-primary: #ffffff !important;
        --text-secondary: rgba(255, 255, 255, 0.7) !important;
        --card-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
    }
    
    .form-input,
    .form-select,
    .option-btn {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    
    .welcome-card,
    .question-card,
    .domain-card,
    .domain-question {
        background: rgba(255, 255, 255, 0.08) !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    .question-text,
    .welcome-title,
    .feature-text,
    .domain-progress {
        color: white !important;
    }
    
    .welcome-subtitle {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    .progress-section {
        background: rgba(26, 26, 26, 0.9) !important;
    }
}

/* Dark mode support (for future implementation) */
@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: rgba(30, 30, 30, 0.95);
        --text-primary: #ffffff;
        --card-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }
    
    .form-input,
    .form-select,
    .option-btn {
        background: #2a2a2a;
        border-color: #444;
        color: white;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ===== BRAIN VISUALIZATION SYSTEM ===== */
.brain-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    position: relative;
}

.domain-card .brain-container {
    margin: 16px 0 24px 0;
}

.brain-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.3));
    transition: all 0.6s ease;
}

.brain-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 30px rgba(59, 130, 246, 0.5));
}

.brain-full {
    width: 250px;
    height: 250px;
    animation: brainPulse 3s ease-in-out infinite;
}

.brain-domain {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brain-clean {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    width: 160px;
    height: 160px;
}

.brain-interactive {
    position: relative;
    cursor: pointer;
}

.brain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brain-interactive:hover .brain-overlay {
    opacity: 1;
}

.brain-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.3));
    }
    50% { 
        transform: scale(1.02);
        filter: drop-shadow(0 8px 30px rgba(59, 130, 246, 0.5));
    }
}

/* Mobile brain adjustments */
@media (max-width: 480px) {
    .brain-image {
        width: 150px;
        height: 150px;
    }
    
    .brain-full {
        width: 180px;
        height: 180px;
    }
    
    .brain-domain {
        width: 140px;
        height: 140px;
        padding: 10px;
    }
    
    .brain-label {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .brain-clean {
        width: 140px !important;
        height: 140px !important;
    }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2f3542 0%, #57606f 100%);
    color: white;
    text-align: center;
}

.loading-content {
    max-width: 500px;
    padding: 40px;
}

.loading-brain {
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.brain-loading-img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.loading-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.loading-progress {
    margin-bottom: 40px;
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, #e84f2d, #ff6b47);
    border-radius: 4px;
    animation: loadingProgress 4s ease-in-out;
}

.loading-text {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loading-step {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loading-step.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

@keyframes loadingProgress {
    0% { width: 0%; }
    25% { width: 25%; }
    50% { width: 50%; }
    75% { width: 75%; }
    100% { width: 100%; }
}

/* ===== REPORT DISCLAIMER ===== */
.report-disclaimer {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #e84f2d;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: left;
    box-shadow: 0 4px 15px rgba(232, 79, 45, 0.1);
}

.report-disclaimer p {
    margin: 12px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #2f3542;
    font-weight: 500;
}

.report-disclaimer strong {
    color: #e84f2d;
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== PERSONALIZED INSIGHTS ===== */
.personalized-insights {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.personalized-insights h3 {
    color: #2f3542;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
}

.skill-insight-card {
    background: white;
    border: 2px solid #f1f2f6;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill-insight-card:hover {
    border-color: rgba(232, 79, 45, 0.3);
    box-shadow: 0 6px 20px rgba(232, 79, 45, 0.1);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f2f6;
}

.skill-header h4 {
    color: #2f3542;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.skill-category {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-category.critical {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.skill-category.warning {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.skill-category.normal {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.2);
}

.skill-analysis {
    color: #555;
    line-height: 1.6;
}

.skill-analysis p {
    margin: 12px 0;
    font-size: 0.95rem;
}

.skill-analysis strong {
    color: #2f3542;
    font-weight: 600;
}

/* Mobile responsive for insights */
@media (max-width: 768px) {
    .skill-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .skill-category {
        align-self: flex-end;
    }
}

/* ===== ENHANCED CTA MODAL ===== */
.enhanced-cta {
    max-width: 700px !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
}

/* ===== MINIMAL CTA MODAL ===== */
.minimal-cta {
    max-width: 400px !important;
    padding: 30px !important;
    border-radius: 16px !important;
    background: white;
    text-align: center;
}

.minimal-cta .cta-header {
    background: none;
    color: #2f3542;
    padding: 0;
    margin-bottom: 25px;
}

.minimal-cta .cta-header h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2f3542;
}

.minimal-cta .cta-header p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-btn.btn-primary {
    background: #e84f2d;
    color: white;
}

.cta-btn.btn-primary:hover {
    background: #d63916;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 79, 45, 0.3);
}

.cta-btn.btn-secondary {
    background: white;
    color: #e84f2d;
    border: 2px solid #e84f2d;
}

.cta-btn.btn-secondary:hover {
    background: #e84f2d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 79, 45, 0.2);
}

.appointment-form h4 {
    color: #2f3542;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-header {
    background: linear-gradient(135deg, #e84f2d 0%, #ff6b47 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.cta-header h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.cta-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cta-card {
    padding: 30px 25px;
    text-align: center;
    border: none !important;
    margin: 0 !important;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.primary-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 1px solid #dee2e6 !important;
}

.secondary-cta {
    background: white;
}

.cta-card .cta-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #2f3542;
    font-weight: 700;
}

.cta-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.4;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.cta-features span {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 500;
}

.cta-button {
    margin-top: auto;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary.cta-button {
    background: linear-gradient(135deg, #e84f2d 0%, #ff6b47 100%);
    color: white;
}

.btn-primary.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 79, 45, 0.3);
}

.btn-secondary.cta-button {
    background: white;
    color: #e84f2d;
    border: 2px solid #e84f2d;
}

.btn-secondary.cta-button:hover {
    background: #e84f2d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 79, 45, 0.2);
}

.cta-footer {
    background: #2f3542;
    color: white;
    padding: 15px 30px;
    text-align: center;
}

.cta-footer p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Mobile responsive for CTA */
@media (max-width: 768px) {
    .enhanced-cta {
        max-width: 95% !important;
        margin: 20px auto;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
    }
    
    .primary-cta {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6 !important;
    }
    
    .cta-card {
        min-height: auto;
        padding: 25px 20px;
    }
    
    .cta-header h2 {
        font-size: 1.5rem;
    }
    
    .loading-title {
        font-size: 1.2rem;
    }
    
    .loading-steps {
        gap: 10px;
    }
    
    .loading-step {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* iPhone 13 Pro Max Safari Override - Beyaz arkaplan sorununu çözer */
@supports (-webkit-touch-callout: none) {
    .option-btn {
        background: #2f3542 !important;
        -webkit-appearance: none !important;
        -webkit-background-clip: padding-box !important;
    }
    
    .chart-container {
        background: #2f3542 !important;
        -webkit-appearance: none !important;
        -webkit-background-clip: padding-box !important;
    }
    
    .domain-sub-skills {
        background: rgba(255, 255, 255, 0.05) !important;
        -webkit-appearance: none !important;
        -webkit-background-clip: padding-box !important;
    }
    
    /* Safari'nin auto-fill davranışını engelle */
    .option-btn:-webkit-autofill,
    .chart-container:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 1000px #2f3542 inset !important;
        -webkit-text-fill-color: white !important;
    }
}

/* iPhone 13 Pro Max için ekstra güçlü override */
@media screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 428px) {
    .option-btn {
        background-color: #2f3542 !important;
        background-image: none !important;
        background: #2f3542 !important;
    }
    
    .chart-container {
        background-color: #2f3542 !important;
        background-image: none !important;
        background: #2f3542 !important;
    }
    
    .domain-sub-skills {
        background-color: rgba(255, 255, 255, 0.05) !important;
        background-image: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
}

/* ===== SKILL ANALYSIS INTEGRATED ===== */
.skill-analysis-integrated {
    margin: 15px 0 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    border-left: 4px solid #e84f2d;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.skill-analysis-integrated p {
    margin: 10px 0;
    color: #2f3542;
}

.skill-analysis-integrated strong {
    color: #e84f2d;
    font-weight: 600;
}

/* ===== BRAND HEADER ===== */
.brand-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.brand-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 480px) {
    .brand-header {
        height: 50px;
    }
    
    .brand-logo {
        height: 28px;
    }
}



/* ===== DATE PICKER NATIVE ===== */
.date-picker-native {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 14px 16px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.date-picker-native:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.date-picker-native::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>');
    background-size: 20px 20px;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 480px) {
    .date-picker-native {
        font-size: 16px; /* Maintain 16px to prevent zoom */
        padding: 12px 16px;
        border-radius: 6px;
    }
}

/* ================================================
   DEMO REPORT DESIGN STYLES
   Modern Chart & Grid Layout System
   ================================================ */

/* Hero Gauge Chart */
.hero-chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hero-chart-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.gauge-wrapper {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto 20px;
}

#gauge-chart {
    width: 200px !important;
    height: 100px !important;
}

.gauge-center {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.gauge-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.gauge-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -5px;
}

/* Skills Progress Chart */
.skills-chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-chart-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.skills-progress-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-progress-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.skill-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-brain-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.skill-icon-fallback {
    font-size: 1.5rem;
}

.skill-progress-content {
    flex: 1;
    min-width: 0;
}

.skill-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-percentage {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: right;
}

/* Sub-Skills Grid */
.sub-skills-container {
    margin: 40px 0;
}

.sub-skills-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.sub-skills-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

/* Responsive Grid: 5-4-3-2-1 columns */
@media (min-width: 1400px) {
    .sub-skills-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1399px) {
    .sub-skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .sub-skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .sub-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .sub-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Sub-Skill Cards */
.sub-skill-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sub-skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.sub-skill-title-bar {
    padding: 15px 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 1.2rem;
}

.sub-skill-score-bar {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
}

.sub-skill-score-bar.score-excellent {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border-radius: 0 !important;
}

.sub-skill-score-bar.score-good {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-radius: 0 !important;
}

.sub-skill-score-bar.score-warning {
    background: rgba(255, 159, 67, 0.2);
    color: #ff9f43;
    border-radius: 0 !important;
}

.sub-skill-score-bar.score-critical {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border-radius: 0 !important;
}

.sub-skill-score-bar.score-emergency {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-radius: 0 !important;
}

.personal-message {
    padding: 15px 20px;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-skill-insight {
    padding: 15px 20px;
    border-left: 4px solid;
    background: rgba(0, 0, 0, 0.1);
}

.sub-skill-insight p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Scoring Info */
.scoring-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-chart-container,
    .skills-chart-container {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .hero-chart-title,
    .skills-chart-title,
    .sub-skills-title {
        font-size: 1.2rem;
    }
    
    .gauge-wrapper {
        width: 160px;
        height: 80px;
    }
    
    #gauge-chart {
        width: 160px !important;
        height: 80px !important;
    }
    
    .gauge-score {
        font-size: 2rem;
    }
    
    .skill-progress-item {
        padding: 12px;
        gap: 12px;
    }
    
    .skill-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .skill-brain-image {
        width: 24px;
        height: 24px;
    }
    
    .sub-skill-title-bar {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .sub-skill-score-bar {
        padding: 10px 15px;
        font-size: 0.8rem;
        border-radius: 0 !important;
    }
    
    .personal-message {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .sub-skill-insight {
        padding: 12px 15px;
    }
    
    .sub-skill-insight p {
        font-size: 0.8rem;
    }
}
/* ===== CTA BUTTONS SECTION ===== */
.cta-section {
    margin: 50px auto;
    padding: 40px 30px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cta-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-primary {
    background: linear-gradient(135deg, #00b4e5 0%, #0090c0 100%);
}

.cta-secondary {
    background: linear-gradient(135deg, #e84f2d 0%, #ff6b47 100%);
}

.cta-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cta-text {
    position: relative;
    z-index: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cta-section {
        padding: 30px 20px;
        margin: 30px 10px;
    }
    
    .cta-buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 0.95rem;
    }
}
