/* Tools Hub Pro Redesign */
.tools-page-wrapper {
    background: #0a0e27;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.tools-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 800px;
    background: radial-gradient(circle at 50% 30%, rgba(66, 153, 225, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.tools-hero {
    text-align: center;
    margin-bottom: 6rem;
}

.hero-tag {
    display: inline-block;
    background: rgba(66, 153, 225, 0.1);
    color: #4299e1;
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(66, 153, 225, 0.2);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #4299e1, #ed8936);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #8b92b0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pro Grid */
.tools-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.pro-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.pro-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--accent), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pro-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pro-card:hover::before { opacity: 0.1; }

.pro-card.accent-cyan { --accent: #22d3ee; }
.pro-card.accent-purple { --accent: #a855f7; }
.pro-card.accent-orange { --accent: #ed8936; }
.pro-card.accent-green { --accent: #4ade80; }

.card-inner {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.tool-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(15, 23, 42, 0.5);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-badge.coming { color: #8b92b0; }

.tool-icon-pro {
    width: 64px; height: 64px;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s ease;
}

.pro-card:hover .tool-icon-pro {
    background: var(--accent);
    box-shadow: 0 0 40px var(--accent);
    border-color: transparent;
    transform: rotate(-5deg) scale(1.1);
}

.tool-title-pro {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.tool-description-pro {
    color: #8b92b0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-features {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.tool-features li {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tool-features li span { color: var(--accent); }

.card-footer-pro {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.launch-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pro-card:hover .card-footer-pro { color: var(--accent); }
.pro-card:hover .card-footer-pro svg { transform: translateX(8px); }

.pro-card.locked { opacity: 0.6; cursor: default; }
.pro-card.locked:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.05); }

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .tools-hero { margin-bottom: 4rem; }
    .pro-card { padding: 1.5rem; }
}

/* Softening Tools Hub Borders */
.pro-card { background: rgba(30, 41, 59, 0.25) !important; border: 1px solid rgba(255, 255, 255, 0.02) !important; }
.pro-card:hover { transform: translateY(-8px) !important; border-color: rgba(255, 255, 255, 0.06) !important; background: rgba(30, 41, 59, 0.4) !important; box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.5) !important; }
.tool-icon-pro { border: 1px solid rgba(255, 255, 255, 0.02) !important; }
.card-footer-pro { border-top: 1px solid rgba(255, 255, 255, 0.02) !important; }

/* Perfecting Tools Hub Centering */
.tools-container { max-width: 1300px !important; margin: 0 auto !important; width: 100% !important; padding: 0 40px !important; }
.tools-grid-pro { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; justify-content: center !important; }
@media (max-width: 768px) { .tools-container { padding: 0 20px !important; } .tools-grid-pro { grid-template-columns: 1fr !important; } }

/* Enforcing 2x2 Tools Hub Layout */
@media (min-width: 900px) { .tools-grid-pro { grid-template-columns: repeat(2, 1fr) !important; max-width: 900px !important; margin-left: auto !important; margin-right: auto !important; gap: 3rem !important; } }
@media (max-width: 899px) { .tools-grid-pro { grid-template-columns: 1fr !important; max-width: 500px !important; margin: 0 auto !important; } }
