/**
 * Public Tools Pages - SEO Friendly
 * Clean, professional design for public-facing tool pages
 */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-light: #f9fafb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

/* Header */
.tools-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.2s;
}

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

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #f9fafb 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-cta {
    margin-top: 32px;
}

.hero-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
}

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

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.tool-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.tool-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(99,102,241,0.15);
    transform: translateY(-4px);
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tool-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.tool-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tool-features {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
}

.tool-features strong {
    color: var(--text);
    font-size: 14px;
}

.tool-features ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
}

.tool-features li {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.tool-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
    border-radius: 8px;
}

.price-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.price-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
}

.price-usd {
    font-size: 13px;
    color: var(--text-light);
}

.tool-actions {
    display: flex;
    gap: 12px;
}

.tool-actions .btn {
    flex: 1;
}

/* Features Section */
.features-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 48px;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    transform: scale(1.05);
}

/* Footer */
.tools-footer {
    background: var(--text);
    color: #fff;
    padding: 32px 0;
    text-align: center;
}

.tools-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tools-footer nav {
    display: flex;
    gap: 24px;
}

.tools-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.tools-footer a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .tools-footer .container {
        flex-direction: column;
        gap: 16px;
    }
}
