/* AI Tool Crush - Brand Theme CSS */
/* Energetic, modern, gradient accents, discovery-focused */

:root {
    --bg: #fafafa;
    --text: #2c3e50;
    --text-muted: #7f8c8d;
    --card-bg: #ffffff;
    --border: #eee;
    --gradient: linear-gradient(135deg, #ff6b6b, #ee5a24);
    --gradient-soft: linear-gradient(135deg, #fff5f5, #fff0eb);
    --coral: #ff6b6b;
    --orange: #ee5a24;
    --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(--coral); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--orange); }

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.3rem; font-weight: 900; }
.brand-nav .logo .gradient-text {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.brand-nav nav a { color: var(--text-muted); margin-left: 2rem; font-size: 0.9rem; font-weight: 600; }
.brand-nav nav a:hover { color: var(--coral); }

/* Hero */
.hero {
    padding: 5rem 2rem 4rem; text-align: center;
    background: var(--gradient-soft);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 900; margin-bottom: 1rem; position: relative; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; position: relative; }
.btn-gradient {
    display: inline-block; padding: 0.9rem 2rem;
    background: var(--gradient); color: white; font-weight: 700;
    border-radius: 50px; font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
    position: relative;
}
.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,107,107,0.4); color: white; }

.section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 2rem; }
.section-title .emoji { margin-right: 0.5rem; }

/* Tool of the Day */
.tool-of-day {
    background: var(--card-bg); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative; margin-bottom: 2rem;
}
.tool-of-day::before {
    content: '🔥 Tool of the Day'; position: absolute; top: 1rem; left: 1rem;
    background: var(--gradient); color: white; padding: 0.3rem 1rem;
    border-radius: 20px; font-size: 0.8rem; font-weight: 700; z-index: 1;
}
.tool-of-day-img { width: 100%; height: 300px; object-fit: cover; }
.tool-of-day-body { padding: 1.5rem 1.5rem 1.5rem; }
.tool-of-day-body h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.tool-of-day-body p { color: var(--text-muted); }

/* Tool grid */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tool-card {
    background: var(--card-bg); border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}
.tool-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.tool-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px 14px 0 0; }
.tool-card-body { padding: 1.25rem; }
.tool-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.tool-card-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; }

.score-badge {
    display: inline-flex; align-items: center; font-weight: 800; font-size: 0.9rem;
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.score-badge::before { content: '▲'; margin-right: 0.3rem; font-size: 0.75rem; }

.category-tag {
    display: inline-block; padding: 0.2rem 0.65rem; border-radius: 6px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.tag-writing { background: #dfe6e9; color: #2d3436; }
.tag-image { background: #ffeaa7; color: #d63031; }
.tag-code { background: #c8f7c5; color: #27ae60; }
.tag-chat { background: #a29bfe; color: white; }
.tag-video { background: #fd79a8; color: white; }
.tag-productivity { background: #74b9ff; color: #0984e3; }

/* Newsletter */
.newsletter {
    text-align: center; padding: 4rem 2rem;
    background: var(--gradient-soft); border-radius: 20px;
    margin: 2rem auto; max-width: 1100px;
}
.newsletter h2 { margin-bottom: 0.5rem; font-weight: 800; }
.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.9rem 1rem; border: 2px solid var(--border); border-radius: 50px;
    font-size: 0.95rem; font-family: var(--font);
}
.newsletter-form input:focus { outline: none; border-color: var(--coral); }
.newsletter-form button {
    padding: 0.9rem 1.5rem; border: none; border-radius: 50px;
    background: var(--gradient); color: white; font-weight: 700; cursor: pointer;
    white-space: nowrap;
}

.brand-footer {
    text-align: center; padding: 2.5rem; color: var(--text-muted); font-size: 0.9rem;
}
.brand-footer a { color: var(--text-muted); margin: 0 0.75rem; }
.brand-footer .made-with { margin-top: 0.5rem; font-size: 0.85rem; }

/* 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) {
    .tool-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .brand-nav nav a { margin-left: 1rem; font-size: 0.8rem; }
    .tool-of-day-img { height: 200px; }
}
@media (max-width: 480px) {
    .brand-nav nav { display: none; }
}
