/* Marketing Automation Styles */

/* 1. Floating Assistant Widget */
.floating-assistant-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-assistant-trigger:hover {
    transform: scale(1.1);
}

.assistant-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.assistant-panel.active {
    display: flex;
    animation: slideUp 0.4s ease-out;
}

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

.assistant-header {
    background: var(--primary);
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assistant-body {
    padding: 20px;
    overflow-y: auto;
}

.assistant-msg {
    background: #f1f5f9;
    padding: 12px 15px;
    border-radius: 15px 15px 15px 0;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.assistant-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    background: white;
    border: 1px solid var(--border-soft);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    border-color: var(--primary);
    background: #f8fafc;
    color: var(--primary);
}

/* 2. Marketing Popup */
.marketing-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.marketing-popup.active {
    display: flex;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-image {
    height: 200px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/isvec-ehliyet-sistemi-2026.png');
    background-size: cover;
    background-position: center;
}

.popup-body {
    padding: 40px;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

/* 3. Quiz Styles */
.quiz-container {
    max-width: 800px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

.quiz-progress {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .quiz-options { grid-template-columns: 1fr; }
    .assistant-panel { width: calc(100% - 40px); right: 20px; left: 20px; bottom: 90px; }
}

/* 4. Elite Corporate & Salary Guide UI */
.corporate-article-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 40px;
    margin-bottom: 50px;
}

.corporate-article-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.data-table-clean {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 0.95rem;
}

.data-table-clean th {
    background: #f8fafc;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 18px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.data-table-clean td {
    padding: 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.data-table-clean tr:hover td {
    background: #fdfdfd;
}

.salary-tag-blue {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.elite-info-box {
    background: #f8fafc;
    border-left: 4px solid #1e293b;
    padding: 35px;
    border-radius: 0 16px 16px 0;
    margin: 50px 0;
}

.elite-cta-section {
    background: #1e293b;
    color: white;
    padding: 60px;
    border-radius: 24px;
    margin-top: 80px;
    margin-bottom: 120px; /* Fixed spacing issue */
    text-align: center;
}

.btn-elite {
    background: #3b82f6;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-elite:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .corporate-article-header h1 { font-size: 2rem; }
    .elite-cta-section { padding: 40px 20px; }
}
