/* Login Page Styles - Tools Portal Theme (Light) */

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes gearRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gearRotateReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes toolsGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 168, 215, 0.2),
                    inset 0 0 20px rgba(0, 168, 215, 0.05);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 168, 215, 0.35),
                    inset 0 0 30px rgba(0, 168, 215, 0.1);
    }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

@keyframes floatIcon2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-15deg); }
}

@keyframes floatIcon3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
    color: #333;
    padding: 2rem 1rem;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 168, 215, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 215, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* =====================================================
   TOOLS CONTAINER & ANIMATION
   ===================================================== */

.tools-container {
    position: relative;
    width: 220px;
    height: 220px;
}

.tools-box {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tools-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e8ecef 0%, #d1d8dd 50%, #e8ecef 100%);
    border-radius: 20px;
    border: 4px solid #b8c4ce;
    position: relative;
    animation: toolsGlow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-icon {
    font-size: 4rem;
    color: #00a8d7;
    z-index: 2;
}

.tools-gears {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.gear {
    color: #a0aab4;
    position: absolute;
}

.gear-1 {
    font-size: 1.5rem;
    bottom: 0;
    right: 0;
    animation: gearRotate 4s linear infinite;
}

.gear-2 {
    font-size: 1rem;
    bottom: 15px;
    right: 20px;
    animation: gearRotateReverse 3s linear infinite;
}

/* Tools Glow Effect */
.tools-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 24px;
    background: transparent;
    box-shadow: 0 0 60px rgba(0, 168, 215, 0.15);
    pointer-events: none;
}

/* =====================================================
   FLOATING ICONS
   ===================================================== */

.floating-icon {
    position: absolute;
    color: #00a8d7;
    font-size: 1.5rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0, 168, 215, 0.5));
    z-index: 10;
}

.icon-1 {
    top: 10px;
    left: 20px;
    animation: floatIcon 4s ease-in-out infinite;
    color: #dc2626;
}

.icon-2 {
    top: 30px;
    right: 10px;
    font-size: 1.2rem;
    animation: floatIcon2 5s ease-in-out infinite;
    animation-delay: 0.5s;
    color: #2563eb;
}

.icon-3 {
    bottom: 20px;
    left: 40px;
    font-size: 1rem;
    animation: floatIcon3 3.5s ease-in-out infinite;
    animation-delay: 1s;
    color: #f59e0b;
}

/* =====================================================
   HERO CONTENT
   ===================================================== */

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00a8d7;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: #555;
    line-height: 1.6;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.typed-text {
    color: #00a8d7;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #00a8d7 0%, #008cbf 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 168, 215, 0.3);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #00bce8 0%, #00a8d7 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 215, 0.4);
}

.hero-btn-secondary {
    background-color: white;
    color: #00a8d7;
    border: 2px solid #00a8d7;
}

.hero-btn-secondary:hover {
    background-color: #f0f9fc;
    transform: translateY(-2px);
}

.security-badge {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-badge i {
    color: #28a745;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
        min-height: auto;
    }

    .hero-container {
        gap: 2rem;
    }

    .tools-container {
        width: 220px;
        height: 220px;
    }

    .tools-box {
        width: 180px;
        height: 180px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .floating-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .tools-container {
        width: 180px;
        height: 180px;
    }

    .tools-box {
        width: 150px;
        height: 150px;
    }

    .tools-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}
