/* Ana sayfa — başarı hikâyesi (premium dark / köşeli) */
.home-story-tsoft {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(253, 105, 5, 0.22);
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(253, 105, 5, 0.16), transparent 55%),
        linear-gradient(180deg, #07090e 0%, #0b1020 48%, #0f1528 100%);
    color: #fff;
}
.home-story-tsoft__glow {
    position: absolute;
    inset: auto -10% -30% 40%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(253, 105, 5, 0.18), transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.home-story-tsoft__badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(253, 105, 5, 0.55);
    background: rgba(253, 105, 5, 0.1);
    color: #fdba74;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-story-tsoft__title {
    margin: 0;
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #fff;
}
.home-story-tsoft__title-accent {
    display: block;
    margin-top: 0.2rem;
    color: #fd6905;
    text-shadow: 0 0 36px rgba(253, 105, 5, 0.3);
}
.home-story-tsoft__lead {
    margin: 1.1rem 0 0;
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.78);
}
.home-story-tsoft__inline-link {
    color: #fdba74;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(253, 105, 5, 0.45);
    text-underline-offset: 3px;
}
.home-story-tsoft__inline-link:hover {
    color: #fd6905;
}

.home-story-tsoft__refs {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.home-story-tsoft__refs-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fd6905;
}
.home-story-tsoft__refs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.home-story-tsoft__refs-list li {
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}
.home-story-tsoft__refs-more {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fdba74;
    text-decoration: none;
}
.home-story-tsoft__refs-more:hover {
    color: #fd6905;
}

.home-story-tsoft__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.75rem;
}
.home-story-tsoft__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.7rem 1.35rem;
    border-radius: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.home-story-tsoft__btn--solid {
    background: #fd6905;
    border: 1px solid #fd6905;
    color: #fff;
    box-shadow: 0 0 28px -6px rgba(253, 105, 5, 0.7);
}
.home-story-tsoft__btn--solid:hover {
    background: #e05a04;
    border-color: #e05a04;
    transform: translateY(-2px);
}
.home-story-tsoft__btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}
.home-story-tsoft__btn--ghost:hover {
    border-color: #fd6905;
    color: #fdba74;
    transform: translateY(-2px);
}

.home-story-tsoft__figure {
    position: relative;
    margin: 0;
    width: min(100%, 26rem);
    border: 1px solid rgba(253, 105, 5, 0.35);
    background: rgba(8, 10, 16, 0.55);
    box-shadow:
        0 0 40px -12px rgba(253, 105, 5, 0.4),
        0 28px 60px -36px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}
.home-story-tsoft__figure::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 14, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}
.home-story-tsoft__figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}
@media (min-width: 1024px) {
    .home-story-tsoft__figure {
        width: min(100%, 28rem);
    }
}

.home-story-tsoft__cards {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    overflow: visible;
}
.home-story-tsoft__card {
    min-height: 17.5rem;
    perspective: 1200px;
    background: transparent;
    border: none;
}
.home-story-tsoft__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
    .home-story-tsoft__card:hover .home-story-tsoft__card-inner,
    .home-story-tsoft__card:focus-within .home-story-tsoft__card-inner {
        transform: rotateY(180deg);
    }
}
.home-story-tsoft__card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.home-story-tsoft__card-face--front {
    background: rgba(15, 23, 42, 0.55);
}
.home-story-tsoft__card-face--back {
    justify-content: flex-end;
    padding: 1.35rem 1.25rem 1.5rem;
    background: linear-gradient(155deg, #fd6905 0%, #c44a04 48%, #1a0f0a 100%);
    border-color: rgba(253, 105, 5, 0.55);
    transform: rotateY(180deg);
    box-shadow: 0 1rem 2.25rem rgba(253, 105, 5, 0.22);
}
@media (min-width: 768px) and (max-width: 1279.98px) {
    .home-story-tsoft__card--wide {
        grid-column: 1 / -1;
        min-height: 16rem;
    }
}
.home-story-tsoft__card-media {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: #0b1220;
}
.home-story-tsoft__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.home-story-tsoft__card-body {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    padding: 1rem 1.15rem 1.15rem;
    text-align: left;
    background: rgba(8, 12, 22, 0.92);
}
.home-story-tsoft__card-body h3,
.home-story-tsoft__card-face--back h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.3;
}
.home-story-tsoft__card-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.home-story-tsoft__card-face--back p:not(.home-story-tsoft__card-kicker) {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

@media (hover: none), (pointer: coarse) {
    .home-story-tsoft__card {
        min-height: 0;
        perspective: none;
    }
    .home-story-tsoft__card-inner {
        transform: none !important;
        transform-style: flat;
    }
    .home-story-tsoft__card-face {
        position: relative;
        inset: auto;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
    }
    .home-story-tsoft__card-face--back {
        transform: none;
        margin-top: 0;
        border-top: none;
        box-shadow: none;
        padding-top: 1.15rem;
    }
    .home-story-tsoft__card-face--front .home-story-tsoft__card-body {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-story-tsoft__btn,
    .home-story-tsoft__card-inner {
        transition: none;
    }
    @media (hover: hover) and (pointer: fine) {
        .home-story-tsoft__card:hover .home-story-tsoft__card-inner,
        .home-story-tsoft__card:focus-within .home-story-tsoft__card-inner {
            transform: none;
        }
    }
    .home-story-tsoft__card-face--back {
        position: static;
        transform: none;
        margin-top: 0.75rem;
    }
    .home-story-tsoft__card-inner {
        transform-style: flat;
    }
    .home-story-tsoft__card {
        min-height: 0;
    }
    .home-story-tsoft__card-face--front {
        position: relative;
    }
}
