/* =========================================
   QR Menü Promo - Style.css
   ========================================= */

/* --- CSS Değişkenleri (Tema Yapılandırması) --- */
:root {
    /* Renk Paleti - Koyu Tema & Neon */
    --bg-dark: #0a0b10;
    --bg-darker: #050508;
    --primary-neon: #00f0ff; /* Neon Mavi */
    --secondary-neon: #7000ff; /* Neon Mor */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    
    /* Fontlar */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Border Radius (iOS Style) */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    
    /* Gölgeler ve Efektler */
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.4);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    /* Geçişler */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Temel Ayarlar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Arka plan için çok hafif gürültü/gradient hissi */
    background-image: radial-gradient(circle at top right, rgba(112, 0, 255, 0.05), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(0, 240, 255, 0.05), transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Tipografi & Yardımcı Sınıflar --- */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text {
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.text-center { text-align: center; }

/* --- Butonlar --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), #00b3ff);
    color: var(--bg-darker);
}

.glow-btn:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: var(--primary-neon);
    transform: translateY(-2px);
}

/* --- Glassmorphism Kartlar --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* --- Navbar --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 11, 16, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-neon);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Alanı --- */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(112, 0, 255, 0.15);
    border: 1px solid rgba(112, 0, 255, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: #b070ff;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--text-main);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- İnteraktif Telefon Simülasyonu --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 240, 255, 0.15);
    top: 10%;
    left: 20%;
}

.sphere-2 {
    width: 250px;
    height: 250px;
    background: rgba(112, 0, 255, 0.15);
    bottom: 10%;
    right: 10%;
}

.phone-container {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 2px var(--glass-border);
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.phone-container:hover {
    transform: rotate(0deg) translateY(-10px);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

/* Mock Arayüz */
.mock-menu {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 20px;
}
.mock-menu::-webkit-scrollbar { display: none; }

.mock-header {
    padding: 40px 20px 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
}

.mock-restaurant-info h4 { font-size: 1.2rem; }
.mock-restaurant-info p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px;}
.text-amber { color: #fbbf24; }

.mock-search {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mock-categories {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
    overflow-x: auto;
}
.mock-categories::-webkit-scrollbar { display: none; }

.mock-categories span {
    padding: 6px 16px;
    background: var(--glass-bg);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    white-space: nowrap;
}
.mock-categories span.active {
    background: var(--primary-neon);
    color: #000;
    font-weight: 600;
}

.mock-products { padding: 0 20px; }

.mock-product-card {
    display: flex;
    justify-content: space-between;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.product-det h5 { font-size: 0.95rem; margin-bottom: 4px;}
.product-det p { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.3;}
.product-det .price { font-weight: 700; color: var(--primary-neon); font-size: 0.9rem;}

.product-img-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --- Ortak Bölüm Stilleri --- */
.section-title { margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

/* --- Özellikler --- */
.features-section { padding: 100px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card { padding: 30px; }
.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-neon);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Nasıl Çalışır? --- */
.steps-section { padding: 100px 0; background: var(--bg-darker); }
.steps-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.step-card {
    flex: 1;
    text-align: center;
    padding: 30px;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-neon);
    margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }
.step-arrow { color: var(--glass-border); font-size: 2rem; }

/* --- Fiyatlandırma --- */
.pricing-section { padding: 100px 0; }
.toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
}
.toggle-label { font-weight: 600; color: var(--text-muted); transition: var(--transition-smooth); }
.toggle-label.active { color: var(--text-main); }
.discount-badge {
    background: rgba(112, 0, 255, 0.2);
    color: #b070ff;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    margin-left: 8px;
}

/* JS Toggle Butonu CSS'i */
.pricing-toggle {
    width: 50px;
    height: 26px;
    background: var(--bg-darker);
    border-radius: var(--radius-pill);
    position: relative;
    cursor: pointer;
    border: 1px solid var(--glass-border);
}
.pricing-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--primary-neon);
    border-radius: 50%;
    transition: var(--transition-smooth);
}
.pricing-toggle.active::after { transform: translateX(24px); background: var(--secondary-neon); }

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}
.price-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}
.popular-card {
    border-color: var(--secondary-neon);
    transform: scale(1.05);
    position: relative;
}
.popular-card:hover { transform: scale(1.05) translateY(-5px); }
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}
.price-header { border-bottom: 1px solid var(--glass-border); padding-bottom: 24px; margin-bottom: 24px; }
.price-header h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.price-amount { display: flex; align-items: flex-start; gap: 4px; }
.currency { font-size: 1.2rem; margin-top: 5px; color: var(--text-muted); }
.price-val { font-size: 3rem; font-weight: 800; line-height: 1; }
.period { align-self: flex-end; color: var(--text-muted); margin-bottom: 5px; }

.price-features { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.price-features li { margin-bottom: 16px; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.price-features li i { color: var(--primary-neon); }
.price-features li.disabled { color: var(--text-muted); text-decoration: line-through; opacity: 0.5; }
.price-features li.disabled i { color: var(--text-muted); }
.card-btn { width: 100%; margin-top: auto; }

/* --- İletişim / Demo --- */
.demo-section { padding: 100px 0; }
.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.contact-meta { margin-top: 40px; }
.meta-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; }
.meta-item i {
    width: 40px; height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-neon);
}

.demo-form-wrapper { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
input, textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition-smooth);
}
input:focus, textarea:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}
.form-submit-btn { width: 100%; margin-top: 10px; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--glass-border); padding: 40px 0; background: var(--bg-darker); }
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer p { color: var(--text-muted); font-size: 0.9rem; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}
.footer-socials a:hover { color: var(--primary-neon); }

/* --- Mobil Uyumluluk --- */
@media (max-width: 992px) {
    .hero-wrapper, .demo-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .steps-flow { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .pricing-grid { flex-direction: column; align-items: center; gap: 30px;}
    .popular-card { transform: scale(1); }
    .popular-card:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-wrapper { flex-direction: column; gap: 20px; text-align: center; }
}
/* Telefon Ekranı (Kesin Çözüm) */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #0a0b10;
    border-radius: 32px; /* Köşe yuvarlaklığını çentik alanına tam uyumlu yaptık */
    overflow-x: hidden;
    overflow-y: auto; /* Dikey kaydırma aktif */
    position: relative;
    /* İçteki resim taşmasın diye köşe maskelemesini zorluyoruz */
    -webkit-mask-image: -webkit-radial-gradient(white, black); 
}

/* Kaydırma çubuğu gizleme (Tamamen görünmez yapıyoruz) */
.phone-screen::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

/* Görseli Sıfırlama */
.phone-app-img {
    width: 100%; /* Sağa/sola tam yaslanacak */
    height: auto; /* Kendi orijinal orantısında uzayacak */
    display: block;
    margin: 0;
    padding: 0; /* Padding'i sıfırladık, çentiğin altından kayacak */
}