:root {
    --primary-color: #1d1d1f;
    --secondary-color: #86868b;
    --accent-red: #ff3b30;
    /* ESKİSİ: #fbfbfd YENİSİ: #f0f0f2 (Bir tık daha koyu) */
    --bg-color: #f0f0f2; 
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.06);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-color);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-btn:hover {
    color: var(--accent-red);
}

.brand {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.tag {
    display: inline-block;
    background-color: rgba(255, 59, 48, 0.1);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Butonlar */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #000;
}

.btn-secondary {
    background-color: #e5e5e5;
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary.disabled {
    cursor: default;
    opacity: 0.6;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.stars {
    color: #f1c40f;
}

/* Mockup Alanı (DÜZELTİLMİŞ) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #fff;
    border: 8px solid #333;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi kesmeden sığdırır */
    display: block;
    border-radius: 30px;
    background-color: #000; /* Kenar boşlukları için arka plan */
}

.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    z-index: -1;
}

/* Özellikler */
.features {
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 59, 48, 0.1);
    color: var(--accent-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Teknik Özellikler */
.tech-specs {
    background-color: #fff;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.specs-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.spec-divider {
    width: 1px;
    background-color: #eee;
    height: 40px;
    display: none;
}

@media (min-width: 768px) {
    .spec-divider { display: block; }
}

.update-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

/* --- Galeri / Carousel --- */
.gallery {
    padding: 80px 20px;
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 30px 10px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;  /* Firefox */
    width: 100%;
}

.gallery-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Navigasyon Butonları */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

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

/* Resim Çerçevesi */
.screenshot-frame {
    min-width: 220px;
    height: 440px;
    background-color: #ddd;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer; /* Tıklanabilir hissiyatı */
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi kesmeden sığdırır */
    display: block;
    border-radius: 20px;
    background-color: #f0f0f5; /* Boşluk rengi */
}

/* Açıklama Overlay */
.caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
    color: white;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.caption-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.caption-overlay p {
    margin: 0;
    font-size: 0.85rem;
    color: #ddd;
    line-height: 1.4;
}

/* Hover Efekti (Masaüstü) */
@media (hover: hover) {
    .screenshot-frame:hover .caption-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aktif Durumu (Mobil - JS ile) */
.screenshot-frame.active .caption-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .rating-badge {
        justify-content: center;
    }
    
    h1 { font-size: 2.5rem; }

    /* Mobilde yön tuşlarını gizle, parmakla kaydırma aktif */
    .nav-btn { display: none; }
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}