/* Variables */
:root {
    --color-primary: #2A5298;
    --color-secondary: #30B5AF;
    --color-accent: #FF6B35;
    --color-dark: #1A2A40;
    --color-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray: #666666;
    --color-gray-dark: #4A5568;
    --color-border: #E1E5E9;
    --color-hover: #1E407E;
    --color-accent-hover: #E85A20;
    --color-success: #48BB78;
    --color-warning: #ED8936;
    
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    --border-radius: 8px;
    --border-radius-large: 12px;
    --transition: all 0.3s ease;
    --animation-duration: 0.6s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-card);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.logo {
    width: 164px;
    height: 60px;

}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.site-info {
    display: flex;
    flex-direction: column;
}

.site-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-tagline {
    color: var(--color-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--color-gray-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: rgba(42, 82, 152, 0.1);
}

/* Main Content */
.main-content {
    padding: 2rem 0 4rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(48, 181, 175, 0.05) 100%);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-card);
}

.hero-title {
    font-size: 2.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.beta-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

/* Category Section */
.category-section {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0 1rem;
    border-bottom: 2px solid var(--color-border);
}

.category-icon {
    font-size: 2rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 600;
    flex: 1;
}

.category-count {
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Tool Cards */
.tool-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

.tool-card.coming-soon {
    opacity: 0.8;
    position: relative;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.tool-icon {
    font-size: 2.5rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--color-gray-light), #E2E8F0);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
    min-width: 0;
}

.tool-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.tool-name-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.tool-name-link:hover {
    color: var(--color-primary);
}

.tool-category {
    font-size: 0.8rem;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-description {
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tool Actions */
.tool-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tool-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.tool-button.primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.tool-button.primary:hover {
    background-color: var(--color-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.tool-button.secondary {
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
    border: 1px solid var(--color-border);
}

.tool-button.secondary:hover {
    background-color: var(--color-border);
    color: var(--color-dark);
}

.tool-button.disabled {
    background-color: var(--color-gray-light);
    color: var(--color-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Coming Soon Overlay */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-warning), #F6AD55);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-bottom-left-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
    margin: 3rem 0;
}

.contact-card {
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(42, 82, 152, 0.02) 100%);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.contact-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-description {
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-button {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    margin-top: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.copyright {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate {
    animation: fadeInUp var(--animation-duration) ease forwards;
}

.animate-slide {
    animation: slideInLeft var(--animation-duration) ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .logo {
        width: 137px;
        height: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        width: 110px;
        height: 40px;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .tool-card {
        padding: 1.25rem;
    }
    
    .tool-header {
        gap: 0.75rem;
    }
    
    .tool-icon {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
    
    .tool-name {
        font-size: 1.1rem;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .tool-button {
        width: 100%;
        justify-content: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-success);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background-color: var(--color-accent);
}





/* Font Awesome icon styling */
.tool-icon i,
.category-icon,
.contact-icon i {
    color: var(--color-secondary);
}

.category-icon {
    font-size: 32px;
    color: var(--color-primary);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: var(--color-accent);
}

.tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    font-size: 2.5rem;
}