/* ============================================================
   ZENTECH YAZILIM - Ana CSS Dosyası
   Tema: Siyah & Yeşil | Yazılım Temalı | SEO Uyumlu
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --banner-h: 46px;
    --safe-top: env(safe-area-inset-top, 0px);
    --banner-total: calc(var(--banner-h) + env(safe-area-inset-top, 0px));
    --bg-900: #050505;
    --bg-800: #0a0a0a;
    --bg-700: #111111;
    --bg-600: #161616;
    --bg-500: #1e1e1e;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-glow: rgba(34, 197, 94, 0.12);
    --green-glow-md: rgba(34, 197, 94, 0.25);
    --green-glow-lg: rgba(34, 197, 94, 0.4);
    --text-100: #ffffff;
    --text-200: #f3f4f6;
    --text-300: #d1d5db;
    --text-400: #9ca3af;
    --text-500: #6b7280;
    --border-subtle: rgba(255,255,255,0.05);
    --border-green: rgba(34, 197, 94, 0.18);
    --border-green-hover: rgba(34, 197, 94, 0.45);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-green: 0 0 30px rgba(34, 197, 94, 0.15);
    --shadow-green-lg: 0 0 60px rgba(34, 197, 94, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

/* Kopya koruması */
body, body * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input, textarea, select, [contenteditable] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-900);
    color: var(--text-300);
    overflow-x: hidden;
    line-height: 1.6;
    /* Push content below fixed banner + safe area */
    padding-top: var(--banner-total);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; }

::selection { background: var(--green-glow-md); color: var(--green-400); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-800); }
::-webkit-scrollbar-thumb { background: var(--green-600); border-radius: 3px; }

/* ── PRELOADER ──────────────────────────────────────────────── */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-900);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-logo {
    font-size: 2.5rem; font-weight: 900; letter-spacing: -1px;
    color: var(--text-100);
    display: flex; align-items: center;
}
/* [ESKİ] .preloader-logo span { color: var(--green-500); } */
.zt-logo-zen  { color: var(--text-100); }
.zt-logo-tech { color: var(--text-100); }

.preloader-bar {
    width: 200px; height: 2px;
    background: var(--bg-600); border-radius: 2px; overflow: hidden;
}
.preloader-bar-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
    border-radius: 2px;
    animation: preload 1.8s ease forwards;
}
@keyframes preload {
    0% { width: 0; }
    60% { width: 75%; }
    100% { width: 100%; }
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
    position: fixed; top: var(--banner-total, 46px); left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-green);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1280px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    display: flex; align-items: center; gap: 4px;
    font-size: 1.6rem; font-weight: 900; letter-spacing: -0.5px;
    color: var(--text-100); flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { color: var(--text-100); }
.nav-logo-accent { color: var(--green-500); }
/* [ESKİ] .nav-logo-dot {
    width: 10px; height: 10px;
    background: var(--green-500);
    border-radius: 50%;
    margin-left: 2px;
    box-shadow: 0 0 8px var(--green-500);
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px var(--green-500); }
    50% { box-shadow: 0 0 16px var(--green-400), 0 0 30px var(--green-glow-md); }
} */

.nav-links {
    display: flex; align-items: center; gap: 8px;
}
.nav-links a {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-400);
    position: relative;
    white-space: nowrap;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--green-500); border-radius: 2px;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-100); }
.nav-links a:hover::after { width: 60%; }
.nav-links a.active { color: var(--green-400); }
.nav-links a.active::after { width: 60%; }

.nav-cta {
    padding: 10px 22px !important; border-radius: var(--radius-sm) !important;
    background: var(--green-500) !important;
    color: #000 !important; font-weight: 700 !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 20px var(--green-glow-md);
    transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--green-400) !important;
    box-shadow: 0 0 30px var(--green-glow-lg), 0 4px 15px rgba(0,0,0,0.3) !important;
    transform: translateY(-1px);
}

.nav-portal {
    padding: 9px 18px !important; border-radius: var(--radius-sm) !important;
    background: transparent !important;
    border: 1px solid var(--green-500) !important;
    color: var(--green-400) !important; font-weight: 600 !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: var(--transition) !important;
}
.nav-portal::after { display: none !important; }
.nav-portal:hover {
    background: var(--green-glow) !important;
    border-color: var(--green-400) !important;
    color: var(--green-300) !important;
    box-shadow: 0 0 20px var(--green-glow-md) !important;
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px;
    background: transparent; border: none; outline: none;
    position: relative; z-index: 1001;
}
.nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--green-500); border-radius: 2px;
    transition: var(--transition);
}
/* Hamburger → X animasyonu (menü açıkken) */
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--green-400); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--green-400); }

.nav-mobile {
    display: none;
    position: fixed; top: var(--banner-total); left: 0; right: 0; bottom: 0;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-size: 1.8rem; font-weight: 700; color: var(--text-300);
    transition: var(--transition);
}
.nav-mobile a:hover { color: var(--green-400); }

/* ── SECTION COMMONS ────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-800); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.75rem;
    color: var(--green-500); font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-label::before {
    content: ''; display: block;
    width: 20px; height: 1px; background: var(--green-500);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800; color: var(--text-100);
    line-height: 1.2; letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.section-title span { color: var(--green-500); }

.section-subtitle {
    font-size: 1rem; color: var(--text-400);
    max-width: 600px; line-height: 1.7;
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* delay helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--bg-900);
    padding-top: 80px;
    /* hero-scroll için alt boşluk rezerve et — içeriğin üst üste gelmesini önler */
    padding-bottom: 110px;
}

#matrix-canvas {
    position: absolute; inset: 0;
    opacity: 0.18; z-index: 0;
}

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 60% 70% at 50% 50%,
        rgba(34,197,94,0.05) 0%, transparent 70%);
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(34,197,94,0.08);
    border: 1px solid var(--border-green);
    border-radius: 100px; padding: 8px 18px;
    font-size: 0.8rem; font-family: var(--font-mono);
    color: var(--green-400); margin-bottom: 32px;
    animation: fadeInDown 0.6s ease forwards;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    background: var(--green-500); border-radius: 50%;
    animation: pulse-dot 1.5s ease infinite;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 900; color: var(--text-100);
    line-height: 1.1; letter-spacing: -2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-title .green { color: var(--green-500); }
.hero-title .outline {
    -webkit-text-stroke: 2px var(--green-500);
    color: transparent;
}

.hero-typing-wrapper {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-400); margin-bottom: 40px;
    animation: fadeInUp 0.7s ease 0.35s both;
    font-family: var(--font-mono);
    min-height: 36px;
}
.hero-typing-wrapper span { color: var(--green-400); font-weight: 600; }
#typing-cursor {
    display: inline-block; width: 2px; height: 1.2em;
    background: var(--green-500); vertical-align: middle;
    animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

.hero-cta {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.5s both;
}
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius-sm);
    background: var(--green-500); color: #000;
    font-weight: 700; font-size: 0.95rem;
    border: none; cursor: pointer;
    box-shadow: 0 0 30px var(--green-glow-md);
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--green-400);
    box-shadow: 0 0 50px var(--green-glow-lg);
    transform: translateY(-2px);
    color: #000;
}
.btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius-sm);
    background: transparent; color: var(--text-200);
    font-weight: 600; font-size: 0.95rem;
    border: 1px solid var(--border-green);
    cursor: pointer; transition: var(--transition);
}
.btn-outline:hover {
    border-color: var(--green-500);
    color: var(--green-400);
    background: var(--green-glow);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute; bottom: 40px;
    left: 0; right: 0; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    width: fit-content; width: -moz-fit-content;
    font-size: 0.75rem; color: var(--text-500); z-index: 2;
    animation: fadeInUp 1s ease 1s both;
}
.scroll-mouse {
    width: 22px; height: 36px; border: 2px solid var(--border-green);
    border-radius: 11px; position: relative;
}
.scroll-wheel {
    width: 3px; height: 6px; background: var(--green-500);
    border-radius: 2px; position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    animation: scroll-bounce 1.5s ease infinite;
}
@keyframes scroll-bounce {
    0%,100% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ── STATS ──────────────────────────────────────────────────── */
#stats {
    background: var(--bg-800);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center; padding: 24px;
    border-right: 1px solid var(--border-subtle);
}
.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: var(--text-100);
    font-family: var(--font-mono);
    line-height: 1;
}
.stat-number span { color: var(--green-500); }
.stat-label {
    font-size: 0.85rem; color: var(--text-500);
    margin-top: 6px; text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── HAKKIMIZDA ─────────────────────────────────────────────── */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-text { }
.about-text p {
    color: var(--text-400); line-height: 1.8;
    margin-bottom: 20px; font-size: 1rem;
}
.about-tags {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.about-tag {
    padding: 6px 14px; border-radius: 100px;
    background: var(--green-glow);
    border: 1px solid var(--border-green);
    font-size: 0.8rem; color: var(--green-400);
    font-family: var(--font-mono); font-weight: 600;
}

.about-visual {
    position: relative;
}
.about-card {
    background: var(--bg-700); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 32px;
    transition: var(--transition);
}
.about-card:hover { border-color: var(--border-green); box-shadow: var(--shadow-green); }

.technopark-badge {
    display: flex; align-items: center; gap: 12px;
    background: var(--green-glow);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-md); padding: 14px 18px;
    margin-bottom: 24px;
}
.technopark-badge i { color: var(--green-500); font-size: 1.2rem; }
.technopark-badge-text { }
.technopark-badge-text strong { display: block; color: var(--green-400); font-size: 0.9rem; }
.technopark-badge-text span { font-size: 0.78rem; color: var(--text-500); }

.about-features { display: flex; flex-direction: column; gap: 14px; }
.about-feature {
    display: flex; align-items: flex-start; gap: 12px;
}
.about-feature i {
    width: 20px; color: var(--green-500); font-size: 0.9rem;
    margin-top: 3px; flex-shrink: 0;
}
.about-feature-text { font-size: 0.9rem; color: var(--text-400); line-height: 1.5; }
.about-feature-text strong { color: var(--text-200); }

/* ── HİZMETLER ──────────────────────────────────────────────── */
#hizmetler { background: var(--bg-900); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px; margin-top: 56px;
}
.service-card {
    background: var(--bg-700);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 28px;
    transition: var(--transition);
    cursor: default; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--green-700), var(--green-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    border-color: var(--border-green);
    background: var(--bg-600);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}
.service-card.featured {
    border-color: var(--border-green);
    background: linear-gradient(135deg, var(--bg-600) 0%, rgba(34,197,94,0.03) 100%);
}
.service-card.featured::before { transform: scaleX(1); }

.service-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s, opacity 0.2s;
    opacity: 0.8;
}
.service-detail-link:hover { gap: 0.65rem; opacity: 1; }
.service-detail-link .fa-arrow-right { font-size: 0.7rem; }

.service-icon {
    width: 48px; height: 48px;
    background: var(--green-glow); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; font-size: 1.2rem; color: var(--green-500);
    border: 1px solid var(--border-green);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green-glow-md);
    box-shadow: 0 0 20px var(--green-glow-md);
}
.service-card.featured .service-icon {
    background: var(--green-glow-md);
}

.service-name {
    font-size: 1rem; font-weight: 700;
    color: var(--text-100); margin-bottom: 10px;
}
.service-card.featured .service-name { color: var(--green-400); }

.service-desc {
    font-size: 0.85rem; color: var(--text-500);
    line-height: 1.6;
}
.service-badge {
    display: block; margin-top: 14px;
    padding: 3px 10px; border-radius: 100px;
    background: var(--green-glow); color: var(--green-500);
    font-size: 0.7rem; font-family: var(--font-mono);
    font-weight: 700; border: 1px solid var(--border-green);
    width: fit-content;
}

/* ── NEDEN BİZ ──────────────────────────────────────────────── */
#neden-biz { background: var(--bg-800); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 56px;
}
.why-card {
    background: var(--bg-700); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 32px;
    transition: var(--transition);
}
.why-card:hover {
    border-color: var(--border-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}
.why-icon {
    font-size: 2rem; color: var(--green-500); margin-bottom: 16px;
    display: block;
}
.why-title { font-size: 1rem; font-weight: 700; color: var(--text-100); margin-bottom: 10px; }
.why-desc { font-size: 0.875rem; color: var(--text-500); line-height: 1.6; }

/* ── CRM PAKETLERİ ──────────────────────────────────────────── */
#crm-paketleri { background: var(--bg-900); }

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; margin-top: 56px; align-items: end;
}
.package-card {
    background: var(--bg-700); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 32px;
    transition: var(--transition); position: relative;
    display: flex; flex-direction: column;
}
.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}
.package-card.popular {
    border-color: var(--green-500);
    background: linear-gradient(160deg, var(--bg-600) 0%, rgba(34,197,94,0.05) 100%);
    transform: scale(1.03);
}
.package-card.popular:hover { transform: scale(1.03) translateY(-6px); }

.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
    color: #000; font-size: 0.72rem; font-weight: 800;
    padding: 5px 16px; border-radius: 100px;
    white-space: nowrap; letter-spacing: 0.05em; text-transform: uppercase;
}

.package-name {
    font-size: 0.75rem; font-family: var(--font-mono);
    font-weight: 700; color: var(--green-500);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.package-price {
    font-size: 2.2rem; font-weight: 900; color: var(--text-100);
    line-height: 1; margin-bottom: 6px;
    font-family: var(--font-mono);
}
.package-price span { font-size: 1rem; font-weight: 400; color: var(--text-500); }
.package-period { font-size: 0.8rem; color: var(--text-500); margin-bottom: 24px; }

.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.package-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; color: var(--text-400);
}
.package-feature i { color: var(--green-500); font-size: 0.8rem; flex-shrink: 0; }
.package-feature.disabled { color: var(--text-500); opacity: 0.5; }
.package-feature.disabled i { color: var(--text-500); }

.package-btn {
    width: 100%; padding: 12px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.875rem; cursor: pointer;
    transition: var(--transition); border: none;
    background: var(--border-green); color: var(--green-400);
    border: 1px solid var(--border-green);
    margin-top: auto;
}
.package-btn:hover { background: var(--green-glow-md); border-color: var(--green-500); }
.package-card.popular .package-btn {
    background: var(--green-500); color: #000;
    box-shadow: 0 0 25px var(--green-glow-md);
    border-color: transparent;
}
.package-card.popular .package-btn:hover { background: var(--green-400); }

/* ── SEKTÖRLER ──────────────────────────────────────────────── */
#sektorler { background: var(--bg-800); }

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-top: 56px;
}
.sector-card {
    background: var(--bg-700);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 28px 20px;
    text-align: center; transition: var(--transition);
    cursor: default; position: relative; overflow: hidden;
}
.sector-card::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--green-700), var(--green-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.sector-card:hover::after { transform: scaleX(1); }
.sector-card:hover {
    border-color: var(--border-green);
    background: var(--bg-600);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}
.sector-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: var(--green-glow);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--green-500);
    transition: var(--transition);
}
.sector-card:hover .sector-icon {
    background: var(--green-glow-md);
    box-shadow: 0 0 20px var(--green-glow-md);
    transform: scale(1.08);
}
.sector-name {
    font-size: 0.9rem; font-weight: 700;
    color: var(--text-200); margin-bottom: 8px; line-height: 1.3;
}
.sector-desc {
    font-size: 0.78rem; color: var(--text-500); line-height: 1.5;
}

/* ── İLETİŞİM ───────────────────────────────────────────────── */
#iletisim { background: var(--bg-900); }

.contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 64px; margin-top: 56px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--bg-700); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 20px 24px;
    transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--border-green); }
.contact-info-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: var(--green-glow); border: 1px solid var(--border-green);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-500); font-size: 1rem;
}
.contact-info-content { }
.contact-info-label {
    font-size: 0.72rem; font-family: var(--font-mono);
    color: var(--text-500); text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 4px;
}
.contact-info-value {
    font-size: 0.9rem; color: var(--text-200); font-weight: 500;
}
.contact-info-value a { color: var(--text-200); }
.contact-info-value a:hover { color: var(--green-400); }

.contact-form {
    background: var(--bg-700); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
    font-size: 0.8rem; font-weight: 600; color: var(--text-400);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.form-input, .form-select, .form-textarea {
    background: var(--bg-600); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); padding: 12px 16px;
    color: var(--text-200); font-size: 0.9rem; font-family: var(--font-main);
    outline: none; transition: var(--transition); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px var(--green-glow);
    background: var(--bg-500);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-500); }
.form-select { cursor: pointer; appearance: none; }
.form-textarea { min-height: 120px; resize: vertical; }

/* Custom service select */
.svc-sel-wrapper { position: relative; }
.svc-sel-trigger {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 12px 16px; box-sizing: border-box;
    background: var(--bg-600); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); color: var(--text-200);
    font-size: 0.9rem; font-family: var(--font-main);
    cursor: pointer; text-align: left; transition: var(--transition);
}
.svc-sel-trigger:hover { border-color: rgba(34,197,94,0.35); }
.svc-sel-trigger:focus  { outline: none; }
.svc-sel-trigger.open {
    border-color: var(--green-500); background: var(--bg-500);
    box-shadow: 0 0 0 3px var(--green-glow);
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.svc-sel-trigger-icon {
    font-size: 0.85rem; min-width: 16px; text-align: center;
    color: var(--green-400); transition: color 0.2s;
}
.svc-sel-trigger-icon.placeholder { color: var(--text-500); }
.svc-sel-trigger-label { flex: 1; font-size: 0.9rem; color: var(--text-200); }
.svc-sel-trigger-label.placeholder { color: var(--text-500); }
.svc-sel-chevron {
    font-size: 0.68rem; color: var(--text-500);
    transition: transform 0.2s; flex-shrink: 0;
}
.svc-sel-trigger.open .svc-sel-chevron { transform: rotate(180deg); }
/* Dropdown menü — currency select ile aynı koyu tema */
.svc-sel-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #0e1420; list-style: none; margin: 0; padding: 4px 0;
    border: 1px solid rgba(34,197,94,0.3); border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 600; box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    max-height: 280px; overflow-y: auto;
}
.svc-sel-menu.open { display: block; }
.svc-sel-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; cursor: pointer;
    font-size: 0.83rem; color: var(--text-muted);
    transition: background 0.15s, color 0.15s;
}
.svc-sel-opt:hover  { background: rgba(34,197,94,0.08); color: var(--text); }
.svc-sel-opt.selected { color: var(--green-400); background: rgba(34,197,94,0.06); }
.svc-sel-opt-icon {
    font-size: 0.82rem; min-width: 15px; text-align: center;
    color: inherit; opacity: 0.6; transition: opacity 0.15s;
}
.svc-sel-opt:hover .svc-sel-opt-icon,
.svc-sel-opt.selected .svc-sel-opt-icon { opacity: 1; }
.form-submit {
    width: 100%; padding: 14px; border-radius: var(--radius-sm);
    background: var(--green-500); color: #000;
    font-weight: 700; font-size: 0.95rem; border: none;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 0 25px var(--green-glow-md); margin-top: 4px;
}
.form-submit:hover {
    background: var(--green-400);
    box-shadow: 0 0 40px var(--green-glow-lg);
    transform: translateY(-2px);
}
.form-success {
    display: none; text-align: center; padding: 24px;
    color: var(--green-400); font-weight: 600;
}
.form-success i { font-size: 2rem; display: block; margin-bottom: 12px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
#footer {
    background: var(--bg-800);
    border-top: 1px solid var(--border-subtle);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px; margin-bottom: 56px;
}

.footer-brand { }
.footer-logo {
    display: flex; align-items: center; gap: 4px;
    font-size: 1.5rem; font-weight: 900;
    color: var(--text-100); margin-bottom: 16px;
}
/* [ESKİ] .footer-logo span { color: var(--green-500); } */
/* [ESKİ] .footer-logo-dot {
    width: 8px; height: 8px; background: var(--green-500);
    border-radius: 50%; margin-left: 2px;
    box-shadow: 0 0 6px var(--green-500);
} */
.footer-desc { font-size: 0.875rem; color: var(--text-500); line-height: 1.7; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    background: var(--bg-700); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-500); font-size: 0.95rem;
    transition: var(--transition);
}
.social-btn:hover {
    background: var(--green-glow); border-color: var(--border-green);
    color: var(--green-400);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 0.85rem; font-weight: 700; color: var(--text-200);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--text-500); transition: var(--transition); }
.footer-links a:hover { color: var(--green-400); padding-left: 4px; }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.85rem; color: var(--text-500); margin-bottom: 12px;
}
.footer-contact-item i { color: var(--green-500); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: var(--text-500); }
.footer-contact-item a:hover { color: var(--green-400); }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-copyright { font-size: 0.8rem; color: var(--text-500); }
.footer-copyright span { color: var(--green-500); }
.footer-tech { font-size: 0.75rem; color: var(--text-500); font-family: var(--font-mono); }

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity:0; transform: translateY(-20px); }
    to { opacity:1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity:0; transform: translateY(30px); }
    to { opacity:1; transform: translateY(0); }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Navbar sıkışma önleme */
@media (max-width: 1200px) {
    .nav-links { gap: 2px; }
    .nav-links a { padding: 8px 10px; font-size: 0.86rem; }
    .nav-cta { padding: 9px 16px !important; font-size: 0.82rem !important; }
    .nav-portal { padding: 8px 14px !important; font-size: 0.82rem !important; }
}

@media (max-width: 1080px) {
    .nav-links a { padding: 6px 8px; font-size: 0.81rem; }
    .nav-cta { padding: 8px 13px !important; font-size: 0.8rem !important; }
    .nav-portal { padding: 7px 11px !important; font-size: 0.8rem !important; }
}

/* Hamburger — navbar artık sığmıyor */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-container { padding: 0 16px; }
}

/* Tablet landscape */
@media (max-width: 1200px) {
    .about-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* Tablet */
@media (max-width: 1024px) {
    .sectors-grid { grid-template-columns: repeat(3, 1fr); }
    .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .package-card.popular { transform: none; }
    .package-card.popular:hover { transform: translateY(-6px); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { max-width: 560px; }
}

/* Mobile */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 20px 12px;
    }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) { border-bottom: 1px solid var(--border-subtle); }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border-subtle); }
    .stat-number { font-size: 1.8rem; }

    /* Sektörler */
    .sectors-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* Hizmetler */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* Why */
    .why-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Packages */
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
        gap: 20px;
    }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-info { gap: 14px; }
    .contact-info-card { padding: 16px; }
    .contact-info-value { font-size: 0.82rem; word-break: break-all; }
    .contact-form { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .footer-social { flex-wrap: wrap; }
}

/* Small mobile */
@media (max-width: 480px) {
    .section { padding: 52px 0; }
    .hero-title { letter-spacing: -1px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta a { width: 100%; max-width: 280px; text-align: center; }

    /* Stats: tek sütun */
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border-subtle) !important;
    }
    .stat-item:last-child { border-bottom: none !important; }

    /* Services: tek sütun */
    .services-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-form { padding: 18px; }
    .contact-info-value { font-size: 0.8rem; }

    /* Section başlık */
    .section-title { font-size: 1.6rem; }

    /* Nav portal/cta mob */
    .nav-portal { padding: 7px 14px !important; font-size: 0.8rem !important; }
    .nav-cta { padding: 8px 16px !important; font-size: 0.8rem !important; }
}

/* ── FAQ / SSS ─────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--bg-700);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-green-hover); }
.faq-item.open { border-color: var(--green-500); box-shadow: 0 0 20px var(--green-glow); }

.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; background: transparent; border: none; cursor: pointer;
    text-align: left; font-family: var(--font-main); color: var(--text-200);
    font-size: 1rem; font-weight: 600; line-height: 1.4;
    transition: var(--transition);
}
.faq-q:hover { color: var(--text-100); }
.faq-item.open .faq-q { color: var(--green-400); }

.faq-icon {
    flex-shrink: 0; font-size: 0.75rem; color: var(--green-500);
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
    padding: 0 24px 20px; color: var(--text-400);
    font-size: 0.95rem; line-height: 1.75; border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

/* ── BLOG ──────────────────────────────────────────────── */
.blog-hero {
    padding: 140px 0 60px;
    background: var(--bg-800);
    border-bottom: 1px solid var(--border-green);
}

.blog-filter {
    display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 24px;
}
.blog-filter-btn {
    padding: 8px 18px; border-radius: 999px;
    border: 1px solid var(--border-green);
    font-size: 0.85rem; font-weight: 500; color: var(--text-400);
    transition: var(--transition); cursor: pointer;
}
.blog-filter-btn:hover { border-color: var(--green-500); color: var(--text-200); }
.blog-filter-btn.active {
    background: var(--green-500); border-color: var(--green-500);
    color: #000; font-weight: 700;
}

.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--bg-700); border: 1px solid var(--border-green);
    border-radius: var(--radius-lg); padding: 28px;
    display: flex; flex-direction: column; gap: 14px;
    transition: var(--transition);
}
.blog-card:hover {
    border-color: var(--green-500);
    box-shadow: var(--shadow-green);
    transform: translateY(-4px);
}

.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.blog-cat-badge {
    padding: 4px 12px; border-radius: 999px;
    background: var(--green-glow); border: 1px solid var(--border-green-hover);
    font-size: 0.75rem; font-weight: 600; color: var(--green-400);
    font-family: var(--font-mono); letter-spacing: 0.05em;
}
.blog-read-time { font-size: 0.78rem; color: var(--text-500); }

.blog-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; flex-grow: 1; }
.blog-card-title a { color: var(--text-100); transition: var(--transition); }
.blog-card-title a:hover { color: var(--green-400); }

.blog-card-summary { font-size: 0.88rem; color: var(--text-400); line-height: 1.65; }

.blog-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-subtle);
}
.blog-date { font-size: 0.8rem; color: var(--text-500); }
.blog-date i, .blog-read-time i { margin-right: 5px; }

.blog-read-more {
    font-size: 0.82rem; font-weight: 600; color: var(--green-500);
    display: flex; align-items: center; gap: 6px; transition: var(--transition);
}
.blog-read-more:hover { color: var(--green-400); gap: 10px; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-tag {
    padding: 3px 10px; border-radius: 999px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
    font-size: 0.72rem; color: var(--text-500);
    font-family: var(--font-mono);
}

.blog-empty {
    text-align: center; padding: 80px 20px;
    color: var(--text-500); font-size: 1rem;
}
.blog-empty i { font-size: 3rem; display: block; margin-bottom: 16px; color: var(--border-green-hover); }
.blog-empty a { color: var(--green-400); }

.blog-pagination {
    display: flex; justify-content: center; gap: 8px; padding: 16px 0 32px;
}
.blog-page-btn {
    min-width: 40px; height: 40px; padding: 0 12px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); border: 1px solid var(--border-green);
    font-size: 0.875rem; color: var(--text-400); transition: var(--transition);
}
.blog-page-btn:hover { border-color: var(--green-500); color: var(--text-100); }
.blog-page-btn.active { background: var(--green-500); border-color: var(--green-500); color: #000; font-weight: 700; }

/* Blog Detail */
.blog-breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; color: var(--text-500); margin-bottom: 20px;
}
.blog-breadcrumb a { color: var(--green-400); }
.blog-breadcrumb i { font-size: 0.65rem; }

.blog-detail-meta {
    display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px;
    font-size: 0.85rem; color: var(--text-500);
}
.blog-detail-meta i { margin-right: 6px; color: var(--green-600); }

.blog-detail-layout {
    display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start;
}

.blog-article {
    background: var(--bg-700); border: 1px solid var(--border-green);
    border-radius: var(--radius-lg); padding: 40px; min-width: 0;
}

.blog-article-content { color: var(--text-300); line-height: 1.8; font-size: 1rem; }
.blog-article-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-100); margin: 32px 0 14px; }
.blog-article-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-200); margin: 24px 0 10px; }
.blog-article-content p { margin-bottom: 16px; }
.blog-article-content ul, .blog-article-content ol { padding-left: 24px; margin-bottom: 16px; }
.blog-article-content li { margin-bottom: 8px; }
.blog-article-content strong { color: var(--text-100); }
.blog-article-content a { color: var(--green-400); text-decoration: underline; }
.blog-article-content blockquote {
    border-left: 3px solid var(--green-500); padding: 12px 20px; margin: 24px 0;
    background: var(--bg-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-300); font-style: italic;
}
.blog-article-content code {
    background: var(--bg-600); padding: 2px 8px; border-radius: 4px;
    font-family: var(--font-mono); font-size: 0.875em; color: var(--green-300);
}
.blog-article-content pre {
    background: var(--bg-800); padding: 20px; border-radius: var(--radius-md);
    overflow-x: auto; margin: 20px 0; border: 1px solid var(--border-green);
}
.blog-article-content pre code { background: none; padding: 0; color: var(--green-300); }

.blog-cta-box {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    margin-top: 40px; padding: 24px 28px;
    background: var(--bg-600); border: 1px solid var(--border-green-hover);
    border-radius: var(--radius-md); border-left: 4px solid var(--green-500);
}
.blog-cta-icon { font-size: 2rem; color: var(--green-400); flex-shrink: 0; }
.blog-cta-title { font-size: 1rem; font-weight: 700; color: var(--text-100); margin-bottom: 4px; }
.blog-cta-sub { font-size: 0.875rem; color: var(--text-400); }
.blog-cta-box > div { flex: 1; }

/* Blog Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.blog-sidebar-card {
    background: var(--bg-700); border: 1px solid var(--border-green);
    border-radius: var(--radius-md); padding: 22px;
}
.blog-sidebar-title {
    font-size: 0.85rem; font-weight: 700; color: var(--green-400);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.blog-sidebar-title i { margin-right: 8px; }
.blog-sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.blog-sidebar-links a {
    padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 0.875rem; color: var(--text-400);
    border: 1px solid transparent; transition: var(--transition);
}
.blog-sidebar-links a:hover { background: var(--green-glow); color: var(--green-400); border-color: var(--border-green); }

.blog-sidebar-related { display: flex; flex-direction: column; gap: 12px; }
.blog-related-item {
    display: flex; flex-direction: column; gap: 4px; padding: 10px 12px;
    border-radius: var(--radius-sm); border: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.blog-related-item:hover { border-color: var(--border-green-hover); background: var(--green-glow); }
.blog-related-cat { font-size: 0.7rem; color: var(--green-500); font-family: var(--font-mono); font-weight: 600; }
.blog-related-title { font-size: 0.82rem; color: var(--text-300); line-height: 1.4; }

/* Blog responsive */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-detail-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}
@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-article { padding: 24px; }
}

/* ── ADMIN ─────────────────────────────────────────────── */
.admin-alert {
    padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px; font-size: 0.9rem;
}
.admin-alert-success { background: rgba(34,197,94,0.1); border: 1px solid var(--green-600); color: var(--green-300); }
.admin-alert i { font-size: 1.1rem; }

.admin-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-green); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: var(--bg-600); padding: 14px 18px;
    text-align: left; font-size: 0.78rem; font-weight: 700;
    color: var(--green-400); text-transform: uppercase; letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-green);
}
.admin-table td {
    padding: 14px 18px; border-bottom: 1px solid var(--border-subtle);
    font-size: 0.875rem; color: var(--text-300); vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.admin-post-link { color: var(--text-200); font-weight: 500; }
.admin-post-link:hover { color: var(--green-400); }

.admin-badge {
    padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
}
.admin-badge-green { background: rgba(34,197,94,0.12); color: var(--green-400); border: 1px solid var(--border-green-hover); }
.admin-badge-gray { background: rgba(255,255,255,0.05); color: var(--text-500); border: 1px solid var(--border-subtle); }

.admin-btn {
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-subtle); font-size: 0.8rem;
    cursor: pointer; transition: var(--transition); background: transparent;
}
.admin-btn-edit { color: var(--text-400); }
.admin-btn-edit:hover { border-color: var(--green-500); color: var(--green-400); background: var(--green-glow); }
.admin-btn-delete { color: var(--text-500); }
.admin-btn-delete:hover { border-color: #ef4444; color: #f87171; background: rgba(239,68,68,0.08); }

.admin-form { max-width: 900px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-form-group.full { grid-column: 1 / -1; }
.admin-form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-300); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-green); color: var(--text-400);
    font-weight: 600; font-size: 0.9rem; transition: var(--transition);
    font-family: var(--font-main); background: transparent; cursor: pointer;
}
.btn-outline:hover { border-color: var(--green-500); color: var(--text-200); background: var(--green-glow); }

/* ── CUSTOM POPUP MODAL ─────────────────────────────────── */
.zt-popup-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.zt-popup-overlay.show { opacity: 1; visibility: visible; }

.zt-popup {
    background: var(--bg-700);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-lg);
    padding: 40px 36px 32px;
    max-width: 440px; width: 100%;
    text-align: center;
    box-shadow: 0 0 60px rgba(34,197,94,0.15), 0 24px 60px rgba(0,0,0,0.6);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.zt-popup-overlay.show .zt-popup { transform: translateY(0) scale(1); }

.zt-popup-icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}
.zt-popup-icon.success {
    background: rgba(34,197,94,0.12);
    border: 2px solid var(--green-600);
    color: var(--green-400);
    box-shadow: 0 0 24px rgba(34,197,94,0.2);
}
.zt-popup-icon.error {
    background: rgba(239,68,68,0.1);
    border: 2px solid rgba(239,68,68,0.4);
    color: #f87171;
}
.zt-popup-icon.info {
    background: rgba(59,130,246,0.1);
    border: 2px solid rgba(59,130,246,0.4);
    color: #93c5fd;
}
.zt-popup-icon.warn {
    background: rgba(234,179,8,0.1);
    border: 2px solid rgba(234,179,8,0.4);
    color: #facc15;
}

.zt-popup-title {
    font-size: 1.25rem; font-weight: 800;
    color: var(--text-100); margin-bottom: 10px;
}
.zt-popup-msg {
    font-size: 0.95rem; color: var(--text-400); line-height: 1.6;
    margin-bottom: 28px;
}
.zt-popup-close {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 32px; border-radius: var(--radius-sm);
    background: var(--green-500); color: #000;
    font-weight: 700; font-size: 0.9rem;
    border: none; cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.zt-popup-close:hover {
    background: var(--green-400);
    box-shadow: 0 0 24px var(--green-glow-md);
    transform: translateY(-1px);
}
.zt-popup-close.secondary {
    background: transparent;
    border: 1px solid var(--border-green);
    color: var(--text-400);
    margin-right: 12px;
}
.zt-popup-close.secondary:hover {
    border-color: var(--green-500);
    color: var(--text-200);
    background: var(--green-glow);
    box-shadow: none;
}
.zt-popup-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Scan line accent inside popup */
.zt-popup::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--green-500), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ═══════════════════════════════════════════════════════════
   REFERANSLARIMIZ — Infinite Scroll Logo Strip
═══════════════════════════════════════════════════════════ */
.refs-section {
    padding: 80px 0 60px;
    overflow: hidden;
}

.refs-track-outer {
    position: relative;
    overflow: hidden;
    padding: 16px 0;
    margin-top: 48px;
}

/* Edge fade masks */
.refs-track-outer::before,
.refs-track-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}
.refs-track-outer::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-900) 0%, transparent 100%);
}
.refs-track-outer::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-900) 0%, transparent 100%);
}

.refs-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: refs-scroll 32s linear infinite;
}
.refs-track:hover {
    animation-play-state: paused;
}

@keyframes refs-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.refs-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    min-width: 160px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: background 0.3s, border-color 0.3s;
}
.refs-logo-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(34,197,94,0.35);
}

/* Default: renkli logolar — grayscale + açık parlak */
.refs-logo-item img {
    max-height: 52px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.6) opacity(0.7);
    transition: filter 0.35s;
}
.refs-logo-item:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
}

/* Koyu/siyah logolar — invert ile beyaza çevir */
.refs-logo-item.refs-logo-invert img {
    filter: invert(1) grayscale(100%) brightness(1.2) opacity(0.7);
}
.refs-logo-item.refs-logo-invert:hover img {
    filter: invert(1) grayscale(0%) brightness(1) opacity(1);
}

/* White-on-transparent logos — zaten açık renk */
.refs-logo-item.refs-logo-white img {
    filter: grayscale(0%) brightness(1) opacity(0.75);
}
.refs-logo-item.refs-logo-white:hover img {
    filter: none;
    opacity: 1;
}

/* Silver/light logos like BRK Garage */
.refs-logo-item.refs-logo-light img {
    filter: grayscale(100%) brightness(1.8) opacity(0.7);
}
.refs-logo-item.refs-logo-light:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
}

/* SVG logos (dark bg için tasarlandı) */
.refs-logo-item.refs-logo-svg img {
    filter: opacity(0.65);
}
.refs-logo-item.refs-logo-svg:hover img {
    filter: opacity(1);
}

@media (max-width: 768px) {
    .refs-logo-item {
        height: 72px;
        min-width: 130px;
        padding: 10px 20px;
    }
    .refs-logo-item img {
        max-height: 42px;
        max-width: 120px;
    }
    .refs-track-outer::before,
    .refs-track-outer::after {
        width: 60px;
    }
}

/* ═══════════════════════════════════════════════════════════
   AI CHAT WIDGET
═══════════════════════════════════════════════════════════ */
#zt-chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    font-family: 'Inter', system-ui, sans-serif;
    transition: bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Radar halkası animasyonu */
#zt-chat-bubble::before,
#zt-chat-bubble::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(34,197,94,0.5);
    animation: radar-ring 2.4s ease-out infinite;
    pointer-events: none;
}
#zt-chat-bubble::after {
    animation-delay: 1.2s;
    border-color: rgba(34,197,94,0.3);
}
@keyframes radar-ring {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* AI badge */
#zt-chat-widget::before {
    content: 'AI';
    position: absolute;
    top: -8px; right: -4px;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(34,197,94,0.5);
    animation: ai-badge-pulse 3s ease infinite;
}
@keyframes ai-badge-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(34,197,94,0.5); }
    50%       { box-shadow: 0 2px 16px rgba(6,182,212,0.8), 0 0 20px rgba(34,197,94,0.4); }
}

/* Tooltip — sayfa ilk yüklendiğinde görünür */
#zt-chat-tooltip {
    position: absolute;
    right: 68px;
    bottom: 10px;
    background: #111;
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 10px;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
#zt-chat-tooltip.show {
    opacity: 1;
    transform: translateX(0);
}
#zt-chat-tooltip::after {
    content: '';
    position: absolute;
    right: -6px; top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: #111;
    border-right: 1px solid rgba(34,197,94,0.3);
    border-top: 1px solid rgba(34,197,94,0.3);
}

/* Baloncuk Butonu */
#zt-chat-bubble {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #06b6d4 100%);
    background-size: 200% 200%;
    animation: bubble-gradient 4s ease infinite;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    box-shadow: 0 4px 20px rgba(34,197,94,0.45), 0 2px 8px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
@keyframes bubble-gradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#zt-chat-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(34,197,94,0.65), 0 0 20px rgba(6,182,212,0.3);
}
#zt-chat-bubble:active { transform: scale(0.96); }
/* Açıkken radar durur */
#zt-chat-bubble.is-open::before,
#zt-chat-bubble.is-open::after { animation: none; opacity: 0; }

/* Panel */
#zt-chat-panel {
    position: absolute;
    bottom: 70px; right: 0;
    width: 360px;
    background: #0d0d0d;
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
    display: flex; flex-direction: column;
    overflow: hidden;
    opacity: 0; pointer-events: none;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.22s, transform 0.22s;
    max-height: 520px;
}
#zt-chat-panel.open {
    opacity: 1; pointer-events: all;
    transform: translateY(0) scale(1);
}

/* Header */
.zt-chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.zt-chat-header-info { display: flex; align-items: center; gap: 10px; }
.zt-chat-avatar {
    width: 36px; height: 36px;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #22c55e;
}
.zt-chat-name { font-weight: 700; font-size: 0.92rem; color: #f0f0f0; }
.zt-chat-status { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: #6b7280; margin-top: 1px; }
.zt-status-dot {
    width: 6px; height: 6px;
    background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: blink-dot 2.5s ease infinite;
}
@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.zt-chat-header-close {
    background: none; border: none; cursor: pointer;
    color: #4b5563; padding: 4px;
    border-radius: 6px; transition: color 0.2s, background 0.2s;
    display: flex; align-items: center;
}
.zt-chat-header-close:hover { color: #f0f0f0; background: rgba(255,255,255,0.06); }

/* Mesajlar */
#zt-chat-messages {
    flex: 1; overflow-y: auto;
    padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
    scroll-behavior: smooth;
}
#zt-chat-messages::-webkit-scrollbar { width: 4px; }
#zt-chat-messages::-webkit-scrollbar-track { background: transparent; }
#zt-chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.zt-msg {
    display: flex; gap: 8px; align-items: flex-end;
    animation: msg-in 0.2s ease;
}
@keyframes msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.zt-msg-bubble {
    max-width: 80%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
}
.zt-msg.bot { align-self: flex-start; }
.zt-msg.bot .zt-msg-bubble {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.07);
    color: #e5e7eb;
    border-bottom-left-radius: 4px;
}
.zt-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.zt-msg.user .zt-msg-bubble {
    background: #22c55e;
    color: #000;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

/* Yazıyor animasyonu */
.zt-typing .zt-msg-bubble {
    display: flex; align-items: center; gap: 4px;
    padding: 12px 16px;
}
.zt-typing-dot {
    width: 6px; height: 6px;
    background: #6b7280; border-radius: 50%;
    animation: typing-dot 1.2s ease infinite;
}
.zt-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.zt-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* Hızlı soru chips */
#zt-chat-chips {
    padding: 8px 12px 4px;
    display: flex; flex-wrap: wrap; gap: 6px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.zt-chip {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    color: #22c55e;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.zt-chip:hover { background: rgba(34,197,94,0.18); }

/* Input alanı */
.zt-chat-input-area {
    display: flex; align-items: flex-end; gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
#zt-chat-input {
    flex: 1;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 9px 12px;
    color: #f0f0f0;
    font-size: 0.875rem;
    font-family: inherit;
    resize: none;
    outline: none;
    max-height: 100px;
    transition: border-color 0.2s;
    line-height: 1.4;
}
#zt-chat-input:focus { border-color: rgba(34,197,94,0.4); }
#zt-chat-input::placeholder { color: #4b5563; }
#zt-chat-send {
    width: 38px; height: 38px;
    background: #22c55e; border: none; border-radius: 10px;
    cursor: pointer; color: #000;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}
#zt-chat-send:hover { background: #16a34a; }
#zt-chat-send:active { transform: scale(0.93); }
#zt-chat-send:disabled { background: #1a3a24; color: #4b5563; cursor: not-allowed; }

@media (max-width: 480px) {
    #zt-chat-widget { bottom: 20px; right: 16px; }

    /*
       Radar halkası animasyonu scale(2.2)'ye çıkıyor.
       Bubble 56px + right: 16px → halka sağdan ~17px taşıyor.
       Mobilde animasyonu kapat: overflow olmaz, zoom sorunu çözülür.
    */
    #zt-chat-bubble::before,
    #zt-chat-bubble::after {
        display: none;
    }

    /* AI badge'i widget'ın tam sağ kenarına hizala (taşma yok) */
    #zt-chat-widget::before {
        right: 0;
        top: -6px;
    }

    /* Panel: 600px kuralı zaten tam genişlik yapıyor, sadece yedek */
    #zt-chat-panel {
        bottom: 0;
        max-height: 82vh;
    }

    /* Gönder butonu mobilde daha büyük — kolay tıklanır */
    #zt-chat-send {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    /* Input mobilde daha rahat */
    #zt-chat-input {
        font-size: 1rem;
    }
}

/* ── Chat Kayıt Ekranı ─────────────────────────────────── */
#zt-chat-register {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 20px;
    text-align: center;
    flex: 1;
    overflow-y: auto;
}
.ztcr-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #22c55e;
    margin-bottom: 14px;
}
.ztcr-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 8px;
}
.ztcr-desc {
    font-size: 0.76rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 280px;
}
.ztcr-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ztcr-input {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: #f0f0f0;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ztcr-input:focus { border-color: rgba(34,197,94,0.5); }
.ztcr-input::placeholder { color: #4b5563; }
.ztcr-btn {
    background: #22c55e;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ztcr-btn:hover { background: #16a34a; }
.ztcr-btn:active { transform: scale(0.97); }
.ztcr-error {
    font-size: 0.75rem;
    color: #f87171;
    text-align: left;
    display: none;
    margin-top: -4px;
}
.ztcr-error.show { display: block; }

/* ═══════════════════════════════════════════════════════
   §14 KVKK COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════ */

#zt-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9998;
    background: #0d1117;
    border-top: 1px solid rgba(34, 197, 94, 0.22);
    box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.55);
    padding: 1rem 1.5rem;
    transform: translateY(105%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#zt-cookie-banner.zt-cookie-visible {
    transform: translateY(0);
}

.zt-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.zt-cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 240px;
}

.zt-cookie-icon {
    color: #22c55e;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.zt-cookie-text p {
    font-size: 0.83rem;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0;
}

.zt-cookie-actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
    align-items: center;
}

.zt-cookie-btn {
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.1s, background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.zt-cookie-btn:active { transform: scale(0.97); }

.zt-cookie-reject-btn {
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
}

.zt-cookie-reject-btn:hover {
    border-color: #6b7280;
    color: #d1d5db;
}

.zt-cookie-accept-btn {
    background: #22c55e;
    color: #050505;
}

.zt-cookie-accept-btn:hover { background: #16a34a; }

@media (max-width: 600px) {
    .zt-cookie-inner  { flex-direction: column; gap: 0.9rem; }
    .zt-cookie-actions { width: 100%; justify-content: flex-end; }
    .zt-cookie-text p { font-size: 0.8rem; }
}

/* Banner görünürken chat widget'ı üstüne taşı */
#zt-cookie-banner.zt-cookie-visible ~ #zt-chat-widget {
    bottom: 92px; /* desktop: banner ~68px + 24px boşluk */
}

@media (max-width: 600px) {
    #zt-cookie-banner.zt-cookie-visible ~ #zt-chat-widget {
        bottom: 185px; /* mobil: banner daha uzun (~165px) + 20px boşluk */
    }
}

@media (max-width: 480px) {
    #zt-cookie-banner.zt-cookie-visible ~ #zt-chat-widget {
        bottom: 185px;
    }
}

/* ═══════════════════════════════════════════════════════
   §15 NAV LANGUAGE TOGGLE
   ═══════════════════════════════════════════════════════ */

.nav-lang {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.nav-lang-btn {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #6b7280;
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-lang-btn:hover { color: var(--accent); }

.nav-lang-btn.active {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.1);
}

.nav-lang-sep {
    color: #374151;
    font-size: 0.7rem;
    user-select: none;
}

.mobile-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

@media (max-width: 960px) {
    .nav-lang { display: none; }
}

/* ═══════════════════════════════════════════════════════
   §16 HİZMET DETAY SAYFALARI
   ═══════════════════════════════════════════════════════ */

.srv-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
}

.srv-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.srv-hero-icon {
    width: 72px;
    height: 72px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.srv-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.srv-breadcrumb a { color: var(--accent); text-decoration: none; }
.srv-breadcrumb a:hover { text-decoration: underline; }
.srv-breadcrumb .fa-chevron-right { font-size: 0.6rem; }

.srv-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.srv-hero-tagline {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.srv-hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.srv-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-srv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.btn-outline-srv:hover { border-color: var(--accent); color: var(--accent); }

/* Highlights strip */
.srv-highlights {
    background: #0d1117;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.srv-highlights-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.srv-highlight-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.srv-highlight-card i { color: var(--accent); font-size: 1rem; }

/* Features */
.srv-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.srv-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: border-color 0.2s;
}
.srv-feature-item:hover { border-color: rgba(34, 197, 94, 0.3); }

.srv-feature-check {
    width: 22px;
    height: 22px;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 0.65rem;
    margin-top: 1px;
}

/* Why */
.srv-why { background: #0a0a0a; }

.srv-why-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.srv-why-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0.5rem 0 1rem;
}

.srv-why-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.srv-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.srv-why-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.srv-why-list li .fa-check-circle { color: var(--accent); }

.srv-why-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 160px;
}

.srv-stat {
    text-align: center;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.srv-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.srv-stat-label {
    display: block;
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* CTA box */
.srv-cta-box {
    background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.03) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.srv-cta-box h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.srv-cta-box p { color: var(--text-muted); margin-bottom: 2rem; }

.srv-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1ebe5d; }

/* Other services */
.srv-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.srv-other-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.srv-other-card:hover {
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--text);
    background: rgba(34, 197, 94, 0.05);
}

.srv-other-card > i:first-child { color: var(--accent); font-size: 1rem; }
.srv-other-arrow { margin-left: auto; font-size: 0.7rem; opacity: 0.4; }

@media (max-width: 768px) {
    .srv-why-inner { grid-template-columns: 1fr; gap: 2rem; }
    .srv-why-stats { flex-direction: row; min-width: auto; }
    .srv-stat { flex: 1; }
    .srv-cta-box { padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   QUOTE BUILDER — BANNER  (always fixed above navbar)
══════════════════════════════════════════════════════════════ */
#quote-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--banner-total, 46px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top, 0px) 20px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(34,197,94,0.35);
    background: linear-gradient(90deg, #071c0e 0%, #0d3320 25%, #0a2818 50%, #0d3320 75%, #071c0e 100%);
    background-size: 300% 100%;
    animation: qb-bg-shift 8s ease-in-out infinite;
    cursor: pointer;
}
@keyframes qb-bg-shift {
    0%,100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* shimmer overlay */
.qb-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(34,197,94,0.08) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: qb-shimmer 3s ease infinite;
    pointer-events: none;
}
@keyframes qb-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.quote-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

/* pulsing green dot */
.qb-pulse-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
    animation: qb-pulse 2s ease-out infinite;
}
@keyframes qb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.qb-icon { font-size: 1.1rem; }

.quote-banner-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1fae5;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* animated gold price tag */
.qb-price {
    color: #fbbf24;
    font-weight: 900;
    font-size: 1rem;
    text-shadow: 0 0 12px rgba(251,191,36,0.6);
    animation: qb-gold 3s ease-in-out infinite;
    display: inline-block;
    margin: 0 2px;
}
@keyframes qb-gold {
    0%,100% { color: #fbbf24; text-shadow: 0 0 12px rgba(251,191,36,0.6); transform: scale(1); }
    50%      { color: #fef08a; text-shadow: 0 0 20px rgba(254,240,138,0.9); transform: scale(1.08); }
}

/* CTA button with shine */
.quote-banner-cta {
    background: var(--green-500);
    color: #000;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: qb-btn-glow 2.5s ease-in-out infinite;
}
@keyframes qb-btn-glow {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%      { box-shadow: 0 0 12px 3px rgba(34,197,94,0.35); }
}
.quote-banner-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: qb-shine 2.5s ease infinite;
}
@keyframes qb-shine {
    0%   { left: -100%; }
    45%,100% { left: 150%; }
}
#quote-banner:hover .quote-banner-cta { background: #16a34a; transform: scale(1.03); }

/* bouncing arrow */
.qb-arrow { display: inline-flex; animation: qb-bounce 1.2s ease-in-out infinite; }
@keyframes qb-bounce {
    0%,100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════════════════
   QUOTE BUILDER — MODAL
══════════════════════════════════════════════════════════════ */
#quote-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
}
#quote-modal-overlay.open { display: flex; }

#quote-modal {
    background: #0d1117;
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.quote-modal-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #0a0f14;
    flex-shrink: 0;
    gap: 12px;
}
#quote-modal-close { margin-left: auto; }
.quote-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green-400);
    font-weight: 700;
    font-size: 1rem;
}
.quote-modal-title i { font-size: 1.1rem; }
#quote-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
#quote-modal-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* Step indicator */
.quote-step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}
.qstep {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.qstep.active { background: var(--green-500); border-color: var(--green-500); color: #000; }
.qstep.done { background: rgba(34,197,94,0.15); border-color: var(--green-500); color: var(--green-400); }
.qstep-line { width: 28px; height: 1px; background: rgba(255,255,255,0.12); }

/* Step content */
.qstep-content { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.qstep-content.active { display: flex; }
.quote-form-scroll { flex: 1; overflow-y: auto; padding: 20px 24px; }
.quote-form-scroll::-webkit-scrollbar { width: 4px; }
.quote-form-scroll::-webkit-scrollbar-thumb { background: rgba(34,197,94,0.3); border-radius: 4px; }

/* Parties grid */
.quote-parties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.quote-party-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quote-party-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green-400);
    font-size: 0.85rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2px;
}

/* Logo upload */
.quote-logo-upload {
    border: 1px dashed rgba(34,197,94,0.3);
    border-radius: 8px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
    position: relative;
}
.quote-logo-upload:hover { border-color: var(--green-400); background: rgba(34,197,94,0.04); }
#seller-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
}
#seller-logo-placeholder i { font-size: 1.1rem; color: rgba(34,197,94,0.4); }
#seller-logo-preview {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Form inputs */
.q-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    padding: 9px 12px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.83rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.q-input:focus { border-color: rgba(34,197,94,0.5); }
.q-input::placeholder { color: var(--text-muted); }
textarea.q-input { resize: vertical; min-height: 60px; }

/* Custom currency select */
.qcs-wrapper { position: relative; }
.qcs-trigger {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 8px 12px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px; color: var(--text); cursor: pointer; text-align: left;
    font-size: 0.83rem; font-family: var(--font-sans); transition: border-color 0.2s;
    box-sizing: border-box;
}
.qcs-trigger:hover, .qcs-trigger:focus { border-color: rgba(34,197,94,0.4); outline: none; }
.qcs-trigger.open { border-color: rgba(34,197,94,0.6); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.qcs-sym { font-weight: 700; color: var(--green-400); font-size: 1rem; min-width: 14px; }
.qcs-name { font-weight: 600; flex: 1; }
.qcs-chevron { font-size: 0.68rem; color: var(--text-muted); transition: transform 0.2s; }
.qcs-trigger.open .qcs-chevron { transform: rotate(180deg); }
.qcs-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #0e1420; border: 1px solid rgba(34,197,94,0.3); border-top: none;
    border-radius: 0 0 7px 7px; list-style: none; margin: 0; padding: 4px 0;
    z-index: 1200; box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.qcs-menu.open { display: block; }
.qcs-opt {
    padding: 10px 14px; cursor: pointer; font-size: 0.83rem; color: var(--text-muted);
    transition: background 0.15s, color 0.15s; display: flex; align-items: center; gap: 10px;
}
.qcs-opt:hover { background: rgba(34,197,94,0.08); color: var(--text); }
.qcs-opt.selected { color: var(--green-400); }
.qcs-opt-sym { font-weight: 700; font-size: 1rem; min-width: 16px; color: inherit; }
.qcs-opt-code { font-weight: 700; color: inherit; }
.qcs-opt-name { color: var(--text-muted); font-size: 0.78rem; margin-left: auto; }

/* ══════════════════════════════════════════════
   CUSTOM DATE PICKER
══════════════════════════════════════════════ */
.qdt-wrapper { position: relative; }
.qdt-trigger {
    display: flex; align-items: center; gap: 9px;
    width: 100%; padding: 8px 12px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px; color: var(--text); cursor: pointer; text-align: left;
    font-size: 0.83rem; font-family: var(--font-sans); transition: border-color 0.2s;
    box-sizing: border-box;
}
.qdt-trigger:hover, .qdt-trigger:focus { border-color: rgba(34,197,94,0.4); outline: none; }
.qdt-trigger.qdt-open { border-color: rgba(34,197,94,0.6); }
.qdt-trigger i { color: var(--green-400); font-size: 0.82rem; flex-shrink: 0; }
.qdt-display { flex: 1; }

/* Popup — rendered into document.body, positioned with JS */
.qdt-popup {
    display: none; position: absolute; z-index: 9999;
    background: #0b1120; border: 1px solid rgba(34,197,94,0.35);
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.65), 0 0 0 1px rgba(34,197,94,0.1);
    min-width: 260px;
}
.qdt-popup.qdt-open { display: block; }
.qdt-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06);
    background: #080e1a;
}
.qdt-title { font-size: 0.88rem; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.qdt-nav {
    background: none; border: none; color: var(--green-400); cursor: pointer;
    padding: 4px 8px; border-radius: 5px; font-size: 0.75rem;
    transition: background 0.15s; display: flex; align-items: center;
}
.qdt-nav:hover { background: rgba(34,197,94,0.12); }
.qdt-weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr);
    padding: 8px 10px 4px; gap: 2px;
}
.qdt-weekdays span {
    text-align: center; font-size: 0.68rem; font-weight: 700;
    color: var(--green-400); text-transform: uppercase; letter-spacing: 0.06em;
    padding: 4px 0;
}
.qdt-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    padding: 4px 10px 12px; gap: 2px;
}
.qdt-day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; border-radius: 6px; cursor: pointer; border: none;
    background: none; color: var(--text); transition: background 0.12s, color 0.12s;
    font-family: var(--font-sans);
}
.qdt-day:hover { background: rgba(34,197,94,0.14); color: #fff; }
.qdt-day.qdt-today {
    border: 1px solid rgba(34,197,94,0.5); color: var(--green-400); font-weight: 700;
}
.qdt-day.qdt-sel {
    background: var(--green-500) !important; color: #fff !important; font-weight: 700;
    box-shadow: 0 0 12px rgba(34,197,94,0.4);
}
.qdt-day.qdt-other { color: rgba(255,255,255,0.18); cursor: default; }
.qdt-day:disabled { pointer-events: none; }
.q-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}
.q-char-counter {
    font-size: 0.68rem; color: rgba(255,255,255,0.35);
    font-variant-numeric: tabular-nums; font-weight: 400;
}

/* Meta row */
.quote-meta-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* Product lines */
.quote-lines-section { margin-bottom: 20px; }
.quote-lines-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}
.q-add-line-btn {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--green-400);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.q-add-line-btn:hover { background: rgba(34,197,94,0.18); }
.quote-lines-table-wrap { overflow-x: auto; }
.quote-lines-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}
.quote-lines-table thead tr {
    background: rgba(255,255,255,0.04);
}
.quote-lines-table th {
    padding: 8px 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    white-space: nowrap;
}
.quote-lines-table th.ql-num { text-align: right; }
.quote-lines-table td { padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.ql-desc { min-width: 180px; }
.ql-num { width: 90px; }
.ql-action { width: 36px; }
.ql-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    padding: 5px 8px;
    color: var(--text);
    font-size: 0.8rem;
    width: 100%;
    outline: none;
    text-align: right;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.ql-input.ql-desc-field { text-align: left; }
.ql-input:focus { border-color: rgba(34,197,94,0.4); }

/* Stepper controls */
.ql-stepper { display: flex; align-items: stretch; gap: 0; }
.ql-stepper .ql-input {
    width: 54px; text-align: center;
    border-radius: 0; border-left: none; border-right: none;
    padding: 5px 4px;
    /* min-height: input doğal yüksekliğini korur */
    min-height: 28px;
}
.ql-step-btn {
    flex-shrink: 0; width: 26px;
    background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
    color: var(--green-400); cursor: pointer; font-size: 1.1rem; line-height: 1;
    transition: background 0.15s, color 0.15s;
    display: flex; align-items: center; justify-content: center;
    padding: 0; user-select: none;
    /* align-items:stretch → butonlar input ile aynı yüksekliğe ulaşır */
    align-self: stretch;
}
.ql-step-btn:first-child { border-radius: 5px 0 0 5px; }
.ql-step-btn:last-child  { border-radius: 0 5px 5px 0; }
.ql-step-btn:hover  { background: rgba(34,197,94,0.22); color: #fff; }
.ql-step-btn:active { background: rgba(34,197,94,0.38); }
.ql-line-total {
    text-align: right;
    color: var(--green-400);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    padding-right: 4px;
    white-space: nowrap;
}
.ql-remove {
    background: none;
    border: none;
    color: rgba(239,68,68,0.6);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: color 0.2s, background 0.2s;
}
.ql-remove:hover { color: #ef4444; background: rgba(239,68,68,0.1); }

/* Totals panel */
.quote-totals-panel {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}
.quote-totals-inner {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.qt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: 0.83rem;
    color: var(--text-muted);
}
.qt-row span:last-child { font-family: var(--font-mono); color: var(--text); font-weight: 500; }
.qt-discount span:last-child { color: #f87171; }
.qt-grand {
    border-top: 1px solid rgba(34,197,94,0.2);
    padding-top: 8px;
    margin-top: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}
.qt-grand span:last-child { color: var(--green-400); font-size: 1rem; }

/* Modal footer */
.quote-modal-footer {
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #0a0f14;
}
.q-btn-primary {
    background: var(--green-500);
    color: #000;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}
.q-btn-primary:hover { background: #16a34a; transform: translateY(-1px); }
.q-btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}
.q-btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.qt-section-label {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ── Template Cards ── */
.qt-template-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.qt-tpl-card {
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}
.qt-tpl-card:hover { border-color: rgba(34,197,94,0.4); transform: translateY(-2px); }
.qt-tpl-card.selected { border-color: var(--green-500); }
/* Real template preview frames */
.qt-tpl-preview-wrap {
    width: 100%; height: 175px; overflow: hidden; border-radius: 8px 8px 0 0;
    position: relative; background: #fff;
}
.qt-tpl-preview-frame {
    width: 840px; height: 820px;
    transform-origin: top left;
    transform: scale(0.208);
    pointer-events: none;
    overflow: hidden;
    position: absolute; top: 0; left: 0;
}

.qt-tpl-info {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.qt-tpl-name { font-size: 0.75rem; font-weight: 600; color: var(--text); }
.qt-tpl-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.qt-tpl-badge.free { background: rgba(34,197,94,0.15); color: var(--green-400); border: 1px solid rgba(34,197,94,0.3); }
.qt-tpl-badge.premium { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }

/* ── Payment step ── */
.qt-payment-box {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}
.qt-payment-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--green-400);
    margin: 0 auto 16px;
}
.qt-payment-box h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 12px;
}
.qt-pay-summary {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.qt-bank-info {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 20px;
}
.qt-bank-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-400);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.qt-bank-detail {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.83rem;
}
.qt-bank-detail:last-child { border-bottom: none; }
.qt-bank-detail span { color: var(--text-muted); }
.qt-bank-detail strong { color: var(--text); font-family: var(--font-mono); font-size: 0.78rem; }
.qt-pay-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}
.qt-confirm-btn { margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   QUOTE BUILDER — PRINT AREA & TEMPLATES
══════════════════════════════════════════════════════════════ */
#quote-print-area { display: none; }

@page { margin: 0; size: A4; }
@media print {
    body > *:not(#quote-print-area) { display: none !important; }
    #quote-print-area {
        display: block !important;
        position: fixed;
        inset: 0;
        background: #fff;
        color: #000;
        font-family: Arial, sans-serif;
    }
}

/* ══════════════════════════════════════════════════════════
   TEMPLATE 1 — CLASSIC  (Free)
   Temiz, sade iş belgesi — ağır renk yok, sadece yapı
══════════════════════════════════════════════════════════ */
.qt-doc.qt-classic {
    background: #ffffff; color: #1f2937; font-family: 'Segoe UI', Arial, sans-serif;
    padding: 0; min-height: 100vh; position: relative;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.qt-classic .qt-doc-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 32px 20px; background: #fff;
    border-bottom: 2px solid #1f2937; margin-bottom: 0;
}
.qt-classic .qt-doc-logo { max-height: 72px; max-width: 210px; object-fit: contain; }
.qt-classic .qt-no-logo { width: 64px; height: 26px; background: #e5e7eb; border-radius: 4px; }
.qt-classic .qt-doc-title {
    font-size: 1.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
    color: #374151;
}
.qt-classic .qt-parties {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    margin-bottom: 0; border-bottom: 1px solid #e5e7eb;
}
.qt-classic .qt-parties > div { padding: 16px 32px; }
.qt-classic .qt-parties > div:first-child { border-right: 1px solid #e5e7eb; background: #f9fafb; }
.qt-classic .qt-party-label {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
    color: #6b7280; margin-bottom: 8px; display: block;
}
.qt-classic .qt-party-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: #111827; }
.qt-classic .qt-party-detail { font-size: 0.73rem; color: #6b7280; line-height: 1.6; }
.qt-classic .qt-meta {
    display: flex; gap: 0; margin-bottom: 0;
    background: #f3f4f6; border-bottom: 1px solid #e5e7eb;
}
.qt-classic .qt-meta-item { flex: 1; padding: 10px 32px; border-right: 1px solid #e5e7eb; }
.qt-classic .qt-meta-item:last-child { border-right: none; }
.qt-classic .qt-meta-key { font-size: 0.57rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 3px; font-weight: 600; }
.qt-classic .qt-meta-val { font-size: 0.84rem; font-weight: 700; color: #111827; }
.qt-classic table { width: 100%; border-collapse: collapse; margin-bottom: 0; font-size: 0.79rem; }
.qt-classic thead tr { background: #374151; color: #fff; }
.qt-classic th { padding: 9px 12px; text-align: left; font-weight: 700; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; }
.qt-classic th:first-child { padding-left: 32px; }
.qt-classic th:not(:first-child) { text-align: right; }
.qt-classic td { padding: 8px 12px; border-bottom: 1px solid #f3f4f6; color: #1f2937; }
.qt-classic td:first-child { padding-left: 32px; }
.qt-classic td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.qt-classic tr:nth-child(even) td { background: #f9fafb; }
.qt-classic .qt-totals-section { display: flex; justify-content: flex-end; background: #f9fafb; padding: 14px 32px; border-top: 1px solid #e5e7eb; }
.qt-classic .qt-totals-box { min-width: 260px; }
.qt-classic .qt-total-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 0.79rem; color: #6b7280; border-bottom: 1px solid #f3f4f6; }
.qt-classic .qt-total-grand {
    border-top: 2px solid #1f2937; padding-top: 10px; margin-top: 8px;
    font-size: 1rem; font-weight: 800; color: #111827;
    display: flex; justify-content: space-between; border-bottom: none;
    background: transparent; border-radius: 0;
}
.qt-classic .qt-notes {
    margin: 0; padding: 14px 32px; border-top: 1px solid #e5e7eb;
    background: #f9fafb; font-size: 0.74rem; color: #4b5563; line-height: 1.65;
    word-break: break-word; overflow-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════
   TEMPLATE 2 — GREEN PRO  (Free)
   Temiz yeşil kimlik — beyaz belge, yeşil marka aksanı
══════════════════════════════════════════════════════════ */
.qt-doc.qt-green {
    background: #fff; color: #0a1a0f; font-family: 'Segoe UI', Arial, sans-serif;
    padding: 0; min-height: 100vh;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
    border-top: 5px solid #16a34a;
}
.qt-green .qt-doc-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 28px 18px; margin-bottom: 0; background: #ffffff;
    border-bottom: 1px solid #d1fae5;
}
.qt-green .qt-doc-logo { max-height: 72px; max-width: 200px; object-fit: contain; }
.qt-green .qt-doc-title {
    font-size: 1.7rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase;
    color: #16a34a;
}
.qt-green .qt-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 0; border-bottom: 1px solid #d1fae5; }
.qt-green .qt-parties > div { padding: 14px 28px; }
.qt-green .qt-parties > div:first-child { background: #f0fdf4; border-right: 1px solid #d1fae5; }
.qt-green .qt-party-label {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
    color: #16a34a; margin-bottom: 7px; display: block;
}
.qt-green .qt-party-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; color: #052e16; }
.qt-green .qt-party-detail { font-size: 0.73rem; color: #374151; line-height: 1.55; }
.qt-green .qt-meta {
    display: flex; gap: 0; margin-bottom: 0;
    background: #f0fdf4; border-bottom: 2px solid #16a34a;
}
.qt-green .qt-meta-item { flex: 1; padding: 10px 28px; border-right: 1px solid #bbf7d0; }
.qt-green .qt-meta-item:last-child { border-right: none; }
.qt-green .qt-meta-key { font-size: 0.57rem; color: #16a34a; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 3px; }
.qt-green .qt-meta-val { font-size: 0.84rem; font-weight: 700; color: #052e16; }
.qt-green table { width: 100%; border-collapse: collapse; margin-bottom: 0; font-size: 0.78rem; }
.qt-green thead tr { background: #16a34a; color: #fff; }
.qt-green th { padding: 9px 12px; text-align: left; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.qt-green th:not(:first-child) { text-align: right; }
.qt-green td { padding: 7px 12px; border-bottom: 1px solid #f0fdf4; color: #0a1a0f; }
.qt-green td:not(:first-child) { text-align: right; }
.qt-green tr:nth-child(odd) td { background: #fafff9; }
.qt-green tr:nth-child(even) td { background: #fff; }
.qt-green .qt-totals-section { display: flex; justify-content: flex-end; padding: 14px 28px; background: #fafff9; border-top: 1px solid #d1fae5; }
.qt-green .qt-totals-box { min-width: 250px; }
.qt-green .qt-total-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 0.78rem; color: #374151; border-bottom: 1px solid #d1fae5; }
.qt-green .qt-total-grand {
    border-top: 2px solid #16a34a; padding-top: 10px; margin-top: 8px;
    font-size: 0.95rem; font-weight: 800; color: #052e16;
    display: flex; justify-content: space-between; border-bottom: none;
    background: transparent; border-radius: 0;
}
.qt-green .qt-total-grand span:last-child { color: #16a34a; }
.qt-green .qt-notes {
    margin: 0; padding: 12px 28px 16px; background: #f0fdf4;
    border-top: 1px solid #bbf7d0; font-size: 0.73rem; color: #1a3a1a;
    line-height: 1.6; word-break: break-word; overflow-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════
   TEMPLATE 3 — MINIMAL  ($1 Premium)
   Editorial tipografi — maksimum beyaz alan, sıfır dekorasyon,
   sadece incelikli çizgiler. Lüks ajans hissi.
══════════════════════════════════════════════════════════ */
.qt-doc.qt-minimal {
    background: #fff; color: #111; font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 36px 44px; min-height: 100vh;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
/* Top block: large "TEKLİF" word left, logo right */
.qt-minimal .qt-minimal-top {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px;
}
.qt-minimal .qt-minimal-invoice-word {
    font-size: 2.8rem; font-weight: 900; letter-spacing: 0.26em; text-transform: uppercase;
    color: #111; line-height: 1;
}
.qt-minimal .qt-minimal-num {
    font-size: 0.7rem; letter-spacing: 0.14em; color: #9ca3af; margin-top: 8px;
    font-family: 'Courier New', monospace; text-transform: uppercase;
}
.qt-minimal .qt-doc-logo { max-height: 70px; max-width: 200px; object-fit: contain; filter: brightness(0); }
.qt-minimal .qt-minimal-rule { border: none; border-top: 2px solid #111; margin: 16px 0 20px; }
/* Override: minimal uses .qt-minimal-top instead of .qt-doc-header */
.qt-minimal .qt-doc-header { display: none; }
/* Parties: no background box, just clean columns with subtle separator */
.qt-minimal .qt-parties {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    margin-bottom: 20px; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
}
.qt-minimal .qt-parties > div { padding: 14px 0; }
.qt-minimal .qt-parties > div:first-child { padding-right: 24px; border-right: 1px solid #e5e7eb; }
.qt-minimal .qt-parties > div:last-child { padding-left: 24px; }
.qt-minimal .qt-party-label {
    font-size: 0.57rem; text-transform: uppercase; letter-spacing: 0.2em; color: #9ca3af;
    margin-bottom: 8px; display: block; font-weight: 700;
}
.qt-minimal .qt-party-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: #111; }
.qt-minimal .qt-party-detail { font-size: 0.72rem; color: #6b7280; line-height: 1.65; }
/* Meta strip: no background, just spacing */
.qt-minimal .qt-meta { display: flex; gap: 0; margin-bottom: 20px; }
.qt-minimal .qt-meta-item { flex: 1; padding: 0; margin-right: 24px; }
.qt-minimal .qt-meta-item:last-child { margin-right: 0; }
.qt-minimal .qt-meta-key { font-size: 0.57rem; text-transform: uppercase; letter-spacing: 0.14em; color: #9ca3af; margin-bottom: 4px; font-weight: 600; }
.qt-minimal .qt-meta-val { font-size: 0.88rem; font-weight: 700; color: #111; }
.qt-minimal table { width: 100%; border-collapse: collapse; margin-bottom: 0; font-size: 0.78rem; }
.qt-minimal thead tr { border-bottom: 2px solid #111; }
.qt-minimal th { padding: 8px 10px 8px 0; text-align: left; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: #374151; font-weight: 700; background: transparent; }
.qt-minimal th:not(:first-child) { text-align: right; padding-right: 0; }
.qt-minimal td { padding: 9px 10px 9px 0; border-bottom: 1px solid #f3f4f6; color: #111; }
.qt-minimal td:not(:first-child) { text-align: right; padding-right: 0; font-family: 'Courier New', monospace; font-size: 0.76rem; }
.qt-minimal tr:last-child td { border-bottom: none; }
.qt-minimal .qt-totals-section { display: flex; justify-content: flex-end; margin-top: 4px; }
.qt-minimal .qt-totals-box { min-width: 240px; }
.qt-minimal .qt-total-row {
    display: flex; justify-content: space-between; gap: 16px; padding: 5px 0;
    font-size: 0.76rem; color: #6b7280; border-bottom: none;
}
.qt-minimal .qt-total-grand {
    border-top: 2px solid #111; padding-top: 10px; margin-top: 10px;
    font-size: 1.05rem; font-weight: 800; color: #111;
    display: flex; justify-content: space-between; border-bottom: none;
    letter-spacing: 0.02em;
}
.qt-minimal .qt-notes {
    margin-top: 20px; font-size: 0.72rem; color: #4b5563; line-height: 1.7;
    padding: 14px 0; border-top: 1px solid #e5e7eb;
    word-break: break-word; overflow-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════
   TEMPLATE 4 — CORPORATE  ($1 Premium)
   Executive kurumsal — lacivert başlık, altın aksan,
   structured profesyonel belge. Fortune 500 hissi.
══════════════════════════════════════════════════════════ */
.qt-doc.qt-corporate {
    background: #fff; color: #0f172a;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 0; min-height: 100vh;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
/* Full-width dark header */
.qt-corp-header {
    background: linear-gradient(135deg, #0d1b2a 0%, #162035 60%, #1a2840 100%);
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 36px; border-bottom: 4px solid #c9a227;
    position: relative; overflow: hidden;
}
/* Subtle geometric accent in header */
.qt-corp-header::before {
    content: ''; position: absolute; right: -30px; top: -30px;
    width: 160px; height: 160px; border-radius: 50%;
    border: 30px solid rgba(201,162,39,0.08);
    pointer-events: none;
}
.qt-corp-header-left { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.qt-corp-logo { max-height: 80px; max-width: 230px; object-fit: contain; filter: brightness(0) invert(1); }
/* Firma adı için fallback (logo yoksa) */
.qt-corp-header-left > div:not(.qt-corp-logo) {
    display: flex; flex-direction: column;
}
.qt-corp-header-right { text-align: right; position: relative; z-index: 1; }
.qt-corp-quotation-word {
    font-size: 2.2rem; font-weight: 900; color: #c9a227;
    letter-spacing: 0.2em; text-transform: uppercase; line-height: 1;
    text-shadow: 0 2px 12px rgba(201,162,39,0.3);
}
.qt-corp-quotation-sub {
    font-size: 0.55rem; color: rgba(255,255,255,0.4);
    letter-spacing: 0.4em; text-transform: uppercase; margin-top: 5px;
}
/* Info strip */
.qt-corp-infostrip {
    background: #f0f3f8; border-bottom: 2px solid #162035;
    display: flex;
}
.qt-corp-info-item {
    flex: 1; padding: 11px 24px; border-right: 1px solid #dde3ee;
}
.qt-corp-info-item:last-child { border-right: none; }
.qt-corp-info-label {
    font-size: 0.56rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.16em; color: #162035; margin-bottom: 3px;
}
.qt-corp-info-val { font-size: 0.9rem; font-weight: 700; color: #0f172a; }
/* Two-column parties */
.qt-corp-parties {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-bottom: 1px solid #e2e8f0;
}
.qt-corp-party { padding: 18px 32px; }
.qt-corp-party:first-child { background: #f8fafc; border-right: 1px solid #e2e8f0; }
.qt-corp-party-label {
    font-size: 0.57rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.22em; color: #162035; border-bottom: 2px solid #c9a227;
    padding-bottom: 6px; margin-bottom: 10px; display: block;
}
.qt-corp-party-name { font-weight: 700; font-size: 1rem; margin-bottom: 5px; color: #0f172a; }
.qt-corp-party-detail { font-size: 0.74rem; color: #475569; line-height: 1.65; }
/* Table + totals area */
.qt-corp-main { padding: 18px 32px 0; }
.qt-corporate table { width: 100%; border-collapse: collapse; margin-bottom: 0; font-size: 0.8rem; }
.qt-corporate thead tr { background: #162035; color: #fff; }
.qt-corporate th { padding: 10px 12px; text-align: left; font-weight: 700; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; }
.qt-corporate th:first-child { padding-left: 16px; }
.qt-corporate th:not(:first-child) { text-align: right; }
.qt-corporate td { padding: 9px 12px; border-bottom: 1px solid #f0f3f8; color: #0f172a; }
.qt-corporate td:first-child { padding-left: 16px; }
.qt-corporate td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.qt-corporate tr:nth-child(even) td { background: #f8fafc; }
.qt-corporate .qt-totals-section { display: flex; justify-content: flex-end; margin-top: 0; padding: 14px 32px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.qt-corporate .qt-totals-box { min-width: 270px; }
.qt-corporate .qt-total-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 0.8rem; color: #64748b; border-bottom: 1px solid #f0f3f8; }
.qt-corporate .qt-total-grand {
    background: #162035; color: #fff; padding: 12px 16px;
    border: none; margin-top: 10px; font-size: 1rem; font-weight: 800;
    display: flex; justify-content: space-between; border-radius: 2px;
}
.qt-corporate .qt-total-grand span:first-child { color: rgba(255,255,255,0.85); }
.qt-corporate .qt-total-grand span:last-child { color: #c9a227; font-size: 1.1rem; font-weight: 900; }
.qt-corporate .qt-notes {
    margin: 0; padding: 12px 32px 16px;
    background: #fff; border-top: none; border-left: none;
    border-top: 3px solid #c9a227;
    font-size: 0.74rem; color: #334155; line-height: 1.65;
    word-break: break-word; overflow-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════
   TEMPLATE 5 — MATRIX TECH  ($1 Premium)
   Terminal karanlık tema — neon yeşil, tarama çizgileri,
   monospace font. Yazılım / siber güvenlik şirketi hissi.
══════════════════════════════════════════════════════════ */
.qt-doc.qt-matrix {
    background: #020802; color: #bbf7d0;
    font-family: 'Courier New', Courier, monospace;
    padding: 22px 26px; min-height: 100vh; position: relative;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
    background-image:
        repeating-linear-gradient(
            0deg, transparent, transparent 3px,
            rgba(34,197,94,0.025) 3px, rgba(34,197,94,0.025) 4px
        );
}
/* Terminal cursor prompt decoration */
.qt-matrix::before {
    content: '> QUOTATION_DOCUMENT.pdf'; position: absolute; top: 6px; left: 26px;
    font-size: 0.55rem; color: rgba(34,197,94,0.35); letter-spacing: 0.08em;
    font-family: 'Courier New', monospace; pointer-events: none;
}
.qt-matrix .qt-doc-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; margin-bottom: 16px; margin-top: 10px;
    background: #030d03;
    border: 1px solid rgba(34,197,94,0.6);
    border-radius: 2px;
    box-shadow: 0 0 40px rgba(34,197,94,0.12), inset 0 0 20px rgba(34,197,94,0.03);
    position: relative;
}
.qt-matrix .qt-doc-header::before {
    content: '●'; position: absolute; top: 6px; left: 10px;
    font-size: 0.5rem; color: #22c55e; opacity: 0.7;
    text-shadow: 0 0 8px rgba(34,197,94,0.8);
}
.qt-matrix .qt-doc-logo { max-height: 68px; max-width: 190px; object-fit: contain; filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(600%) hue-rotate(90deg); }
.qt-matrix .qt-doc-title {
    font-size: 1.35rem; font-weight: 700; color: #22c55e; letter-spacing: 0.3em; text-transform: uppercase;
    text-shadow: 0 0 20px rgba(34,197,94,0.9), 0 0 50px rgba(34,197,94,0.4);
}
.qt-matrix .qt-parties {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
.qt-matrix .qt-parties > div {
    padding: 11px 14px;
    border: 1px solid rgba(34,197,94,0.22); border-radius: 2px;
    background: rgba(34,197,94,0.02);
}
.qt-matrix .qt-party-label {
    font-size: 0.57rem; text-transform: uppercase; letter-spacing: 0.22em; color: #22c55e;
    margin-bottom: 6px; display: block;
    text-shadow: 0 0 8px rgba(34,197,94,0.5);
}
.qt-matrix .qt-party-name { font-weight: 700; font-size: 0.84rem; color: #f0fdf4; margin-bottom: 3px; }
.qt-matrix .qt-party-detail { font-size: 0.67rem; color: #86efac; line-height: 1.6; }
.qt-matrix .qt-meta {
    display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 12px;
    background: #030d03;
    border: 1px solid rgba(34,197,94,0.4); border-radius: 2px;
    box-shadow: 0 0 15px rgba(34,197,94,0.06);
}
.qt-matrix .qt-meta-item { flex: 1; padding: 9px 16px; border-right: 1px solid rgba(34,197,94,0.18); }
.qt-matrix .qt-meta-item:last-child { border-right: none; }
.qt-matrix .qt-meta-key { font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.2em; color: #22c55e; margin-bottom: 4px; text-shadow: 0 0 6px rgba(34,197,94,0.4); }
.qt-matrix .qt-meta-val { font-size: 0.8rem; color: #d1fae5; font-weight: 700; }
.qt-matrix table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 0.75rem; }
.qt-matrix thead tr {
    background: rgba(34,197,94,0.18);
    border-top: 1px solid rgba(34,197,94,0.8);
    border-bottom: 1px solid rgba(34,197,94,0.4);
}
.qt-matrix th { padding: 8px 10px; text-align: left; color: #4ade80; font-weight: 700; letter-spacing: 0.1em; font-size: 0.62rem; text-transform: uppercase; }
.qt-matrix th:not(:first-child) { text-align: right; }
.qt-matrix td { padding: 7px 10px; border-bottom: 1px solid rgba(34,197,94,0.08); color: #bbf7d0; }
.qt-matrix td:not(:first-child) { text-align: right; }
.qt-matrix tr:nth-child(even) td { background: rgba(34,197,94,0.03); }
.qt-matrix .qt-totals-section { display: flex; justify-content: flex-end; margin-top: 4px; }
.qt-matrix .qt-totals-box {
    min-width: 250px; padding: 12px 16px;
    background: #030d03;
    border: 1px solid rgba(34,197,94,0.5); border-radius: 2px;
    box-shadow: 0 0 30px rgba(34,197,94,0.1);
}
.qt-matrix .qt-total-row {
    display: flex; justify-content: space-between; gap: 16px; padding: 5px 0;
    font-size: 0.74rem; color: #86efac; border-bottom: 1px solid rgba(34,197,94,0.08);
}
.qt-matrix .qt-total-grand {
    padding: 10px 0 0; margin-top: 8px; border-top: 1px solid #22c55e;
    font-size: 1rem; font-weight: 700; color: #22c55e; border-bottom: none;
    text-shadow: 0 0 20px rgba(34,197,94,0.7);
    display: flex; justify-content: space-between;
}
.qt-matrix .qt-notes {
    margin-top: 12px; padding: 10px 14px;
    border: 1px solid rgba(34,197,94,0.22); border-left: 3px solid #22c55e;
    font-size: 0.67rem; color: #86efac; line-height: 1.65; border-radius: 0 2px 2px 0;
    background: rgba(34,197,94,0.02); word-break: break-word; overflow-wrap: break-word;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    :root {
        --banner-h: 42px;
        --banner-total: calc(42px + env(safe-area-inset-top, 0px));
    }
    .quote-banner-text { font-size: 0.75rem; }
    .qb-icon { display: none; }
    .quote-parties-grid { grid-template-columns: 1fr; }
    .quote-meta-row { grid-template-columns: 1fr 1fr; }
    .qt-template-grid { grid-template-columns: repeat(3, 1fr); }
    #quote-modal-overlay {
        padding: 8px;
    }
    #quote-modal {
        max-height: calc(100dvh - 16px);
        border-radius: 12px;
        width: 100%;
    }
    .quote-modal-header { padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 14px; grid-template-columns: auto 1fr auto; }
    .quote-modal-title span { display: none; } /* Icon only on mobile */
    .quote-form-scroll { padding: 14px 16px; }
    .quote-modal-footer { padding: 10px 16px; }
    .qt-template-grid { gap: 10px; }
    .qt-tpl-preview-wrap { height: 140px; }
    .qt-tpl-preview-frame { transform: scale(0.166); }
}

@media (max-width: 480px) {
    .qt-template-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-meta-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .quote-lines-table th.ql-num, .quote-lines-table td.ql-num { font-size: 0.7rem; }
    /* Stepper: gap kaldır (kenarlıklar bitişik), buton yüksekliğini stretch'e bırak */
    .ql-stepper { gap: 0; }
    .ql-step-btn { width: 24px; font-size: 0.85rem; /* height yok — align-items:stretch eşitler */ }
    .ql-input { min-width: 40px; width: 44px; font-size: 0.78rem; }
    /* Açıklama inputu tablo genişliğini doldursun — stepper inputu değil */
    .ql-input.ql-desc-field { width: 100%; min-width: 130px; }
    .qt-row span { font-size: 0.8rem; }
    #qt-grand { font-size: 1rem !important; }
}

/* ══════════════════════════════════════════════════════════════
   ZENTECH AI — OTURUM TEKLİF TARİHÇESİ PANELİ
══════════════════════════════════════════════════════════════ */
.qt-history-panel {
    margin: 0;
    border-bottom: 1px solid rgba(34,197,94,0.18);
    background: linear-gradient(135deg, #060d06 0%, #050505 100%);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    /* Flex parent'ın step content tarafından sıkıştırılmasını engelle */
    flex-shrink: 0;
    max-height: 40vh;
    overflow-y: auto;
}

/* Başlık satırı */
.qth-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(34,197,94,0.12);
}

/* AI rozeti */
.qth-ai-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.35);
    border-radius: 20px;
    color: #22c55e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.qth-ai-badge i { font-size: 0.75rem; }

/* Metinler */
.qth-texts { flex: 1; min-width: 0; }
.qth-title { font-size: 0.78rem; color: #d1d5db; line-height: 1.4; }
.qth-title strong { color: #22c55e; }
.qth-sub   { font-size: 0.68rem; color: #6b7280; margin-top: 2px; }

/* Toggle butonu */
.qth-collapse-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #6b7280;
    padding: 4px 8px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-size: 0.75rem;
}
.qth-collapse-btn:hover { color: #22c55e; border-color: rgba(34,197,94,0.35); }

/* Liste gövdesi */
.qth-body { padding: 8px 16px 12px; display: flex; flex-direction: column; gap: 6px; }

/* Tek teklif satırı */
.qth-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}
.qth-item:hover { background: rgba(34,197,94,0.04); border-color: rgba(34,197,94,0.2); }

/* Meta bilgiler */
.qth-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
    font-size: 0.75rem;
}
.qth-qnum  { color: #e5e7eb; font-weight: 700; }
.qth-buyer { color: #9ca3af; }
.qth-grand { color: #22c55e; font-weight: 600; }
.qth-date  { color: #4b5563; font-size: 0.68rem; }

/* Şablon rozeti */
.qth-tpl-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.qth-tpl-classic   { background: rgba(107,114,128,0.2); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }
.qth-tpl-green     { background: rgba(22,163,74,0.18);  color: #4ade80; border: 1px solid rgba(22,163,74,0.35);  }
.qth-tpl-minimal   { background: rgba(55,65,81,0.3);    color: #d1d5db; border: 1px solid rgba(55,65,81,0.5);   }
.qth-tpl-corporate { background: rgba(22,32,53,0.6);    color: #c9a227; border: 1px solid rgba(201,162,39,0.4); }
.qth-tpl-matrix    { background: rgba(6,13,6,0.8);      color: #22c55e; border: 1px solid rgba(34,197,94,0.5);  }

/* Aksiyon butonları */
.qth-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.qth-btn {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid;
    white-space: nowrap;
    font-family: inherit;
}
.qth-load {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
    border-color: rgba(34,197,94,0.35);
}
.qth-load:hover { background: rgba(34,197,94,0.2); border-color: #22c55e; }
.qth-dl {
    background: rgba(255,255,255,0.04);
    color: #9ca3af;
    border-color: rgba(255,255,255,0.1);
}
.qth-dl:hover { background: rgba(255,255,255,0.1); color: #e5e7eb; border-color: rgba(255,255,255,0.25); }

/* Mobil uyum */
@media (max-width: 600px) {
    .qth-header { padding: 8px 14px; gap: 8px; }
    .qth-ai-badge { display: none; }
    .qth-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .qth-item-meta { gap: 6px; }
    .qth-item-actions { width: 100%; }
    .qth-btn { flex: 1; text-align: center; }
    /* Panelin çok yer kaplamaması için max-height + iç scroll */
    .qt-history-panel { flex-shrink: 0; }
    .qth-body { max-height: 120px; overflow-y: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE FIXES — MOBILE UX
══════════════════════════════════════════════════════════════ */

/* ── Quote Banner: kısa / uzun metin ─────────────────────── */
.qb-short { display: none; }

@media (max-width: 580px) {
    .qb-long        { display: none; }
    .qb-short       { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
    .qb-pulse-dot   { display: none; }
    .quote-banner-inner { gap: 8px; }
    .quote-banner-cta   { padding: 5px 12px; font-size: 0.75rem; }
    .qb-arrow           { display: none; }
}

/* ── Hamburger Mobile Menu ────────────────────────────────── */
/* Menü taşarsa kaydırılabilir olsun */
.nav-mobile { overflow-y: auto; }

/* Portal butonu mobil menüde düzgün boyutlu buton görünsün — kenarlık korunur */
.nav-mobile .nav-portal {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    border: 2px solid var(--green-500) !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: var(--green-400) !important;
    box-shadow: none !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.nav-mobile .nav-portal:hover {
    background: rgba(34,197,94,0.1) !important;
    color: var(--green-300) !important;
    box-shadow: 0 0 18px rgba(34,197,94,0.25) !important;
    transform: none !important;
}
.nav-mobile .nav-portal i { font-size: 0.95rem; margin: 0; }

/* Küçük ekranlarda yazı boyutu ve boşluğu azalt */
@media (max-width: 480px) {
    .nav-mobile { gap: 22px; padding: 28px 0 32px; justify-content: flex-start; }
    .nav-mobile a { font-size: 1.5rem; }
    .nav-mobile .nav-portal { font-size: 1.1rem !important; padding: 10px 24px !important; }
    .nav-mobile .mobile-lang { margin-top: 4px; }
}

/* Çok küçük ekranlar (SE vb.) — menü kaydırılabilir */
@media (max-height: 620px) {
    .nav-mobile { justify-content: flex-start; padding-top: 24px; gap: 18px; }
    .nav-mobile a { font-size: 1.35rem; }
    .nav-mobile .nav-portal { font-size: 1rem !important; padding: 9px 20px !important; }
}

/* ── Quote Modal Genel Responsive ────────────────────────── */
@media (max-width: 640px) {
    /* Header */
    .quote-modal-header { padding: 12px 16px; gap: 8px; }
    .quote-modal-title i { display: none; }
    #qm-step-title { font-size: 0.88rem; }

    /* Scroll alanı */
    .quote-form-scroll { padding: 14px 16px; }

    /* Taraf grid: tek kolon */
    .quote-parties-grid { grid-template-columns: 1fr; }

    /* Meta row: 2×2 */
    .quote-meta-row { grid-template-columns: 1fr 1fr; }

    /* Footer butonları */
    .quote-modal-footer { padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
    .q-btn-primary, .q-btn-secondary { padding: 9px 14px; font-size: 0.8rem; gap: 6px; }

    /* Ödeme kutusu */
    .qt-payment-box { padding: 12px 0; }
    .qt-payment-icon { width: 52px; height: 52px; font-size: 1.2rem; }
    .qt-section-label { font-size: 0.78rem; }

    /* Toplam paneli */
    .quote-totals-inner { min-width: unset; width: 100%; }
    .quote-totals-panel { justify-content: stretch; }
}

/* ── Template Kartları Responsive ────────────────────────── */
@media (max-width: 768px) {
    /* Tablet: 3 sütun, ölçek büyüt */
    .qt-template-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .qt-tpl-preview-frame { transform: scale(0.268); }
}

@media (max-width: 500px) {
    /* Mobil: 2 sütun */
    .qt-template-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .qt-tpl-preview-frame { transform: scale(0.235); }
    .qt-tpl-preview-wrap  { height: 148px; }
    .qt-tpl-name  { font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .qt-tpl-badge { font-size: 0.62rem; padding: 2px 5px; }
}

/* ── AI Sohbet: Mobilde TAM EKRAN ─────────────────────────── */
/*
   82vh yaklaşımı: arka plan görünüyor, mesaj kaydırırken sayfa
   kayıyordu. Tam ekran (inset: 0, height: 100dvh) ile:
   - Arka plan tamamen örtülür
   - Yanlışlıkla sayfa kaydırma imkansız
   - Klavye açılınca dvh otomatik küçülür, input görünür kalır
*/
@media (max-width: 600px) {
    #zt-chat-widget {
        bottom: 16px;
        right: 16px;
    }

    /* Radar halkası scale(2.2) → viewport sağından taşar → zoom aktif hale gelir.
       Mobilde kapat: overflow yok, sayfa genişliği sabit kalır. */
    #zt-chat-bubble::before,
    #zt-chat-bubble::after { display: none; }

    /* AI badge hizalaması */
    #zt-chat-widget::before { right: 0; top: -6px; }

    /* Panel: TAM EKRAN — yukarıdan aşağıya kayar */
    #zt-chat-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100dvh !important;       /* dvh: klavye açılınca küçülür */
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        padding-top: env(safe-area-inset-top, 0px) !important;
        transform-origin: bottom center !important;
        transform: translateY(100%) !important;
        opacity: 1 !important;
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    #zt-chat-panel.open {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Sürükleme çubuğu kaldırıldı — tam ekranda gerek yok */
    .zt-chat-header::before { display: none !important; }
    .zt-chat-header { padding-top: 14px !important; }

    /* Mesaj + chip alanları */
    #zt-chat-messages { padding: 14px; }
    #zt-chat-chips { padding: 6px 10px; }
}

/* ── Hero Scroll Göstergesi — Çakışma Önleme ─────────────── */
/* Kısa ekranlarda (landscape telefon/tablet) gizle */
@media (max-height: 640px) {
    .hero-scroll { display: none; }
}
/* Çok dar ekranlarda — hero-scroll küçültülmüş biçimde göster */
@media (max-width: 480px) {
    .hero-scroll { bottom: 18px; gap: 5px; }
    .hero-scroll span { font-size: 0.62rem; letter-spacing: 0.08em; }
    .scroll-mouse { width: 18px; height: 28px; border-radius: 9px; }
    .scroll-wheel { width: 3px; height: 5px; border-radius: 2px; top: 5px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBİL UX — KAPSAMLI DÜZELTMELER
   ───────────────────────────────────────────────────────────────
   1. iOS/Android input zoom önleme  → font-size ≥ 16px
   2. Touch target boyutları         → min 44 × 44 px
   3. Momentum scroll (iOS)          → -webkit-overflow-scrolling
   4. Dinamik viewport yüksekliği    → dvh
   5. Tap highlight / 300ms gecikme  → tap-highlight + manipulation
   6. Safe area insets               → env(safe-area-inset-*)
   7. Klavye scroll compensation     → scrollIntoView (JS)
   8. Quote satır tablosu yatay      → overflow-x: auto
══════════════════════════════════════════════════════════════ */

/* ── 1. GLOBAL TOUCH/MOBILE ────────────────────────────────── */
html {
    /* iOS'ta font boyutu otomatik büyütmeyi engelle */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* 300ms tıklama gecikmesini kaldır */
    touch-action: manipulation;
    /*
       overflow-x: hidden — hem html hem body'de olması gerekiyor.
       Sadece body'de olursa iOS Safari html elementini yatayda
       kaydırabilir. İkisi birden → sayfa genişliği viewport'u aşamaz
       → kullanıcı zoom yapamaz.
    */
    overflow-x: hidden;
}

/* Tüm elementlerde mavi/gri dokunma highlight'ını kaldır */
* { -webkit-tap-highlight-color: transparent; }

/* iOS momentum scroll — parmak bırakıldıktan sonra devam eden kaydırma */
.quote-form-scroll,
#zt-chat-messages,
.nav-mobile,
.qth-body,
#zt-chat-register,
.qt-history-panel {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* ── 2. iOS INPUT ZOOM ÖNLEMESİ ───────────────────────────── */
/*
   iOS Safari problemi:
   Bir input'a focus olunduğunda font-size < 16px ise Safari otomatik
   zoom yapar. Sayfayı büyütür, inputu release edince zoom sıfırlanır.
   → KESİN ÇÖZÜM: Mobilde tüm input/select/textarea için min 16px.
   → Görsel boyut değişmez çünkü html { font-size: 16px } zaten set.
*/
@media (max-width: 900px) {
    /* Native elementler */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    textarea,
    select {
        font-size: max(16px, 1em) !important;
    }

    /* Özel komponent sınıfları */
    .form-input,
    .form-select,
    .form-textarea   { font-size: 16px !important; }
    .q-input         { font-size: 16px !important; }
    .ql-input        { font-size: 16px !important; }
    .ztcr-input      { font-size: 16px !important; }
    #zt-chat-input   { font-size: 16px !important; }
    .svc-sel-trigger { font-size: 16px !important; }
    .qcs-trigger     { font-size: 16px !important; }
}

/* ── 3. TOUCH TARGET BOYUTLARI (min 44 × 44 px) ────────────── */
@media (max-width: 900px) {
    /* Quote satır stepper butonları */
    .ql-step-btn {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    /* Quote satır sil butonu */
    .ql-remove {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }

    /* History panel butonları */
    .qth-btn          { min-height: 44px; }
    .qth-collapse-btn { min-width: 44px; min-height: 44px; }

    /* Chat kayıt ekranı butonu */
    .ztcr-btn { min-height: 52px; font-size: 1rem; }

    /* Quote modal footer butonları */
    .q-btn-primary, .q-btn-secondary { min-height: 48px; }

    /* Modal kapat butonu */
    #quote-modal-close { min-width: 44px; min-height: 44px; }

    /* Chat gönder */
    #zt-chat-send { width: 48px !important; height: 48px !important; }
}

/* ── 4. QUOTE MODAL — dvh + BOTTOM SHEET ──────────────────── */
/*
   `dvh` = Dynamic Viewport Height: klavye açılınca shrink eder.
   `vh`  = Static Viewport Height: klavye açılınca DEĞİŞMEZ (iOS sorunu).
   dvh destekleniyorsa onu kullan; desteklenmiyorsa JS visualViewport.
*/
@supports (height: 100dvh) {
    #quote-modal         { max-height: 92dvh; }
    #quote-modal-overlay { min-height: 100dvh; }
}

/* Mobilde ortalanmış modal — klavye alttan açıldığı için bottom sheet KULLANILMIYOR */
@media (max-width: 768px) {
    #quote-modal-overlay {
        padding: 8px;
    }
    #quote-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
    }
}

/* ── 5. CHAT PANEL — dvh ───────────────────────────────────── */
/* ≤600px tam ekran kuralı zaten 100dvh kullanıyor (yukarıda).
   480px override kaldırıldı: çakışmayı önler. */

/* ── 6. QUOTE LINES TABLOSU — MOBİL YATAY SCROLL ──────────── */
/*
   Satır tablosu birçok sütun içerir; mobilde 5 stepper sütun yan
   yana sığmaz. Yatay kaydırma en doğal çözüm.
*/
@media (max-width: 768px) {
    .quote-lines-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left:  -16px;
        margin-right: -16px;
        padding-left:  16px;
        padding-right: 16px;
    }
    .quote-lines-table {
        min-width: 580px;
    }
    /* Stepper input — 16px kuralı zaten var, genişlik de sabitleyelim */
    .ql-stepper .ql-input { width: 52px; min-width: 52px; }
    .ql-desc { min-width: 140px; }
}

/* ── 7. SAFE AREA — ÇENTIKLI EKRANLAR ─────────────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
    /* Chat balonu: home bar'ın üzerinde kalsın */
    #zt-chat-widget {
        bottom: calc(24px + env(safe-area-inset-bottom));
    }
    @media (max-width: 480px) {
        #zt-chat-widget {
            bottom: calc(20px + env(safe-area-inset-bottom));
        }
    }
}

/* ── 8. CONTACT FORM MOBİL ────────────────────────────────── */
@media (max-width: 600px) {
    /* Tek sütun grid zaten vardı; input yüksekliğini arttır */
    .form-input, .form-textarea {
        padding: 14px 16px;
    }
    .form-textarea { min-height: 100px; }
    .form-submit   { min-height: 52px; font-size: 1rem; }
}

/* ── 9. GENEL MODAL OVERLAY — SCROLL KİLİDİ ───────────────── */
/* Herhangi bir overlay açıkken body scroll'unu kilitle.
   NOT: position:fixed KULLANILMIYOR — iOS'ta input focus'u bozuyor. */
body.modal-open {
    overflow: hidden;
    /* overscroll-behavior body'ye uygulanamaz, overlay'e uygulandı */
}

/* ── LEAD CAPTURE OVERLAY ─────────────────────────────────── */
#zt-lead-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9500;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
#zt-lead-overlay.open { opacity: 1; visibility: visible; }
#zt-lead-card {
    background: #0d0d0d;
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 18px;
    padding: 36px 32px 28px;
    width: 100%; max-width: 420px;
    text-align: center;
    box-shadow: 0 0 80px rgba(34,197,94,0.06);
}
.zt-lead-icon {
    width: 58px; height: 58px; border-radius: 50%;
    background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem; color: var(--green-400);
}
.zt-lead-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.zt-lead-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 22px; line-height: 1.6; }
.zt-lead-fields { text-align: left; display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.zt-lead-field { display: flex; flex-direction: column; gap: 5px; }
.zt-lead-field label { font-size: 0.72rem; color: var(--text-secondary); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.zt-lead-field input {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px; color: var(--text-primary); font-size: 16px;
    padding: 12px 14px; outline: none; transition: border-color 0.2s;
    font-family: inherit; -webkit-text-size-adjust: none; touch-action: manipulation;
}
.zt-lead-field input:focus { border-color: var(--green-400); }
.zt-lead-field input.has-error { border-color: #ef4444; }
.zt-lead-err { font-size: 0.7rem; color: #ef4444; display: none; margin-top: 2px; }
.zt-lead-err.visible { display: block; }
.zt-lead-btn {
    width: 100%; background: var(--green-400); color: #000;
    border: none; border-radius: 9px; font-weight: 700; font-size: 0.95rem;
    padding: 14px; cursor: pointer; transition: background 0.2s, transform 0.1s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 12px; font-family: inherit; min-height: 52px;
}
.zt-lead-btn:hover { background: #16a34a; }
.zt-lead-btn:active { transform: scale(0.98); }
.zt-lead-skip {
    background: none; border: none; color: var(--text-muted);
    font-size: 0.78rem; cursor: pointer; text-decoration: underline;
    padding: 4px; font-family: inherit;
}
.zt-lead-skip:hover { color: var(--text-secondary); }

/* ── CRM PACKAGE-SOON KARTI ──────────────────────────────── */
.package-card.package-soon {
    opacity: 0.72;
    pointer-events: none; /* buton hariç */
}
.package-card.package-soon .package-btn {
    pointer-events: all;
}
.package-soon-body {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 28px 0 20px;
}
.package-soon-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
    border-radius: 100px; padding: 6px 16px;
    font-size: 0.72rem; font-weight: 700; color: var(--green-500);
    font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.package-soon-badge i { font-size: 0.65rem; }
.package-soon-desc {
    font-size: 0.78rem; color: var(--text-muted); text-align: center; line-height: 1.55;
}

/* ── ZT LOGO SWITCH ─────────────────────────────────────────── */
/* "zentech [switch]" — kapalıdan açığa animasyonlu toggle logo  */

.zt-sw {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ── Track: flexbox ile thumb tam ortada ── */
.zt-sw-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ── Büyük switch (preloader) ── */
/* track: 52px × 28px, padding: 3px, thumb: 22px
   translateX for ON = 52 - 3 - 3 - 22 = 24px         */
.zt-sw--lg .zt-sw-track {
    width: 52px; height: 28px; border-radius: 14px;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0 3px;
    margin: 0 8px;
    animation: zt-track-on 0.4s cubic-bezier(0.4,0,0.2,1) 0.5s both;
}
.zt-sw--lg .zt-sw-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
    animation: zt-thumb-on-lg 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.5s both;
}

/* ── Küçük switch (navbar & footer) ── */
/* track: 30px × 17px, padding: 3px, thumb: 11px
   translateX for ON = 30 - 3 - 3 - 11 = 13px         */
.zt-sw--sm .zt-sw-track {
    width: 30px; height: 17px; border-radius: 9px;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0 3px;
    margin: 0 5px;
    animation: zt-track-on 0.4s cubic-bezier(0.4,0,0.2,1) 2.1s both;
}
.zt-sw--sm .zt-sw-thumb {
    width: 11px; height: 11px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
    animation: zt-thumb-on-sm 0.4s cubic-bezier(0.34,1.56,0.64,1) 2.1s both;
}

/* ── Keyframes ── */
@keyframes zt-track-on {
    from { background: #1c1c1c; box-shadow: none; }
    to   { background: var(--green-500); box-shadow: 0 0 10px rgba(34,197,94,0.35), 0 0 20px rgba(34,197,94,0.15); }
}
@keyframes zt-thumb-on-lg {
    from { transform: translateX(0);    background: rgba(255,255,255,0.18); }
    to   { transform: translateX(24px); background: #ffffff; box-shadow: 0 1px 4px rgba(0,0,0,0.4); }
}
@keyframes zt-thumb-on-sm {
    from { transform: translateX(0);    background: rgba(255,255,255,0.18); }
    to   { transform: translateX(13px); background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
}

