/* ==========================================================================
   GELİŞİM BİLİŞİM HİZMETLERİ - KURUMSAL TEMA VE STİLLER (egelisim.net)
   Renk Paleti: Logo Uyumlu Kırmızı (#D31E25), Grafit Siyah (#1A1D20), Gümüş & Beyaz
   ========================================================================== */

:root {
    --brand-primary: #D31E25;
    --brand-primary-dark: #B3141A;
    --brand-primary-light: #FFF1F2;
    --brand-primary-hover: #E3262E;
    
    --brand-dark: #1A1D23;
    --brand-dark-soft: #242932;
    --brand-dark-accent: #0F1216;

    --brand-silver: #E2E8F0;
    --brand-silver-light: #F8FAFC;
    --brand-text-muted: #64748B;
    --brand-text-dark: #1E293B;

    --visidesk-blue: #0284C7;
    --visidesk-dark: #0369A1;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
    font-family: var(--font-main);
    color: var(--brand-text-dark);
    background-color: #F8FAFC;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* ================= Top Bar ================= */
.top-bar {
    background-color: var(--brand-dark-accent);
    color: #94A3B8;
    font-size: 0.85rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: #FFFFFF;
}

.btn-visidesk-top {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: none;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-visidesk-top:hover {
    background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.5);
}

/* ================= Navbar ================= */
.navbar-custom {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.45rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand-logo {
    height: 54px;
    max-height: 54px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

@media (max-width: 768px) {
    .navbar-brand-logo {
        height: 46px;
        max-height: 46px;
        max-width: 190px;
    }
}

.navbar-brand-logo:hover {
    transform: scale(1.03);
}

.custom-nav-link {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.custom-nav-link:hover {
    color: #D31E25 !important;
    background-color: #FFF1F2 !important;
    transform: translateY(-1px);
}

.custom-nav-link.active {
    color: #D31E25 !important;
    background-color: #FFF1F2 !important;
    font-weight: 800 !important;
}

/* ================= Buttons ================= */
.btn-brand {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 14px rgba(211, 30, 37, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 30, 37, 0.45);
}

.btn-brand-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-brand-outline:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(211, 30, 37, 0.25);
}

.btn-dark-brand {
    background-color: var(--brand-dark);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-dark-brand:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ================= Hero Section ================= */
.hero-section {
    background: radial-gradient(120% 100% at 50% 0%, #2A303C 0%, #15181E 100%);
    color: #FFFFFF;
    padding: 4.5rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(211, 30, 37, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(211, 30, 37, 0.15);
    border: 1px solid rgba(211, 30, 37, 0.4);
    color: #FFA3A8;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-title span.text-highlight {
    background: linear-gradient(135deg, #FF6B72 0%, #D31E25 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFFFFF;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================= Cards ================= */
.custom-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.card-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}

.custom-card:hover .card-icon-box {
    background: var(--brand-primary);
    color: #FFFFFF;
    transform: scale(1.08);
}

/* VisiDesk Special Card */
.visidesk-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.visidesk-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* Pricing Card */
.pricing-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border: 2px solid var(--brand-primary);
    box-shadow: 0 16px 36px rgba(211, 30, 37, 0.12);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
}

/* Section Titles */
.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--brand-text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0.75rem auto 0 auto;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    background-color: #1EBE5D;
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer-custom {
    background-color: var(--brand-dark-accent);
    color: #94A3B8;
    padding: 4.5rem 0 2rem 0;
    border-top: 3px solid var(--brand-primary);
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .pricing-card.popular {
        transform: none;
    }
}

/* ================= Standalone Admin Portal Styles ================= */
.admin-login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #0B0F17 0%, #171E2C 50%, #0B0F17 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-login-card {
    max-width: 460px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
}

.admin-portal-root {
    min-height: 100vh;
    background-color: #F1F5F9;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}