.rakip-page-wrapper {
        background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 40%),
                    radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.05), transparent 40%),
                    var(--bg-main);
        min-height: 90vh;
        color: var(--text-light);
        font-family: 'Outfit', sans-serif;
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 900;
        letter-spacing: -1px;
        line-height: 1.1;
    }

    .gradient-text {
        color: var(--primary-color);
        -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
        color: var(--text-muted);
        font-size: 1.1rem;
        max-width: 600px;
    }

    .comparison-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    @media (max-width: 1200px) {
        .comparison-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .comparison-grid {
            grid-template-columns: 1fr;
        }
        .action-container {
            margin-top: 15px;
            margin-bottom: 25px;
            padding: 0 15px;
            width: 100%;
        }
        .btn-ai-analyze {
            padding: 12px 24px;
            font-size: 0.95rem;
            width: 100%;
            justify-content: center;
        }
        #aiAnalysisResultContainer {
            margin-top: 25px !important;
        }
        #aiAnalysisResultContainer .card-header {
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 12px !important;
            padding: 16px 20px !important;
        }
        #aiAnalysisResultContainer .card-header > div {
            width: 100% !important;
        }
        #aiAnalysisResultContainer .card-header > div:last-child {
            display: flex !important;
            justify-content: flex-start !important;
            gap: 10px !important;
            margin-top: 8px;
        }
        .premium-btn-group {
            width: 100%;
            display: flex;
        }
        .premium-btn-group .btn {
            flex: 1;
            padding: 8px 12px !important;
            font-size: 0.85rem;
        }
    }

    .comp-card {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 24px;
        padding: 24px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        overflow: visible;
        min-height: 590px;
        box-shadow: var(--shadow-sm);
        min-width: 0; /* Prevent grid blowout from long text */
    }

    [data-theme="dark"] .comp-card {
        background: rgba(22, 30, 49, 0.95);
    }

    .comp-card.active-dropdown {
        z-index: 100 !important;
    }

    .comp-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .comp-card:hover {
        transform: translateY(-5px);
        border-color: rgba(16, 185, 129, 0.3);
        box-shadow: none;
    }

    .comp-card:hover::before {
        opacity: 1;
    }

    .comp-select-wrapper {
        width: 100%;
        margin-bottom: 24px;
    }

    .select-comp {
        width: 100%;
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        color: var(--text-light);
        padding: 12px 16px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
        outline: none;
        cursor: pointer;
        transition: all 0.3s;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 16px;
        padding-right: 40px;
    }

    .select-comp:focus {
        border-color: var(--success-text);
        box-shadow: none;
    }

    /* Premium Custom Select Styling (Tesla Uyumlu - Görev 21 & 22) */
    .custom-select-container {
        position: relative;
        width: 100%;
        user-select: none;
    }
    .custom-select-trigger {
        width: 100%;
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        color: var(--text-light);
        padding: 12px 16px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .custom-select-trigger:hover, .custom-select-container.active .custom-select-trigger {
        border-color: var(--success-text);
        box-shadow: none;
        background: var(--bg-card);
    }
    .select-arrow-icon {
        font-size: 0.8rem;
        color: var(--text-muted);
        transition: transform 0.3s;
    }
    .custom-select-container.active .select-arrow-icon {
        transform: rotate(180deg);
        color: var(--success-text);
    }
    .custom-options-list {
        position: absolute;
        top: calc(100% + 8px);
        left: -15px;
        width: calc(100% + 30px);
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        margin-top: 0;
        padding: 12px;
        max-height: 320px;
        overflow-y: auto;
        z-index: 999999 !important;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    .custom-select-container.active .custom-options-list {
        display: block !important;
    }
    .custom-options-search {
        padding: 10px;
        position: sticky;
        top: 0;
        background: var(--bg-card);
        z-index: 10;
        border-bottom: 1px solid var(--border-color);
        margin: -12px -12px 10px -12px;
        border-radius: 16px 16px 0 0;
    }
    .custom-options-search input {
        width: 100%;
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        color: var(--text-light);
        padding: 8px 12px;
        border-radius: 8px;
        outline: none;
    }
    .custom-options-search input::placeholder {
        color: var(--text-muted, #9ca3af);
        opacity: 0.8;
    }
    .custom-options-search input:focus {
        border-color: var(--success-text);
    }
    .custom-option-item {
        padding: 10px 14px;
        font-size: 0.9rem;
        color: var(--text-main);
        font-weight: 600;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.2s ease;
        border: 1px solid var(--border-color);
        background: var(--bg-soft);
        margin-bottom: 8px;
    }
    .custom-option-item:last-child {
        margin-bottom: 0;
    }
    .custom-option-item:hover {
        background: rgba(16, 185, 129, 0.08);
        color: var(--success-text);
        border-color: rgba(16, 185, 129, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    .option-logo-mini {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        object-fit: contain;
        background: var(--logo-bg, var(--bg-soft));
        padding: 2px;
        border: 1px solid var(--border-color);
    }

    .brand-header-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 120px;
        width: 120px;
        border-radius: 50%;
        border: 2px dashed var(--border-color);
        color: var(--text-muted);
        margin-top: auto;
        margin-bottom: auto;
        transition: all 0.3s;
    }

    .comp-card:hover .brand-header-empty {
        border-color: rgba(16, 185, 129, 0.3);
        color: var(--success-text);
    }

    .brand-header-active {
        display: none;
        flex-direction: column;
        align-items: center;
        margin-bottom: 24px;
        text-align: center;
        animation: fadeIn 0.5s ease;
    }

    .brand-logo-container {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: var(--logo-bg, var(--bg-card));
        border: 2px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }

    .brand-logo-container img {
        max-width: 75%;
        max-height: 75%;
        object-fit: contain;
    }

    .brand-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--text-light);
        width: 100%;
        text-align: center;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        line-height: 1.2;
    }

    .stats-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        display: none; /* Hidden until loaded */
        animation: fadeIn 0.5s ease;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        padding: 10px 16px;
        border-radius: 12px;
        transition: all 0.3s;
    }

    .stat-item:hover {
        background: var(--bg-card);
        border-color: var(--border-color);
    }

    .stat-label {
        font-size: 0.8rem;
        color: var(--text-muted);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .stat-label i {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 0.9rem;
        font-weight: 800;
        color: var(--text-light);
    }

    /* Action Trigger Button */
    .action-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .btn-ai-analyze {
        background: var(--success-text);
        color: var(--text-light);
        font-weight: 800;
        font-size: 1.1rem;
        padding: 16px 40px;
        border-radius: 16px;
        border: none;
        box-shadow: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-ai-analyze:hover {
        transform: translateY(-3px);
        box-shadow: none;
    }

    .btn-ai-analyze:active {
        transform: translateY(-1px);
    }

    .btn-ai-analyze:disabled {
        background: var(--bg-soft);
        color: var(--text-muted);
        cursor: not-allowed;
        box-shadow: none;
    }

    .pulse-glow {
        animation: pulseGlow 2s infinite;
    }

    @keyframes pulseGlow {
        0% {
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        }
    }

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

    .markdown-body h3 {
        color: var(--text-light);
        font-weight: 800;
        margin-top: 24px;
        margin-bottom: 12px;
        font-size: 1.3rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 8px;
    }
    .markdown-body h4 {
        color: var(--success-text);
        font-weight: 700;
        margin-top: 18px;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }
    .markdown-body p {
        margin-bottom: 16px;
        color: var(--text-muted);
    }
    .markdown-body ul {
        margin-bottom: 16px;
        padding-left: 20px;
    }
    .markdown-body li {
        margin-bottom: 8px;
        list-style-type: disc;
        color: var(--text-muted);
    }
    .markdown-body strong {
        color: var(--text-light);
        font-weight: 700;
    }
    
    /* Premium Analiz Modu Buton Grubu Stilleri (Görev 25) */
    .premium-btn-group {
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 6px;
        background: var(--bg-card);
    }
    .premium-btn-group .btn {
        border-radius: 12px !important;
        border: none !important;
        color: var(--text-muted);
        font-size: 0.95rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 10px 24px !important;
    }
    .premium-btn-group .btn.active, .premium-btn-group .btn:hover {
        background: rgba(16, 185, 129, 0.15) !important;
        color: var(--success-text) !important;
        box-shadow: none;
    }

    /* Premium Consolidated Stats Panel (Görev 8) */
    .premium-stats-box {
        width: 100%;
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        border-radius: 18px;
        padding: 16px;
        background: var(--bg-soft);
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    }
    .stats-section-title {
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.5px;
        margin-bottom: 10px;
        border-left: 2.5px solid var(--success-text);
        padding-left: 6px;
        line-height: 1;
    }
    .stats-row {
        display: flex;
        gap: 12px;
    }
    .stats-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
        padding: 8px 12px;
        border-radius: 10px;
        transition: all 0.3s;
    }
    .stats-col:hover, .stats-col-full:hover {
        background: var(--bg-card) !important;
        border-color: var(--border-color) !important;
    }
    .stats-mini-label {
        font-size: 0.7rem;
        color: var(--text-muted);
        font-weight: 600;
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .stats-mini-val {
        font-size: 0.85rem;
        font-weight: 800;
        color: var(--text-light);
    }
    .stats-divider {
        margin: 12px 0;
        border: 1px solid var(--border-color);
        opacity: 1;
}
