:root {
    --bg: #f4f6f9;
    --card: #fff;
    --border: #dde3ec;
    --primary: #1a56db;
    --primary-dark: #1444b0;
    --text: #1f2937;
    --muted: #6b7280;
    --success: #059669;
    --warn: #d97706;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 300;
    padding: 0.6rem 1rem;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 0.75rem;
    outline: 2px solid #93c5fd;
}

header {
    background: linear-gradient(135deg, #1e3a8a, #1a56db);
    color: #fff;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
}

header h1 { margin: 0 0 0.25rem; font-size: 1.5rem; }
header p { margin: 0 0 1rem; opacity: 0.9; font-size: 0.95rem; }

.export-progress {
    max-width: 520px;
}

.export-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    overflow: hidden;
}

.export-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #86efac;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.export-progress-label {
    margin: 0.45rem 0 0;
    font-size: 0.85rem;
    opacity: 0.95;
}

.form-nav a.is-ready {
    background: #ecfdf5;
    color: #047857;
}

.form-nav a.is-ready .nav-status::after {
    content: "✓";
    margin-left: 0.35rem;
    font-weight: 700;
}

.form-nav a.is-incomplete .nav-status::after {
    content: "•";
    margin-left: 0.35rem;
    color: #b91c1c;
    font-weight: 700;
}

.export-status {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.export-status.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.export-status.is-ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.actions-hint {
    color: var(--muted);
    font-size: 0.85rem;
}

main:focus {
    outline: none;
}

.layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.form-nav {
    position: sticky;
    top: 52px;
    align-self: start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: var(--shadow);
    z-index: 50;
}

.form-nav a {
    display: block;
    padding: 0.55rem 0.75rem;
    min-height: 44px;
    line-height: 1.4;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-nav a:hover,
.form-nav a:active { background: #eff6ff; color: var(--primary); }

.form-nav a.is-ready:hover,
.form-nav a.is-ready:active {
    background: #d1fae5;
    color: #047857;
}

.form-nav a:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

main { min-width: 0; }

section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    scroll-margin-top: 120px;
}

section h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: #111827;
}

section .hint {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.grid-3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field.full { grid-column: 1 / -1; }

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

label .db-tag {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.75rem;
}

label .req,
.hint .req {
    color: #b91c1c;
    font-weight: 700;
}

label .optional {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.8rem;
}

input, select, textarea {
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid #93c5fd;
    border-color: var(--primary);
}

.field-invalid input,
.field-invalid select,
.field-invalid textarea {
    border-color: #ef4444;
    background: #fef2f2;
}

.field-invalid input:focus,
.field-invalid select:focus,
.field-invalid textarea:focus {
    outline: 2px solid #fca5a5;
    border-color: #dc2626;
}

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

textarea { min-height: 72px; resize: vertical; }

.checkbox-row, .radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.checkbox-row label, .radio-row label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    cursor: pointer;
}

.hint-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hint-box.info {
    background: #eff6ff;
    border-color: #93c5fd;
}

.hint-box.danger {
    background: #fef2f2;
    border-color: #fca5a5;
}

.hidden { display: none !important; }

th.nebim-col.hidden,
td.nebim-col.hidden { display: none; }

#fieldCatalogTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

#fieldCatalogTable th, #fieldCatalogTable td {
    border: 1px solid var(--border);
    padding: 0.45rem 0.5rem;
    text-align: left;
}

#fieldCatalogTable th { background: #f9fafb; }
#fieldCatalogTable input[type="number"] { width: 70px; }

.actions {
    position: sticky;
    bottom: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    margin-top: 1rem;
}

.btn {
    padding: 0.75rem 1.25rem;
    min-height: 48px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary { background: #e5e7eb; color: #111; }
.btn-secondary:hover { background: #d1d5db; }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #047857; }

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .form-nav {
        position: sticky;
        top: 52px;
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding: 0.5rem;
        z-index: 50;
    }

    .form-nav a {
        display: inline-flex;
        align-items: center;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        min-height: 44px;
        background: #f8fafc;
        border: 1px solid var(--border);
    }

    header { padding: 1rem 1.25rem; }
    header h1 { font-size: 1.25rem; }

    section { scroll-margin-top: 160px; }

    input, select, textarea {
        font-size: 16px;
        min-height: 44px;
    }

    .actions {
        position: sticky;
        bottom: 0;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .actions .btn {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

    .actions-hint {
        flex: 1 1 100%;
    }
}

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

    .actions .btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .export-progress-fill,
    .product-nav a.product-link {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* SMS Tray Custom Styles */

/* OS Selector Tabs */
.os-tabs-wrapper {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.os-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.os-tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.os-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
}

.os-tab-btn.active .os-logo-img {
    filter: brightness(0) invert(1);
}

/* Mode Selector Sub-Tabs (Kurulum vs Kullanım) */
.mode-tabs-wrapper {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.35rem;
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.mode-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.mode-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.os-logo-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.os-logo-img-large {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Content visibility toggle */
.os-content {
    display: none;
}

.os-content.active {
    display: block;
    animation: fadeIn 0.25s ease-in-out;
}

.mode-content {
    display: none;
}

.mode-content.active {
    display: block;
    animation: fadeIn 0.25s ease-in-out;
}

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

/* Download Container & Cards */
.download-container {
    margin-top: 0.75rem;
}

.download-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    background: var(--primary);
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.925rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.download-btn.secondary-btn {
    background: #475569;
}

.download-btn.secondary-btn:hover {
    background: #334155;
}

.download-btn .os-logo-img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.download-btn .btn-badge {
    background: rgba(255,255,255,0.22);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

.download-btn .btn-badge.recommended-badge {
    background: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.btn-content-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Step Cards & Typography Uniformity */
.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.step-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

.step-badge {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-badge-usage {
    background: #0284c7;
}

.step-title-block h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.step-title-block p {
    margin: 0 0 0.5rem;
    font-size: 0.925rem;
    color: #334155;
    line-height: 1.6;
    font-family: inherit;
}

.step-title-block p:last-child {
    margin-bottom: 0;
}

.step-title-block code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
    border: 1px solid #cbd5e1;
}

.step-title-block em {
    font-style: normal;
    color: #0f172a;
    background: #f8fafc;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.step-title-block strong {
    font-weight: 600;
    color: #0f172a;
}

.step-image-box {
    margin-top: 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    overflow: hidden;
}

.step-image-box img {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.step-image-caption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}

/* Callout Boxes */
.callout {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.925rem;
}

.callout-warning {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.callout-warning h4 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    color: #78350f;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.callout-info {
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
    color: #0369a1;
}

.callout-info h4 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    color: #075985;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 900px) {
    .form-nav {
        position: static !important;
        top: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
        margin-bottom: 1rem;
    }

    .form-nav a {
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 640px) {
    .os-tabs-wrapper {
        flex-direction: column;
    }
    .mode-tabs-wrapper {
        flex-direction: column;
    }
    .os-tab-btn, .mode-tab-btn {
        padding: 0.75rem 1rem;
    }
}

/* FAQ / SSS Accordion Styles */
.faq-section {
    margin-top: 2.5rem;
}

.faq-sub-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

button.faq-tab-btn,
.faq-tab-btn {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

button.faq-tab-btn:hover,
.faq-tab-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

button.faq-tab-btn.active,
.faq-tab-btn.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

.faq-group {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-group.active {
    display: flex;
    animation: fadeIn 0.25s ease-in-out;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

button.faq-question,
.faq-question {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    text-align: left !important;
    padding: 1rem 1.25rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.4;
    font-family: inherit;
}

.faq-question svg.faq-icon,
svg.faq-icon {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    color: #64748b;
    transition: transform 0.25s ease;
    flex-shrink: 0 !important;
    display: inline-block;
}

.faq-item.open .faq-question svg.faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    display: none;
    padding: 1rem 1.25rem 1.1rem;
    color: #334155;
    font-size: 0.925rem;
    line-height: 1.65;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.faq-answer p {
    margin: 0;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* ==========================================================================
   TANITIM & VİDEO SHOWCASE STİLLERİ
   ========================================================================== */

.tanitim-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.tanitim-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.tanitim-hero-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.65rem;
}

.tanitim-hero-desc {
    font-size: 0.975rem;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 900px;
}

.tanitim-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tanitim-feature-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tanitim-feature-box:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 6px 16px rgba(26, 86, 219, 0.08);
}

.tanitim-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.tanitim-feature-box h4 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.tanitim-feature-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* Kullanım Kılavuzu Video Alanı Sarmalayıcısı */
.kullanim-video-wrapper {
    margin-bottom: 2rem;
}

/* Video Player Vitrini */
.video-showcase-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.video-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.video-section-title-wrap h2 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.video-section-title-wrap p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.video-counter-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.video-main-card {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    margin-bottom: 1.25rem;
}

.video-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    outline: none;
}

.video-meta-bar {
    background: #1e293b;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    color: #ffffff;
}

.video-meta-info {
    flex: 1;
}

.video-meta-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.video-now-playing-tag {
    background: #10b981;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.video-category-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.video-meta-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.video-meta-desc {
    margin: 0;
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Oynatma Listesi / Kartlar Grid */
/* Oynatma Listesi / Katlanabilir (Collapsible) Sıralı Eğitim Listesi */
.video-playlist-wrapper {
    margin-top: 1.5rem;
}

.video-playlist-toggle-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    font-family: inherit;
}

.video-playlist-toggle-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.video-playlist-toggle-btn:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.video-playlist-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.video-playlist-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-playlist-title-text {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.video-playlist-count-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.video-playlist-toggle-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    flex-shrink: 0;
}

.video-playlist-toggle-hint {
    font-size: 0.825rem;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s;
}

.video-playlist-toggle-btn:hover .video-playlist-toggle-hint {
    color: var(--primary);
}

.video-playlist-chevron {
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
    transform: rotate(180deg);
}

.video-playlist-toggle-btn:hover .video-playlist-chevron {
    color: var(--primary);
}

.video-playlist-wrapper.is-collapsed .video-playlist-chevron {
    transform: rotate(0deg);
}

.video-playlist-wrapper.is-collapsed .video-playlist-toggle-btn {
    margin-bottom: 0;
}

.video-playlist-collapsible-content {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    opacity: 1;
}

.video-playlist-collapsible-inner {
    overflow: hidden;
    min-height: 0;
}

.video-playlist-wrapper.is-collapsed .video-playlist-collapsible-content {
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
}

.video-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.video-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 4px solid transparent;
}

.video-card-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    border-left-color: #93c5fd;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.video-card-item.active {
    background: #eff6ff;
    border-color: #93c5fd;
    border-left-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.09);
}

.video-row-seq {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.video-card-item:hover .video-row-seq {
    background: #e2e8f0;
    color: #1e293b;
}

.video-card-item.active .video-row-seq {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(26, 86, 219, 0.3);
}

.video-card-play-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card-item:hover .video-card-play-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.video-card-item.active .video-card-play-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.video-card-item .icon-playing-waves {
    display: none;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
}

.video-card-item.active .icon-playing-waves {
    display: flex;
}

.video-card-item.active .icon-play {
    display: none;
}

.icon-playing-waves span {
    width: 2.5px;
    background: #ffffff;
    border-radius: 1px;
    animation: waveAnim 1s ease-in-out infinite;
}

.icon-playing-waves span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.icon-playing-waves span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.icon-playing-waves span:nth-child(3) { height: 7px; animation-delay: 0.2s; }

@keyframes waveAnim {
    0%, 100% { height: 4px; }
    50% { height: 12px; }
}

.video-card-content {
    flex: 1;
    min-width: 0;
}

.video-card-header-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.video-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.video-card-item.active .video-card-title {
    color: var(--primary);
}

.video-card-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    background: #e2e8f0;
    padding: 0.12rem 0.45rem;
    border-radius: 5px;
    letter-spacing: 0.02em;
}

.video-card-item.active .video-card-badge {
    background: #dbeafe;
    color: var(--primary);
}

.video-card-desc {
    margin: 0;
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.45;
}

.video-card-right-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.video-card-duration {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.video-playing-indicator {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.video-card-item.active .video-playing-indicator {
    display: inline-flex;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.75); }
}

@media (max-width: 768px) {
    .video-card-item {
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }
    .video-card-right-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.3rem;
    }
}

@media (max-width: 560px) {
    .video-card-item {
        flex-wrap: wrap;
    }
    .video-card-right-meta {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.35rem;
        padding-top: 0.35rem;
        border-top: 1px dashed #e2e8f0;
    }
}

/* Tanıtım Altı Hızlı Geçiş Bannerı */
.tanitim-cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.2);
    margin-bottom: 2rem;
}

.tanitim-cta-text h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.tanitim-cta-text p {
    margin: 0;
    font-size: 0.925rem;
    color: #e0e7ff;
    line-height: 1.5;
}

.tanitim-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tanitim-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    background: #ffffff;
    color: var(--primary) !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.925rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tanitim-cta-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tanitim-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.925rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.15s ease;
}

.tanitim-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .tanitim-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
    .tanitim-cta-actions {
        width: 100%;
    }
    .tanitim-cta-btn-primary,
    .tanitim-cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .video-meta-bar {
        flex-direction: column;
        padding: 1rem;
    }
}




