:root {
    --primary-color: #3bb3ff;
    --primary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --bg-dark: #0f1318;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.07);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* --- Arka Plan Videosu Ayarları --- */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    opacity: 0.16;
    filter: saturate(0.8) contrast(1.1);
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(15, 19, 24, 0.6) 100%);
    z-index: -1;
    pointer-events: none;
}

/* --- Navbar & Scroll Efekti --- */
#mainNav {
    padding: 20px 0;
    transition: all 0.3s ease-in-out;
    background: transparent;
    z-index: 1030;
}
#mainNav.scrolled {
    padding: 10px 0;
    background: rgba(15, 19, 24, 0.93);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.5rem;
    color: #fff !important;
}
.navbar-brand span {
    color: var(--primary-color);
}

/* --- Hero Section & Tipografi --- */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
}
.hero-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    line-height: 1.7;
    color: #b9c4cf;
}

/* --- Cam Kartlar (Glassmorphism) --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-card {
    animation: float 6s ease-in-out infinite;
}

/* === YENİ: Kart Hover Efektleri (Neon Parlama) === */
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 179, 255, 0.15);
    border-color: rgba(59, 179, 255, 0.3);
}

/* --- Butonlar & İkonlar --- */
.btn-vidipixel {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 14px 24px;
    transition: all 0.3s;
}
.btn-vidipixel:hover {
    box-shadow: 0 8px 25px rgba(59, 179, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}
.pulse-effect {
    animation: pulse 2s infinite;
}

/* İkonlara Hareket ve Parlama Eklendi */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(59, 179, 255, 0.3);
    transition: transform 0.3s ease;
}
.glass-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.icon-box {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
}
.glass-card:hover .icon-box {
    transform: scale(1.15) translateY(-5px);
    text-shadow: 0 0 20px rgba(59, 179, 255, 0.6);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.x-small {
    font-size: 0.75rem;
}

/* --- JS Scroll Reveal Sınıfları --- */
.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}
.fade-bottom {
    transform: translateY(40px);
}

/* --- Animasyonlar --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 179, 255, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(59, 179, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 179, 255, 0); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* --- Vurgu Rozeti --- */
.mobile-highlight-badge {
    display: flex;
    align-items: center;
    background: rgba(59, 179, 255, 0.08);
    border: 1px dashed rgba(59, 179, 255, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    max-width: 500px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.mobile-highlight-badge .badge-icon {
    font-size: 1.4rem;
    margin-right: 12px;
    animation: bounce 2s infinite;
}
.mobile-highlight-badge p {
    font-size: 0.95rem;
    color: #e2e8f0;
    text-align: left;
    line-height: 1.4;
    margin: 0;
}
.mobile-highlight-badge strong {
    color: var(--primary-color);
}

/* === YENİ: Mobilde Sabit Alt Buton (Sticky Bar) === */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 19, 24, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px;
    z-index: 1040;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}
.mobile-bottom-bar .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}
@media (min-width: 769px) {
    .mobile-bottom-bar {
        display: none;
    }
}

/* --- Mobil Ekran Özelleştirmeleri --- */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Sabit buton için alt boşluk */
    }
    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    .btn-lg {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
    .tagline {
        display: none !important;
    }
    .glass-card {
        padding: 1.5rem !important;
    }
    .mobile-highlight-badge {
        max-width: 100%;
        padding: 14px;
        flex-direction: column;
        gap: 6px;
    }
    .mobile-highlight-badge .badge-icon {
        margin-right: 0;
    }
    .mobile-highlight-badge p {
        font-size: 0.88rem;
        text-align: center;
    }

    /* === YENİ: Yana Kaydırmalı Kartlar (Sadece Mobilde) === */
    .swipeable-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; /* iOS pürüzsüz kaydırma */
    }
    .swipeable-row::-webkit-scrollbar {
        display: none; /* Mobilde çirkin scrollbar'ı gizler */
    }
    .swipeable-row .col-md-4 {
        flex: 0 0 85%; /* Ekranda tek seferde bir buçuk kart görünsün */
        scroll-snap-align: center;
        margin-right: 15px;
    }
    .swipeable-row .col-md-4:last-child {
        margin-right: 0; /* Son karta boşluk bırakma */
    }
}

/* --- Splash Screen (Yükleme Ekranı) --- */
#splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}
.splash-content {
    animation: scaleUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.splash-icon {
    font-size: 4rem;
    color: var(--primary-color);
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(59, 179, 255, 0.6));
}
.splash-logo {
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}
.splash-logo span { color: var(--primary-color); }

@keyframes scaleUp {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Apple Tarzı Etkileşimli Telefon --- */
.premium-showcase {
    position: relative;
}
.sticky-phone-wrapper {
    position: sticky;
    top: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
}
/* Çerçevesiz Şık Telefon Mockup'ı */
.phone-frame {
    width: 260px;
    height: 540px;
    border: 10px solid #1e242e;
    border-radius: 45px;
    background: #000;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255,255,255,0.1);
    overflow: hidden;
}
.phone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 25px;
    background: #1e242e;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a222f 0%, #0f1318 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.screen-icon {
    font-size: 5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

/* Kaydırma Adımları (Scroll Steps) */
.scroll-step {
    min-height: 60vh; /* Mobilde yazılar arasında geniş boşluk bırakır, efekti uzatır */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.2;
    transition: all 0.5s ease;
    padding-left: 25px;
    border-left: 3px solid rgba(255,255,255,0.05);
}
.scroll-step.active {
    opacity: 1;
    border-left-color: var(--primary-color);
}

@media (max-width: 768px) {
    .sticky-phone-wrapper {
        top: 10vh;
        height: 50vh;
        margin-bottom: 20px;
    }
    .phone-frame {
        width: 220px;
        height: 460px;
    }
    .scroll-step {
        min-height: 50vh;
    }
}

/* === DİNAMİK TELEFON MOCKUP & QR LAZER ANİMASYONU === */

.hero-phone-mockup {
    width: 280px;
    height: 560px;
    border: 12px solid #14181f; /* Kasa Rengi */
    border-radius: 40px;
    background: #000;
    position: relative;
    /* Hafif açılı, 3D premium duruş */
    transform: rotate(6deg) translateY(-10px);
    box-shadow: -15px 20px 40px rgba(0,0,0,0.6), inset 0 0 10px rgba(255,255,255,0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Üzerine gelince düzelsin ve parlasın */
.hero-phone-mockup:hover {
    transform: rotate(0deg) translateY(0);
    box-shadow: 0 20px 50px rgba(59, 179, 255, 0.2);
}

/* Telefon Çentiği (Notch) */
.hero-phone-mockup .phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #14181f;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

/* Telefon Ekranı */
.hero-phone-mockup .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    /* Ekran arka planına loş bir gradient veriyoruz, kamera açıkmış gibi */
    background: radial-gradient(circle at center, #1e293b 0%, #080b12 100%);
    position: relative;
}

/* Kamera Arayüzü Düzeni */
.camera-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 70px 20px 30px;
}

.scan-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    background: rgba(0,0,0,0.5);
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* Tarayıcı Kutusu (QR Alanı) */
.scanner-box {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-box .qr-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Vizör Köşeleri [ ] */
.scanner-box .corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--primary-color);
    border-style: solid;
    box-shadow: 0 0 10px rgba(59, 179, 255, 0.2);
}
.corner.top-left { top: 0; left: 0; border-width: 3px 0 0 3px; border-top-left-radius: 12px; }
.corner.top-right { top: 0; right: 0; border-width: 3px 3px 0 0; border-top-right-radius: 12px; }
.corner.bottom-left { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 12px; }
.corner.bottom-right { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 12px; }

/* === NEON LAZER ANİMASYONU === */
.scanner-laser {
    position: absolute;
    top: 0;
    left: 10px;
    width: calc(100% - 20px);
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 20px 3px var(--primary-color);
    animation: scanLaser 2.5s infinite ease-in-out;
}

@keyframes scanLaser {
    0% { top: 5%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

/* Kamera Deklanşörü */
.shutter-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.shutter-button::after {
    content: '';
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
}
.hero-phone-mockup:hover .shutter-button::after {
    transform: scale(0.9);
    background: var(--primary-color);
}

/* Mobil Uyumluluk (Mobilde telefonu tam sığdır) */
@media (max-width: 768px) {
    .hero-phone-mockup {
        width: 240px;
        height: 480px;
        border-width: 10px;
        transform: rotate(0deg); /* Mobilde açılı durmasın, tam ortalansın */
        margin-top: 10px;
    }
    .scanner-box { width: 150px; height: 150px; }
    .scanner-box .qr-icon { font-size: 5rem; }
    .camera-ui { padding: 50px 15px 20px; }
}

/* === BUTON HİZALAMA VE YENİ GOLD BUTON === */

/* Yazıların yukarıda kalmasını çözen milimetrik ortalama */
.btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px; /* Sabit yükseklik tüm butonları eşitler */
    font-weight: 600;
    padding: 0 20px;
    line-height: 1; /* Metnin kendi içindeki kaymasını önler */
}

/* Karanlık temaya uyumlu Premium Gold Buton */
.btn-gold {
    background: linear-gradient(135deg, #cfa042 0%, #f7e09e 50%, #cfa042 100%);
    color: #0f1318 !important; /* Gold üzerinde lacivert/siyah metin çok lüks durur */
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(207, 160, 66, 0.2);
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 160, 66, 0.4);
    color: #000 !important;
}