/* Daily AI Stack - Brand Theme CSS */
/* Clean, white, trustworthy, comparison-focused */

:root {
    --bg: #ffffff;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --text: #2d3436;
    --text-muted: #636e72;
    --card-bg: #f8f9fa;
    --border: #e9ecef;
    --gold: #fdcb6e;
    --font: 'Inter', -apple-system, sans-serif;
}

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

body, html {
    font-family: var(--font) !important;
    background: var(--bg) !important;
    color: var(--text) !important;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--text); line-height: 1.3; }
img { max-width: 100%; height: auto; }

/* Hide Astra */
.ast-above-header-wrap, .ast-below-header-wrap,
.ast-main-header-wrap, #ast-desktop-header,
#ast-mobile-header, .site-header,
.ast-header-break-point .ast-mobile-header-wrap,
.main-header-bar, .ast-primary-header,
footer.site-footer, .site-footer,
.ast-small-footer, .ast-footer-overlay,
.ast-above-footer-wrap, .ast-below-footer-wrap,
#colophon { display: none !important; }

.site-content { margin: 0 !important; padding: 0 !important; }
#page, #content, .ast-container { max-width: 100% !important; padding: 0 !important; }
.entry-content { margin: 0 !important; }

/* Nav */
.brand-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand-nav .logo { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.brand-nav .logo span { color: var(--accent); }
.brand-nav nav a { color: var(--text-muted); margin-left: 2rem; font-size: 0.9rem; font-weight: 500; }
.brand-nav nav a:hover { color: var(--accent); }

/* Hero */
.hero {
    padding: 5rem 2rem 4rem; text-align: center;
    background: linear-gradient(180deg, #f0efff 0%, #ffffff 100%);
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.search-bar {
    max-width: 500px; margin: 0 auto 1.5rem; position: relative;
}
.search-bar input {
    width: 100%; padding: 1rem 1.25rem; border: 2px solid var(--border);
    border-radius: 12px; font-size: 1rem; background: white;
    font-family: var(--font);
}
.search-bar input:focus { outline: none; border-color: var(--accent); }
.btn-primary {
    display: inline-block; padding: 0.8rem 1.8rem;
    background: var(--accent); color: white; font-weight: 600;
    border-radius: 8px; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108,92,231,0.3); color: white; }

.section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.cat-card {
    background: var(--card-bg); padding: 1.5rem; border-radius: 12px;
    text-align: center; border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s; cursor: pointer;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.cat-card h3 { font-size: 0.95rem; font-weight: 600; }

/* Reviews grid */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.review-card {
    background: white; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: box-shadow 0.3s, transform 0.2s;
}
.review-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.review-card-img { width: 100%; height: 180px; object-fit: cover; }
.review-card-body { padding: 1.25rem; }
.review-card-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.review-card-body p { font-size: 0.85rem; color: var(--text-muted); }
.rating-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 0.9rem;
    background: var(--accent); color: white; float: right; margin-top: -0.5rem;
}
.tag-pill {
    display: inline-block; padding: 0.2rem 0.7rem; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600; background: #f0efff; color: var(--accent);
    margin-top: 0.75rem;
}

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; }
.comparison-table th { background: var(--accent); color: white; padding: 0.75rem 1rem; text-align: left; font-size: 0.85rem; }
.comparison-table td { padding: 0.75rem 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.comparison-table tr:nth-child(even) { background: var(--card-bg); }
.comparison-table tr.winner { background: #fff3cd; }

/* Newsletter */
.newsletter {
    text-align: center; padding: 4rem 2rem;
    background: var(--card-bg); border-radius: 16px; margin: 2rem auto; max-width: 1100px;
}
.newsletter h2 { margin-bottom: 0.5rem; }
.newsletter p { color: var(--text-muted); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
    flex: 1; padding: 0.8rem 1rem; border: 2px solid var(--border); border-radius: 8px;
    font-size: 0.95rem; font-family: var(--font);
}
.newsletter-form button {
    padding: 0.8rem 1.5rem; border: none; border-radius: 8px;
    background: var(--accent); color: white; font-weight: 600; cursor: pointer;
}

.brand-footer {
    text-align: center; padding: 2rem; border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.85rem;
}
.brand-footer a { color: var(--text-muted); margin: 0 1rem; }

/* Single post */
.single .entry-content { max-width: 720px !important; margin: 0 auto !important; padding: 2rem !important; font-size: 1.05rem; }
.single .entry-title { font-size: 2.2rem; text-align: center; max-width: 800px; margin: 4rem auto 1rem !important; }

/* Responsive */
@media (max-width: 768px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .brand-nav nav a { margin-left: 1rem; font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .brand-nav nav { display: none; }
}
