/* ========== COMPONENTS STYLES ========== */
/* All styles for navbar, header, footer and reusable components */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    line-height: 1.5;
}

/* ========== NAVBAR STYLES ========== */
#navbar-root{
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    background: rgba(255, 255, 255, 0.363);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 0.9rem 2rem;
    
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #7c3aed, #db2777);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-logo i {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

.btn-pricing {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white !important;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

/* ========== HEADER COMPONENT STYLES ========== */


.header{
        text-align: center;
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #1e3a8a;
    border-radius: 40px;
    padding: 0.3rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}


.component-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0 1rem;
}

.component-header .badge {
    display: inline-block;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #1e3a8a;
    border-radius: 40px;
    padding: 0.3rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.component-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.component-header .gradient-text {
    background: linear-gradient(120deg, #2563eb, #7c3aed, #db2777);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.component-header .tagline {
    font-size: 1.2rem;
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
}

.tagline {
    font-size: 1.2rem;
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(120deg, #2563eb, #7c3aed, #db2777);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem;
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #2563eb;
    font-size: 1.8rem;
}

.section-title:first-of-type {
    margin-top: 0;
}

/* ========== TOOLS GRID ========== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== TOOL CARD STYLES ========== */
.tool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 1.6rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    height: 100%;
}

.tool-card-link:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 35px -12px rgba(37, 99, 235, 0.2);
    transform: translateY(-5px);
    background: #ffffff;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #eef2ff, #e6edfc);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2563eb;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.tool-card-link:hover .icon-circle {
    transform: scale(1.02);
}

.tool-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #0f172a;
    line-height: 1.3;
}

.new-badge,
.popular-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 40px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    display: inline-block;
}

.popular-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tool-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #475569;
    margin-top: 0.25rem;
}

hr {
    margin: 1rem 0 0.9rem;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.demo-hint {
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4f46e5;
    transition: gap 0.25s;
}

.tool-card-link:hover .demo-hint {
    gap: 12px;
    color: #2563eb;
}

/* ========== FOOTER STYLES ========== */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: -0.2px;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.2s;
    font-size: 1.1rem;
    text-decoration: none;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #7e8ba0;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-bottom a:hover {
    color: #60a5fa;
}

@media (max-width: 700px) {
    .container {
        padding: 1.2rem;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .component-header h1 {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom a {
        margin: 0 0.5rem;
    }
}