/* moodle_plugin.css - sadece moodle_plugin.php sayfasi icin */

.ep-page {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    background: #ffffff;
}

/* ---------- TOP NAV ---------- */
.ep-topnav {
    position: sticky; top: 0; z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    backdrop-filter: blur(8px);
}
.ep-topnav .container {
    display: flex; align-items: center; justify-content: space-between;
}
.ep-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #1e293b;
    font-weight: 700;
}
.ep-brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    color: #fff; border-radius: 9px; font-weight: 800;
}
.ep-brand-text { font-size: 1.1rem; }
.ep-nav-links { display: flex; align-items: center; gap: 6px; }
.ep-nav-links a {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    color: #475569;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.15s;
}
.ep-nav-links a:hover { color: #4f46e5; background: #eef2ff; }
.ep-nav-links a.active { color: #4f46e5; background: #eef2ff; }
.ep-nav-links a.ep-cta {
    background: #4f46e5; color: #fff;
}
.ep-nav-links a.ep-cta:hover { background: #4338ca; color: #fff; }

/* ---------- HERO ---------- */
.ep-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 168, 76, 0.10) 0%, transparent 50%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.ep-hero-badge {
    display: inline-block;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 0.82rem; font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.ep-hero-title {
    font-size: 3rem; font-weight: 800; line-height: 1.15;
    margin-bottom: 22px; letter-spacing: -0.02em;
}
.ep-hero-lead {
    font-size: 1.1rem; line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
    max-width: 580px;
    margin-bottom: 32px;
}
.ep-grad {
    background: linear-gradient(120deg, #c9a84c 0%, #f0e0a8 50%, #c9a84c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ep-hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.ep-hero-actions .btn {
    padding: 14px 24px;
    font-weight: 600;
    border-radius: 10px;
}
.ep-hero-actions .btn-primary {
    background: #fff;
    color: #4f46e5;
    border: none;
    display: flex; align-items: center; gap: 12px;
}
.ep-hero-actions .btn-primary:hover { background: #f0e0a8; color: #312e81; }
.ep-hero-actions .btn-primary small {
    display: block; font-size: 0.7rem; opacity: 0.65; font-weight: 500;
}
.ep-hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.ep-hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.ep-hero-meta {
    display: flex; gap: 18px; flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}
.ep-hero-meta i { color: #c9a84c; margin-right: 4px; }

/* Hero kart (terminal mock) */
.ep-hero-card {
    background: #0f0e2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.ep-hero-card-head {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; gap: 8px;
}
.ep-dot {
    width: 12px; height: 12px; border-radius: 50%;
    display: inline-block;
}
.ep-dot-r { background: #ef4444; }
.ep-dot-y { background: #f59e0b; }
.ep-dot-g { background: #10b981; }
.ep-window-title {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem; font-family: monospace;
}
.ep-hero-card-body { padding: 20px 22px; }
.ep-hero-card-body pre {
    color: #e0e7ff; font-size: 0.84rem;
    line-height: 1.7; margin: 0;
    font-family: 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
}
.ep-hero-card-body .hl-c { color: #6b7280; font-style: italic; }
.ep-hero-card-body .hl-k { color: #c9a84c; }

/* ---------- STATS ---------- */
.ep-stats {
    background: #f8fafc;
    padding: 50px 0;
    border-bottom: 1px solid #e2e8f0;
}
.ep-stat { text-align: center; }
.ep-stat-num {
    font-size: 2.4rem; font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.ep-stat-lbl {
    color: #64748b; font-size: 0.9rem;
    font-weight: 500; margin-top: 8px;
}

/* ---------- SECTIONS ---------- */
.ep-section { padding: 90px 0; }
.ep-section-soft { background: #f8fafc; }
.ep-section-head {
    text-align: center; max-width: 720px;
    margin: 0 auto 60px;
}
.ep-eyebrow {
    display: inline-block;
    color: #4f46e5; font-size: 0.78rem;
    font-weight: 700; letter-spacing: 0.12em;
    margin-bottom: 12px;
}
.ep-section-head h2 {
    font-size: 2.4rem; font-weight: 800;
    line-height: 1.2; margin-bottom: 18px;
    color: #1e293b;
}
.ep-section-head p {
    font-size: 1.05rem; color: #475569;
    line-height: 1.7;
}

/* Features grid */
.ep-feature {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    transition: all 0.2s;
}
.ep-feature:hover {
    border-color: #c7d2fe;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}
.ep-feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    margin-bottom: 18px;
}
.ep-icon-indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.ep-icon-gold   { background: linear-gradient(135deg, #c9a84c, #f0e0a8); }
.ep-icon-green  { background: linear-gradient(135deg, #10b981, #34d399); }
.ep-icon-cyan   { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.ep-icon-rose   { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.ep-icon-violet { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.ep-feature h3 {
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 10px; color: #1e293b;
}
.ep-feature p {
    font-size: 0.92rem; color: #64748b;
    line-height: 1.6; margin-bottom: 0;
}

/* Steps */
.ep-steps {
    max-width: 800px; margin: 0 auto;
    position: relative;
}
.ep-step {
    display: flex; gap: 24px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 18px;
    align-items: start;
    transition: all 0.2s;
}
.ep-step:hover { border-color: #c7d2fe; }
.ep-step-num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    color: #fff; font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.ep-step-body h3 {
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 6px; color: #1e293b;
}
.ep-step-body p { color: #64748b; line-height: 1.6; margin-bottom: 0; }

/* Download box */
.ep-download-box {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
    color: #fff;
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 30px 60px rgba(67, 56, 202, 0.25);
}
.ep-download-info h2 {
    font-size: 2rem; font-weight: 800;
    margin: 14px 0 10px;
}
.ep-download-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
    margin-bottom: 22px;
}
.ep-download-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}
.ep-download-meta {
    list-style: none; padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}
.ep-download-meta li {
    padding: 4px 0;
    font-size: 0.92rem;
}
.ep-download-meta li i {
    color: #c9a84c;
    margin-right: 8px;
    width: 18px;
}
.ep-bigdl {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    color: #1e1b4b;
    padding: 22px 26px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.ep-bigdl:hover {
    background: #c9a84c;
    color: #1e1b4b;
    transform: translateY(-2px);
}
.ep-bigdl-icon { font-size: 2.4rem; }
.ep-bigdl-text strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
}
.ep-bigdl-text span {
    display: block;
    font-size: 0.82rem;
    opacity: 0.7;
    font-family: monospace;
}
.ep-download-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 14px;
    margin-bottom: 0;
}
.ep-download-hint a { color: #c9a84c; }

/* Install cards */
.ep-install-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px;
    height: 100%;
    transition: all 0.2s;
}
.ep-install-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.08);
}
.ep-install-step {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}
.ep-install-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.ep-install-card h3 i {
    color: #4f46e5;
    margin-right: 6px;
}
.ep-install-card p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.ep-install-card code {
    background: #f1f5f9;
    color: #4f46e5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* Advanced */
.ep-advanced {
    margin-top: 60px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 40px;
}
.ep-advanced > h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #1e293b;
}
.ep-advanced > h3 i {
    color: #4f46e5;
    margin-right: 8px;
}
.ep-advanced h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #312e81;
    margin-bottom: 12px;
}
.ep-advanced ul {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.7;
    padding-left: 20px;
}
.ep-advanced code {
    background: #f1f5f9;
    color: #4f46e5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* FAQ */
.ep-faq.accordion {
    max-width: 820px;
    margin: 0 auto;
}
.ep-faq .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.ep-faq .accordion-button {
    font-weight: 600;
    color: #1e293b;
    padding: 18px 24px;
}
.ep-faq .accordion-button:not(.collapsed) {
    background: #eef2ff;
    color: #4338ca;
}
.ep-faq .accordion-button:focus {
    box-shadow: none;
    border-color: #c7d2fe;
}
.ep-faq .accordion-body {
    color: #475569;
    line-height: 1.7;
    padding: 4px 24px 22px;
}

/* Final CTA */
.ep-final-cta {
    background:
        radial-gradient(circle at 30% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
    color: #fff;
    padding: 90px 0;
}
.ep-final-cta h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}
.ep-final-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
}
.ep-final-cta .btn-primary {
    background: #fff;
    color: #4f46e5;
    border: none;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.2s;
}
.ep-final-cta .btn-primary:hover {
    background: #c9a84c;
    color: #1e1b4b;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}
.ep-final-meta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.ep-final-meta a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.ep-final-meta a:hover { color: #c9a84c; }

/* Footer */
.ep-footer {
    background: #0f0e2e;
    color: rgba(255, 255, 255, 0.55);
    padding: 30px 0;
    text-align: center;
    font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 992px) {
    .ep-hero-title { font-size: 2.2rem; }
    .ep-hero { padding: 60px 0 70px; }
    .ep-section { padding: 60px 0; }
    .ep-download-box {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
    .ep-final-cta h2 { font-size: 2rem; }
    .ep-section-head h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .ep-nav-links a:not(.ep-cta) { display: none; }
    .ep-hero-card { display: none; }
    .ep-hero-meta { font-size: 0.78rem; }
    .ep-step { padding: 20px; flex-direction: column; gap: 12px; }
}

/* =====================================================================
   KONTRAST OVERRIDE - styles.css'in baska global renkleri ezmesini engeller.
   Her koyu/aydinlik bolgesinde dogru text rengi zorla atanir.
   ===================================================================== */

/* HERO bolumu: koyu zemin uzerinde HER text beyaz */
.ep-hero,
.ep-hero h1, .ep-hero h2, .ep-hero h3,
.ep-hero p, .ep-hero span, .ep-hero a,
.ep-hero .ep-hero-title,
.ep-hero .ep-hero-lead,
.ep-hero .ep-hero-meta,
.ep-hero .ep-hero-meta span {
    color: #ffffff !important;
}
.ep-hero .ep-hero-lead { color: #e0e7ff !important; }
.ep-hero .ep-hero-lead strong { color: #ffffff !important; }
.ep-hero .ep-hero-meta { color: rgba(255,255,255,.85) !important; }
.ep-hero .ep-hero-meta i { color: #fbbf24 !important; }
.ep-hero .ep-grad {
    background: linear-gradient(120deg, #fbbf24 0%, #fde68a 50%, #fbbf24 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}
.ep-hero .ep-hero-badge {
    background: rgba(255,255,255,.18) !important;
    border-color: rgba(255,255,255,.35) !important;
    color: #fff !important;
}

/* Final CTA */
.ep-final-cta,
.ep-final-cta h1, .ep-final-cta h2, .ep-final-cta h3,
.ep-final-cta p, .ep-final-cta span, .ep-final-cta a {
    color: #ffffff !important;
}
.ep-final-cta p { color: rgba(255,255,255,.85) !important; }
.ep-final-cta .ep-grad {
    background: linear-gradient(120deg, #fbbf24, #fde68a, #fbbf24) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/*
 * CTA buton istisnalari — ust .ep-hero a / .ep-final-cta a kurallari "color:#fff !important"
 * uyguladigi icin beyaz arkaplanli "Paketlere Goz At" butonunda yazi beyaz kaliyordu.
 * Buton renklerini geri kazandiriyoruz.
 */
.ep-hero .btn.btn-primary,
.ep-hero .ep-cta-btn,
.ep-final-cta .btn.btn-primary,
.ep-final-cta .ep-cta-btn {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1px solid #ffffff !important;
}
.ep-hero .btn.btn-primary:hover,
.ep-hero .ep-cta-btn:hover,
.ep-final-cta .btn.btn-primary:hover,
.ep-final-cta .ep-cta-btn:hover {
    background: #c9a84c !important;
    color: #1e1b4b !important;
    border-color: #c9a84c !important;
}
.ep-hero .btn.btn-primary i,
.ep-hero .ep-cta-btn i,
.ep-final-cta .btn.btn-primary i,
.ep-final-cta .ep-cta-btn i {
    color: inherit !important;
}
.ep-hero .ep-cta-btn small,
.ep-final-cta .ep-cta-btn small {
    color: #4f46e5 !important;
    opacity: 0.78;
    display: block;
    font-weight: 500;
    font-size: 0.78rem;
    margin-top: 2px;
}
.ep-hero .ep-cta-btn:hover small,
.ep-final-cta .ep-cta-btn:hover small {
    color: #1e1b4b !important;
}
.ep-hero .btn.btn-outline-light,
.ep-final-cta .btn.btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.65) !important;
}
.ep-hero .btn.btn-outline-light:hover,
.ep-final-cta .btn.btn-outline-light:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
}

/* Download box */
.ep-download-box,
.ep-download-box h2,
.ep-download-box p,
.ep-download-box li,
.ep-download-box span {
    color: #ffffff !important;
}
.ep-download-box p { color: rgba(255,255,255,.85) !important; }
.ep-download-box .ep-download-meta li i { color: #fbbf24 !important; }

/* Footer */
.ep-footer,
.ep-footer p {
    color: rgba(255,255,255,.65) !important;
}

/* Aydinlik bolumlerde text rengi zorla koyu (styles.css beyaza cevirmeye calisirsa) */
.ep-section,
.ep-stats {
    color: #1e293b;
}
.ep-section h2,
.ep-section h3,
.ep-section h4,
.ep-stats h2,
.ep-stats h3 {
    color: #1e293b !important;
}
.ep-section-head h2 { color: #0f172a !important; }
.ep-section-head p { color: #475569 !important; }
.ep-feature h3 { color: #1e293b !important; }
.ep-feature p { color: #64748b !important; }
.ep-step-body h3 { color: #1e293b !important; }
.ep-step-body p { color: #64748b !important; }
.ep-install-card h3 { color: #1e293b !important; }
.ep-install-card p { color: #64748b !important; }
.ep-advanced h3 { color: #1e293b !important; }
.ep-advanced h4 { color: #312e81 !important; }
.ep-advanced ul { color: #475569 !important; }
.ep-faq .accordion-button { color: #1e293b !important; }
.ep-faq .accordion-button:not(.collapsed) { color: #4338ca !important; }
.ep-faq .accordion-body { color: #475569 !important; }

/* Stat numara gradient'i */
.ep-stat-num {
    color: #4f46e5 !important; /* fallback */
    background: linear-gradient(135deg, #4f46e5, #818cf8) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.ep-stat-lbl { color: #64748b !important; }

/* Modern aydinlatma rotusu */
.ep-section-soft {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%) !important;
}

/* Hero terminali kartin icerigi siyah zeminli, beyaz/sari font kalsin */
.ep-hero-card-body pre {
    color: #e0e7ff !important;
}
.ep-hero-card-body .hl-c { color: #94a3b8 !important; }
.ep-hero-card-body .hl-k { color: #fbbf24 !important; }

/* Body genel rengi - global override */
body.ep-page {
    color: #1e293b;
}
body.ep-page a { color: #4f46e5; }

/* Nav links contrast */
.ep-topnav .ep-nav-links a {
    color: #475569 !important;
}
.ep-topnav .ep-nav-links a.active,
.ep-topnav .ep-nav-links a:hover {
    color: #4f46e5 !important;
    background: #eef2ff !important;
}
.ep-topnav .ep-nav-links a.ep-cta {
    color: #ffffff !important;
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
}

