/**
 * Ana sayfa — Ücretsiz seviye tespit CTA
 * Eski .edu-cta-banner-area::before arka planını bastırır; .home-cta ile kapsüllenir.
 */

.home-cta.edu-cta-banner-area {
    padding: clamp(3rem, 8vw, 5rem) 0 !important;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 38%, #1e3a5f 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-cta.edu-cta-banner-area::before {
    display: none !important;
}

.home-cta__ambient {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 55% at 20% 20%, rgba(var(--color-primary-rgb), 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 80%, rgba(99, 102, 241, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(14, 165, 233, 0.15) 0%, transparent 45%);
    opacity: 0.95;
}

.home-cta__ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.home-cta .container {
    position: relative;
    z-index: 2;
}

.home-cta .edu-cta-banner {
    position: relative;
    z-index: 1;
}

.home-cta__panel {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 24px 56px rgba(0, 0, 0, 0.25);
}

.home-cta__inner {
    max-width: 36rem;
    margin: 0 auto;
}

.home-cta__badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fef3c7;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 999px;
}

.home-cta__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #f8fafc;
}

.home-cta__lead {
    margin: 0 0 1.5rem;
    font-size: clamp(0.98rem, 1.15vw, 1.0625rem);
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.92);
}

/* Şablon .edu-btn sabit height/line-height + ::after overlay — CTA ile çakışmasın */
.home-cta__btn.edu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.35 !important;
    border-radius: 999px !important;
    padding: 0.85rem 1.85rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: -0.01em;
    border: none !important;
    overflow: visible !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 12px 36px rgba(var(--color-primary-rgb), 0.32);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        filter 0.2s ease;
}

.home-cta__btn.edu-btn::after {
    display: none !important;
}

.home-cta__btn.edu-btn:hover {
    color: #fff !important;
    border: none !important;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 18px 44px rgba(var(--color-primary-rgb), 0.38);
}

.home-cta__btn.edu-btn:hover::after {
    display: none !important;
}

.home-cta__btn.edu-btn i {
    position: static !important;
    padding-left: 0 !important;
    font-size: 0.75em !important;
    line-height: 1;
    transition: transform 0.2s ease;
}

.home-cta__btn.edu-btn:hover i {
    transform: translateX(4px);
}

/* Dekoratif şekiller — daha soluk */
.home-cta .edu-cta-banner .shape-group img {
    opacity: 0.35;
    filter: saturate(0.85);
}

@media (max-width: 767px) {
    .home-cta .edu-cta-banner .shape-group {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .home-cta__btn.edu-btn {
        height: auto !important;
        line-height: 1.35 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-cta__btn.edu-btn,
    .home-cta__btn.edu-btn:hover {
        transition: none;
        transform: none;
    }
}
