/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* === Temel Ayarlar === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #0a192f, #1e3a5f); /* Lacivert Tema */
    color: #e0f2fe;
    min-height: 100vh;
    overflow-y: auto;
}

/* === Konteyner === */
.container {
    text-align: center;
    padding: 20px;
    max-width: 700px; /* Anasayfa için daha dar */
    margin: 20px auto;
}
.container-large {
    text-align: center;
    padding: 20px;
    max-width: 1000px; /* Analiz sayfası için daha geniş */
    margin: 20px auto;
}

/* === Başlıklar === */
h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 40px;
    color: #fefefe;
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.3);
}
.subtitle {
    font-size: 18px;
    color: #93c5fd;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* === Form (Makine) === */
.selection-container {
    background: rgba(10, 25, 47, 0.5);
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.selection-group {
    margin-bottom: 20px;
    text-align: left;
}
.selection-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.custom-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border-radius: 8px;
    border: 1px solid #3b82f6;
    background-color: #0a192f;
    color: #e0f2fe;
    box-sizing: border-box;
}
.input-note {
    font-size: 0.9em;
    color: #93c5fd;
    margin-top: 5px;
    display: block;
}

/* === Butonlar === */
.option-button {
    padding: 12px 28px;
    font-size: 18px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    display: inline-block;
}
.option-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}
.option-button.cta-button {
    background-color: #f59e0b; /* Vurgu (Turuncu/Altın) */
    color: #1e3a5f;
    font-weight: bold;
    font-size: 20px;
    padding: 15px 30px;
}
.option-button.cta-button:hover {
    background-color: #fbbf24;
}

.message-area { min-height: 20px; color: #f87171; }

/* === "Nasıl Çalışır?" Bölümü === */
.how-it-works {
    margin-top: 40px;
}
.section-title-small {
    font-family: 'Crimson Pro', serif;
    font-size: 28px;
    color: #93c5fd;
    border-bottom: 1px solid #3b82f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: left;
}
.step h3 { margin-top: 0; }
.step p { font-size: 0.9em; line-height: 1.5; color: #e0f2fe; }

/* === Ekosistem Linki === */
.ecosystem-link {
    margin-top: 40px;
    font-size: 0.9em;
}
.ecosystem-link a {
    color: #f59e0b;
    font-weight: bold;
}

/* === ANALİZ SAYFASI stilleri === */
.analysis-section {
    margin-top: 40px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 20px 30px;
    text-align: left;
}
.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 32px;
    color: #fefefe;
    text-align: center;
    margin-bottom: 25px;
}
.ad-placeholder {
    width: 100%;
    min-height: 90px;
    background: rgba(0,0,0,0.2);
    border: 1px dashed #3b82f6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    color: #93c5fd;
}

/* Placeholder (Yükleniyor) Stilleri */
.placeholder { color: #93c5fd; font-style: italic; }
.placeholder-text { color: #93c5fd; font-style: italic; opacity: 0.8; }

/* 1. Üçlü Sütun (Big 3) */
.big-three-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.card h3 {
    margin-top: 0;
    color: #f59e0b; /* Vurgu Rengi */
}
.ai-synthesis {
    margin-top: 20px;
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

/* 2. Tab Yapısı (Gezegenler) */
.tabs-container {
    width: 100%;
}
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #3b82f6;
}
.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: #93c5fd;
    font-size: 1em;
    transition: background 0.3s, color 0.3s;
}
.tab-button.active, .tab-button:hover {
    background: #3b82f6;
    color: white;
    border-radius: 5px 5px 0 0;
}
.tab-content-area {
    padding: 20px 0;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* 3. Accordion (Evler) */
.accordion-container {
    width: 100%;
}
.accordion-item {
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}
.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1.1em;
    color: #e0f2fe;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header:hover {
    background: rgba(59, 130, 246, 0.1);
}
.accordion-icon {
    font-size: 1.5em;
    transition: transform 0.3s;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
}
.accordion-content p {
    padding: 15px 0;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.accordion-item.active .accordion-content {
    max-height: 500px; /* İçeriğe göre ayarlanabilir */
}

/* 4. Upsell Box */
.upsell-box {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.2));
    border-color: #f59e0b;
    text-align: center;
}
.upsell-box h2 { color: #f59e0b; }
.upsell-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}
.upsell-content ul {
    text-align: left;
    list-style-type: '✓ '; /* Emoji veya karakter */
    padding-left: 20px;
}
.price-box {
    text-align: center;
}
.price {
    font-size: 2.5em;
    font-weight: bold;
    color: #f59e0b;
    display: block;
}
.price-dollar { display: block; color: #e0f2fe; }

/* 5. Cross-Sell Box */
.cross-sell-box {
    text-align: center;
}
.cross-sell-image {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Mobil Duyarlılık */
@media (max-width: 768px) {
    .upsell-content {
        grid-template-columns: 1fr;
    }
    .big-three-grid {
        grid-template-columns: 1fr;
    }
}
/* === 5. Cross-Sell Box (Tarot Teması) === */

.cross-sell-box {
    /* Mevcut lacivert arka planı ezip, mor tonlu bir gradient yapalım */
    background: linear-gradient(145deg, rgba(126, 34, 206, 0.1), rgba(126, 34, 206, 0.25));
    
    /* Çerçeve rengini de parlak bir mor yapalım */
    border-color: #a755f7;
}

.cross-sell-box h2 {
    /* Başlık rengini de temaya uygun açık bir eflatun yapalım */
    color: #e0c8ff;
}

.cross-sell-box .option-button {
    /* Butonu da mavi yerine mor temasına çekelim */
    background-color: #a755f7;
    color: #ffffff;
}

.cross-sell-box .option-button:hover {
    /* Butonun üzerine gelince bir ton koyulaşsın */
    background-color: #8b34d9;
    transform: translateY(-2px); /* Diğer butonlarla aynı efekti koru */
}
/* === SAĞ ÜST MENU (DROPDOWN) === */
.top-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.dropbtn {
    background-color: rgba(59, 130, 246, 0.2);
    color: #e0f2fe;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.dropdown:hover .dropbtn {
    background-color: #3b82f6;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #0a192f;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    border: 1px solid #3b82f6;
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    color: #e0f2fe;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgba(59, 130, 246, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobilde menü biraz daha aşağıda dursun */
@media (max-width: 600px) {
    .top-nav {
        top: 10px;
        right: 10px;
    }
    .dropbtn {
        padding: 8px 12px;
        font-size: 14px;
    }
}