/* HUKTEB - Profesyonel Hukuk Platformu Tasarımı 
   Version: 2.2 (Integrated Index Styles)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    /* Renk Paleti - Güven ve Profesyonellik */
    --primary-color: #0f172a;
    /* Çok koyu lacivert (Neredeyse siyah) - Otorite */
    --secondary-color: #334155;
    /* Koyu gri - Okunabilirlik */
    --accent-color: #3b82f6;
    /* Canlı mavi - Aksiyon butonları */
    --success-color: #10b981;
    /* Yeşil - Onay ve Başarı */
    --warning-color: #f59e0b;
    /* Turuncu - Uyarılar */
    --danger-color: #ef4444;
    /* Kırmızı - Hata ve Silme */
    --light-bg: #f8fafc;
    /* Açık gri arka plan */
    --white: #ffffff;

    /* Index Sayfası İçin Eklenen Değişkenler */
    --primary-dark: #0f172a;
    --primary-brand: #2563eb;
    --accent-gold: #d97706;

    /* Gölgelendirmeler (Depth) - Güncellendi */
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Fontlar */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--secondary-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* --- NAVBAR TASARIMI --- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: var(--accent-color);
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    margin-left: 15px;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.btn-nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-nav-cta:hover {
    background-color: var(--accent-color);
    color: var(--white) !important;
}

/* --- KARTLAR VE KUTULAR --- */
.card {
    border: 1px solid #e2e8f0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: #cbd5e1;
}

.card-header {
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.card-title {
    margin-bottom: 0;
    font-family: var(--font-body);
    font-weight: 700;
}

.pricing-card-title {
    color: var(--primary-color);
    font-weight: 800;
}

/* --- BUTONLAR --- */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--white);
    border-color: #cbd5e1;
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    border-color: #94a3b8;
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: #cbd5e1;
}

.btn-outline-secondary:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    border-color: #94a3b8;
}

/* --- FORM ELEMANLARI --- */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* --- GENEL EFEKTLER --- */
.text-gradient {
    background: linear-gradient(120deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Trust Bar & Ribbon */
.grayscale-logos i {
    color: var(--secondary-color);
    opacity: 0.6;
    transition: all 0.3s;
}

.grayscale-logos div:hover i {
    color: var(--accent-color);
    opacity: 1;
    transform: scale(1.1);
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    width: 120px;
    background: var(--warning-color);
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* --- TABLOLAR --- */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: #f1f5f9;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 1rem;
}

.table tbody td {
    vertical-align: middle;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--secondary-color);
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--white);
    padding: 3rem 0;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}

.footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer a {
    color: #64748b;
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--accent-color);
}

/* --- DİĞER BİLEŞENLER --- */
.hero-wrapper {
    background-color: var(--white);
    padding: 6rem 0 4rem 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Alertler */
.alert {
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background-color: #e0f2fe;
    color: #075985;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    z-index: 10;
}

/* =========================================
   ANA SAYFA (INDEX) ÖZEL STİLLERİ
   ========================================= */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem 0;
}

.hero-title {
    color: var(--primary-dark);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-badge {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-brand);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Modern Özellik Kartları */
.feature-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(37, 99, 235, 0.3);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.feature-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    margin-top: 4px;
    margin-right: 10px;
    color: var(--primary-brand);
    font-size: 0.8rem;
}

/* Ana Sayfa Fiyatlandırma Kartları */
.pricing-card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 1;
}

.pricing-card.popular {
    border: 2px solid var(--primary-brand);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    transform: scale(1.05);
    z-index: 2;
}

/* Ana Sayfa Özel Butonları */
.btn-primary-custom {
    background-color: var(--primary-brand);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.5);
}

.btn-primary-custom:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.5);
    color: white;
}

.btn-outline-custom {
    border: 2px solid #cbd5e1;
    color: var(--primary-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    border-color: var(--primary-dark);
    background-color: var(--primary-dark);
    color: white;
}

/* Dekoratif Arka Plan Şekilleri */
.shape-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.shape-1 {
    background: #bfdbfe;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob 20s infinite alternate;
}

.shape-2 {
    background: #fef3c7;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob 15s infinite alternate;
}

@keyframes blob {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

.new-badge {
    font-size: 0.7rem;
    background: #ef4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 700;
    text-transform: uppercase;
}