/* Tema Renkleri */
:root {
    --bg-dark: #130F26;
    --bg-panel: #1C1635;
    --primary-cyan: #00F0FF;
    --primary-pink: #FF0055;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, video {
    max-width: 100%;
    display: block;
}

/* Background Effects */
.background-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.gradient-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(28, 22, 53, 0.8) 0%, rgba(19, 15, 38, 1) 100%);
    z-index: -1;
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(28, 22, 53, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    z-index: 100;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
}

.lang-btn:hover {
    color: var(--primary-cyan);
}

.lang-btn.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.lang-divider {
    color: var(--text-muted);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

/* Hero Section */
.hero {
    margin-top: clamp(48px, 8vw, 72px);
    margin-bottom: clamp(56px, 9vw, 96px);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
    max-width: 1040px;
    margin: 0 auto;
}

.hero-text {
    min-width: 0;
    text-align: left;
}

.glitch-text {
    font-size: clamp(2.75rem, 9vw, 5rem);
    font-weight: 900;
    color: var(--primary-cyan);
    letter-spacing: clamp(4px, 1.4vw, 8px);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    margin-bottom: 16px;
    line-height: 1.05;
}

.slogan {
    font-size: clamp(1.25rem, 3.6vw, 2rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.25;
}

.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 46ch;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.store-btn img {
    height: clamp(48px, 12vw, 60px);
    width: auto;
    border-radius: 12px;
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

/* ── Promo Video / Phone Mockup ─────────────────────────────────────────
   Ekran 9/16'ya sabit: promo videosu 360x640, aspect-ratio eslesince
   object-fit kirpma yapmiyor. Genislik clamp ile akiskan.                */
.hero-video-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Cihazin arkasindaki neon hale */
.hero-video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, rgba(255, 0, 85, 0.10) 40%, transparent 68%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

/* Video 360x640 ve kendi telefon cercevesini iceriyor; ustune ikinci bir
   kasa cizmiyoruz. contain ile hicbir kenar kirpilmiyor.                 */
.promo-video {
    position: relative;
    z-index: 1;
    width: clamp(250px, 76vw, 320px);
    aspect-ratio: 9 / 16;
    height: auto;
    object-fit: contain;
    background: transparent;
    /* Videonun kendi zemini sayfadan bir tik acik; kose yuvarlama sert
       kutu kenarini yumusatiyor, arkadaki hale koselerden sizip birlestiriyor. */
    border-radius: 22px;
    filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.65));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.promo-video:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 32px 55px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 26px rgba(0, 240, 255, 0.28));
}

/* Slider Section */
.slider-section {
    background: rgba(28, 22, 53, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.section-title {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: var(--primary-cyan);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 auto;
    width: 250px; /* Telefon ekranı oranı için ideal genişlik */
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.slide img {
    width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.slide:hover {
    transform: scale(1.05);
}

.slider-btn {
    background: var(--bg-panel);
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.slider-btn:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

/* ── Responsive ─────────────────────────────────────────────────────────
   900px: iki sutun tek sutuna iner (metin + 292px telefon sigmiyor).     */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-text {
        text-align: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .store-buttons {
        justify-content: center;
    }

    /* Tek sutunda once metin + magaza butonlari gorunsun (CTA fold ustunde),
       video altta kalsin. */
    .hero-video-wrapper {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .container { padding: 32px 16px; }
    .prev-btn { left: -8px; }
    .next-btn { right: -8px; }
    .slide { width: 200px; }
}

@media (max-width: 380px) {
    .slider-btn { width: 42px; height: 42px; font-size: 1.2rem; }
    .slide { width: 170px; }
    .store-buttons { gap: 12px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .slider-track { scroll-behavior: auto; }
}
