/*
Theme Name: Consuly AI
Description: A modern WordPress theme for Consuly.ai - Centralize, Consolidate, Control. Built with Tailwind CSS and designed for AI-focused content.
Author: Consuly Team
Version: 1.1.0
Text Domain: consuly-ai
*/

body {
    font-family: 'Lexend', sans-serif;
    background-color: #020617;
    color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.horizontal-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(148, 163, 184, 0.2);
}

.mobile-menu {
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.slider-item {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out;
}

.slider-item.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-bullets {
    display: flex;
    gap: 0.5rem;
}

.slider-bullet {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: rgba(148, 163, 184, 0.4);
    transition: all 0.3s ease;
}

.slider-bullet.active {
    background-color: #3b82f6;
    width: 24px;
}

.solution-tab-visual {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-tab-visual.active {
    opacity: 1;
}

header.is-scrolled {
    background-color: rgba(2, 6, 23, 0.95);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.45);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background-color: #0f172a;
    color: #f8fafc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-select {
    appearance: none;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.prose {
    color: #cbd5f5;
    max-width: none;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #f8fafc;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.prose a {
    color: #60a5fa;
}

.prose a:hover {
    color: #93c5fd;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
    color: #f8fafc !important;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5f5;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #f8fafc;
}

.pagination .page-numbers.current {
    background: #3b82f6;
    color: #f8fafc;
}

.wp-block-group {
    margin-bottom: 0;
}

.site-footer-links a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.site-footer-links a:hover {
    color: #f8fafc;
}

.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- ContentAtlas Section Styles --- */

/* Custom Scrollbar hide */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism utilities */
.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation specific styles */
.slide-enter {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    to { opacity: 1; transform: translateY(0); }
}

.data-row {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-text {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Progress Bar Animation */
.progress-bar {
    width: 0%;
    transition: width 0.1s linear;
}

.progress-active {
    width: 100%;
    transition: width 8s linear; /* Matches slide duration */
}

/* Box Shadow Glow */
.box-shadow-glow {
    box-shadow: 0 0 10px 2px currentColor;
}
