/* ================================================================
   [FILE] rpa.css
   [PURPOSE] RPA Landing Page Specific Styles
   ================================================================ */


/* --- HERO SECTION --- */
.rpa-hero {
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
    /* Hafif bir grid arka planı */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 20%),
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}


.rpa-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}


.rpa-hero .main-headline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}


.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* --- HERO ANIMATION (CSS ONLY) --- */
.rpa-anim-box {
    position: relative;
    height: 350px;
    background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, rgba(0,0,0,0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}


.process-path {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Giren Dosyalar */
.doc-icon {
    position: absolute;
    left: 0;
    font-size: 2.5rem;
    opacity: 0;
    animation: docMove 4s infinite linear;
}
.doc-1 { color: #10b981; animation-delay: 0s; } /* Excel - Yeşil */
.doc-2 { color: #ef4444; animation-delay: 1.3s; } /* PDF - Kırmızı */
.doc-3 { color: #f59e0b; animation-delay: 2.6s; } /* Mail - Sarı */


/* Robot */
.bot-core {
    font-size: 5rem;
    color: var(--primary);
    z-index: 10;
    background: var(--bg-body);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-light);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    position: relative;
}


.bot-head {
    width: 60px; height: 35px;
    background: var(--primary);
    border-radius: 6px 6px 0 0;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.bot-eyes {
    width: 40px; height: 10px; background: #000; opacity: 0.3; border-radius: 4px;
}


/* Çıkan Sonuç */
.result-icon {
    position: absolute;
    right: 10%;
    font-size: 3rem;
    color: #10b981;
    opacity: 0;
    transform: scale(0.5);
    animation: resultPop 4s infinite linear 2s; /* Gecikmeli başlar */
}


@keyframes docMove {
    0% { left: 0; opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1); }
    40% { left: 45%; opacity: 1; transform: scale(0.8); } /* Robota girer */
    50% { opacity: 0; }
    100% { opacity: 0; }
}


@keyframes resultPop {
    0% { opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1.2); }
    20% { opacity: 1; transform: scale(1); }
    30% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}


/* --- CONTENT SECTION --- */
.intro-text-center {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    text-align: center;
}
.intro-text-center h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.intro-text-center p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}


.section-heading {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: #fff;
}


/* --- BENEFIT CARDS & ROCKET --- */
.benefit-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}


.benefit-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}


.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}


.benefit-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    width: 50px; height: 50px;
    background: rgba(99, 102, 241, 0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}


.benefit-card h4 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}


.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Roket Animasyonu Alanı */
.rocket-zone {
    height: 50px;
    margin-top: 1.5rem;
    position: relative;
    border-top: 1px dashed var(--border-light);
}
.rocket-container {
    position: absolute;
    left: 0; bottom: 5px;
    font-size: 1.8rem;
    color: var(--accent); /* Kırmızımsı ton */
    transform: rotate(45deg);
    transition: all 0.5s ease;
}


/* JS ile tetiklenecek sınıflar */
.rocket-container.ready .smoke-trail { opacity: 1; }
.rocket-container.launched {
    transform: translate(250px, -200px) rotate(45deg);
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s 0.5s;
}


/* --- USE CASES (GRID) --- */
.use-cases-wrapper {
    margin-bottom: 5rem;
}


.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}


.use-case-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
    cursor: default;
}


.use-case-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary);
}


.uc-icon {
    font-size: 2rem;
    color: var(--secondary); /* Sky Blue */
    margin-bottom: 1rem;
}


.use-case-item span {
    display: block;
    color: var(--text-main);
    font-weight: 500;
}


.bottom-cta {
    max-width: 400px;
    margin: 0 auto;
}


/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }
    
    .rpa-anim-box {
        height: 250px; /* Mobilde biraz küçült */
    }
}



