/* ============================================================
   toolpage.css
   Toolrok — Tool Page Shared Stylesheet
   ============================================================ */


/* ----------------------------------------------------------
   1. HERO SECTION
   ---------------------------------------------------------- */

/* Canlı ve Modern Matematik Temalı Gradyan */
.bg-math-gradient {
    background: linear-gradient(135deg, #3f46e5 0%, #4c3aed 100%);
}

/* Arka Plan Geometrik Kare Efekti */
.absolute-squares {
    position: absolute;
    top: -20%;
    right: -5%;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(45deg);
    border-radius: 40px;
    pointer-events: none;
}


/* ----------------------------------------------------------
   2. BUTTONS
   ---------------------------------------------------------- */

.btn-indigo {
    background-color: #3f46e5;
    transition: all 0.3s ease-in-out;
}

    .btn-indigo:hover {
        background-color: #3138c2;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(63, 70, 229, 0.3);
    }

.custom-btn-click:active {
    transform: scale(0.98);
}

.btn-outline-dark:hover {
    background-color: #212529;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}


/* ----------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------- */

.fw-black {
    font-weight: 900 !important;
}


/* ----------------------------------------------------------
   4. COLOR & BORDER UTILITIES
   ---------------------------------------------------------- */

.text-indigo {
    color: #3f46e5 !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.text-pink {
    color: #d63384 !important;
}

.border-indigo {
    border-color: #3f46e5 !important;
}


/* ----------------------------------------------------------
   5. RESULT BOX ANIMATION
   ---------------------------------------------------------- */

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ----------------------------------------------------------
   6. GENERAL TRANSITIONS
   ---------------------------------------------------------- */

.transition-all {
    transition: all 0.3s ease;
}
