/* Enerji Kabin - Özel Animasyonlar ve Tailwind ile yapılamayan stiller */

:root {
    --brand-accent: #10b981;
    --brand-dark: #0f172a;
}

html, body {
    scroll-behavior: smooth;
}

/* İnce, modern scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Görünür alana giriş animasyonu (JS ile tetiklenir) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero arka plan gradyan + grid deseni */
.hero-grid {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.97)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23334155' stroke-width='0.5'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Aksan ışıltı */
.accent-glow {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25), 0 20px 60px -20px rgba(16, 185, 129, 0.45);
}

/* Animasyonlu gradyan metin */
.gradient-text {
    background: linear-gradient(90deg, #10b981, #34d399, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Yavaş yukarı-aşağı süzülme */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Form adımları geçişi */
.form-step {
    display: none;
    animation: fadeStep 0.4s ease;
}
.form-step.active {
    display: block;
}
@keyframes fadeStep {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Dropzone vurgusu */
.dropzone.dragover {
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.06);
}

/* Buton yükleme spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Blog içerik tipografisi */
.prose-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}
