/* Base Styles */
:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #5b21b6;
    --color-primary-light: #8b5cf6;
    --color-secondary: #10b981;
    --color-secondary-dark: #059669;
    --color-accent: #3b82f6;
    --color-neutral-50: #f8fafc;
    --color-neutral-100: #f1f5f9;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1e293b;
    --color-neutral-900: #0f172a;
    --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-neutral-800);
    line-height: 1.6;
    background: white;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--color-neutral-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--color-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-family);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-neutral-700);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 99;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

/* Hero Section */
.tools-hero {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #f8f5ff, white, #f0f9ff);
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-neutral-600);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--color-neutral-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-neutral-400);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--color-neutral-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-neutral-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-neutral-600);
}

/* Tools Section */
.tools-section {
    padding: 4rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.tool-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--color-neutral-200);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.1);
    border-color: var(--color-primary);
}

.tool-card.featured {
    border: 2px solid var(--color-primary);
}

.tool-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.tool-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tool-tag {
    padding: 0.25rem 0.75rem;
    background: var(--color-neutral-100);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-neutral-700);
}

.featured-tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
}

.tool-card-body {
    flex: 1;
    margin-bottom: 1.5rem;
}

.tool-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-neutral-900);
}

.tool-card-body p {
    color: var(--color-neutral-600);
    margin-bottom: 1rem;
}

.tool-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-neutral-700);
}

.tool-features i {
    color: var(--color-secondary);
}

.tool-card-footer {
    margin-top: auto;
}

/* Categories Section */
.categories-section {
    padding: 4rem 1.5rem;
    background: var(--color-neutral-50);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-neutral-200);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.1);
}

.category-card.coming-soon {
    opacity: 0.7;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.category-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-neutral-900);
}

.category-card p {
    color: var(--color-neutral-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.tool-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Usage Section */
.usage-section {
    padding: 4rem 1.5rem;
}

.usage-steps {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.usage-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-neutral-900);
}

.step-content p {
    color: var(--color-neutral-600);
}

.security-notice {
    background: var(--color-neutral-50);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-neutral-200);
}

.security-notice h4 {
    margin-bottom: 0.5rem;
    color: var(--color-neutral-900);
}

.security-notice p {
    color: var(--color-neutral-600);
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: var(--color-neutral-900);
    color: white;
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-neutral-400);
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-column a {
    color: var(--color-neutral-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-neutral-400);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.75rem !important;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .usage-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        display: none !important;
    }
    
    .nav-buttons {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}
