/* ==========================================
   SİTE ALT BİLGİSİ
   Sitenin finali: koyu, yuvarlak köşeli kart. Dev davet başlığı + e-posta,
   dönen slogan rozeti, eğik akan sarı bant, bağlantı sütunları ve imleçle
   sarıya boyanan dev site adı. Tek font: Montserrat.
   ========================================== */

.sf {
    --ink: #0d0d0d;
    --brand: #ffdd00;
    --paper: #f2f2f2;
    --muted: rgba(242, 242, 242, 0.5);
    --line: rgba(242, 242, 242, 0.1);
    --pad: clamp(20px, 3.4vw, 48px);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    margin: 0 12px 12px;
    color: var(--paper);
}

.sf__card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
    background: #121212;
    container-type: inline-size;
}

.sf a {
    color: inherit;
    text-decoration: none;
}

.sf a:focus-visible,
.sf button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px;
}

/* --- Davet --- */
.sf__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(40px, 7vh, 80px) var(--pad) clamp(36px, 6vh, 64px);
}

.sf__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.sf__eyebrow span {
    width: 8px;
    height: 8px;
    background: var(--brand);
}

.sf__title {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.4rem, 5.6vw, 5.8rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.sf__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: clamp(24px, 4vh, 40px);
}

.sf__mail {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background-image: linear-gradient(var(--brand), var(--brand));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 3px;
    padding-bottom: 4px;
    transition: background-size 0.45s var(--ease), color 0.3s ease;
}

.sf__mail:hover {
    color: var(--ink);
    background-size: 100% 100%;
}

.sf__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 7px 0 20px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--ink) !important;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.sf__cta:hover {
    transform: translateY(-2px);
}

.sf__cta-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--brand);
    transition: transform 0.45s var(--ease);
}

.sf__cta-icon svg {
    width: 17px;
    height: 17px;
}

.sf__cta:hover .sf__cta-icon {
    transform: rotate(45deg);
}

/* Dönen rozet */
.sf__badge {
    flex: none;
    width: clamp(120px, 12vw, 180px);
    transition: transform 0.5s var(--ease);
}

.sf__badge svg {
    display: block;
    width: 100%;
    overflow: visible;
}

.sf__badge text {
    font-size: 9.4px;
    font-weight: 800;
    letter-spacing: 0.08em;
    fill: var(--paper);
    transform-origin: 60px 60px;
    animation: sf-spin 18s linear infinite;
}

.sf__badge circle {
    fill: var(--brand);
    transition: r 0.4s var(--ease);
}

.sf__badge-arrow {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 60px 60px;
    transition: transform 0.45s var(--ease);
}

.sf__badge:hover {
    transform: scale(1.06);
}

.sf__badge:hover .sf__badge-arrow {
    transform: rotate(45deg);
}

@keyframes sf-spin {
    to { transform: rotate(360deg); }
}

/* --- Eğik akan bant --- */
.sf__band {
    display: flex;
    width: calc(100% + 80px);
    margin: 0 -40px;
    padding: 14px 0;
    background: var(--brand);
    color: var(--ink);
    rotate: -2deg;
    overflow: hidden;
}

.sf__band-track {
    display: flex;
    flex: none;
    align-items: center;
    animation: sf-band 38s linear infinite;
}

.sf__band span {
    padding: 0 22px;
    font-size: clamp(1.3rem, 2.4vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sf__band i {
    width: 22px;
    height: 22px;
    background: var(--ink);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.sf__band:hover .sf__band-track {
    animation-play-state: paused;
}

@keyframes sf-band {
    to { transform: translateX(-100%); }
}

/* --- Sütunlar --- */
.sf__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: clamp(40px, 7vh, 72px);
    padding: 0 var(--pad);
}

.sf__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.sf__heading::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand);
}

.sf__col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf__col ul a {
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.25s ease, translate 0.35s var(--ease);
}

.sf__col ul a:hover {
    color: var(--brand);
    translate: 6px 0;
}

.sf__contact li {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sf__contact small {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.sf__contact span {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(242, 242, 242, 0.8);
}

.sf__socials a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(242, 242, 242, 0.05);
    translate: none !important;
    transition: background 0.25s ease, color 0.25s ease !important;
}

.sf__socials a:hover {
    background: var(--brand);
    color: var(--ink) !important;
}

.sf__social-arrow {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(242, 242, 242, 0.1);
    transition: transform 0.4s var(--ease), background 0.25s ease;
}

.sf__social-arrow svg {
    width: 12px;
    height: 12px;
}

.sf__socials a:hover .sf__social-arrow {
    background: var(--ink);
    color: var(--brand);
    transform: rotate(45deg);
}

/* --- Alt satır --- */
.sf__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(40px, 6vh, 64px);
    padding: 22px var(--pad);
    border-top: 1px solid var(--line);
}

.sf__logo img {
    display: block;
    height: 36px;
    width: auto;
}

.sf__copy {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    text-align: center;
}

.sf__top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--paper);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.sf__top-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(242, 242, 242, 0.08);
    transition: background 0.25s ease, color 0.25s ease, translate 0.35s var(--ease);
}

.sf__top-icon svg {
    width: 16px;
    height: 16px;
}

.sf__top:hover .sf__top-icon {
    background: var(--brand);
    color: var(--ink);
    translate: 0 -4px;
}

/* --- Dev site adı --- */
.sf__wordmark {
    --x: 50%;
    --y: 50%;
    --r: 0px;

    position: relative;
    margin-top: -0.12em;
    padding: 0 var(--pad);
    /* Kart genişliğine göre ölçeklenir: site adı her ekranda tam sığar, alt kısmı kesik durur */
    height: 6.9cqi;
    overflow: hidden;
    font-size: 8.7cqi;
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.06em;
    white-space: nowrap;
    user-select: none;
}

.sf__wordmark span {
    position: absolute;
    left: 50%;
    top: 0;
    translate: -50% 0;
}

.sf__wordmark-base {
    color: rgba(242, 242, 242, 0.07);
}

/* İmleç çevresinde sarı "el feneri" */
.sf__wordmark-light {
    color: var(--brand);
    -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 55%, transparent 100%);
    mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 55%, transparent 100%);
    transition: --r 0.4s ease;
}

@property --r {
    syntax: '<length>';
    inherits: true;
    initial-value: 0px;
}

.sf__wordmark.is-lit {
    --r: 180px;
}

/* --- Duyarlı --- */
@media (max-width: 1100px) {
    .sf__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .sf {
        margin: 0 8px 8px;
    }

    .sf__card {
        border-radius: 22px;
    }

    .sf__hero {
        flex-direction: column;
    }

    .sf__badge {
        position: absolute;
        top: 28px;
        right: 20px;
        width: 92px;
    }

    .sf__title {
        padding-right: 90px;
    }

    .sf__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sf__bottom {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sf__copy {
        order: 3;
        width: 100%;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf__badge text,
    .sf__band-track {
        animation: none;
    }
}
