:root {
    /* Renk Paleti (Modern & Premium) */
    --primary-color: #0f172a;
    /* Slate 900 */
    --secondary-color: #3b82f6;
    /* Blue 500 */
    --accent-color: #10b981;
    /* Emerald 500 */
    --background-color: #f8fafc;
    /* Slate 50 */
    --text-color: #334155;
    /* Slate 700 */
    --text-light: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2563eb;
}

/* Header & Nav */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

/* Premium Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 500px;
}

/* Hero Calculator Card */
.hero-card {
    flex: 0 0 400px;
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.card-header h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

input[type="text"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #f8fafc;
}

input[type="text"]:focus,
select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: var(--white);
}

.btn-lg {
    padding: 16px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2563eb 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    border: none;
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4);
}

/* Features Grid */
.features {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
    display: block;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.icon-yellow {
    background: #fef9c3;
    color: #ca8a04;
}

.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.icon-red {
    background: #fee2e2;
    color: #dc2626;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
}

nav a:hover {
    color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.mobile-nav a {
    display: block;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-card {
        width: 100%;
        flex: none;
    }

    .kredi-turleri {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Banka listesi mobilde tek kolon */
    .bank-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .kredi-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .banka-info {
        flex-direction: column;
    }

    .oranlar {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 20px;
    }

    .action {
        width: 100%;
    }

    .action .btn {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Banks Section */
.banks-section {
    padding: 60px 0;
    background: var(--white);
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bank-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--background-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.bank-card .bank-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.bank-card .bank-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Bank Logo in Lists - Küçük boyutlar */
.bank-logo {
    max-width: 80px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.bank-logo-sm {
    max-width: 50px !important;
    max-height: 25px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.bank-logo-lg {
    max-width: 100px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Bank Card içindeki logolar */
.bank-card .bank-logo,
.bank-card img {
    max-width: 80px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Credit List with Bank Logo */
.credit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.credit-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.credit-item .bank-logo-wrapper {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-item .credit-info {
    flex-grow: 1;
}

.credit-item .credit-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.credit-item .credit-rate {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.credit-item .credit-details {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .banks-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .bank-card {
        padding: 15px;
    }

    .bank-card .bank-logo {
        width: 100px;
        height: 50px;
    }

    .credit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .credit-item .bank-logo-wrapper {
        width: 80px;
    }
}