:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-main.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--white) !important;
}

.btn-nav {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title .gradient-text, .gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--glass-bg);
    border-color: var(--white);
    color: var(--white);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* Telefon mockup'ı — gerçek bir müşteri menüsünün ekran görüntüsünü
   (assets/img/menu-showcase.jpg) CSS ile çizilmiş bir telefon
   çerçevesi içinde gösterir. Tüm ölçüler orantısal (%/min()) olduğu
   için mockup her ekran genişliğinde doğru oranda küçülüp büyür. */
.phone-mockup {
    width: min(300px, 78vw);
    margin: 0 auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.45));
}

.phone-frame {
    position: relative;
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(155deg, #3a3a4a 0%, #1a1a24 12%, #0c0c12 100%);
    border-radius: 2.6rem;
    padding: 3.2%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.9rem;
    overflow: hidden;
    background: var(--white);
}

.phone-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, transparent 22%);
    pointer-events: none;
    z-index: 2;
}

/* Bildirim çentiğine kendi sabit "durum çubuğu" şeridi ayrılıyor —
   aksi halde kayan menü görüntüsünün üstüne bindiğinde metinleri
   rahatsız edici şekilde kesiyordu. Kaydırılabilir alan bu şeridin
   altından başlıyor, çentikle hiç çakışmıyor. */
.phone-statusbar {
    position: relative;
    height: 5.5%;
    background: var(--white);
    z-index: 3;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 100%;
    background: #0c0c12;
    border-radius: 0 0 14px 14px;
}

.phone-viewport {
    position: absolute;
    top: 5.5%;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.phone-screen-inner {
    animation: phoneScroll 16s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.phone-screen-inner img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes phoneScroll {

    0%,
    10% {
        transform: translateY(0);
    }

    45%,
    65% {
        transform: translateY(-63%);
    }

    95%,
    100% {
        transform: translateY(0);
    }
}

.phone-side-btn {
    position: absolute;
    background: #17171f;
}

.phone-btn-power {
    right: -2px;
    top: 22%;
    width: 3px;
    height: 11%;
    border-radius: 0 4px 4px 0;
}

.phone-btn-vol-up {
    left: -2px;
    top: 16%;
    width: 3px;
    height: 6%;
    border-radius: 4px 0 0 4px;
}

.phone-btn-vol-down {
    left: -2px;
    top: 24%;
    width: 3px;
    height: 6%;
    border-radius: 4px 0 0 4px;
}

@media (prefers-reduced-motion: reduce) {

    .hero-image,
    .phone-screen-inner,
    .floating-element {
        animation: none !important;
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-stat-icon {
    font-size: 1.4rem;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-light);
    font-weight: 500;
    max-width: 90px;
    line-height: 1.3;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.floating-element.el-1 {
    top: 18%;
    right: 3%;
    animation-delay: 0s;
}

.floating-element.el-2 {
    bottom: 32%;
    right: -2%;
    animation-delay: 1s;
}

.floating-element.el-3 {
    bottom: 16%;
    left: 60%;
    animation-delay: 2s;
}

.floating-element i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
}

.feature-card:hover .feature-icon i {
    -webkit-text-fill-color: var(--white);
    background: none;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Nasıl Çalışır — HowTo JSON-LD şemasıyla birebir eşleşen görünür
   bölüm (şema öncesinden vardı ama sayfada karşılığı yoktu). */
.step-card {
    text-align: center;
    padding: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: var(--gradient-hero);
    border: none;
    transform: scale(1.05);
}

.pricing-card.featured .pricing-title,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-period,
.pricing-card.featured .pricing-feature {
    color: var(--white);
}

.pricing-card.featured .pricing-feature i {
    color: #34d399;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.pricing-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--dark);
    font-size: 0.95rem;
}

.pricing-feature i {
    color: var(--primary);
    font-size: 1.25rem;
}

.btn-pricing {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-pricing-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-pricing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: var(--white);
}

.btn-pricing-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-pricing-light:hover {
    background: var(--white);
    color: var(--dark);
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--dark);
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-body {
    color: var(--gray);
    line-height: 1.7;
    padding: 0 1.5rem 1.25rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .floating-element {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* 993-1120px arası: sütun telefon mockup'ına göre yeterince geniş
   değil, kart rozetleri ekranın üstüne fazla biniyor — bu dar
   aralıkta da (mobil/tablette olduğu gibi) gizleniyor. */
@media (max-width: 1120px) and (min-width: 993px) {
    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.25rem;
        flex-wrap: wrap;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =================================================================
   Ortak bileşenler (tüm açık sayfalar) — site.php şablonlarıyla eşli
   ================================================================= */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: var(--dark); padding: .5rem 1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }

.navbar-brand { text-decoration: none; }
.nav-link { text-decoration: none; }
.nav-toggle { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 44px; height: 44px; border-radius: 12px; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.navbar-main.menu-open { background: rgba(15, 23, 42, 0.98); }
.mobile-nav { display: flex; flex-direction: column; padding: 1rem 0 .5rem; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { color: rgba(255,255,255,.85); text-decoration: none; padding: .75rem .25rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a.btn-nav { border-bottom: 0; color: #fff; }

/* Kaydırınca belirme — yalnız JS varken gizlenir (JS'siz ziyaretçi/bot her şeyi görür) */
.js [data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js [data-aos].aos-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-aos] { opacity: 1; transform: none; transition: none; } }

.footer-brand { text-decoration: none; }
h2.footer-title { font-size: 1rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); color: var(--gray-light); font-size: .9rem; }
.footer-contact a { color: var(--gray-light); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { margin-right: .35rem; color: var(--primary-light); }

/* ---------- İçerik sayfası hero ---------- */
.page-hero { background: var(--gradient-hero); color: #fff; padding: 120px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(139,92,246,.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(14,165,233,.18), transparent 40%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: .75rem 0 1rem; max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 760px; margin-bottom: 1.5rem; }
.page-hero .hero-buttons { justify-content: flex-start; }
.page-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: rgba(255,255,255,.65); font-size: .9rem; }
.page-meta i { margin-right: .3rem; }

.page-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0; font-size: .875rem; }
.page-breadcrumb li { color: rgba(255,255,255,.6); }
.page-breadcrumb li + li::before { content: '›'; margin: 0 .4rem; color: rgba(255,255,255,.4); }
.page-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.page-breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* "Kısaca" cevap kutusu — arama motorlarının ve yapay zekâ asistanlarının
   doğrudan alıntılayabileceği, sayfanın özünü veren 40-60 kelimelik özet */
.answer-box { background: #fff; border: 1px solid #e2e8f0; border-left: 5px solid var(--primary); border-radius: 16px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); margin: -32px 0 2.5rem; position: relative; z-index: 2; }
.answer-box .answer-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: .35rem; }
.answer-box p { margin: 0; font-size: 1.05rem; color: var(--dark-light); }

/* ---------- Makale gövdesi ---------- */
.content-wrap { padding: 0 0 4rem; background: var(--light); }
.prose { font-size: 1.075rem; line-height: 1.8; color: #334155; max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--dark); margin: 2.75rem 0 1rem; letter-spacing: -.01em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 2rem 0 .75rem; scroll-margin-top: 90px; }
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th, .prose td { padding: .75rem 1rem; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.prose th { background: #eef2ff; color: var(--dark); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose blockquote, .callout { background: #eef2ff; border-radius: 14px; padding: 1rem 1.25rem; margin: 1.5rem 0; color: var(--dark-light); border: 0; }
.callout.warn { background: #fff7ed; }
.callout strong:first-child { display: block; margin-bottom: .25rem; }
.prose .key-points { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.25rem 1.5rem 1rem 2.5rem; }

.toc { position: sticky; top: 96px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.25rem; font-size: .92rem; }
.toc-title { font-weight: 700; color: var(--dark); margin-bottom: .75rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: .5rem; counter-increment: toc; }
.toc a { color: var(--gray); text-decoration: none; display: flex; gap: .5rem; }
.toc a::before { content: counter(toc) '.'; color: var(--primary); font-weight: 700; }
.toc a:hover { color: var(--primary-dark); }
.side-cta { margin-top: 1rem; background: var(--gradient-primary); color: #fff; border-radius: 16px; padding: 1.25rem; }
.side-cta p { font-size: .92rem; color: rgba(255,255,255,.9); }
.side-cta a { display: block; text-align: center; background: #fff; color: var(--primary-dark); font-weight: 700; border-radius: 10px; padding: .6rem; text-decoration: none; }

/* ---------- SSS (details/summary) ---------- */
.content-faq { max-width: 760px; margin-top: 3rem; }
.content-faq h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; margin-bottom: 1.25rem; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: .75rem; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 600; color: var(--dark); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { background: #eef2ff; }
.faq-answer { padding: 1rem 1.25rem 1.25rem; color: #475569; line-height: 1.75; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Kart ızgaraları (sektör, şehir, rehber, ilgili) ---------- */
.link-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 1.5rem; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); color: inherit; }
.link-card .lc-icon { width: 48px; height: 48px; border-radius: 12px; background: #eef2ff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.link-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.link-card p { color: var(--gray); font-size: .95rem; margin-bottom: .75rem; flex: 1; }
.link-card .lc-more { color: var(--primary-dark); font-weight: 600; font-size: .9rem; }
.link-card .lc-meta { color: var(--gray-light); font-size: .8rem; margin-bottom: .5rem; }
.section-pad { padding: 5rem 0; }
.section-pad.alt { background: #fff; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.chip-list li { background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; color: var(--dark-light); }
.chip-list a { color: inherit; text-decoration: none; }
.chip-list a:hover { color: var(--primary-dark); }

/* Karşılaştırma tablosu (anasayfa / fiyatlar) */
.compare-table { width: 100%; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; border-bottom: 1px solid #eef2f7; font-size: .95rem; }
.compare-table thead th { background: var(--dark); color: #fff; font-weight: 700; }
.compare-table td:first-child { font-weight: 600; color: var(--dark); }
.compare-table .yes { color: #16a34a; font-weight: 600; }
.compare-table .no { color: #dc2626; }

/* Anasayfa "Kısaca QR menü" metin bloğu */
.intro-block { padding: 4.5rem 0 1rem; background: var(--light); }
.intro-block .prose { margin: 0 auto; }

/* Referans işletmeler */
.ref-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.ref-logos a { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: .5rem 1rem .5rem .5rem; color: var(--dark); text-decoration: none; font-weight: 600; font-size: .95rem; }
.ref-logos img, .ref-logos .ref-initial { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #eef2ff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.ref-logos a:hover { border-color: var(--primary-light); }

/* Fiyat hesaplayıcı */
.calc-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 2rem; }
.calc-card label { font-weight: 600; font-size: .9rem; color: var(--dark-light); }
.calc-result { background: #eef2ff; border-radius: 14px; padding: 1.25rem; margin-top: 1.25rem; }
.calc-result .big { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }

@media (max-width: 991.98px) {
    .page-hero { padding: 100px 0 48px; }
    .toc { position: static; margin-bottom: 2rem; }
    .section-pad { padding: 3.5rem 0; }
}
@media (max-width: 575.98px) {
    .page-hero .hero-buttons { flex-direction: column; align-items: stretch; }
    .page-hero .hero-buttons a { justify-content: center; }
    .answer-box { padding: 1rem 1.1rem; }
    .compare-table th, .compare-table td { padding: .75rem; font-size: .88rem; }
    .calc-card { padding: 1.25rem; }
}
.prose .link-card { text-decoration: none; color: inherit; font-weight: 400; }
.prose .link-card h3 { margin-top: 0; }
.prose code { background: #eef2ff; color: var(--primary-dark); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; word-break: break-all; }
.btn-nav { white-space: nowrap; }

/* =================================================================
   Canlı tema deneme alanı (includes/theme_playground.php)
   ================================================================= */
.tp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.tp-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.tp-theme {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    padding: .45rem .9rem .45rem .45rem; border-radius: 999px;
    border: 1px solid #e2e8f0; background: #fff; color: var(--dark);
    font: 600 .9rem/1 'Inter', sans-serif;
    transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.tp-theme:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tp-theme.is-active { border-color: var(--primary); background: #eef2ff; box-shadow: 0 0 0 3px rgba(99, 102, 241, .18); }
.tp-swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); flex: none; }
.tp-new { background: #ef4444; color: #fff; font-size: .62rem; font-weight: 700; padding: .15rem .45rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.tp-info { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm); }
.tp-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 .4rem; color: var(--dark); }
.tp-desc { color: var(--gray); margin-bottom: .5rem; }
.tp-best { color: var(--primary-dark); font-weight: 600; font-size: .92rem; margin-bottom: .75rem; }
.tp-features { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
.tp-features li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--dark-light); }
.tp-features li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.tp-color { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-weight: 600; font-size: .92rem; color: var(--dark-light); cursor: pointer; }
.tp-color input { width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; }
.tp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.tp-actions .btn-primary-custom { padding: .8rem 1.4rem; font-size: .95rem; }
.tp-apply { font-weight: 700; color: var(--primary-dark); text-decoration: none; }

.tp-stage { text-align: center; }
.tp-phone {
    position: relative; width: 320px; height: 660px; margin: 0 auto;
    border-radius: 46px; padding: 12px; background: #0b0b12;
    box-shadow: 0 0 0 2px #2a2a3a, 0 40px 80px -20px rgba(15, 23, 42, .45), inset 0 0 0 2px #1a1a26;
}
.tp-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0b0b12; border-radius: 0 0 16px 16px; z-index: 3; }
.tp-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; display: block; }
.tp-loading { position: absolute; inset: 12px; border-radius: 34px; background: rgba(255, 255, 255, .85); z-index: 2; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.tp-loading.is-on { opacity: 1; }
.tp-loading span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #e0e7ff; border-top-color: var(--primary); animation: tpSpin .8s linear infinite; }
@keyframes tpSpin { to { transform: rotate(360deg); } }
.tp-hint { margin-top: 1rem; color: var(--gray); font-size: .88rem; }

.theme-grid-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.theme-grid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.theme-grid-card .tg-preview { height: 120px; position: relative; }
.theme-grid-card .tg-preview .tp-new { position: absolute; top: .75rem; left: .75rem; }
.theme-grid-card .tg-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.theme-grid-card h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 .35rem; }
.theme-grid-card p { color: var(--gray); font-size: .92rem; margin-bottom: .6rem; }
.theme-grid-card ul { padding-left: 1.1rem; margin: 0 0 1rem; font-size: .88rem; color: var(--dark-light); flex: 1; }
.theme-grid-card .tg-links { display: flex; gap: 1rem; font-weight: 700; font-size: .9rem; }
.theme-grid-card .tg-links a { color: var(--primary-dark); text-decoration: none; }

@media (max-width: 991.98px) {
    .tp { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .tp-stage { order: -1; }
    .tp-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin: 0 -1rem 1.25rem; padding-left: 1rem; padding-right: 1rem; scrollbar-width: none; }
    .tp-list::-webkit-scrollbar { display: none; }
    .tp-theme { flex: none; }
}
@media (max-width: 575.98px) {
    .tp-phone { width: 290px; height: 580px; border-radius: 40px; }
    .tp-phone iframe, .tp-loading { border-radius: 30px; }
    .tp-features { grid-template-columns: 1fr; }
    .tp-info { padding: 1.25rem; }
}
