/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0b0f19;
    color: #e5e7eb;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: #0b0f19;
    border-bottom: 1px solid #1f2937;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    font-weight: 400;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 0 0;
}

/* Tools Section */
.tools-section {
    padding: 0 0 60px;
}

/* Featured Section Styling */
.featured-section {
    position: relative;
}

.featured-section .section-header {
    position: relative;
    padding-bottom: 20px;
}

.featured-section .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f3f4f6;
}

.section-title-large {
    font-size: 2.4rem;
    color: #3b82f6;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.section-title-small {
    font-size: 1.75rem;
}

.featured-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-description {
    font-size: 1.1rem;
    color: #9ca3af;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Tool Card */
.tool-card {
    background: #121826;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    border-color: #374151;
    background: #151d2e;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(20%);
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 16px;
}

.tool-description {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.tool-button {
    width: 100%;
    padding: 14px 24px;
    background: #1e3a8a;
    color: #e5e7eb;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}

.tool-button-link {
    text-decoration: none;
    display: block;
}

/* Tool button as anchor link */
.tool-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #1e3a8a;
    color: #e5e7eb;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    outline: none;
}

.tool-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}

.tool-button:hover,
.tool-btn:hover {
    transform: translateY(-2px);
    background: #2563eb;
    box-shadow: 0 0 20px 2px rgba(59, 130, 246, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tool-button:active,
.tool-btn:active {
    transform: translateY(0);
}

.tool-button:disabled {
    background: #1f2937;
    cursor: not-allowed;
    opacity: 0.5;
}

.tool-button:disabled:hover {
    transform: none;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}

.tool-btn-disabled {
    background: #1f2937;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #1f2937;
    background: #121826;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

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

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

    .main-content {
        padding: 40px 0;
    }

    .section-title-large {
        font-size: 2rem;
    }

    .section-title-small {
        font-size: 1.5rem;
    }

    .featured-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title-large {
        font-size: 1.75rem;
    }

    .section-title-small {
        font-size: 1.4rem;
    }

    .section-title-wrapper {
        gap: 8px;
    }

    .tool-card {
        padding: 28px 20px;
    }

    .tool-title {
        font-size: 1.25rem;
    }
}
