/* =========================================================
   YuHaber Tanıtım Sitesi - Özel CSS
   Tasarım dili: yuhaber.com ile birebir uyumlu
   ========================================================= */

/* --- Design Tokens --- */
:root {
    --yh-primary: #7065C7;
    --yh-primary-rgb: 112, 101, 199;
    --yh-primary-dark: #5a50a8;
    --yh-cyan: #0DC9FF;
    --yh-cyan-rgb: 13, 201, 255;
    --yh-accent: #f5576c;
    --yh-dark: #1a1a2e;
    --yh-text: #343a40;
    --yh-muted: #6c757d;
    --yh-border: #e9ecef;
    --yh-bg-soft: #f8f9ff;
    --yh-bg-gradient: radial-gradient(116.18% 118% at 50% 100%, #f3f6ff 0%, #eef0ff 41.83%, #ffffff 82.52%);
    --yh-card-radius: 20px;
    --yh-btn-radius: 50px;
    --yh-shadow-sm: 0 4px 20px rgba(112, 101, 199, 0.08);
    --yh-shadow-md: 0 8px 40px rgba(112, 101, 199, 0.12);
    --yh-shadow-lg: 0 20px 60px rgba(112, 101, 199, 0.20);
    --yh-grad-primary: linear-gradient(135deg, #7065C7 0%, #9b8fe8 100%);
    --yh-grad-cyan: linear-gradient(135deg, #0DC9FF 0%, #7065C7 100%);
    --yh-grad-hero: radial-gradient(ellipse at 60% 0%, rgba(112,101,199,0.08) 0%, rgba(13,201,255,0.04) 40%, rgba(255,255,255,0) 70%);

    /* ===== Eski tema renk variable'larını lila ile eziyoruz ===== */
    --cs-main-color: #7065C7;
    --cs-main-color-rgb: 112, 101, 199;
    --cs-main-color-dark: #5a50a8;

    /* Silicon/Bootstrap theme primary overrides */
    --si-primary: #7065C7;
    --si-primary-rgb: 112, 101, 199;
    --bs-primary: #7065C7;
    --bs-primary-rgb: 112, 101, 199;
    --bs-link-color: #7065C7;
    --bs-link-color-rgb: 112, 101, 199;
}

/* --- Base Overrides --- */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--yh-text);
    background: #fff;
}

/* --- Primary Color System --- */
.text-primary {
    color: var(--yh-primary) !important;
}

.btn-primary {
    --si-btn-color: #fff;
    --si-btn-bg: var(--yh-primary);
    --si-btn-border-color: var(--yh-primary);
    --si-btn-focus-shadow-rgb: var(--yh-primary-rgb);
    --si-btn-active-shadow: unset;
    --si-btn-disabled-bg: var(--yh-primary);
    --si-btn-disabled-border-color: var(--yh-primary);
    --si-btn-hover-color: #fff;
    --si-btn-active-color: #fff;
    --si-btn-hover-bg: var(--yh-primary-dark);
    --si-btn-active-bg: var(--yh-primary-dark);
    --si-btn-hover-border-color: var(--yh-primary-dark);
    --si-btn-active-border-color: var(--yh-primary-dark);
    --si-btn-disabled-color: #fff;
    border-radius: var(--yh-btn-radius) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 10px 24px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(var(--yh-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--yh-primary-rgb), 0.4) !important;
}


.yh-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--yh-grad-primary) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--yh-btn-radius);
    border: none;
    box-shadow: 0 8px 25px rgba(var(--yh-primary-rgb), 0.35);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none !important;
    cursor: pointer;
}

.yh-btn-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--yh-primary-rgb), 0.45);
    color: #fff !important;
}

.yh-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent !important;
    color: var(--yh-primary) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--yh-btn-radius);
    border: 2px solid var(--yh-primary);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none !important;
    cursor: pointer;
}

.yh-btn-outline:hover {
    background: var(--yh-primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--yh-primary-rgb), 0.25);
}

/* Img Comparison Slider */
img-comparison-slider {
    --divider-color: var(--yh-primary);
}

/* --- Navbar / Header --- */
.header.navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(var(--yh-primary-rgb), 0.08);
    box-shadow: 0 2px 20px rgba(var(--yh-primary-rgb), 0.06);
    transition: all 0.3s ease;
}

.header.navbar.position-absolute {
    background: rgba(255, 255, 255, 0.85) !important;
}

/* --- Hero Section --- */
.yh-hero {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.yh-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(var(--yh-primary-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.yh-hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(var(--yh-cyan-rgb), 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Badge Pill --- */
.yh-badge-pill {
    display: inline-block;
    background: var(--yh-grad-primary);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* --- Section Headings --- */
.yh-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--yh-dark);
    line-height: 1.2;
}

.yh-section-sub {
    font-size: 1.05rem;
    color: var(--yh-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Cards --- */
.yh-card {
    background: #fff;
    border-radius: var(--yh-card-radius);
    border: 1px solid rgba(var(--yh-primary-rgb), 0.08);
    box-shadow: var(--yh-shadow-sm);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.yh-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--yh-shadow-lg);
    border-color: rgba(var(--yh-primary-rgb), 0.15);
}

/* Feature cards */
.yh-feature-card {
    background: var(--yh-bg-soft);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.yh-feature-card:hover {
    background: #fff;
    border-color: rgba(var(--yh-primary-rgb), 0.15);
    box-shadow: var(--yh-shadow-md);
    transform: translateY(-6px);
}

.yh-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--yh-primary-rgb), 0.1), rgba(var(--yh-cyan-rgb), 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

/* --- Theme Cards --- */
.yh-theme-card {
    position: relative;
    display: block;
    border-radius: var(--yh-card-radius);
    overflow: hidden;
    box-shadow: var(--yh-shadow-sm);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}

.yh-theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(var(--yh-primary-rgb), 0.18);
}

/* --- Capability Items --- */
.yh-cap-item {
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.yh-cap-item:hover {
    background: rgba(var(--yh-primary-rgb), 0.04);
}

.yh-cap-check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--yh-primary), #9b8fe8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Pricing Cards --- */
.yh-pricing-card {
    border-radius: var(--yh-card-radius);
    border: 1.5px solid var(--yh-border);
    background: #fff;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: visible;
}

.yh-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--yh-shadow-lg);
    border-color: rgba(var(--yh-primary-rgb), 0.2);
}

.yh-pricing-card.featured {
    border-color: rgba(var(--yh-primary-rgb), 0.3);
    box-shadow: var(--yh-shadow-lg);
    transform: scale(1.03);
    z-index: 2;
}

.yh-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.yh-pricing-top-bar {
    height: 4px;
    border-radius: var(--yh-card-radius) var(--yh-card-radius) 0 0;
    background: var(--yh-grad-primary);
}

/* --- Contact Cards --- */
.yh-contact-card {
    border-radius: 16px;
    border: 1px solid var(--yh-border);
    padding: 24px;
    transition: all 0.3s ease;
    background: #fff;
}

.yh-contact-card:hover {
    border-color: rgba(var(--yh-primary-rgb), 0.25);
    box-shadow: var(--yh-shadow-md);
    transform: translateY(-4px);
}

/* --- FAQ Accordion --- */
.accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid rgba(var(--yh-primary-rgb), 0.08) !important;
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--yh-shadow-sm);
}

.accordion-button {
    font-weight: 600;
    color: var(--yh-dark) !important;
    background: #fff !important;
}

.accordion-button:not(.collapsed) {
    color: var(--yh-primary) !important;
    background: rgba(var(--yh-primary-rgb), 0.03) !important;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: hue-rotate(200deg) saturate(0.5);
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

/* --- Stats / Swiper --- */
.yh-stat-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: var(--yh-bg-soft);
    transition: box-shadow 0.3s ease;
}

.yh-stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--yh-grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* --- Section Backgrounds --- */
.yh-bg-gradient {
    background: var(--yh-bg-gradient);
}

.yh-bg-soft {
    background: var(--yh-bg-soft);
}

/* --- Tag Badges --- */
.yh-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(var(--yh-primary-rgb), 0.08);
    color: var(--yh-primary);
    transition: all 0.2s ease;
}

.yh-tag:hover {
    background: rgba(var(--yh-primary-rgb), 0.15);
}

/* --- Mobile Mini Feature Chips --- */
.yh-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid rgba(var(--yh-primary-rgb), 0.15);
    color: var(--yh-dark);
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.yh-chip:hover {
    background: rgba(var(--yh-primary-rgb), 0.04);
    border-color: var(--yh-primary);
    color: var(--yh-primary);
}

/* --- Animated Gradient Text --- */
.yh-gradient-text {
    background: linear-gradient(135deg, var(--yh-primary) 0%, var(--yh-cyan) 50%, var(--yh-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* --- Floating Elements Animation --- */
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.yh-float {
    animation: floatY 5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--yh-primary-rgb), 0.3); }
    50% { box-shadow: 0 0 0 16px rgba(var(--yh-primary-rgb), 0); }
}

/* --- Browser Mockup Dots --- */
.yh-browser-chrome {
    background: #f8f9fa;
    padding: 10px 12px 0;
    border-radius: 12px 12px 0 0;
}

.yh-browser-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 8px 8px 0 0;
}

.yh-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* --- Comparison Table --- */
.yh-compare-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--yh-shadow-sm);
}

.yh-compare-table thead tr {
    background: var(--yh-grad-primary);
}

.yh-compare-table thead th {
    padding: 16px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.yh-compare-table tbody tr {
    border-bottom: 1px solid #f0f0f5;
    transition: background 0.2s ease;
}

.yh-compare-table tbody tr:hover {
    background: rgba(var(--yh-primary-rgb), 0.03) !important;
}

.yh-check-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--yh-primary), var(--yh-cyan));
    align-items: center;
    justify-content: center;
}

.yh-cross-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #f0f0f5;
    align-items: center;
    justify-content: center;
}

/* --- Footer --- */
footer.footer {
    background: #0f0f1a !important;
    border-top: 1px solid rgba(var(--yh-primary-rgb), 0.15);
}

/* --- Scroll To Top Button --- */
.btn-scroll-top {
    background: var(--yh-primary) !important;
    box-shadow: 0 4px 15px rgba(var(--yh-primary-rgb), 0.4) !important;
}

/* --- Navy Stats Swiper --- */
.swiper-pagination-bullet-active {
    background: var(--yh-primary) !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .yh-section-title {
        font-size: 1.8rem;
    }

    .yh-pricing-card.featured {
        transform: scale(1);
    }
}

/* --- Hero Wave Shape --- */
.yh-hero-wave {
    color: #f0f2ff;
}

/* --- Outline Button --- */
.yh-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: var(--yh-btn-radius);
    font-weight: 700;
    font-size: 15px;
    color: var(--yh-primary);
    border: 2px solid var(--yh-primary);
    background: transparent;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.yh-btn-outline:hover {
    background: var(--yh-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--yh-primary-rgb), 0.35);
}

/* --- Solid Button --- */
.yh-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: var(--yh-btn-radius);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: var(--yh-grad-primary);
    border: none;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(var(--yh-primary-rgb), 0.35);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.yh-btn-solid:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--yh-primary-rgb), 0.45);
}