/**
 * DataForce Solution Center - Public Stylesheet (v1.0.1)
 * Scoped strictly under .dfsc- with full theme harmony & top clearance
 */

:root {
    --dfsc-primary: #0F172A;
    --dfsc-secondary: #1E293B;
    --dfsc-dark-bg: #0A0F1D;
    --dfsc-card-bg: #0F172A;
    --dfsc-card-surface: #161F30;
    --dfsc-accent: #E11D48;
    --dfsc-accent-hover: #BE123C;
    --dfsc-accent-glow: rgba(225, 29, 72, 0.25);
    --dfsc-text-main: #FFFFFF;
    --dfsc-text-sub: #E2E8F0;
    --dfsc-text-muted: #94A3B8;
    --dfsc-border: #1E293B;
    --dfsc-border-light: rgba(255, 255, 255, 0.1);
    --dfsc-success: #10B981;
    --dfsc-warning: #F59E0B;
    --dfsc-radius-sm: 8px;
    --dfsc-radius-md: 12px;
    --dfsc-radius-lg: 18px;
    --dfsc-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ==========================================================================
   1. BLOCKSY THEME & HEADER COLLISION FIXES (YUKARIDAN BOŞLUK)
   ========================================================================== */
.page:has(.dfsc-portal-wrapper) .hero-section,
article:has(.dfsc-portal-wrapper) > .hero-section,
.entry-content:has(.dfsc-portal-wrapper) ~ .hero-section,
body:has(.dfsc-portal-wrapper) .entry-header:has(.page-title),
.ct-page-title:has(+ * .dfsc-portal-wrapper) {
    display: none !important;
}

.dfsc-portal-wrapper {
    font-family: var(--dfsc-font-sans);
    color: var(--dfsc-text-sub);
    box-sizing: border-box;
    line-height: 1.6;
    margin-top: 50px !important;
    padding-top: 20px !important;
    position: relative;
    z-index: 10;
    clear: both;
}

.dfsc-single-wrapper {
    font-family: var(--dfsc-font-sans);
    color: var(--dfsc-text-sub);
    box-sizing: border-box;
    line-height: 1.6;
    margin-top: 60px !important;
    padding-top: 40px !important;
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
    clear: both;
}

.dfsc-portal-wrapper *,
.dfsc-single-wrapper *,
.dfsc-dock-wrapper * {
    box-sizing: border-box;
}

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

/* ==========================================================================
   2. HERO & LIVE SEARCH
   ========================================================================== */
.dfsc-hero {
    background: radial-gradient(circle at 50% 0%, #1E293B 0%, #0A0F1D 85%);
    color: #FFFFFF;
    padding: 50px 20px 65px;
    text-align: center;
    position: relative;
    border-radius: var(--dfsc-radius-lg);
    border: 1px solid rgba(225, 29, 72, 0.25);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    margin-bottom: 45px;
}

.dfsc-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E11D48, transparent);
}

.dfsc-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dfsc-brand-badge {
    background: var(--dfsc-accent);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 4px;
}

.dfsc-brand-sub {
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
}

.dfsc-hero-title {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    color: #FFFFFF !important;
}

.dfsc-hero-subtitle {
    font-size: 16px;
    color: var(--dfsc-text-muted);
    max-width: 680px;
    margin: 0 auto 34px;
    line-height: 1.5;
}

/* Search Box */
.dfsc-search-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.dfsc-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #0F172A;
    border-radius: var(--dfsc-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}

.dfsc-search-input-box:focus-within {
    border-color: var(--dfsc-accent);
    box-shadow: 0 0 25px rgba(225, 29, 72, 0.35);
}

.dfsc-search-icon {
    position: absolute;
    left: 20px;
    font-size: 22px;
    color: #94A3B8;
}

.dfsc-search-input {
    width: 100%;
    padding: 18px 50px 18px 56px !important;
    font-size: 16px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.dfsc-search-input::placeholder {
    color: #64748B;
}

.dfsc-search-clear {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 18px;
}

.dfsc-search-clear:hover {
    color: #FFFFFF;
}

.dfsc-search-loader {
    position: absolute;
    right: 20px;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--dfsc-accent);
    border-radius: 50%;
    animation: dfsc-spin 0.6s linear infinite;
}

@keyframes dfsc-spin {
    to { transform: rotate(360deg); }
}

/* Quick Query Chips */
.dfsc-quick-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dfsc-chip-label {
    font-size: 13px;
    color: #94A3B8;
    font-weight: 500;
}

.dfsc-chip-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dfsc-chip-btn:hover {
    background: var(--dfsc-accent);
    border-color: var(--dfsc-accent);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

/* Search Dropdown */
.dfsc-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #0F172A;
    border-radius: var(--dfsc-radius-md);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    border: 1px solid #334155;
    max-height: 480px;
    overflow-y: auto;
    z-index: 1000;
    text-align: left;
}

.dfsc-dropdown-group-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94A3B8;
    padding: 12px 18px 8px;
    background: #0B0F19;
    border-bottom: 1px solid #1E293B;
}

.dfsc-search-item {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid #1E293B;
    text-decoration: none;
    color: #E2E8F0;
    transition: background 0.15s ease;
}

.dfsc-search-item:hover {
    background: #1E293B;
}

.dfsc-search-item-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.dfsc-search-item-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.4;
}

/* ==========================================================================
   3. AI TEKNİK ASİSTAN - ÖN PLANDA (SPOTLIGHT CONTAINER)
   ========================================================================== */
.dfsc-ai-spotlight-section {
    background: linear-gradient(160deg, #10172A 0%, #0A0F1D 100%);
    border: 1px solid rgba(225, 29, 72, 0.35);
    border-radius: var(--dfsc-radius-lg);
    box-shadow: 0 0 45px rgba(225, 29, 72, 0.12), 0 20px 40px rgba(0, 0, 0, 0.6);
    padding: 36px 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.dfsc-ai-spotlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E11D48, #8B5CF6, #0284C7);
}

.dfsc-ai-spotlight-header {
    text-align: center;
    margin-bottom: 28px;
}

.dfsc-ai-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dfsc-ai-chip {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 999px;
}

.dfsc-ai-status-pulse {
    font-size: 12px;
    font-weight: 600;
    color: #34D399;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dfsc-ai-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: dfsc-pulse 2s infinite;
}

@keyframes dfsc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.dfsc-ai-spotlight-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF !important;
    margin: 0 0 8px;
}

.dfsc-ai-spotlight-subtitle {
    font-size: 15px;
    color: #94A3B8;
    max-width: 650px;
    margin: 0 auto;
}

.dfsc-assistant-front-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

/* Assistant Chat UI Inside Spotlight */
.dfsc-assistant-container {
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 600px;
}

.dfsc-assistant-header {
    background: #0F172A;
    color: #FFFFFF;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--dfsc-accent);
}

.dfsc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dfsc-assistant-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #E11D48 0%, #1E293B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 14px;
    border: 2px solid #334155;
}

.dfsc-status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10B981;
    border: 2px solid #0F172A;
    border-radius: 50%;
}

.dfsc-assistant-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0;
}

.dfsc-assistant-status {
    font-size: 12px;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dfsc-status-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
}

.dfsc-btn-reset {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    padding: 7px 14px;
    border-radius: var(--dfsc-radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dfsc-btn-reset:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

/* Chat Body (Dark Mode) */
.dfsc-chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    background: #080C14;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dfsc-message {
    display: flex;
    gap: 12px;
    max-width: 85%;
}

.dfsc-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.dfsc-message-assistant {
    align-self: flex-start;
}

.dfsc-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1E293B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    border: 1px solid #334155;
}

.dfsc-message-user .dfsc-message-avatar {
    background: var(--dfsc-accent);
    border-color: var(--dfsc-accent);
}

.dfsc-message-bubble {
    background: #131B2E;
    border: 1px solid #222F49;
    border-radius: var(--dfsc-radius-lg);
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #F1F5F9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dfsc-message-user .dfsc-message-bubble {
    background: #E11D48;
    color: #FFFFFF;
    border-color: #E11D48;
}

.dfsc-message-bubble p {
    margin: 0 0 10px;
}

.dfsc-message-bubble p:last-child {
    margin-bottom: 0;
}

.dfsc-steps-list,
.dfsc-bullet-list {
    margin: 10px 0;
    padding-left: 22px;
}

.dfsc-steps-list li,
.dfsc-bullet-list li {
    margin-bottom: 6px;
}

/* Chat Chips */
.dfsc-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.dfsc-chip {
    background: #1E293B;
    border: 1px solid #334155;
    color: #E2E8F0;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dfsc-chip:hover {
    background: var(--dfsc-accent);
    border-color: var(--dfsc-accent);
    color: #FFFFFF;
}

/* Source Card in Chat */
.dfsc-source-card {
    margin-top: 14px;
    background: #0F172A;
    border: 1px solid #222F49;
    border-left: 4px solid var(--dfsc-accent);
    border-radius: var(--dfsc-radius-sm);
    padding: 14px;
}

.dfsc-source-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FB7185;
    margin-bottom: 4px;
}

.dfsc-source-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #FFFFFF;
}

.dfsc-source-symptom {
    font-size: 12px;
    color: #94A3B8;
    margin: 0 0 10px;
}

.dfsc-source-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.dfsc-source-btn {
    color: #FB7185;
    font-weight: 700;
    text-decoration: none;
}

.dfsc-source-btn:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Typing Bar */
.dfsc-typing-indicator {
    padding: 10px 24px;
    background: #0F172A;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #94A3B8;
    border-top: 1px solid #1E293B;
}

.dfsc-typing-dots {
    display: inline-flex;
    gap: 4px;
}

.dfsc-typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--dfsc-accent);
    border-radius: 50%;
    animation: dfsc-bounce 1.4s infinite ease-in-out both;
}

.dfsc-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.dfsc-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes dfsc-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Chat Footer */
.dfsc-chat-footer {
    padding: 16px 20px;
    background: #0F172A;
    border-top: 1px solid #1E293B;
}

.dfsc-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.dfsc-input {
    flex-grow: 1;
    padding: 14px 18px !important;
    background: #0B0F19 !important;
    border: 1px solid #334155 !important;
    border-radius: var(--dfsc-radius-md) !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #FFFFFF !important;
    resize: none !important;
    max-height: 120px !important;
    outline: none !important;
    box-shadow: none !important;
}

.dfsc-input:focus {
    border-color: var(--dfsc-accent) !important;
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.25) !important;
}

.dfsc-send-btn {
    width: 48px;
    height: 48px;
    background: var(--dfsc-accent);
    color: #FFFFFF;
    border: none;
    border-radius: var(--dfsc-radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dfsc-send-btn:hover {
    background: var(--dfsc-accent-hover);
    transform: scale(1.03);
}

.dfsc-input-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: #64748B;
}

/* ==========================================================================
   4. ENHANCED PRODUCT CATEGORIES (GÖRSEL VE MODERN ÜRÜN KARTLARI)
   ========================================================================== */
.dfsc-section {
    margin-bottom: 70px;
}

.dfsc-section-header {
    margin-bottom: 28px;
}

.dfsc-section-tag {
    display: inline-block;
    background: rgba(225, 29, 72, 0.12);
    color: #FB7185;
    border: 1px solid rgba(225, 29, 72, 0.25);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.dfsc-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF !important;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

.dfsc-section-desc {
    font-size: 15px;
    color: var(--dfsc-text-muted);
    margin: 0;
}

/* Groups Grid */
.dfsc-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.dfsc-group-card {
    background: linear-gradient(150deg, #131C2E 0%, #0A0F1D 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--dfsc-radius-md);
    padding: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dfsc-group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.25s ease;
}

.dfsc-group-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 72, 0.5);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.18);
}

.dfsc-group-card:hover::before {
    background: var(--dfsc-accent);
}

.dfsc-group-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dfsc-group-icon-wrap {
    width: 54px;
    height: 54px;
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.dfsc-group-tag {
    font-size: 11px;
    font-weight: 700;
    color: #FB7185;
    background: rgba(225, 29, 72, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.dfsc-group-name {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0 0 8px;
}

.dfsc-group-desc {
    font-size: 13px;
    color: var(--dfsc-text-muted);
    margin: 0 0 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.dfsc-group-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.dfsc-group-count-badge {
    font-size: 12px;
    font-weight: 600;
    color: #38BDF8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dfsc-group-arrow {
    color: var(--dfsc-accent);
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.dfsc-group-card:hover .dfsc-group-arrow {
    transform: translateX(4px);
    color: #FFFFFF;
}

/* ==========================================================================
   5. FEATURED SOLUTIONS GRID (DARK THEME COMPATIBLE)
   ========================================================================== */
.dfsc-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.dfsc-solution-card {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
}

.dfsc-solution-card:hover {
    transform: translateY(-3px);
    border-color: #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.dfsc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.dfsc-solution-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}

.dfsc-solution-title a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.15s ease;
}

.dfsc-solution-title a:hover {
    color: var(--dfsc-accent) !important;
}

.dfsc-solution-symptom {
    font-size: 13px;
    color: #94A3B8;
    margin: 0 0 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.dfsc-solution-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1E293B;
    padding-top: 14px;
    font-size: 12px;
}

.dfsc-time {
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dfsc-link-arrow {
    color: #FB7185;
    font-weight: 700;
    text-decoration: none;
}

.dfsc-link-arrow:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Badges */
.dfsc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.dfsc-badge-category {
    background: #1E293B;
    color: #E2E8F0;
    border: 1px solid #334155;
}

.dfsc-badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-family: monospace;
}

.dfsc-badge-easy {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dfsc-badge-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.dfsc-badge-hard {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   6. WIZARD UI (DARK THEME)
   ========================================================================== */
.dfsc-wizard-box {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 36px;
    max-width: 820px;
    margin: 0 auto;
}

.dfsc-wizard-header {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.dfsc-wizard-icon {
    width: 50px;
    height: 50px;
    background: rgba(225, 29, 72, 0.15);
    color: var(--dfsc-accent);
    border-radius: var(--dfsc-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

.dfsc-wizard-title {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF !important;
    margin: 0 0 4px;
}

.dfsc-wizard-subtitle {
    font-size: 14px;
    color: var(--dfsc-text-muted);
    margin: 0;
}

.dfsc-wizard-progress {
    height: 6px;
    background: #1E293B;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 28px;
}

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

.dfsc-wizard-step-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FB7185;
    margin-bottom: 8px;
}

.dfsc-wizard-question {
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0 0 20px;
}

.dfsc-wizard-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.dfsc-wizard-opt-btn {
    background: #131C2E;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dfsc-wizard-opt-btn:hover {
    background: #1E293B;
    border-color: var(--dfsc-accent);
    color: #FB7185;
}

.dfsc-wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1E293B;
    padding-top: 16px;
}

.dfsc-btn-primary {
    background: var(--dfsc-accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--dfsc-radius-sm);
    text-decoration: none;
    display: inline-block;
}

.dfsc-btn-primary:hover {
    background: var(--dfsc-accent-hover);
    color: #FFFFFF;
}

.dfsc-btn-secondary {
    background: #1E293B;
    border: 1px solid #334155;
    color: #E2E8F0;
    padding: 9px 16px;
    border-radius: var(--dfsc-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dfsc-btn-ghost {
    background: none;
    border: none;
    color: var(--dfsc-text-muted);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dfsc-btn-ghost:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   7. SINGLE SOLUTION PAGE (CLEAN, CONTRAST, TOP CLEARANCE)
   ========================================================================== */
.dfsc-breadcrumbs {
    font-size: 13px;
    color: var(--dfsc-text-muted);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: #0F172A;
    padding: 12px 18px;
    border-radius: var(--dfsc-radius-sm);
    border: 1px solid #1E293B;
}

.dfsc-breadcrumbs a {
    color: #94A3B8;
    text-decoration: none;
}

.dfsc-breadcrumbs a:hover {
    color: #FFFFFF;
}

.dfsc-bc-sep {
    color: #475569;
}

.dfsc-bc-current {
    color: #FFFFFF;
    font-weight: 600;
}

.dfsc-single-header {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dfsc-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.dfsc-badge-product {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.dfsc-single-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #FFFFFF !important;
}

.dfsc-single-updated {
    font-size: 13px;
    color: var(--dfsc-text-muted);
    margin: 0;
}

.dfsc-single-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.dfsc-main-article {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dfsc-section-box {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dfsc-box-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF !important;
}

.dfsc-box-title .dashicons {
    color: var(--dfsc-accent);
}

.dfsc-alert-box {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--dfsc-radius-md);
    border: 1px solid transparent;
}

.dfsc-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #FDE68A;
}

.dfsc-alert-warning .dashicons {
    font-size: 24px;
    color: #F59E0B;
}

.dfsc-alert-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #FBBF24;
}

.dfsc-alert-content p {
    margin: 0;
    font-size: 13px;
}

/* Steps in Single */
.dfsc-steps-section {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dfsc-steps-heading {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF !important;
    margin: 0 0 24px;
    border-bottom: 2px solid #1E293B;
    padding-bottom: 12px;
}

.dfsc-step-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dfsc-step-card {
    display: flex;
    gap: 20px;
    padding: 22px;
    background: #080C14;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
}

.dfsc-step-card-num {
    width: 38px;
    height: 38px;
    background: var(--dfsc-accent);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
}

.dfsc-step-card-content {
    flex-grow: 1;
}

.dfsc-step-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #FFFFFF !important;
}

.dfsc-step-card-desc {
    font-size: 14px;
    color: #CBD5E1;
    margin: 0 0 10px;
    line-height: 1.6;
}

.dfsc-step-inline-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: #FDE68A;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Feedback Box */
.dfsc-feedback-box {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 24px;
    text-align: center;
}

.dfsc-feedback-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0 0 16px;
}

.dfsc-feedback-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.dfsc-btn-feedback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--dfsc-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #334155;
    background: #1E293B;
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.dfsc-btn-thumb-up:hover {
    background: #059669;
    border-color: #10B981;
}

.dfsc-btn-thumb-down:hover {
    background: #DC2626;
    border-color: #EF4444;
}

.dfsc-feedback-msg {
    margin: 14px 0 0;
    font-size: 13px;
    color: #34D399;
    font-weight: 600;
}

/* Sidebar in Single */
.dfsc-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dfsc-sidebar-card {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--dfsc-radius-md);
    padding: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dfsc-sidebar-head {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94A3B8;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.dfsc-product-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0 0 6px;
}

.dfsc-product-code {
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 16px;
}

.dfsc-product-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dfsc-btn-sidebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: var(--dfsc-radius-sm);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dfsc-btn-sidebar:hover {
    background: var(--dfsc-accent);
    border-color: var(--dfsc-accent);
}

.dfsc-assistant-callout {
    background: linear-gradient(145deg, #1E1B4B 0%, #0F172A 100%);
    border-color: #4338CA;
    color: #FFFFFF;
    text-align: center;
}

.dfsc-assistant-callout-icon {
    width: 46px;
    height: 46px;
    background: var(--dfsc-accent);
    color: #FFFFFF;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.5);
}

.dfsc-assistant-callout h4 {
    color: #FFFFFF !important;
    margin: 0 0 8px;
    font-size: 16px;
}

.dfsc-assistant-callout p {
    color: #94A3B8;
    font-size: 13px;
    margin: 0 0 16px;
}

.dfsc-btn-callout {
    background: var(--dfsc-accent);
    color: #FFFFFF;
    padding: 11px 20px;
    border-radius: var(--dfsc-radius-sm);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    transition: background 0.2s ease;
}

.dfsc-btn-callout:hover {
    background: var(--dfsc-accent-hover);
    color: #FFFFFF;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .dfsc-portal-wrapper {
        margin-top: 30px !important;
        padding-top: 10px !important;
    }

    .dfsc-single-wrapper {
        margin-top: 35px !important;
        padding-top: 25px !important;
    }

    .dfsc-hero-title {
        font-size: 26px;
    }

    .dfsc-ai-spotlight-title {
        font-size: 22px;
    }

    .dfsc-single-grid {
        grid-template-columns: 1fr;
    }

    .dfsc-groups-grid {
        grid-template-columns: 1fr;
    }

    .dfsc-solutions-grid {
        grid-template-columns: 1fr;
    }

    .dfsc-assistant-container {
        height: 520px;
    }
}
