:root {
    --primary-color: #0ea5e9;
    /* Light Blue (Sky 500) */
    --secondary-color: #000000;
    /* Black */
    --accent-color: #38bdf8;
    /* Lighter Blue */
    --bg-color: #ffffff;
    /* White Background */
    --card-bg: #f8fafc;
    /* Very Light Grey for cards */
    --text-color: #0f172a;
    /* Dark Slate (almost black) for text */
    --text-muted: #64748b;
    /* Slate 500 for muted text */
    --nav-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #f8fafc;
    --border-color: rgba(0, 0, 0, 0.05);
    --blob-opacity: 0.4;
}

[data-theme="dark"] {
    --primary-color: #34d399;
    /* Emerald 400 - Daha Canlı Yeşil Vurgu */
    --secondary-color: #ffffff;
    --accent-color: #6ee7b7;
    /* Emerald 300 */
    --bg-color: #022c22;
    /* Emerald 950 - Koyu Yeşil Arka Plan */
    --card-bg: rgba(6, 78, 59, 0.4);
    /* Yarı saydam koyu yeşil kartlar */
    --text-color: #f1f5f9;
    /* Slate 100 - Nötr Beyaz (Yeşillik kaldırıldı) */
    --text-muted: #cbd5e1;
    /* Slate 300 - Nötr Gri (Okunabilirlik arttı) */
    --nav-bg: rgba(2, 44, 34, 0.95);
    --footer-bg: #064e3b;
    --border-color: rgba(52, 211, 153, 0.2);
    /* Hafif yeşil border ile ayrıştırma */
    --blob-opacity: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Effects */
.bg-gradient-blob {
    display: none;
    /* Gradient kullanımı iptal edildi */
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #bae6fd;
    /* Light Blue 200 */
    animation: float 20s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #e2e8f0;
    /* Slate 200 (Grey) */
    animation: float 15s infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: #7dd3fc;
    /* Sky 300 */
    opacity: 0.3;
    animation: float 25s infinite alternate;
}

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

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

/* Dark Mode Logo Fix */
[data-theme="dark"] img[src="images/logo.png"] {
    filter: brightness(0) invert(1);
}

/* Navbar */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    /* Gradient kaldırıldı */
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentcolor;
    display: flex;
    align-items: center;
}

/* Navbar Logo Büyütme Ayarı */
.navbar-brand img {
    height: 120px !important;
    /* Kullanıcı isteği: 120px */
    max-height: none;
    margin-top: -35px;
    /* Navbarı yukarı doğru itmesini engeller */
    margin-bottom: -35px;
    /* Navbarı aşağı doğru itmesini engeller */
    margin-right: 15px !important;
    /* Logodan sonraki boşluk */
    transition: transform 0.3s ease;
    border-radius: 8px !important;
    /* Biraz daha yumuşak köşe */
    position: relative;
    z-index: 1000;
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 60px !important;
        margin-top: -10px;
        margin-bottom: -10px;
    }
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Mobile Menu Toggler Fix - Explicit SVG */
/* Default (Light Mode): Black Icon */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

/* Dark Mode: White Icon */
[data-theme="dark"] .navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    /* Hoverda hafif büyüme */
}

/* Dark Mode Logo Ayarı */
[data-theme="dark"] .navbar-brand img {
    filter: brightness(0) invert(1);
}

.nav-link {
    color: var(--text-muted) !important;
    transition: color 0.3s;
    font-weight: 500;
}

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

/* Utilities override */
.text-muted {
    color: var(--text-muted) !important;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    position: relative;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    color: white;
    background: #0284c7;
    /* Darker Blue on hover */
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Cards */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-title {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--card-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    /* Gradient kaldırıldı */
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentcolor;
}

/* Modern Feature Card Redesign */
.modern-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.modern-feature-card::before {
    display: none;
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--card-bg);
}

.modern-feature-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f0f9ff;
    /* Very light blue */
    border-radius: 20px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.05);
}

.modern-feature-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    border-color: transparent;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Footer */
footer {
    background: var(--footer-bg);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Box Style */
.cta-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

/* Feature Row Cards */
.feature-row-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3rem;
    margin-bottom: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-row-card img {
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.feature-row-card:hover img {
    transform: scale(1.02);
}

.modern-list-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.modern-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.modern-list-item i {
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 1rem;
}