/*
Theme Name: Bharat AI Marketing
Author: gohelkunjan
Author URI: https://profiles.wordpress.org/gohelkunjan/
Description: A high-conversion, futuristic Block Theme designed for AI SaaS, digital marketing agencies, and technology startups. Bharat AI Marketing features dark mode aesthetics, glassmorphism effects, a data-rich dashboard hero, and conversion-optimized patterns.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bharat-ai-marketing
Tags: blog, one-column, custom-colors, custom-logo, editor-style, featured-images, block-themes, full-site-editing, block-patterns, wide-blocks

Bharat AI Marketing WordPress Theme, (C) 2026 gohelkunjan.
Bharat AI Marketing is distributed under the terms of the GNU GPL.

Copyright (C) 2026 gohelkunjan
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===================================
   DESIGN SYSTEM UTILITIES
   =================================== */

/* --- Glassmorphism Card --- */
.bharat-glass {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bharat-glass:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 255, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 255, 0.08);
}

/* --- Gradient Headline Text --- */
.bharat-gradient-text {
    background: linear-gradient(135deg, #00F2FF 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.2));
}

/* --- Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050B14;
}

::-webkit-scrollbar-thumb {
    background: #1F2937;
    border-radius: 5px;
    border: 2px solid #050B14;
}

::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

.bharat-main-inner {
    padding-top: 8.5rem !important;
    padding-bottom: 4rem !important;
}

.bharat-main-inner .wp-block-post-title,
.bharat-main-inner .wp-block-heading {
    margin-bottom: 1.5rem !important;
}

/* --- Hero Background Ambience --- */
.bharat-hero-bg {
    position: relative;
    overflow: hidden;
}

.bharat-hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 55%;
    height: 55%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bharat-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bharat-hero-bg>* {
    position: relative;
    z-index: 1;
}

/* --- Pill Badge --- */
.bharat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 242, 255, 0.06);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 9999px;
    color: #00F2FF;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* --- Mockup Window (CSS-only Dashboard) --- */
.bharat-mockup-window {
    background: linear-gradient(180deg, #111827 0%, #060d18 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 242, 255, 0.08);
    overflow: hidden;
}

.bharat-mockup-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.bharat-mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #374151;
}

.bharat-mockup-dot:nth-child(1) {
    background: #EF4444;
}

.bharat-mockup-dot:nth-child(2) {
    background: #F59E0B;
}

.bharat-mockup-dot:nth-child(3) {
    background: #10B981;
}

.bharat-mockup-content {
    padding: 2rem;
}

/* --- Icon Box --- */
.bharat-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* --- Testimonial Stars --- */
.bharat-stars {
    color: #F59E0B;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* --- Buttons --- */
.wp-block-button__link {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 255, 0.25);
}

.is-style-outline .wp-block-button__link:hover {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
}

/* --- Separator Line --- */
.bharat-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.3), transparent);
    margin: 0;
}

/* --- Stat Counter --- */
.bharat-stat-value {
    font-weight: 700;
    line-height: 1;
}

/* --- Glass Header --- */
.bharat-floating-header {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1280px);
    background: rgba(11, 21, 36, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    z-index: 1000;
    padding: 0.75rem 1.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bharat-floating-header:hover {
    border-color: rgba(0, 242, 255, 0.3) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.05);
}

/* --- Hero Background Ambience --- */
.bharat-hero-bg {
    position: relative;
    overflow: hidden;
    padding-top: 8rem !important;
    /* Extra padding for floating header */
}

.bharat-hero-bg::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-slow 15s infinite alternate;
}

.bharat-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-slow 12s infinite alternate-reverse;
}

@keyframes pulse-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.bharat-hero-bg>* {
    position: relative;
    z-index: 1;
}

/* --- Pill Badge --- */
.bharat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: 9999px;
    color: #00F2FF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

/* --- Mockup Window (CSS-only Dashboard) --- */
.bharat-mockup-window {
    background: linear-gradient(180deg, #101827 0%, #060d18 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 40px 80px -12px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 242, 255, 0.12);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bharat-mockup-window:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-10px) !important;
}

.bharat-mockup-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bharat-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bharat-mockup-dot:nth-child(1) {
    background: #FF5F57;
}

.bharat-mockup-dot:nth-child(2) {
    background: #FEBC2E;
}

.bharat-mockup-dot:nth-child(3) {
    background: #28C840;
}

.bharat-mockup-content {
    padding: 2.5rem;
}

/* --- Icon Box --- */
.bharat-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* --- Testimonial Stars --- */
.bharat-stars {
    color: #F59E0B;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* --- Buttons --- */
.wp-block-button__link {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 242, 255, 0.35);
}

.is-style-outline .wp-block-button__link {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
    color: #F3F4F6 !important;
}

.is-style-outline .wp-block-button__link:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: none;
}

/* --- Separator Line --- */
.bharat-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.3), transparent);
    margin: 0;
}

/* --- Stat Counter --- */
.bharat-stat-value {
    font-weight: 700;
    line-height: 1;
}

/* --- Header Alignment (Deprecated by Floating) --- */
.bharat-header {
    width: 100%;
}

/* --- Mobile Navigation Overlay (Dark Theme) --- */
.wp-block-navigation__responsive-container.is-menu-open {
    background-color: #050B14 !important;
    color: #F3F4F6 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    color: #F3F4F6 !important;
    font-size: 1.25rem;
    padding: 1rem 0;
    font-weight: 600;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover {
    color: #00F2FF !important;
}

.wp-block-navigation__responsive-container-open {
    color: #F3F4F6 !important;
}

/* --- Navigation Typography --- */
.wp-block-navigation .wp-block-navigation-item a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
    color: #F3F4F6;
}

.wp-block-navigation .current-menu-item a {
    color: #F3F4F6 !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 782px) {
    .bharat-mockup-window {
        margin-top: 2rem;
    }

    .bharat-badge {
        font-size: 0.75rem;
    }
}

/* --- Pricing Card Button Alignment --- */
/* Make each pricing column a vertical flex container so the button always sits at the bottom */
.bharat-pricing-card {
    display: flex !important;
    flex-direction: column !important;
}

.bharat-pricing-card .wp-block-buttons {
    margin-top: auto !important;
    padding-top: 2rem;
}

/* --- Scroll to Top Button --- */
#bharat-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00F2FF, #8B5CF6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.3);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

#bharat-scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#bharat-scroll-top:hover {
    box-shadow: 0 8px 32px rgba(0, 242, 255, 0.5);
    transform: translateY(-3px);
}

#bharat-scroll-top svg {
    color: #050B14;
    width: 20px;
    height: 20px;
}

/* --- Footer --- */
.bharat-footer {
    padding-left: max(var(--wp--preset--spacing--md), calc((100vw - 1280px) / 2)) !important;
    padding-right: max(var(--wp--preset--spacing--md), calc((100vw - 1280px) / 2)) !important;
}

.bharat-footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 2rem 0;
}

/* --- Premium Pagination Styling --- */
.wp-block-query-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-top: 4rem !important;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: #9CA3AF !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.wp-block-query-pagination a:hover {
    background: rgba(0, 242, 255, 0.1) !important;
    border-color: rgba(0, 242, 255, 0.4) !important;
    color: #00F2FF !important;
    transform: translateY(-2px) !important;
}

.wp-block-query-pagination .current {
    background: linear-gradient(135deg, #00F2FF, #8B5CF6) !important;
    border: none !important;
    color: #050B14 !important;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3) !important;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    font-size: 1.25rem !important;
    line-height: 1 !important;
}

.wp-block-query-pagination .dots {
    color: #4B5563 !important;
    font-weight: 800 !important;
    padding: 0 4px !important;
}