/* Bookim — Referanslar (yalnızca UI) */

.references-page {
    --ref-theme: var(--theme, #ff7b6b);
    --ref-theme-strong: #ff3b3b;
    --ref-header: var(--header, #11112c);
    --ref-text: var(--text, #797979);
    --ref-border: #eef0f5;
    --ref-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
    --ref-paper: #fff;
    background: linear-gradient(180deg, #fffdf9 0%, #fff 30%, #f8fafc 100%);
    overflow: hidden;
}

.references-page__bg-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image: none;
    background-size: 26px 26px;
}

.references-page__bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    opacity: 0.42;
}

.references-page__bg-blob--1 {
    width: 300px;
    height: 300px;
    top: 8%;
    right: -50px;
    background: rgba(255, 180, 140, 0.2);
}

.references-page__bg-blob--2 {
    width: 260px;
    height: 260px;
    left: -40px;
    bottom: 15%;
    background: rgba(147, 197, 253, 0.18);
}

/* Hero */

.references-hero {
    position: relative;
    padding: 3.25rem 0 2rem;
}

.references-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    opacity: 0.48;
}

.references-hero__blob--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    left: -40px;
    background: linear-gradient(135deg, rgba(255, 123, 107, 0.16), rgba(255, 247, 237, 0.18));
}

.references-hero__blob--2 {
    width: 240px;
    height: 240px;
    top: 20px;
    right: 8%;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(74, 222, 128, 0.1));
}

.references-hero__inner {
    position: relative;
    z-index: 1;
}

.references-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    background: rgba(255, 123, 107, 0.11);
    color: var(--ref-theme-strong);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.references-hero__title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    color: var(--ref-header);
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.references-hero__title::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 0.85rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--ref-theme-strong), var(--ref-theme));
}

.references-hero__lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ref-text);
    max-width: 34rem;
    margin: 0;
}

/* Hero illüstrasyon — ağ / iş ortaklığı */

.references-illustration {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.references-illustration__stage {
    position: relative;
    width: min(100%, 360px);
    height: 280px;
}

.references-illustration__network {
    position: absolute;
    inset: 12% 8% 18% 8%;
    border: 2px dashed rgba(255, 123, 107, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.references-illustration__network-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 123, 107, 0.25), transparent);
    transform-origin: left center;
    z-index: 1;
}

.references-illustration__network-line--1 {
    width: 90px;
    top: 42%;
    left: 28%;
    transform: rotate(-18deg);
}

.references-illustration__network-line--2 {
    width: 80px;
    top: 48%;
    right: 22%;
    transform: rotate(22deg);
}

.references-illustration__network-line--3 {
    width: 70px;
    top: 58%;
    left: 38%;
    transform: rotate(8deg);
}

.references-illustration__node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ref-theme);
    box-shadow: 0 0 0 4px rgba(255, 123, 107, 0.15);
    z-index: 2;
}

.references-illustration__node--1 { top: 28%; left: 42%; }
.references-illustration__node--2 { top: 38%; right: 28%; background: #8b7cf6; box-shadow: 0 0 0 4px rgba(139, 124, 246, 0.15); }
.references-illustration__node--3 { bottom: 32%; left: 22%; background: #4cb88a; box-shadow: 0 0 0 4px rgba(76, 184, 138, 0.15); }
.references-illustration__node--4 { bottom: 28%; right: 34%; background: #5b9fd4; box-shadow: 0 0 0 4px rgba(91, 159, 212, 0.15); }

.references-illustration__logo-card {
    position: absolute;
    background: var(--ref-paper);
    border: 1px solid var(--ref-border);
    border-radius: 10px;
    box-shadow: var(--ref-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--ref-header);
    z-index: 3;
}

.references-illustration__logo-card--1 {
    width: 72px;
    height: 48px;
    top: 18%;
    left: 10%;
    transform: rotate(-6deg);
    background: linear-gradient(145deg, #fff, #fef3c7);
}

.references-illustration__logo-card--2 {
    width: 80px;
    height: 52px;
    top: 12%;
    right: 8%;
    transform: rotate(5deg);
    background: linear-gradient(145deg, #fff, #e0e7ff);
}

.references-illustration__logo-card--3 {
    width: 76px;
    height: 50px;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    background: linear-gradient(145deg, #fff, #dcfce7);
}

.references-illustration__handshake {
    position: absolute;
    right: 6%;
    bottom: 20%;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--ref-header);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--ref-shadow);
    z-index: 5;
}

.references-illustration__stars {
    position: absolute;
    top: 6%;
    left: 38%;
    font-size: 0.75rem;
    color: rgba(255, 159, 90, 0.7);
    letter-spacing: 0.35rem;
    z-index: 1;
}

/* Güven alanı — stat kartları */

.references-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-bottom: 2.5rem;
}

.references-trust__card {
    background: var(--ref-paper);
    border: 1px solid var(--ref-border);
    border-radius: 20px;
    padding: 1.15rem 1.25rem;
    box-shadow: var(--ref-shadow);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.references-trust__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.1);
}

.references-trust__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid var(--ref-border);
}

.references-trust__card:nth-child(1) .references-trust__icon {
    background: rgba(255, 123, 107, 0.1);
    color: var(--ref-theme-strong);
}

.references-trust__card:nth-child(2) .references-trust__icon {
    background: rgba(91, 159, 212, 0.12);
    color: #5b9fd4;
}

.references-trust__card:nth-child(3) .references-trust__icon {
    background: rgba(76, 184, 138, 0.12);
    color: #4cb88a;
}

.references-trust__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ref-header);
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.references-trust__text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--ref-text);
    margin: 0;
}

/* Bölüm başlığı */

.references-section-head {
    margin-bottom: 1.75rem;
}

.references-section-head h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--ref-header);
    margin-bottom: 0.35rem;
}

.references-section-head p {
    color: var(--ref-text);
    margin: 0;
    font-size: 0.9375rem;
}

/* Logo grid */

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.references-card {
    --ref-accent: #ff7b6b;
    display: flex;
    flex-direction: column;
    background: var(--ref-paper);
    border: 1px solid var(--ref-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--ref-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: referencesFadeUp 0.48s ease both;
    position: relative;
    text-decoration: none;
    color: inherit;
}

a.references-card:hover {
    color: inherit;
}

.references-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ref-accent), transparent);
    opacity: 0.75;
}

.references-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.11);
}

.references-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 1.35rem 1.25rem 0.85rem;
}

.references-card__logo {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.92;
}

.references-card:hover .references-card__logo {
    transform: scale(1.05);
    opacity: 1;
}

.references-card__body {
    padding: 0.65rem 1.1rem 1.15rem;
    text-align: center;
}

.references-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ref-header);
    line-height: 1.35;
    margin: 0;
}

.references-card__desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--ref-text);
    margin: 0.35rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Placeholder */

.references-placeholder {
    width: 100%;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 55%, #fef3f2 100%);
    border-radius: 12px;
    color: #64748b;
}

.references-placeholder__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ref-theme);
    font-size: 1rem;
    border: 1px solid var(--ref-border);
}

.references-placeholder__text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 0;
}

/* Boş durum */

.references-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border-radius: 24px;
    background: var(--ref-paper);
    border: 1px dashed var(--ref-border);
    box-shadow: var(--ref-shadow);
}

.references-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 123, 107, 0.1);
    color: var(--ref-theme);
    font-size: 1.75rem;
    border: 1px solid var(--ref-border);
}

.references-empty__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ref-header);
    margin-bottom: 0.35rem;
}

.references-empty__text {
    font-size: 0.9375rem;
    color: var(--ref-text);
    margin: 0;
}

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

@media (min-width: 1400px) {
    .references-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .references-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .references-trust {
        grid-template-columns: 1fr;
    }

    .references-illustration {
        margin-top: 1.5rem;
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .references-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .references-hero {
        padding-top: 2.25rem;
    }
}

@media (max-width: 479.98px) {
    .references-grid {
        grid-template-columns: 1fr;
    }
}
