/* --- GENEL VE TEMEL AYARLAR --- */
:root {
    --primary-color: #27ae60;
    --secondary-color: #2c3e50;
    --text-color: #34495e;
    --light-text-color: #7f8c8d;
    --bg-color: #f8f9fa;
    --white-color: #ffffff;
    --border-color: #eef0f2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === NAVBAR === */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo img {
    height: 35px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.main-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* --- GENEL BÖLÜM STİLLERİ --- */
section {
    padding: 80px 0;
}

section:nth-of-type(even) {
    background-color: var(--white-color);
}

h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: var(--light-text-color);
}


/* --- HERO BÖLÜMÜ --- */
.hero {
    background-color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}

.hero-icon {
    font-size: 50px;
}

.hero h1 {
    font-size: 42px;
    color: var(--secondary-color);
    margin: 20px 0 15px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 18px;
    color: var(--light-text-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.cta-button:hover {
    background-color: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
    text-decoration: none;
}
.hero-small-text {
    margin-top: 20px;
    color: var(--light-text-color);
    font-size: 14px;
}

.hero-small-text .fa-check {
    color: var(--primary-color);
    margin: 0 5px 0 15px;
}


/* --- NASIL ÇALIŞIR BÖLÜMÜ --- */
.how-it-works {
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary-color), #2ecc71);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* === AVANTAJLAR BÖLÜMÜ (YENİ) === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--secondary-color);
}


/* --- PARTNERLER BÖLÜMÜ --- */
.partners {
    padding-bottom: 80px;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.logos img {
    max-height: 45px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* === KULLANICI YORUMLARI (YENİ) === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--border-color);
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-color);
    margin: 0 0 20px 0;
    border: none;
    font-size: 16px;
    flex-grow: 1;
}

.testimonial-card cite {
    font-weight: bold;
    color: var(--secondary-color);
    font-style: normal;
}

/* === İSTATİSTİKLER (YENİ) === */
.stats {
    background-color: var(--secondary-color);
    color: var(--black-color);
}

.stats h2 {
    color: var(--black-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* === SIKÇA SORULAN SORULAR (YENİ) === */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--white-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--text-color);
}

.faq-answer p {
    padding: 0 25px 20px;
    line-height: 1.6;
}

/* === SON CTA BÖLÜMÜ (YENİ) === */
.final-cta {
    background: linear-gradient(45deg, var(--secondary-color), #34495e);
    color: var(--white-color);
    text-align: center;
    border-radius: 20px;
    margin: 0 20px; /* Kenarlardan boşluk */
    padding: 60px 40px;
    margin-bottom: 80px;
}
.final-cta h2 { color: var(--white-color); }
.final-cta p { max-width: 500px; margin: 0 auto 30px; opacity: 0.9; }

/* --- GELİŞMİŞ FOOTER (YENİ) --- */
.main-footer {
    background-color: var(--secondary-color);
    color: #bdc3c7;
    padding: 60px 0 0;
    text-align: left;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}
.footer-about p {
    font-size: 15px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    color: var(--white-color);
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    text-decoration: none;
}

.footer-social a {
    color: #bdc3c7;
    font-size: 1.5rem;
    margin-right: 18px;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}
.footer-bottom a { color: var(--white-color); font-weight: 500; }

/* --- MODAL (POPUP) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.85);
    display: flex; /* Flex olarak değiştirildi, JS ile visible class'ı kontrol edilecek */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 15px;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white-color);
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1f1f1;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}
.modal-close-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}
.modal-body {
    overflow-y: auto;
    padding: 30px;
    color: var(--text-color);
}

/* --- RESPONSIVE AYARLAR (MOBİL GÖRÜNÜM) --- */
@media (max-width: 767px) {
    body { font-size: 15px; }
    h2 { font-size: 28px; }
    .hero h1 { font-size: 34px; }
    
    .nav-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 65px; /* Navbar yüksekliğine göre ayarla */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .steps {
        flex-direction: column;
    }

    .footer-content {
        text-align: center;
    }

    .footer-about, .footer-links, .footer-social {
        margin-bottom: 20px;
    }
}