/* ============================================================
   KUTLUAPP — MOBİL UYGULAMA TANITIM SAYFASI
   home.css + page.css üzerine kurulu
   ============================================================ */

/* ============================================================
   1) HERO
   ============================================================ */
.appero {
    position: relative;
    background: var(--k-black);
    color: #fff;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}

.appero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 78% 22%, rgba(227, 6, 19, .34) 0%, transparent 62%),
        radial-gradient(ellipse 50% 60% at 12% 88%, rgba(227, 6, 19, .14) 0%, transparent 60%);
    pointer-events: none;
}

/* İnce ızgara dokusu */
.appero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.appero__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    /* minmax(0,…) sütunların içerik yüzünden şişmesini engeller */
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.appero__badge {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: 'Oswald', sans-serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.appero__badge i { color: var(--k-red-light); }

.appero__title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.3rem, 5.6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.01em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.25rem;
}

.appero__title em {
    font-style: normal;
    color: var(--k-red-light);
}

.appero__lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, .74);
    max-width: 54ch;
    margin: 0 0 2.25rem;
}

/* Mağaza rozetleri */
.stores {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: 2.5rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem 1.6rem;
    border-radius: 16px;
    background: #fff;
    color: var(--k-ink);
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transition: transform .3s var(--k-ease), box-shadow .3s var(--k-ease);
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
    color: var(--k-ink);
}

.store-btn i {
    font-size: 1.85rem;
    line-height: 1;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store-btn__text small {
    font-size: .64rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--k-gray);
}

.store-btn__text strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: .01em;
}

/* Koyu varyant (açık zeminde) */
.store-btn--dark {
    background: var(--k-ink);
    color: #fff;
    box-shadow: 0 10px 30px rgba(13, 13, 13, .28);
}

.store-btn--dark:hover { color: #fff; }
.store-btn--dark .store-btn__text small { color: rgba(255, 255, 255, .55); }

/* Teknik künye satırı */
.appero__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.spec strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.spec span {
    display: block;
    margin-top: .35rem;
    font-size: .68rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

/* ============================================================
   2) UYGULAMA GÖRSELİ (App Store tanıtım kartları)
   Görsellerin kendi telefon çerçevesi olduğu için ek çerçeve yok
   ============================================================ */
.appero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
}

/* Arkadaki hale */
.appero__glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 6, 19, .34) 0%, transparent 66%);
    filter: blur(24px);
    pointer-events: none;
}

/* Tek tanıtım kartı */
.appcard {
    position: relative;
    width: clamp(210px, 23vw, 268px);
    aspect-ratio: 1284 / 2778;
    border-radius: 26px;
    overflow: hidden;
    background: #0d0d0d;
    box-shadow:
        0 34px 80px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(255, 255, 255, .09);
}

.appcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Görsel yoksa yer tutucu */
.appcard__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(160deg, #1a1c20 0%, #0d0d0d 100%);
    color: rgba(255, 255, 255, .32);
}

.appcard__placeholder img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    opacity: .5;
}

.appcard__placeholder span {
    font-size: .78rem;
    line-height: 1.6;
}

/* Hero'daki yelpaze dizilim */
.appstack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.appstack .appcard { z-index: 3; }

.appstack .appcard--left,
.appstack .appcard--right {
    position: absolute;
    z-index: 1;
    opacity: .62;
}

.appstack .appcard--left {
    left: -32%;
    transform: scale(.86) rotate(-8deg);
}

.appstack .appcard--right {
    right: -32%;
    transform: scale(.86) rotate(8deg);
    z-index: 2;
    opacity: .78;
}

/* Süzülme animasyonu */
.appcard--float { animation: appFloat 6.5s ease-in-out infinite; }

@keyframes appFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ============================================================
   3) ÖZELLİK KARTLARI
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Üç kartlık düzende ortalanmış, biraz daha dar tut */
.features--3 {
    max-width: 1060px;
    margin: 0 auto;
}

.feature {
    position: relative;
    padding: 2rem 1.85rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--k-line);
    overflow: hidden;
    transition: transform .36s var(--k-ease), box-shadow .36s var(--k-ease), border-color .36s var(--k-ease);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--k-red-dark), var(--k-red-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--k-ease);
}

.feature:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 56px rgba(13, 13, 13, .13);
    border-color: rgba(227, 6, 19, .22);
}

.feature:hover::before { transform: scaleX(1); }

.feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: rgba(227, 6, 19, .08);
    color: var(--k-red);
    font-size: 1.2rem;
    margin-bottom: 1.3rem;
    transition: all .32s var(--k-ease);
}

.feature:hover .feature__icon {
    background: linear-gradient(135deg, var(--k-red) 0%, var(--k-red-dark) 100%);
    color: #fff;
}

.feature h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--k-ink);
    margin: 0 0 .65rem;
}

.feature p {
    font-size: .96rem;
    line-height: 1.75;
    color: var(--k-gray);
    margin: 0;
}

/* ============================================================
   4) EKRAN GÖRÜNTÜLERİ ŞERİDİ
   ============================================================ */
.shots {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem .25rem 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(227, 6, 19, .5) transparent;
}

.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-track { background: rgba(13, 13, 13, .06); border-radius: 3px; }
.shots::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--k-red), var(--k-red-dark));
    border-radius: 3px;
}

.shot {
    flex: 0 0 auto;
    scroll-snap-align: center;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: transform .4s var(--k-ease);
}

.shot:hover { transform: translateY(-10px); }

.shot .appcard {
    width: 244px;
    box-shadow: 0 24px 56px rgba(13, 13, 13, .26);
    transition: box-shadow .4s var(--k-ease);
}

.shot:hover .appcard {
    box-shadow: 0 34px 74px rgba(227, 6, 19, .28);
}

.shot__hint {
    display: block;
    margin-top: .9rem;
    font-family: 'Oswald', sans-serif;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--k-gray);
    opacity: 0;
    transition: opacity .3s var(--k-ease);
}

.shot:hover .shot__hint { opacity: 1; }

/* Kaydırma ipucu */
.shots-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-size: .82rem;
    color: var(--k-gray);
    margin-top: -.5rem;
}

.shots-hint i { color: var(--k-red); }

/* ============================================================
   5) KİMLER İÇİN
   ============================================================ */
.roles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.role {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: all .34s var(--k-ease);
}

.role:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(227, 6, 19, .38);
    transform: translateY(-6px);
}

.role__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1.15rem;
    border-radius: 19px;
    display: grid;
    place-items: center;
    background: rgba(227, 6, 19, .16);
    color: var(--k-red-light);
    font-size: 1.35rem;
}

.role h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 .55rem;
}

.role p {
    font-size: .92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .6);
    margin: 0;
}

/* ============================================================
   6) İNDİRME BANDI
   ============================================================ */
.download-band {
    position: relative;
    border-radius: 26px;
    padding: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--k-red) 0%, var(--k-red-dark) 100%);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.download-band::before {
    content: '';
    position: absolute;
    top: -45%;
    right: -6%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    pointer-events: none;
}

.download-band__text { position: relative; z-index: 2; }

.download-band h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 .6rem;
}

.download-band p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
    margin: 0;
    max-width: 50ch;
}

.download-band .stores {
    position: relative;
    z-index: 2;
    margin: 0;
}

/* ============================================================
   7) RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .appero__inner { grid-template-columns: 1fr; }

    .appero__visual {
        order: -1;
        min-height: 460px;
        margin-bottom: 1rem;
    }

    .features { grid-template-columns: repeat(2, 1fr); }
    .roles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .features,
    .roles { grid-template-columns: 1fr; }

    .stores { width: 100%; }
    .store-btn { flex: 1 1 100%; justify-content: center; }

    .appero__specs { gap: 1.25rem; }

    .appstack .appcard--left,
    .appstack .appcard--right { display: none; }

    .shot .appcard { width: 205px; }

    .download-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .appcard--float { animation: none; }
}
