/*
Theme Name: Custom AI Theme
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: A custom WordPress theme with AI integration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, ai, openai, wordpress
Text Domain: custom-ai-theme
*/

/* Add your theme styles here */
body {
    max-width: 100vw;
    overflow-x: clip;
}

/* Auth Modal Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

#ww-auth-modal > div {
    animation: fadeIn 0.3s ease-out;
}

/* AI Chat basic styles */
.ai-chat {
    max-width: 800px;
    margin: 2rem auto;
}

.ai-chat textarea.ai-chat-input {
    width: 100%;
    padding: 0.75rem;
    resize: vertical;
}

.ai-chat .ai-chat-send {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.ai-chat .ai-chat-response {
    margin-top: 1rem;
    white-space: pre-wrap;
    background: #f7f7f7;
    padding: 0.75rem;
    border-radius: 4px;
}


/* Footer Styles */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #1f2937;
}

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

.footer-about {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1f2937;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: 600px;
}

.footer-features {
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #1f2937;
    text-align: center;
}

.site-info p {
    margin: 0.25rem 0;
    font-size: 0.85rem;
}

.footer-attribution a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-attribution a:hover {
    text-decoration: underline;
}


/* Footer Legal Links */
.footer-legal {
    margin-top: 0.5rem;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: #60a5fa;
}

/* FAQ Section Styles */
#faq-section details {
    transition: all 0.2s ease;
}

#faq-section details[open] {
    background: #1f2937;
}

#faq-section summary {
    list-style: none;
}

#faq-section summary::-webkit-details-marker {
    display: none;
}

/* Trust Section */
#trust-section {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
}


/* Footer Contact */
.footer-contact {
    margin: 0.5rem 0;
}

.footer-contact a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}
/* Newsletter Popup Styles */
@keyframes ww-slide-up{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
.ww-nl-input{width:100%;box-sizing:border-box;background:#0f172a;border:1px solid #374151;border-radius:.625rem;color:#f9fafb;padding:.625rem .875rem;font-size:.9rem;outline:none;margin-bottom:.75rem;}
.ww-nl-input:focus{border-color:#3b82f6;}
