/* Tools Hero Section */
.tools-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tools-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: white;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.tools-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tools-hero-text {
    color: white;
}

.tools-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.tools-hero-badge svg {
    color: white;
}

.tools-hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.tools-hero-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 40px;
}

.tools-hero-stats {
    display: flex;
    gap: 20px;
}

.tools-hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.stat-info {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.tools-hero-video {
    position: relative;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    z-index: -1;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Tools Grid Section */
.tools-grid-section {
    padding: 80px 0;
    background: white;
}

.tool-card-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.tool-card-modern:last-child {
    margin-bottom: 0;
}

.tool-card-modern.reverse {
    direction: rtl;
}

.tool-card-modern.reverse > * {
    direction: ltr;
}

.tool-card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.tool-card-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.tool-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.tool-card-image:hover img {
    transform: scale(1.05);
}

.tool-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.tool-card-image:hover .tool-card-overlay {
    opacity: 1;
}

.tool-card-content {
    padding: 20px 0;
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    flex-shrink: 0;
}

.tool-card-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.tool-card-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 24px;
}

.tool-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #2d3748;
}

.feature-item svg {
    color: #667eea;
    flex-shrink: 0;
}

.tool-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9ff;
    color: #667eea;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-video:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .tools-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tool-card-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tool-card-modern.reverse {
        direction: ltr;
    }
    
    .tools-hero-text h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .tools-hero {
        padding: 80px 0 60px;
    }
    
    .tools-hero-text h1 {
        font-size: 32px;
    }
    
    .tools-hero-description {
        font-size: 16px;
    }
    
    .tools-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .tools-hero-stats .stat-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .tool-card-content h2 {
        font-size: 24px;
    }
    
    .tool-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-video,
    .btn-primary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .section-header-center h2 {
        font-size: 28px;
    }
}
