@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');

/**
 * World Class Standalone Prototype
 * Deep AI aesthetics, glassmorphism, fluid responsiveness
 */

:root {
    /* Color Palette */
    --c-bg-master: #030712; /* deepest void blue */
    --c-bg-surface: #111827;
    --c-primary: #3b82f6; /* Electric Blue */
    --c-primary-glow: rgba(59, 130, 246, 0.5);
    --c-secondary: #0ea5e9;
    --c-accent: #8b5cf6; /* Vibrant Purple */
    
    /* Text */
    --c-text-main: #f9fafb;
    --c-text-muted: #9ca3af;
    
    /* Layouts */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 9999px;
    
    /* Glass */
    --glass-bg: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body, html, .site-wrapper, .thrv_wrapper, #wrapper, .bsw-wrapper, .bsw-content {
    font-family: 'Inter', sans-serif !important;
    background-color: var(--c-bg-master) !important;
    color: var(--c-text-main) !important;
    line-height: 1.6 !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand, .btn {
    font-family: 'Space Grotesk', sans-serif !important;
    color: #fff !important;
}

/* Force inner Thrive elements to adopt dark mode */
.entry-content, .entry-content p, .entry-content li, .entry-content span, .glass-card span {
    color: #d1d5db !important; 
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content strong {
    color: #ffffff !important;
}

/* Ensure our tool cards don't get messed up */
.ai-tool-card h3, .bento-item h3, .tool-info strong, .glass-card h1, .glass-card h2, .glass-card h3, .hero-title, .section-title, .badge-pill {
    color: #ffffff !important;
}
.ai-tool-card *, .bento-item *, .tool-info *, .glass-card p, .glass-card li, .hero-subtitle, .section-desc {
    color: var(--c-text-muted) !important;
}
.btn, .btn-primary, .btn-secondary { color: #fff !important; }

/* Sidebar Widget Styling */
.widget-area { margin-top: 0; }
.widget { margin-bottom: 2.5rem; }
.widget-title { font-size: 1.25rem !important; margin-bottom: 1.25rem !important; border-bottom: 1px solid var(--glass-border); padding-bottom: 0.75rem; color: #fff !important; }
.widget ul, .widget ol { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.75rem; color: #d1d5db !important; }
.widget ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.widget a { color: inherit; }
.widget a:hover { color: var(--c-primary) !important; }
.text-primary { color: var(--c-primary) !important; }
.text-secondary { color: var(--c-secondary) !important; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-xl { margin-top: 4rem; }
.text-sm { font-size: 0.875rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
}

.btn.compact {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    color: #fff;
    box-shadow: 0 4px 15px var(--c-primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--c-primary-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--c-text-main);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: inline-flex;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-primary);
}

/* Glass & Glow Foundation */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-panel {
    background: rgba(3, 7, 18, 0.7);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Ambient Background Lights */
.ambient-lights {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.light {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.light-1 {
    width: 600px; height: 600px;
    background: var(--c-primary);
    top: -200px; left: -100px;
}

.light-2 {
    width: 500px; height: 500px;
    background: var(--c-accent);
    top: 20%; right: -150px;
    animation-delay: -5s;
}

.light-3 {
    width: 400px; height: 400px;
    background: var(--c-secondary);
    bottom: -100px; left: 30%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand i { color: var(--c-primary); }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-text-muted);
}

.nav-links a:hover {
    color: #fff;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-round);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-primary);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: var(--c-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--c-primary), #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--c-text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--c-bg-master);
    margin-left: -10px;
}
.avatar-group img:first-child { margin-left: 0; }

/* 3D Floating Hero Graphic Area */
.hero-graphic {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite alternate;
}

.fc-1 {
    top: 10%; right: 10%;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation-delay: -2s;
}

.fc-1 i {
    font-size: 2rem; color: #10b981;
}

.fc-1 .value {
    display: block; font-size: 1.5rem; font-weight: 700; color: #fff;
}
.fc-1 .label {
    font-size: 0.75rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 1px;
}

.fc-2 {
    bottom: 20%; left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation-delay: -4s;
}

.bg-gradient-brand {
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.tool-info strong { display: block; font-size: 0.95rem; }
.tool-info span { font-size: 0.8rem; color: var(--c-text-muted); }

.fc-3 {
    top: 40%; right: 0;
    width: 200px;
}

.graph-bar {
    height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); margin-bottom: 0.75rem;
}
.graph-bar.w-70 { width: 70%; }
.graph-bar.w-100 { width: 100%; }
.graph-bar.highlight { background: var(--c-primary); }
.fc-3 span { font-size: 0.75rem; color: var(--c-text-muted); }

.glass-sphere {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 250px; height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), rgba(255,255,255,0.01));
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1), 0 20px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0px) rotateX(0deg); }
    100% { transform: translateY(-20px) rotateX(5deg); }
}

/* Ticker Section */
.ticker-section {
    padding: 2rem 0;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--c-text-muted);
    padding: 0 3rem;
    white-space: nowrap;
}
.ticker-item i { color: var(--c-primary); }

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); } /* Assuming duplication exactly doubles width */
}

/* Sections Global */
.section { padding: 8rem 0; }

.section-header { margin-bottom: 4rem; }
.section-title { font-size: 3rem; letter-spacing: -1px; margin-bottom: 1rem; }
.section-desc { font-size: 1.125rem; color: var(--c-text-muted); }

/* Grids */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* AI Tool Cards */
.ai-tool-card {
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ai-tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--radius-lg);
    padding: 1px; /* border width */
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-glow {
    position: absolute;
    width: 150px; height: 150px;
    background: var(--c-primary);
    filter: blur(80px);
    opacity: 0;
    top: 0; left: 50%; transform: translateX(-50%);
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
}

.ai-tool-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
}

.ai-tool-card:hover .card-glow { opacity: 0.2; }

.tool-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 1.5rem;
    position: relative; z-index: 1;
}

.tool-logo img {
    width: 56px; height: 56px; border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.tool-actions {
    display: flex; align-items: center; gap: 0.5rem;
}

.rating-badge {
    background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b; padding: 0.25rem 0.5rem; border-radius: var(--radius-round);
    font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem;
}

.tool-body {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
    position: relative; z-index: 1;
}

.tool-name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.tool-category { font-size: 0.875rem; color: var(--c-primary); margin-bottom: 1rem; font-weight: 500;}
.tool-excerpt { color: var(--c-text-muted); font-size: 0.95rem; }

.tool-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
    display: flex; flex-direction: column; gap: 1rem;
    position: relative; z-index: 1;
}

.price-tag {
    font-size: 0.875rem; color: #fff; font-weight: 500; text-align: center;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 0;
}

.bento-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-item:hover { transform: scale(1.02); }
.bento-item:hover .bento-bg { transform: scale(1.05); }

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--c-primary);
    border-radius: var(--radius-round);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bento-large h3 { font-size: 2.5rem; margin-bottom: 1rem; }
.bento-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.icon-wrap {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
}

.read-link {
    font-weight: 600; display: flex; align-items: center; gap: 0.5rem; color: var(--c-secondary);
}

/* Newsletter */
.newsletter-card {
    padding: 4rem;
    position: relative;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.newsletter-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.display-icon {
    font-size: 4rem; color: var(--c-accent); margin-bottom: 1rem;
}

.newsletter-content h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.newsletter-content p { color: var(--c-text-muted); max-width: 600px; margin: 0 auto 2rem; }

.newsletter-form {
    max-width: 500px; margin: 0 auto;
}

.input-group {
    display: flex;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-round);
    padding: 0.5rem;
    padding-left: 1.5rem;
    align-items: center;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--c-primary);
    box-shadow: 0 0 15px rgba(59,130,246,0.3);
}

.input-group i { color: var(--c-text-muted); font-size: 1.25rem; }

.input-group input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 1rem;
    flex-grow: 1;
    outline: none;
}

.input-group .btn {
    border-radius: var(--radius-round);
}

.disclaimer {
    font-size: 0.75rem !important; margin-top: 1rem !important;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: var(--c-bg-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--c-text-muted); margin-top: 1rem; max-width: 300px;
}

.footer-links h4 { margin-bottom: 1.5rem; }
.footer-links a {
    display: block; color: var(--c-text-muted); margin-bottom: 0.75rem;
}
.footer-links a:hover { color: var(--c-primary); transform: translateX(5px); }

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem; color: var(--c-text-muted); font-size: 0.875rem;
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-blur {
    opacity: 0;
    filter: blur(20px);
    transition: all 1s ease-out;
}

.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-ctas { justify-content: center; }
    .social-proof { justify-content: center; }
    .hero-title { font-size: 3.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .newsletter-card { padding: 2rem 1rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; grid-row: span 1; }
    .input-group { flex-direction: column; border-radius: var(--radius-md); gap: 0.5rem; padding: 1rem; }
    .input-group i { display: none; }
    .input-group .btn { width: 100%; border-radius: var(--radius-sm); }
}

@media (max-width: 640px) {
    .grid-3, .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; grid-row: span 1; }
}

/* ============================================
   SINGLE AI TOOL PAGE - SPACIOUS LAYOUT FIX
   These rules specifically target the tool 
   review page to ensure generous, readable 
   spacing and override any Thrive conflicts.
============================================= */

.site-main { 
    padding-top: 6rem !important; 
    padding-bottom: 6rem !important; 
}

/* Header card spaciousness */
.entry-header.glass-card { 
    padding: 4rem 3rem !important;
    margin-bottom: 3rem !important;
}

/* Breathing room between header and content grid */
.single-ai_tool .grid,
.posttype-ai_tool .grid {
    margin-top: 3rem !important;
    gap: 3rem !important;
}

/* Main content deep dive card */
.entry-content.glass-card {
    padding: 3rem 3rem !important;
    font-size: 1.125rem !important;
    line-height: 1.9 !important;
}

.entry-content.glass-card p { 
    margin-bottom: 1.5rem !important; 
    line-height: 1.9 !important;
}

.entry-content.glass-card h2 { 
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important; 
    font-size: 2rem !important;
}

.entry-content.glass-card h3 { 
    margin-top: 2rem !important;
    margin-bottom: 1rem !important; 
    font-size: 1.5rem !important;
}

.entry-content.glass-card ul, 
.entry-content.glass-card ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.entry-content.glass-card li {
    margin-bottom: 0.75rem !important;
    line-height: 1.7 !important;
}

/* Sidebar meta cards */
.sidebar-meta .glass-card {
    padding: 2rem 2rem !important;
    margin-bottom: 2rem !important;
}

.sidebar-meta h3 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.sidebar-meta p, .sidebar-meta li {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #9ca3af !important;
}

/* Quick stats row in header */
.quick-stats { 
    gap: 3rem !important; 
    margin-top: 1.5rem !important;
    font-size: 1.1rem !important;
}

/* Visit CTA button area */
.entry-header .mt-5 { margin-top: 2.5rem !important; }

/* Related tools heading clarity */
.related-tools-section { padding-top: 1rem; }
.related-tools-section h2 { margin-bottom: 3rem !important; }

/* AI Tool Directory Layout Enhancements */
.grid-responsive {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

@media (max-width: 991px) {
    .grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .sidebar-meta {
        position: static !important;
        margin-top: 3rem;
    }
    .hero-title {
        font-size: 2.5rem !important;
    }
    .usecases-section, .features-section, .gallery-section {
        margin-top: 3rem;
    }
}

.grid-responsive-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-responsive-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .grid-responsive-cards {
        grid-template-columns: 1fr !important;
    }
}

/* CSS Grid Gallery Images */
.css-grid-gallery img {
    transition: transform 0.3s ease;
}
.css-grid-gallery img:hover {
    transform: scale(1.02);
}

