/* ============================================================================
   TOOLS PAGE - TURKUAZ IT
   Clean, organized, consistent with global design system
   ============================================================================ */

/* ============================================================================
   PAGE STRUCTURE
   ============================================================================ */
.tools-page {
    padding: 60px 0 120px;
    position: relative;
}

/* ============================================================================
   TOOLS SECTION
   ============================================================================ */
.tools-section {
    margin-bottom: 80px;
}

.tools-section:last-of-type {
    margin-bottom: 0;
}

.tools-section--coming {
    opacity: 0.95;
}

/* Section Header */
.tools-section__header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tools-section__header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tools-section__header h2 i {
    font-size: 1.1rem;
}

.tools-section__header h2 .text-success {
    color: var(--success);
}

.tools-section__header h2 .text-warning {
    color: var(--warning);
}

.tools-section__header p {
    color: var(--text-muted);
    font-size: 15px;
    margin-left: 38px;
}

/* ============================================================================
   TOOLS GRID
   ============================================================================ */
.tools__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.tools__grid--coming {
    grid-template-columns: repeat(2, 1fr);
}

/* ============================================================================
   TOOL CARD - BASE
   ============================================================================ */
.tool-card {
    position: relative;
    display: flex;
    gap: 28px;
    padding: 32px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: hidden;
}

/* Gradient border effect on hover */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Background glow */
.tool-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* ============================================================================
   TOOL CARD - ACTIVE STATE
   ============================================================================ */
.tool-card--active {
    cursor: pointer;
}

.tool-card--active:hover {
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(16, 185, 129, 0.1);
}

.tool-card--active:hover::before {
    opacity: 1;
}

.tool-card--active:hover::after {
    opacity: 1;
}

/* ============================================================================
   TOOL CARD - FEATURED (Large)
   ============================================================================ */
.tool-card--featured {
    flex-direction: column;
    padding: 40px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.05), rgba(17, 24, 39, 0.8));
    border-color: rgba(16, 185, 129, 0.15);
}

.tool-card--featured .tool-card__icon {
    width: 80px;
    height: 80px;
    font-size: 36px;
    margin-bottom: 8px;
}

.tool-card--featured .tool-card__title {
    font-size: 1.4rem;
}

.tool-card--featured .tool-card__desc {
    font-size: 15px;
    max-width: 600px;
}

.tool-card--featured .tool-card__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

/* ============================================================================
   TOOL CARD - COMING SOON STATE
   ============================================================================ */
.tool-card--coming {
    cursor: default;
    flex-direction: column;
    padding: 28px;
}

.tool-card--coming .tool-card__icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
    background: rgba(100, 116, 139, 0.1);
    border-color: rgba(100, 116, 139, 0.1);
    color: var(--text-muted);
}

.tool-card--coming .tool-card__title {
    color: var(--text-light);
}

/* ============================================================================
   TOOL CARD - BADGE
   ============================================================================ */
.tool-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.tool-card__badge--soon {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ============================================================================
   TOOL CARD - ICON
   ============================================================================ */
.tool-card__icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-lg);
    font-size: 28px;
    color: var(--success);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card--active:hover .tool-card__icon {
    background: linear-gradient(135deg, var(--success), #06b6d4);
    border-color: transparent;
    color: white;
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

/* ============================================================================
   TOOL CARD - CONTENT
   ============================================================================ */
.tool-card__content {
    flex: 1;
    min-width: 0;
}

.tool-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.tool-card__desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ============================================================================
   TOOL CARD - FEATURES LIST
   ============================================================================ */
.tool-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-card__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.tool-card__features li i {
    font-size: 10px;
    color: var(--success);
    width: 16px;
    text-align: center;
}

.tool-card__features--muted li {
    color: var(--text-muted);
}

.tool-card__features--muted li i {
    color: var(--text-muted);
    font-size: 6px;
}

/* ============================================================================
   TOOL CARD - LINK & STATUS
   ============================================================================ */
.tool-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--success);
    transition: gap 0.3s ease;
}

.tool-card--active:hover .tool-card__link {
    gap: 16px;
}

.tool-card__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 16px;
    background: rgba(100, 116, 139, 0.08);
    border-radius: var(--radius-full);
}

/* ============================================================================
   TOOLS SUGGESTION SECTION
   ============================================================================ */
.tools-suggestion {
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.06), rgba(0, 212, 255, 0.04));
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
.tools-suggestion::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tools-suggestion__content {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.tools-suggestion__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    font-size: 32px;
    color: var(--accent-light);
}

.tools-suggestion__text {
    flex: 1;
}

.tools-suggestion__text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.tools-suggestion__text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .tools__grid--coming {
        grid-template-columns: 1fr;
    }
    
    .tool-card--featured .tool-card__features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tools-page {
        padding: 40px 0 80px;
    }
    
    .tools-section {
        margin-bottom: 60px;
    }
    
    .tools-section__header h2 {
        font-size: 1.3rem;
    }
    
    .tools-section__header p {
        margin-left: 0;
    }
    
    .tool-card {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
    
    .tool-card__icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .tool-card--featured {
        padding: 28px;
    }
    
    .tool-card--featured .tool-card__icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    
    .tool-card__title {
        font-size: 1.1rem;
    }
    
    .tool-card--featured .tool-card__title {
        font-size: 1.2rem;
    }
    
    .tools-suggestion {
        padding: 32px 24px;
        margin-top: 60px;
    }
    
    .tools-suggestion__content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .tools-suggestion__text p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .tool-card__badge {
        top: 16px;
        right: 16px;
        padding: 5px 12px;
        font-size: 10px;
    }
    
    .tool-card--coming {
        padding: 20px;
    }
    
    .tool-card--coming .tool-card__icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
