/* Tools Page Styles - Enhanced Modern Version */

/* Tools Hero Section */
.tools-hero {
    background: 
        radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(111, 66, 193, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tools-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: float 20s linear infinite;
}

.tools-hero .container {
    position: relative;
    z-index: 2;
}

.tools-hero h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tools-hero .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Introduction Section */
.tools-intro {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

/* Tool Card Styles */
.tool-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.6s;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover::after {
    left: 100%;
}

/* Tool Icon */
.tool-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Tool Badge */
.tool-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #20c997, #198754);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tool Content */
.tool-content {
    margin-bottom: 1.5rem;
}

.tool-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.tool-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Tool Meta Information */
.tool-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

.tool-platform, .tool-category {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tool Actions */
.tool-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tool-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-size: 0.95rem;
}

.primary-btn {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    color: white;
}

.primary-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.secondary-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

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

/* Tool Link Overlay */
.tool-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-decoration: none;
}

/* Coming Soon Section */
.coming-soon-section {
    border-top: 2px dashed #dee2e6;
    padding-top: 3rem;
}

.coming-soon-icon {
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-hero {
        padding: 80px 0 40px;
    }
    
    .tools-hero h1 {
        font-size: 2.5rem;
    }
    
    .tools-intro {
        padding: 1.5rem;
        margin-top: -30px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .tool-icon {
        width: 60px;
        height: 60px;
    }
    
    .tool-title {
        font-size: 1.2rem;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .tool-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .tools-hero h1 {
        font-size: 2.2rem;
    }
    
    .tools-hero .lead {
        font-size: 1.1rem;
    }
    
    .tool-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .tool-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}