/* ==========================================================================
   KaguTechSystems - Kurumsal Web Sitesi Stilleri
   ========================================================================== */

/* --- CSS Değişkenleri (Tasarım Sistemi) --- */
:root {
    /* Renk Paleti (Aydınlık Koyu Tema) */
    --bg-dark: #0f172a;      /* Slate-900 - Daha aydınlık dark mode */
    --bg-card: rgba(30, 41, 59, 0.6); /* Slate-800 */
    --bg-card-hover: rgba(51, 65, 85, 0.8); /* Slate-700 */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --primary: #3b82f6;      /* Elektrik Mavisi */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;    /* Canlı Mor */
    --secondary-glow: rgba(139, 92, 246, 0.5);
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #c084fc);
    
    /* Border & Efektler */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    
    /* Tipografi */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* --- Temel Sıfırlamalar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* --- Tipografi & Yardımcı Sınıflar --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-left {
    text-align: left;
}

/* --- Butonlar --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-login {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-login i {
    width: 16px;
    height: 16px;
}

/* --- Header (Navigasyon) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.85); /* Slate-900 uyumlu */
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border-light);
    padding: 0.75rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--text-main);
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
}

/* Çekmece başlığı ve arka plan örtüsü yalnızca mobilde kullanılır */
.nav-drawer-head,
.nav-backdrop {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-only {
    display: none !important;
}

.nav-link {
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-text);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- Hero Section & Slider --- */
.hero {
    position: relative;
    padding: 4.5rem 0 4rem; /* Boşluk daraltıldı */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 0;
}

/* --- Showcase Section (Örnek Çalışmalar) --- */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 4rem;
}

.showcase {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.showcase-content {
    max-width: 500px;
}

.showcase-visual {
    width: 100%;
}

.video-wrapper {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    padding: 0.5rem; /* Çerçeve efekti */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
    display: block;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.slider-video.fade-out {
    opacity: 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Mockup (Slide 2) */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

.mockup-card {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image-card {
    padding: 0.5rem;
}

.hero-image-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* --- About Us Section --- */
.about-us {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}


.about-card {
    padding: 1.5rem;
}

/* --- Services Section --- */
.services {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition-normal);
}

.service-icon {
    color: #60a5fa;
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon-wrapper {
    background: var(--gradient-primary);
    border-color: transparent;
}

.service-card:hover .service-icon {
    color: white;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    margin: 1.5rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 400px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.contact-info i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}


/* Footer Form */
.footer-form-wrapper h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
    height: 0;
    overflow: hidden;
}

.form-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: auto;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- Responsive (Mobil Uyumluluk) --- */
@media (max-width: 992px) {
    .hero-container, .showcase-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .showcase-content .text-left, .about-content .text-left {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-bg-glow {
        top: 0;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .video-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .footer-description {
        margin: 1.5rem auto;
    }

    
    .footer-brand {
        margin: 0 auto;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    /* ---- Mobil menü: sağdan açılan çekmece ---- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 86vw);
        max-width: 100%;
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #131a33 0%, #0a0e1d 100%);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
        padding: 0;
        /* z-index'ler .header'ın yığın bağlamı içinde geçerlidir:
           çekmece (2) her zaman örtünün (1) üstünde durur. */
        z-index: 2;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Çekmece başlığı: logo + kapat */
    .nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.15rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }

    .nav-drawer-head .logo { font-size: 1.15rem; }

    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.75);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .nav-close:hover,
    .nav-close:focus-visible {
        background: rgba(99, 102, 241, 0.18);
        border-color: rgba(99, 102, 241, 0.5);
        color: #fff;
    }

    .nav-close i { width: 20px; height: 20px; }

    /* Menü listesi */
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        text-align: left;
        padding: 0.5rem 0.75rem 1rem;
        flex: 1;
    }

    .nav-item { width: 100%; }

    .nav-item:not(.mobile-only) + .nav-item:not(.mobile-only) {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.95rem 0.85rem;
        border-radius: 10px;
        font-size: 1rem;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(99, 102, 241, 0.12);
        color: #fff;
    }

    /* Alt çizgi animasyonu mobilde yer kaplamasın */
    .nav-link::after { display: none; }

    .dropdown-toggle-icon {
        transition: transform 0.25s ease;
        margin-left: auto !important;
    }

    .nav-item.has-dropdown.active .dropdown-toggle-icon {
        transform: rotate(180deg);
    }

    /* Alt menü: yumuşak açılma */
    .mobile-only {
        display: block !important;
        margin-top: 0.75rem;
        padding: 0 0.85rem;
    }

    .mobile-only .btn {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }

    .mobile-toggle {
        display: block;
    }

    /* Arka plan örtüsü.
       Görünürlük tamamen CSS ile yönetilir; JS yalnızca .show sınıfını ekler.
       (Daha önce requestAnimationFrame ile açılıyordu; sekme arka plandayken
       rAF çalışmadığı için örtü görünmeden kalabiliyordu.) */
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 16, 0.6);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* Menü açıkken sayfa kaymasın */
    body.nav-open { overflow: hidden; }

    /* Header kaydırıldığında backdrop-filter kazanır; bu, position:fixed
       alt öğeler için yeni bir "containing block" yaratır ve çekmeceyi
       ekrana değil header kutusuna sabitler. Menü açıkken devre dışı
       bırakıyoruz (örtü zaten header'ı kapattığı için görsel fark yok). */
    body.nav-open .header,
    body.nav-open .header.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Masaüstü giriş düğmesi mobilde gizli kalmalı; menü içindeki
       "Giriş Yap" düğmesi (.mobile-only) bu görevi üstlenir. */
    .btn-login {
        display: none !important;
    }

    .hero {
        padding: 3.5rem 0 2rem; /* Mobil boşluk daraltıldı */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .flex-between {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Mobil için Hizmet Kartlarını Kompakt Hale Getirme */
    .services {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        row-gap: 0.25rem;
        text-align: left;
    }
    
    .service-icon-wrapper {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        width: 48px;
        height: 48px;
        margin-bottom: 0;
    }
    
    .service-icon {
        width: 24px;
        height: 24px;
    }
    
    .service-title {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        font-size: 1.1rem;
        margin-bottom: 0;
        align-self: end;
    }
    
    .service-text {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        font-size: 0.85rem;
        line-height: 1.4;
        text-align: left;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   3. SaaS Login Gateway
   ========================================================================== */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at center, var(--bg-dark) 0%, #050810 100%);
    position: relative;
    overflow: hidden;
}

.tools-body {
    background: radial-gradient(circle at center, var(--bg-dark) 0%, #050810 100%);
    min-height: 100vh;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.login-body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

.back-link {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--primary);
}

.login-logo {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.gateway-card {
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
}

.gateway-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.gateway-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.panel-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    text-align: left;
}

.panel-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
}

.panel-icon-wrapper {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-info h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.panel-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.panel-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
}

.panel-btn:hover .panel-arrow {
    color: var(--primary);
    transform: translateX(5px);
}

.login-footer {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 10000;
    color: #f8fafc;
}

.cookie-content h4 {
    margin: 0 0 8px 0;
    color: #38bdf8;
    font-size: 1.1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.cookie-buttons .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.cookie-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .cookie-buttons {
        width: 100%;
    }
    .cookie-buttons .btn {
        flex: 1;
    }
    
    .mockup-card {
        transform: none !important;
    }
    .mockup-card:hover {
        transform: none !important;
    }
}

/* --- ÜCRETSİZ ARAÇLAR (TOOLS) CSS --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.2);
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.tool-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* --- MODAL CSS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.result-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    text-align: center;
    display: none; /* JS ile açılacak */
}

.result-box.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.result-label {
    font-size: 0.85rem;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.button-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-toggle {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-toggle.active {
    background: #3b82f6;
    border-color: #3b82f6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dropdown Menu */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
}

@media (max-width: 768px) {
    /* Alt menü çekmece içinde açılır kapanır.
       Not: mobilde :hover kuralı YOK — dokunmatikte hover takılı kalıp
       menünün kendiliğinden açık görünmesine yol açıyordu. */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        padding: 0;
        margin: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin 0.3s ease;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 240px;
        margin: 0.15rem 0 0.6rem;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
        color: rgba(255, 255, 255, 0.72);
    }

    .dropdown-item:hover {
        background: rgba(99, 102, 241, 0.14);
        color: #fff;
    }

    .dropdown-item i { width: 17px; height: 17px; }
}

/* ==========================================================================
   Teklif Pop-up (30 sn sonra açılır)
   Çerez bannerı z-index: 10000 olduğu için bunun üstünde duruyor; ancak JS
   tarafında banner açıkken pop-up hiç gösterilmiyor (bkz. script.js).
   ========================================================================== */
.lead-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 22, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lead-popup-overlay[hidden] {
    display: none;
}

.lead-popup-overlay.visible {
    opacity: 1;
}

.lead-popup {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.97) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid var(--border-highlight);
    border-radius: 22px;
    padding: 2.5rem 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.lead-popup-overlay.visible .lead-popup {
    transform: translateY(0) scale(1);
}

/* Üstte hafif bir ışık efekti */
.lead-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 220px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 22px;
}

.lead-popup > * {
    position: relative;
}

.lead-popup-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lead-popup-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-main);
}

.lead-popup-close i {
    width: 17px;
    height: 17px;
}

.lead-popup-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border-radius: 18px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px var(--primary-glow);
}

.lead-popup-icon i {
    width: 28px;
    height: 28px;
    color: #fff;
}

.lead-popup h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0.85rem 0 0.85rem;
}

.lead-popup p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.lead-popup-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lead-popup-actions .btn {
    flex: 1 1 auto;
    min-width: 190px;
    justify-content: center;
}

.lead-popup-dismiss {
    display: block;
    margin: 1.25rem auto 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.lead-popup-dismiss:hover {
    color: var(--text-main);
}

@media (max-width: 560px) {
    .lead-popup {
        padding: 2.25rem 1.35rem 1.5rem;
        border-radius: 18px;
    }

    .lead-popup h3 {
        font-size: 1.25rem;
    }

    .lead-popup p {
        font-size: 0.9rem;
    }

    .lead-popup-actions .btn {
        flex-basis: 100%;
        min-width: 0;
    }
}

/* Hareket azaltma tercihi olan kullanıcılar için animasyonu kapat */
@media (prefers-reduced-motion: reduce) {
    .lead-popup-overlay,
    .lead-popup {
        transition: none;
    }
    .lead-popup {
        transform: none;
    }
}
