/* =========================================
   1. FONTS & CONFIG
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700;800&display=swap');

:root {
    /* Renk Paleti (Ortak) */
    --primary-color: #212842;
    --accent-color: #3b82f6;
    --active-green: #2ecc71;
    /* FAQ Özel Aktif Renk */

    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;

    /* Gradientler */
    --gradient-purple: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-pink: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    --border-radius: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Animasyonlar */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================
   2. NAVBAR & MODAL (ORTAK - DEĞİŞMEDİ)
   ========================================= */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__logo img {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 35%;
    padding: 2px;
    object-fit: contain;
}

.navbar__text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.brand-slogan {
    color: #94a3b8;
    font-size: 0.8rem;
}

.navbar__menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bg-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {

    .navbar__menu,
    .navbar__action {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-wide-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-wide-wrapper {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-split-container {
    display: flex;
    min-height: 550px;
}

.modal-left-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-white);
}

.form-header {
    margin-bottom: 35px;
}

.mini-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.1;
}

.form-header p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.aesthetic-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-wrapper {
    position: relative;
    height: 50px;
    margin-top: 10px;
}

.input-wrapper:has(textarea) {
    height: auto;
}

.aesthetic-form input,
.aesthetic-form textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    border: none;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.aesthetic-form textarea {
    resize: none;
    min-height: 60px;
}

.aesthetic-form label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.aesthetic-form input:focus~label,
.aesthetic-form input:not(:placeholder-shown)~label,
.aesthetic-form textarea:focus~label,
.aesthetic-form textarea:not(:placeholder-shown)~label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: 0.4s ease;
}

.aesthetic-form input:focus~.input-highlight,
.aesthetic-form textarea:focus~.input-highlight {
    width: 100%;
}

.cyber-submit-v2 {
    margin-top: 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.cyber-submit-v2:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.modal-right-side {
    flex: 1;
    position: relative;
    background-color: var(--primary-color);
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.side-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.image-text-content {
    position: relative;
    z-index: 3;
    color: #fff;
    width: 100%;
}

.image-text-content h4 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@media (max-width: 900px) {
    .modal-split-container {
        flex-direction: column-reverse;
    }

    .modal-right-side {
        height: 200px;
        padding: 20px;
    }

    .modal-left-side {
        padding: 30px 20px;
    }

    .modal-wide-wrapper {
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-close-btn {
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.4);
    }
}

/* =========================================
   3. FAQ PAGE SPECIFIC
   ========================================= */
.page-intro {
    text-align: center;
    margin: 40px 0 60px;
}

.innovative-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.innovative-title {
    /* İSTEK: Başlık Fontu Düzenlendi */
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    /* FONT DEĞİŞTİ */
    margin-bottom: 15px;
}

.gradient-text-anim {
    background: linear-gradient(270deg, #6366f1, #ec4899, #3b82f6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
}

.faq-desc {
    color: var(--text-light);
    font-size: 1.1rem;
}

.faq-section {
    padding-bottom: 80px;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Kategori Başlığı */
.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.category-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.category-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}

/* Accordion Yapısı */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* İSTEK: Kart Arka Planı #212842 (KOYU) */
.accordion-item {
    background: #212842;
    /* İSTEK YERİNE GETİRİLDİ */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Hafif border */
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    /* Hoverda mor/mavi parlama */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    /* Koyu zemin üstüne BEYAZ yazı */
    transition: all 0.3s ease;
}

/* AKTİF DURUM (YEŞİL) */
.accordion-header.active {
    color: var(--active-green);
    background-color: rgba(46, 204, 113, 0.1);
    /* Hafif yeşil zemin */
}

.accordion-header .arrow {
    transition: transform 0.3s ease, color 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    /* Ok rengi açık gri */
}

.accordion-header.active .arrow {
    transform: rotate(90deg);
    color: var(--active-green);
    /* Ok aktifken yeşil */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #212842;
    /* İçerik de koyu kalsın */
}

/* İSTEK: Cevap Kısmı Düzenlemesi */
.accordion-content p {
    padding: 25px;
    color: #cbd5e1;
    /* Metin rengi açık gri (Okunabilirlik için) */
    font-size: 0.95rem;
    line-height: 1.8;
    /* Satır aralığı artırıldı */
    text-align: left;
    /* Metin düzgün dursun */
    opacity: 0.9;
}

/* =========================================
   4. FOOTER (ORTAK)
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .navbar__menu {
        display: none;
    }

    .innovative-title {
        font-size: 2.5rem;
    }
}