/* CSS Değişkenleri (Dark & Neon Tema) */
:root {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --bg-dark: #0f172a;
    --bg-darker: #0b1120;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; /* Yatayda ekran dışına taşmayı KESİN engeller */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.text-center {
    text-align: center;
}

.block {
    display: block;
    margin: 0 auto 20px auto;
}

.max-width-text {
    max-width: 700px;
    margin: 0 auto 20px auto;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-light);
}

p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.section-tag {
    background: var(--glass-bg);
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    display: inline-block;
    margin-bottom: 15px;
}

/* Typography Gradient */
h1 span, .logo span {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary, .btn-outline, .store-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

.store-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at top right, rgba(79, 172, 254, 0.2), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.phone-mockup {
    width: 100%;
    max-width: 280px; /* Ana ekrandaki telefon boyutunu sabitler */
    border: 12px solid #1e293b;
    border-radius: 40px;
    margin: 0 auto;
    position: relative;
    background-color: #334155;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: #1e293b;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.align-start {
    align-items: flex-start;
    justify-items: center; /* Görüntüleri bulunduğu sütunun tam ortasına hizalar */
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin: 0 auto 20px;
}

/* =======================================================
   MOCKUP EKRAN GÖRÜNTÜLERİ İÇİN KİLİTLİ BOYUTLAR
   (Ekrandan taşmayı ve devasa görünmeyi önler)
   ======================================================= */
.mockup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.screenshot-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: center;
}

.screenshot-img {
    width: 100%; 
    max-width: 240px !important; /* RESMİN BÜYÜYECEĞİ MAKSİMUM SINIR */
    height: auto !important; /* Yüksekliği genişliğe göre orantılı tutar */
    display: block;
    border-radius: 20px;
    border: 6px solid #1e293b; /* Telefon kenarlığı efekti */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    object-fit: contain;
    margin: 0 auto;
}

/* Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
}

.compare-table th, .compare-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.compare-table th {
    background: rgba(255,255,255,0.05);
    color: var(--primary-color);
}

/* Badges */
.badges-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Proof Logos */
.proof-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.proof-logos span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Pricing */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.pricing-card {
    width: 350px;
    text-align: center;
}
.pricing-card h2 {
    font-size: 3rem;
    margin: 20px 0;
}
.pricing-card h2 span {
    font-size: 1.2rem;
    color: var(--text-muted);
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}
.pricing-card ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}
.pricing-card.pro {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

/* FAQ */
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
    border-top: 1px solid var(--glass-border);
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 50px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form */
.news-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.news-form input {
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: #fff;
    width: 300px;
}

/* Responsive (Mobil ve Tablet Uyumluluğu) */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 50px; /* Mobilde resimler arasına mesafe koyar */
    }
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    .steps-container {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* =======================================================
   KESİN ÇÖZÜM: ZORUNLU TELEFON BOYUTLANDIRMASI
   ======================================================= */
.mockup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.screenshot-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light) !important;
    font-size: 1.1rem !important;
    text-align: center !important;
}

.screenshot-img {
    width: 240px !important;       /* KESİN GENİŞLİK */
    height: 520px !important;      /* KESİN YÜKSEKLİK (Telefon Oranı) */
    object-fit: cover !important;  /* Resmi yamultmadan çerçeveye oturtur */
    object-position: top center !important; /* Ekranın üst kısmını baz alır */
    border-radius: 30px !important; /* Telefon köşesi */
    border: 12px solid #1e293b !important; /* Kalın telefon çerçevesi */
    box-shadow: 0 15px 35px rgba(0,0,0,0.5) !important;
    display: block !important;
    margin: 0 auto !important;
}

/* En üstteki ana resim (Hero) için de aynısını uygulayalım */
.phone-mockup .hero-img {
    width: 240px !important;
    height: 520px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 30px !important;
}

.phone-mockup {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.phone-mockup::before {
    display: none !important; /* Eski çentik tasarımını iptal ettik */
}