/* ==========================================================================
   HERO PRO — Doç. Dr. Vahit Mutlu
   style.css'in EN ALTINA ekleyin veya ayrı dosya olarak style.css'ten SONRA
   yükleyin. Mevcut tema kurallarını ezmek için .hero-pro sınıfına dayanır.
   ========================================================================== */

.th-hero-wrapper.hero-pro {
    --hp-ink: #1C2359;
    --hp-teal: #15AAC2;
    --hp-mint: #1FC5B1;
    --hp-line: rgba(28, 35, 89, .10);
    --hp-radius: 44px;
    position: relative;
    padding-bottom: 0;
}

/* Tema hero-inner'ında arka plan varsa temizle */
.th-hero-wrapper.hero-pro .hero-inner {
    background: none !important;
    padding: 0 !important;
}

/* --------------------------------------------------------------- PANEL -- */
.th-hero-wrapper.hero-pro .hero-slide-area {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--hp-radius);
    padding: 1px 60px 0;
    background:
        radial-gradient(85% 110% at 82% 108%, rgba(31, 197, 177, .34) 0%, rgba(31, 197, 177, 0) 62%),
        radial-gradient(70% 95% at 4% -12%, rgba(21, 170, 194, .30) 0%, rgba(21, 170, 194, 0) 66%),
        linear-gradient(152deg, #EDF9FB 0%, #DCF2F5 45%, #C9EBEE 100%);
    box-shadow: 0 34px 90px -46px rgba(28, 35, 89, .55);
}

/* EKG kağıdı deseni (ince + kalın kareler), sol üstten sağa doğru sönüyor */
.th-hero-wrapper.hero-pro .hero-slide-area::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(28, 35, 89, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 35, 89, .055) 1px, transparent 1px),
        linear-gradient(rgba(28, 35, 89, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 35, 89, .028) 1px, transparent 1px);
    background-size: 125px 125px, 125px 125px, 25px 25px, 25px 25px;
    -webkit-mask-image: radial-gradient(125% 105% at 0% 0%, #000 12%, transparent 72%);
    mask-image: radial-gradient(125% 105% at 0% 0%, #000 12%, transparent 72%);
}

/* --------------------------------------------------- DEKORATİF KATMANLAR -- */
.hp-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.hp-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
}

.hp-orb--1 {
    width: 460px;
    height: 460px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle at 35% 35%, var(--hp-mint), rgba(31, 197, 177, 0) 70%);
    animation: hpFloat 14s ease-in-out infinite;
}

.hp-orb--2 {
    width: 520px;
    height: 520px;
    right: 8%;
    bottom: -220px;
    background: radial-gradient(circle at 50% 40%, var(--hp-teal), rgba(21, 170, 194, 0) 70%);
    animation: hpFloat 18s ease-in-out infinite reverse;
}

/* EKG çizgisi */
.hp-pulse {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16%;
    width: 100%;
    height: 190px;
}

.hp-pulse path {
    fill: none;
    stroke: url(#hpPulseGrad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
    animation: hpDraw 7s ease-in-out infinite;
}

@keyframes hpDraw {
    0% { stroke-dashoffset: 2600; opacity: 0; }
    12% { opacity: .9; }
    65% { stroke-dashoffset: 0; opacity: .9; }
    92%, 100% { stroke-dashoffset: -2600; opacity: 0; }
}

@keyframes hpFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, -34px, 0) scale(1.08); }
}

/* ------------------------------------------------------------- İÇERİK -- */
.th-hero-wrapper.hero-pro .hero-style2 {
    position: relative;
    z-index: 2;
    padding-bottom: 90px;
}

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px 9px 16px;
    margin-bottom: 26px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 10px 30px -18px rgba(28, 35, 89, .6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: var(--body-font, "Inter", sans-serif);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-ink);
}

.hp-eyebrow i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--hp-teal);
    box-shadow: 0 0 0 0 rgba(21, 170, 194, .55);
    animation: hpBeat 2s ease-out infinite;
}

@keyframes hpBeat {
    0% { box-shadow: 0 0 0 0 rgba(21, 170, 194, .5); }
    70% { box-shadow: 0 0 0 12px rgba(21, 170, 194, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 170, 194, 0); }
}

.th-hero-wrapper.hero-pro .hero-title {
    color: var(--hp-ink);
    background: linear-gradient(104deg, #1C2359 0%, #1C2359 42%, #15AAC2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -.015em;
}

.th-hero-wrapper.hero-pro .hero-text {
    max-width: 560px;
    font-size: 19px;
    line-height: 1.65;
    color: #4A5170;
    margin-bottom: 36px;
}

.th-hero-wrapper.hero-pro .btn-group {
    margin-bottom: 44px;
}

/* Güven satırı */
.hp-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0 38px;
    margin: 0;
    padding: 26px 0 0;
    list-style: none;
    border-top: 1px solid var(--hp-line);
    max-width: 620px;
}

.hp-facts li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    padding-right: 38px;
}

.hp-facts li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: var(--hp-line);
}

.hp-facts li:last-child {
    padding-right: 0;
}

.hp-facts strong {
    font-family: var(--title-font, "Outfit", sans-serif);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--hp-ink);
}

.hp-facts span {
    font-size: 14px;
    line-height: 1.4;
    color: #6A708C;
}

/* -------------------------------------------------------------- GÖRSEL -- */
.th-hero-wrapper.hero-pro .hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: -1px;
}

.th-hero-wrapper.hero-pro .hero-image img {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Fotoğrafın arkasındaki disk */
.hp-disc {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 118%;
    aspect-ratio: 1 / 1;
    max-height: 92%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .45) 48%, rgba(255, 255, 255, 0) 72%);
    z-index: 0;
}

/* Dönen kesikli halka */
.hp-ring {
    position: absolute;
    left: 50%;
    bottom: 4%;
    transform: translateX(-50%);
    width: 96%;
    aspect-ratio: 1 / 1;
    max-height: 78%;
    border-radius: 50%;
    border: 1.5px dashed rgba(21, 170, 194, .35);
    z-index: 1;
    animation: hpSpin 40s linear infinite;
}

@keyframes hpSpin {
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Cam kart */
.hp-card {
    position: absolute;
    left: 0;
    bottom: 84px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 16px;
    text-align: left;
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 24px 50px -28px rgba(28, 35, 89, .65);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: hpFloatCard 6s ease-in-out infinite;
}

@keyframes hpFloatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hp-card__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--hp-teal), var(--hp-mint));
}

.hp-card__title {
    display: block;
    font-family: var(--title-font, "Outfit", sans-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hp-ink);
}

.hp-card__meta {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: #6A708C;
}

/* ------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1399px) {
    .th-hero-wrapper.hero-pro .hero-slide-area { padding: 60px 44px 0; }
    .hp-facts strong { font-size: 26px; }
}

@media (max-width: 1199px) {
    .th-hero-wrapper.hero-pro { --hp-radius: 32px; }
    .th-hero-wrapper.hero-pro .hero-slide-area { padding: 54px 32px 0; text-align: center; }
    .th-hero-wrapper.hero-pro .hero-style2 { padding-bottom: 46px; }
    .th-hero-wrapper.hero-pro .hero-text { margin-left: auto; margin-right: auto; }
    .hp-facts { justify-content: center; margin: 0 auto; }
    .th-hero-wrapper.hero-pro .hero-image { max-width: 460px; margin-left: auto; margin-right: auto; }
    .hp-card { left: -12px; bottom: 60px; }
    .hp-pulse { bottom: 26%; opacity: .7; }
}

@media (max-width: 767px) {
    .th-hero-wrapper.hero-pro { --hp-radius: 26px; }
    .th-hero-wrapper.hero-pro .hero-slide-area { padding: 42px 20px 0; }
    .hp-eyebrow { font-size: 13px; padding: 7px 16px 7px 13px; }
    .th-hero-wrapper.hero-pro .hero-text { font-size: 16px; }
    .hp-facts { gap: 22px 26px; padding-top: 22px; }
    .hp-facts li { padding-right: 26px; }
    .hp-facts strong { font-size: 22px; }
    .hp-facts span { font-size: 13px; }
    .hp-card { position: static; margin: 0 auto 18px; width: fit-content; animation: none; }
    .hp-pulse { display: none; }
    .hp-orb--1, .hp-orb--2 { width: 300px; height: 300px; }
}

/* ------------------------------------------------------ ERİŞİLEBİLİRLİK -- */
.th-hero-wrapper.hero-pro a:focus-visible {
    outline: 3px solid var(--hp-ink);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .hp-orb, .hp-ring, .hp-card, .hp-eyebrow i { animation: none !important; }
    .hp-pulse path { animation: none !important; stroke-dashoffset: 0; opacity: .55; }
}