/* CSS Değişkenleri (Tasarım Sistemi - Design Token'lar) */
:root {
    /* Ana Renkler (Logo Referansından) */
    --color-navy: #17183B;
    --color-navy-light: #2A2C5C;
    --color-turquoise: #38B4E1;
    --color-turquoise-hover: #2DA1CB;
    --color-turquoise-light: #D6F1FA;
    
    /* Doğal Renkler */
    --color-white: #FFFFFF;
    --color-gray-50: #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-800: #1E293B;
    
    /* Gölgeler - Linear/Stripe stili yumuşak ve geniş */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-focus: 0 0 0 3px rgba(56, 180, 225, 0.2);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    /* Tipografi */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-gray-50);
    color: var(--color-gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sayfa Düzeni */
.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* =========================================================
   SOL KOLON: MARKA ALANI
========================================================= */
.layout-left {
    flex: 1;
    background: linear-gradient(145deg, rgba(23, 24, 59, 0.85) 0%, rgba(23, 24, 59, 0.95) 100%), url('bg.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 10%;
    color: var(--color-white);
}

.brand-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-turquoise-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-gray-300);
    font-weight: 400;
    margin-bottom: 3.5rem;
}

/* Soyut SaaS Dashboard Görseli */
.abstract-dashboard {
    position: relative;
    height: 180px;
    width: 100%;
    margin-top: 2rem;
}

.dash-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.layout-left:hover .abstract-dashboard .dash-card {
    transform: translateY(-5px);
}

.card-1 {
    width: 80%;
    height: 140px;
    top: 0;
    left: 0;
    z-index: 3;
}

.card-2 {
    width: 60%;
    height: 100px;
    top: -20px;
    right: 5%;
    z-index: 2;
    background: rgba(13, 148, 136, 0.1); /* Turkuaz hafif tint */
}

.card-3 {
    width: 40%;
    height: 80px;
    bottom: 20px;
    right: 0;
    z-index: 4;
}

/* Arkaplan Gradient Glow / Işık Efektleri */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--color-turquoise);
    opacity: 0.15;
    top: -100px;
    left: -150px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--color-turquoise); /* Turkuaz dokunuş */
    opacity: 0.1;
    bottom: -200px;
    right: -200px;
}

/* =========================================================
   SAĞ KOLON: GİRİŞ FORMU
========================================================= */
.layout-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.brand-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--color-gray-500);
}

/* Form Elemanları */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy-light);
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--color-navy);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.input-group input::placeholder {
    color: var(--color-gray-400);
}

/* Modern Odaklanma (Focus) Durumları */
.input-group input:hover {
    border-color: var(--color-gray-300);
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-turquoise);
    box-shadow: var(--shadow-focus);
}

/* Opsiyonel Öğeler (Beni Hatırla & Şifremi Unuttum) */
.row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-actions {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-800);
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

/* Custom Checkbox Tasarımı */
.remember-me input {
    display: none;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.remember-me input:checked + .custom-checkbox {
    background-color: var(--color-turquoise);
    border-color: var(--color-turquoise);
}

.remember-me input:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-turquoise);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--color-turquoise-hover);
}

/* Ana Buton */
.btn-primary {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

/* Buton Hover - Stripe Vari hafif kalkış efekti */
.btn-primary:hover {
    background-color: var(--color-navy-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Alt kısımdaki destek / link alanı */
.form-footer {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.form-footer a {
    color: var(--color-navy);
    font-weight: 500;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* =========================================================
   MEDYA SORGULARI (RESPONSIVE)
========================================================= */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }

    .layout-left {
        padding: 3rem 2rem;
        flex: 0 0 auto;
    }
    
    .abstract-dashboard {
        display: none; 
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .login-container {
        padding: 3rem 1.5rem;
    }
}
