﻿body {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* 🧱 Hero kutusu */
.hero-box {
    background: radial-gradient(circle at 20% 40%, #e0f2fe 0%, #93c5fd 90%);
    border: 1px solid #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
}

    .hero-box h1 {
        font-weight: 800;
        color: #1e3a8a;
    }

    .hero-box p {
        font-size: 1.05rem;
        color: #1e293b;
    }

/* 🚀 Buton */
.btn-submit-gradient {
    background-image: linear-gradient(to right, #10b981, #059669);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

    .btn-submit-gradient:hover {
        background-image: linear-gradient(to right, #059669, #10b981);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    }

/* 📋 Özellik kutuları */
.feature-list-box {
    background: #f8fafc;
    border-left: 6px solid #3b82f6;
    border-radius: 1rem;
}

    .feature-list-box h5 {
        color: #2563eb;
        font-weight: 700;
    }

/* 💬 Uyarı ve mesaj stilleri */
.alert {
    border-radius: 0.75rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ⚙️ Input stili */
.form-control {
    border-radius: 0.6rem;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
    }

label {
    color: #334155;
    font-weight: 600;
}

hr {
    border-color: #e2e8f0;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .hero-box {
        text-align: center;
        padding: 1.5rem;
    }

        .hero-box i {
            display: none;
        }
}

/* 💫 Robot animasyonu */
@keyframes bounceBot {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.robot-bounce {
    animation: bounceBot 2.2s ease-in-out infinite;
}




/* 🤖 Robot Zıplama */
@keyframes bounceBot {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.robot-bounce {
    animation: bounceBot 2.2s ease-in-out infinite;
}

/* 🌀 Bilgi Döngüsü */
.info-rotator {
    min-height: 22px;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

    .info-rotator span {
        position: absolute;
        width: 100%;
        opacity: 0;
        transform: translateY(10px);
        animation: rotateInfo 10s infinite;
    }

@keyframes rotateInfo {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    5% {
        opacity: 1;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Her satıra farklı gecikme */
.info-rotator span:nth-child(1) {
    animation-delay: 0s;
}

.info-rotator span:nth-child(2) {
    animation-delay: 2.5s;
}

.info-rotator span:nth-child(3) {
    animation-delay: 5s;
}

.info-rotator span:nth-child(4) {
    animation-delay: 7.5s;
}

/* INFO ROTATOR – Mobilde kesilmeyi önler */
.info-rotator {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    width: 100%;
}

    /* Metinlerin satır içinde taşmasını engelleme */
    .info-rotator span {
        display: block;
        white-space: normal; /* 📌 En kritik: Satır kırılmasına izin ver */
        word-break: break-word; /* Uzun kelimeler taşmaz */
        font-size: 0.95rem;
    }

/* Mobil ekran için özel ayar */
@media (max-width: 576px) {
    .info-rotator span {
        font-size: 0.9rem; /* Daha uyumlu görünür */
        line-height: 1.25rem;
    }

    .info-rotator {
        padding-right: 4px; /* Sağdan taşıp kesilmesin */
    }
}
