/*
Theme Name: AI Affiliate Pro
Theme URI: https://example.com/ai-affiliate-pro
Author: Manus AI
Author URI: https://manus.im
Description: A high-performance, affiliate marketing focused WordPress theme specifically designed for AI platform reviews and directories.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-affiliate
Tags: affiliate, ai-directory, review, marketing, modern, clean, responsive
*/

/* Reset and Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #1a202c; background-color: #f7fafc; }
a { color: #3182ce; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #2b6cb0; text-decoration: underline; }
img { max-width: 100%; height: auto; }

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

/* Header */
header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: #2d3748; }
.logo span { color: #4299e1; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 25px; }
nav ul li a { color: #4a5568; font-weight: 500; }

/* Main Content */
.main-wrapper { display: flex; gap: 40px; margin: 40px 0; }
.content-area { flex: 1; min-width: 0; }
aside { width: 300px; }

/* Affiliate Elements */
.affiliate-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 24px; margin-bottom: 30px; transition: transform 0.2s; }
.affiliate-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.cta-button { display: inline-block; background: #4299e1; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; text-align: center; border: none; cursor: pointer; }
.cta-button:hover { background: #3182ce; text-decoration: none; color: #fff; }
.rating { color: #ecc94b; font-size: 18px; margin-bottom: 10px; }

/* Footer */
footer { background: #2d3748; color: #fff; padding: 60px 0 20px; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-bottom { border-top: 1px solid #4a5568; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 14px; color: #a0aec0; }

/* Responsive */
@media (max-width: 768px) {
    .main-wrapper { flex-direction: column; }
    aside { width: 100%; }
    nav { display: none; }
}
