/* CSS Variables for Theming */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    --accent-primary: #00b4b6;
    --accent-secondary: #00a3a5;
    --accent-gradient: linear-gradient(45deg, #00b4b6 0%, #00a3a5 100%);
    --success: #16a34a;
    --warning: #eab308;
    --error: #dc2626;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-light: #334155;
    --border-medium: #475569;
    --border-dark: #64748b;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-size: 14px;
    min-height: 100vh;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.app-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    stroke: var(--accent-primary);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-api-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.hero-api-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 182, 0.3);
}

.hero-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.hero-notice i {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

.hero-notice.configured {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
    border-color: var(--success);
}

.hero-notice.configured i {
    color: var(--success);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Tools Section */
.tools-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.search-bar {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--accent-primary);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.search-bar:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 180, 182, 0.1);
}

.search-bar::placeholder {
    color: var(--text-muted);
}

/* Categories */
.categories {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    color: var(--accent-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
    background: var(--accent-primary);
    color: white;
}

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

.tool-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.tool-card:hover::before {
    transform: translateX(0);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tool-icon i {
    width: 28px;
    height: 28px;
    stroke: white;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

.tool-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent-primary);
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tool-badge.ai-powered {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.tool-badge.coming-soon {
    background: var(--text-muted);
    color: white;
}

/* Content Overview Section */
.content-overview {
    padding: 3rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.content-summary {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
}

.content-summary p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.content-summary p:last-child {
    margin-bottom: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-section {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.feature-list,
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.feature-list li,
.benefits-list li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before,
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.feature-list strong,
.benefits-list strong {
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background: var(--bg-tertiary);
}

.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: var(--accent-primary);
    font-family: serif;
    line-height: 1;
}

.testimonial-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.testimonial-content p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Features Section */
.features-section {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 1200px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), rgba(0, 180, 182, 0.3));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 180, 182, 0.15);
    border-color: var(--accent-primary);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item i {
    width: 60px;
    height: 60px;
    stroke: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    stroke: var(--accent-secondary);
}

.feature-item h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-tertiary));
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo i {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.powered-by {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: right;
}

.powered-by a {
    color: var(--accent-primary);
    text-decoration: none;
    margin-left: 0.25rem;
}

.powered-by a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .powered-by {
        text-align: center;
    }
    
    /* Mobile Responsive */
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-api-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .tools-section {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    
    .search-bar {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .categories {
        gap: 0.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .categories::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        flex-shrink: 0;
        border-width: 1.5px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .tool-card {
        padding: 1.25rem;
    }
    
    .tool-icon {
        width: 35px;
        height: 35px;
    }
    
    .tool-icon i {
        width: 18px;
        height: 18px;
    }
    
    .tool-name {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .tool-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .tool-badge {
        padding: 0.1rem 0.3rem;
        font-size: 0.5rem;
        top: 0.4rem;
        right: 0.4rem;
    }
    
    .features-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item i {
        width: 50px;
        height: 50px;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .tool-name {
        font-size: 0.9rem;
    }
    
    .tool-description {
        font-size: 0.75rem;
    }
    
    .category-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }
    
    .tool-badge {
        padding: 0.08rem 0.25rem;
        font-size: 0.45rem;
        border-radius: 6px;
        top: 0.3rem;
        right: 0.3rem;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--border-light);
}

.btn-link {
    background: none;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-weight: 600;
    padding: 0;
    margin-left: 0.5rem;
}

.btn-link:hover {
    opacity: 0.8;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.1);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-light);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.modal-header h3 i {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-close i {
    width: 16px;
    height: 16px;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

/* API Key Modal Specific */
.api-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.api-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.setup-steps {
    margin-bottom: 1.5rem;
}

.setup-steps h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.setup-steps ol {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    padding-left: 1.2rem;
}

.setup-steps li {
    margin-bottom: 0.5rem;
}

.setup-steps a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.setup-steps a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.api-key-input {
    display: flex;
    gap: 0.5rem;
}

.api-key-input .form-control {
    flex: 1;
}

.api-key-input .btn {
    min-width: auto;
    padding: 0.5rem 0.75rem;
}

.input-help {
    margin-top: 0.5rem;
}

.input-help small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.model-info {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.model-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.model-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.detail-value.free {
    color: var(--success);
}

.detail-value.premium {
    color: var(--accent-primary);
}

.detail-value.budget {
    color: var(--warning);
}

/* Dark Mode for Model Info */
[data-theme="dark"] .model-info {
    background: var(--bg-tertiary);
}

.api-status {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.status-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.status-value.success {
    color: var(--success);
}

.status-value.error {
    color: var(--error);
}

.status-value.warning {
    color: var(--warning);
}

/* Dark Mode for Modal */
[data-theme="dark"] .modal {
    background: var(--bg-primary);
    border-color: var(--border-light);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: var(--border-light);
}

[data-theme="dark"] .modal-footer {
    background: var(--bg-secondary);
    border-top-color: var(--border-light);
}

[data-theme="dark"] .api-info {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

[data-theme="dark"] .api-status {
    background: var(--bg-tertiary);
}

/* Header Navigation Update */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-nav .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-nav .btn i {
    width: 16px;
    height: 16px;
}

.header-nav .btn.api-configured {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
    border-color: var(--success);
}

.header-nav .btn.api-configured:hover {
    background: rgba(22, 163, 74, 0.2);
}

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

.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; }

/* Icons */
.feather {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* New sections mobile responsiveness */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .testimonial-item::before {
        font-size: 2rem;
        top: 0.75rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
}