/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #2563eb; /* blue-600 */
    --primary-dark: #1d4ed8; /* blue-700 */
    --primary-light: #60a5fa; /* blue-400 */
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border radius */
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    overflow-x: hidden;
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Improve contrast for gradient text on busy backgrounds */
.hero-title .text-gradient {
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

/* ===== NAVIGATION ===== */
.navbar {
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-md);
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: var(--gray-700) !important;
}

.navbar .navbar-brand img {
    filter: brightness(0);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Poster hero */
.hero--poster .hero-background.hero-bg-poster {
    background:
      radial-gradient(1200px 600px at 20% 20%, rgba(37,99,235,0.15), transparent),
      radial-gradient(900px 500px at 80% 30%, rgba(29,78,216,0.12), transparent),
      linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.hero-glass {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
    backdrop-filter: blur(8px);
}

.display-title {
    font-size: clamp(2.75rem, 6vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Command palette hero */
.hero--cmd .hero-background.hero-bg-soft {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.cmd-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: var(--shadow-lg);
}

.cmd-icon { color: var(--primary); }
.cmd-text { color: var(--gray-600); font-weight: 600; }

.cmd-actions { margin-left: auto; display: flex; gap: 8px; }

.chips .chip {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--gray-700);
    font-weight: 700;
}

.poster-meta .meta-pill {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    color: var(--gray-700);
}

.poster-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.poster-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(37,99,235,0.12), transparent 70%);
    filter: blur(8px);
}

.poster-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.poster-card-head {
    background: var(--primary);
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
}

.poster-item {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-100);
}

.poster-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.poster-item .dot.live { background: #10b981; }
.poster-item .dot.draft { background: #f59e0b; }

/* Modern hero add-ons */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #eef2ff;
    color: #334155;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
}

.hero--modern .hero-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 999px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.hero-kpis .kpi-item {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.hero--minimal .hero-background.hero-bg-grid {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    mask-image: radial-gradient(circle at 20% 30%, rgba(0,0,0,.08), transparent 40%),
                 radial-gradient(circle at 80% 70%, rgba(0,0,0,.06), transparent 40%);
}

.hero--split .hero-background.hero-bg-plain {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.hero--centered .hero-background.hero-bg-soft {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.hero--split .hero-preview-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6);
}

.hero--split .hero-preview-media {
    height: 180px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #e5f0ff, #ffffff);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--space-4);
}

.hero--split .hero-preview-meta {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.hero--split .meta-item {
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--gray-700);
}

/* Impact hero */
.hero--impact .hero-background.hero-bg-plain {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.hero--impact .hero-benefits li {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-weight: 500;
}

.trust-note {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.hero-logos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.logo-pill {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.hero--impact .hero-preview-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6);
}

.hero-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.stat-box {
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
}

.stat-number {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.85rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 10%;
    left: 60%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: var(--space-8);
    color: var(--gray-700);
}

.dashboard-preview {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.preview-window {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Modern mini-widgets inside hero preview */
.window-content .mini-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.mini-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow);
}

/* Hero testimonial + trusted-by */
.hero-testimonial {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow);
}

.hero-testimonial .quote {
    font-size: 0.95rem;
    color: var(--gray-700);
}

.trusted-by {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-4);
}

.trusted-badge {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    font-weight: 700;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    font-size: 0.8rem;
}

.hero-highlights {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow);
}

.highlight-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.highlight-row + .highlight-row {
    margin-top: var(--space-3);
}

.mini-card h6 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 800;
    color: var(--gray-800);
    margin: 0 0 var(--space-2) 0;
}

.trend-up { color: var(--success); font-weight: 700; }
.trend-down { color: var(--danger); font-weight: 700; }

.sparkline {
    height: 28px;
    background: linear-gradient(180deg, rgba(99,102,241,0.2), rgba(99,102,241,0));
    border-radius: var(--radius);
    position: relative;
}

.sparkline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    height: 2px;
    background: rgba(99,102,241,0.5);
}

.window-header {
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: var(--space-2);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-content {
    padding: var(--space-6);
}

.table-preview {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.table-row.header {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    display: flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.progress-bar-mini {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    transition: width 1s ease;
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e5f0ff, #ffffff);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== ANALYTICS SECTION ===== */
.analytics-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
}

.analytics-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.analytics-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.analytics-features-grid .feature-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    column-gap: var(--space-3);
    row-gap: 0;
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.analytics-features-grid .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.analytics-features-grid .feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.analytics-features-grid .feature-icon i {
    color: var(--white);
    font-size: 1rem;
}

.analytics-features-grid .feature-text h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
    font-size: 0.875rem;
}

.analytics-features-grid .feature-text p {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 0.75rem;
    margin: 0;
}

/* ===== ANALYTICS SHOWCASE ===== */
.analytics-showcase {
    position: relative;
}

.showcase-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.showcase-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

/* .showcase-image:hover .image-overlay {
    opacity: 1;
}

.showcase-image:hover img {
    transform: scale(1.05);
} */

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--white);
}

.overlay-content i {
    font-size: 3rem;
    color: var(--white);
}

.overlay-content span {
    font-weight: 600;
    font-size: 1.125rem;
}

/* ===== ANALYTICS GALLERY ===== */
.analytics-gallery-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.analytics-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.analytics-gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-content {
    padding: var(--space-4);
}

.gallery-content h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    font-size: 1.125rem;
}

.gallery-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
    margin: 0;
}

/* ===== ANALYTICS FEATURES SECTION ===== */
.analytics-features-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
}

.feature-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.feature-card .feature-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.feature-card h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-3);
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
    margin: 0;
}

/* ===== ANALYTICS STAT CARD ===== */
.analytics-stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.analytics-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.analytics-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.stat-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-trend.positive {
    color: var(--success);
}

.stat-trend.negative {
    color: var(--danger);
}

.stat-trend i {
    font-size: 0.625rem;
}

/* ===== CHART CONTAINER ===== */
.analytics-chart-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.chart-header h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    font-size: 1.25rem;
}

.chart-filters {
    display: flex;
    gap: var(--space-2);
}

.filter-btn {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.chart-area {
    position: relative;
    height: 200px;
}

.chart-line {
    position: relative;
    height: 100%;
}

.chart-path {
    animation: drawPath 2s ease-out forwards;
}

.chart-area-fill {
    animation: fillArea 2s ease-out 0.5s forwards;
}

@keyframes drawPath {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillArea {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.1;
    }
}

.chart-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.chart-point {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.chart-point:hover {
    transform: translateY(-50%) scale(1.5);
    box-shadow: var(--shadow-lg);
}

.point-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    white-space: nowrap;
    z-index: 10;
}

.point-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--gray-800);
}

.chart-point:hover .point-tooltip {
    opacity: 1;
}

/* ===== FEATURES LIST ===== */
.analytics-features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-item .feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item .feature-icon i {
    color: var(--white);
    font-size: 1rem;
}

.feature-text h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
    font-size: 0.875rem;
}

.feature-text p {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 0.75rem;
    margin: 0;
}

.analytics-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.analytics-dashboard {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.dashboard-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h4 {
    font-weight: 700;
    margin: 0;
    font-size: 1.125rem;
}

.dashboard-controls {
    display: flex;
    gap: var(--space-2);
}

.control-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.control-dot.active {
    background: var(--white);
}

.control-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dashboard-content {
    padding: var(--space-6);
    position: relative;
}

.chart-section {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.chart-section.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.chart-header h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    font-size: 1rem;
}

.chart-period {
    background: var(--gray-100);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.period-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.chart-container {
    display: flex;
    align-items: end;
    gap: var(--space-3);
    height: 180px;
    padding: var(--space-4) 0;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
    position: relative;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.chart-bar:hover {
    transform: scaleY(1.05);
    box-shadow: var(--shadow-md);
}

.bar-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    white-space: nowrap;
    z-index: 10;
}

.bar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--gray-800);
}

.chart-item:hover .bar-tooltip {
    opacity: 1;
}

.chart-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-trend {
    font-size: 0.625rem;
    font-weight: 700;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-trend.positive {
    background: var(--success);
    color: var(--white);
}

.chart-trend.negative {
    background: var(--danger);
    color: var(--white);
}

.metrics-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.metric-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon i {
    color: var(--white);
    font-size: 1rem;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-1);
}

.metric-trend {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-trend.positive {
    color: var(--success);
}

.metric-trend.negative {
    color: var(--danger);
}

/* ===== SECURITY SECTION ===== */
.security-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.security-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.security-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.security-card h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-3);
}

.security-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

/* Single pricing spotlight layout */
.pricing-spotlight {
    position: relative;
}

.pricing-spotlight::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15), transparent 60%);
    filter: blur(20px);
    z-index: 0;
}

.pricing-card.single {
    z-index: 1;
}

.pricing-perks {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.perk-chip {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.guarantee-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Pricing info panel (right column) */
.pricing-info-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--space-6);
}

.pricing-info-panel .info-header h4 {
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
}

.pricing-info-panel .info-header p {
    color: var(--gray-600);
    margin: 0 0 var(--space-4) 0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.info-icon i { font-size: 1.125rem; }

.info-text h6 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.info-text p {
    color: var(--gray-600);
    margin: 0;
}

.info-footnote {
    color: var(--gray-500);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .pricing-info-panel { margin-top: var(--space-2); }
}

/* ===== BENEFITS SECTION ===== */
.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--space-6);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e5f0ff, #ffffff);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.benefit-icon i { font-size: 1.5rem; }

.benefit-card h5 {
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
}

.benefit-card p {
    color: var(--gray-600);
    margin: 0;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 var(--radius-xl) 0 var(--radius-lg);
}

.pricing-header {
    padding: var(--space-6);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
}

.price.stacked {
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.price.stacked .amount {
    font-size: 2rem;
    line-height: 1.1;
}

.price.stacked .period {
    margin-top: 2px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-features {
    padding: var(--space-6);
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--gray-600);
}

.pricing-features i {
    font-size: 0.875rem;
}

.pricing-action {
    padding: 0 var(--space-6) var(--space-6);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: var(--space-6);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e5f0ff, #ffffff);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    color: var(--white);
    font-size: 1.25rem;
}

.author-info h6 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== TECH SECTION ===== */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.tech-info h5 {
    font-weight: 700;
    color: var(--gray-800);
}

.tech-info p {
    color: var(--gray-600);
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.tech-stack {
    position: relative;
    width: 300px;
    height: 300px;
}

.stack-layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    font-size: 0.875rem;
}

.layer-1 {
    width: 280px;
    height: 60px;
    top: 0;
    background: var(--primary);
    color: var(--white);
}

.layer-2 {
    width: 240px;
    height: 60px;
    top: 80px;
}

.layer-3 {
    width: 200px;
    height: 60px;
    top: 160px;
}

.layer-4 {
    width: 160px;
    height: 60px;
    top: 240px;
}

.stack-layer:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== SETUP STEPS ===== */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    bottom: -32px;
    width: 2px;
    height: 32px;
    background: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.step-content code {
    background: var(--gray-100);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: var(--primary);
}

/* ===== ABOUT SECTION ===== */
.about-lead p { color: var(--gray-700); }
.about-highlights .highlight-item { color: var(--gray-700); margin-bottom: var(--space-2); }

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.about-stat {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--space-6);
    text-align: center;
}

.about-stat .stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

.about-stat .stat-label {
    color: var(--gray-600);
    font-weight: 600;
}

@media (max-width: 576px) {
    .about-stats-grid { grid-template-columns: 1fr; }
}

/* ===== CONTACT SECTION ===== */
.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.form-header {
    margin-bottom: var(--space-6);
}

.form-header h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    font-size: 1.5rem;
}

.form-header p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: var(--space-4);
}

.contact-form label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    display: block;
}

.contact-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--gray-400);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    padding: var(--space-4) var(--space-8);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== CONTACT INFO ===== */
.contact-info-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.contact-info-header {
    margin-bottom: var(--space-6);
    text-align: center;
}

.contact-info-header h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    font-size: 1.5rem;
}

.contact-info-header p {
    color: var(--gray-600);
    margin: 0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-info-item .contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-details h6 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
    font-size: 1rem;
}

.contact-details p {
    color: var(--gray-700);
    margin-bottom: var(--space-1);
    font-size: 0.875rem;
    line-height: 1.5;
}

.response-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-style: italic;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.social-links h6 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-icon i {
    font-size: 1.25rem;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navbar button specific styles */
.navbar .btn-primary {
    color: #fff !important;
}

.navbar .btn-primary:hover {
    color: #fff !important;
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* Pricing Section Styles */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.pricing-card-popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.pricing-card-popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
}

.pricing-badge-popular {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-right: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    font-size: 0.875rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.pricing-footer {
    margin-top: auto;
}

.pricing-footer .btn {
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.pricing-trial {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.trial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* Pricing FAQ Styles */
.pricing-faq {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
}

.pricing-faq h4 {
    color: var(--gray-800);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.faq-item strong {
    color: var(--gray-800);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-card-popular {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .pricing-card-popular:hover {
        transform: translateY(-8px);
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.25);
}

.whatsapp-float i {
    font-size: 1.6rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: var(--space-6);
    }
    
    .tech-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .tech-item:hover {
        transform: translateY(-5px);
    }
    
    .tech-stack {
        width: 250px;
        height: 250px;
    }
    
    .layer-1 { width: 230px; }
    .layer-2 { width: 200px; }
    .layer-3 { width: 170px; }
    .layer-4 { width: 140px; }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .step-item::after {
        display: none;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .chart-container {
        gap: var(--space-2);
    }
    
    .chart-bar {
        width: 30px;
    }
    
    .metrics-section {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .analytics-dashboard {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .nav-links {
        gap: var(--space-4);
    }
    
    .hero-section {
        padding-top: var(--space-20);
    }
    
    .dashboard-preview {
        margin-top: var(--space-12);
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: var(--space-2);
        text-align: center;
    }
    
    .analytics-features {
        gap: var(--space-3);
    }
    
    .analytics-features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .analytics-features-grid .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
        row-gap: var(--space-2);
    }
    .analytics-features-grid .feature-icon {
        margin: 0 auto;
    }
    
    .showcase-image {
        margin-top: var(--space-6);
    }
    
    .analytics-gallery-item {
        margin-bottom: var(--space-4);
    }
    
    .feature-card {
        margin-bottom: var(--space-4);
    }
    
    .contact-form-container {
        margin-bottom: var(--space-6);
    }
    
    .contact-info-container {
        margin-bottom: var(--space-4);
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .contact-info-item .contact-icon {
        margin: 0 auto;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== LOADING ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STYLES ===== */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero-background,
    .floating-shapes,
    footer {
        display: none !important;
    }
    
    body {
        color: var(--black) !important;
        background: var(--white) !important;
    }
    
    .section-title {
        color: var(--black) !important;
    }
}

/* ===== BLOG LISTING ===== */
.blog-search .input-group-text {
    border: 2px solid var(--gray-200);
    border-right: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.blog-search .form-control {
    border: 2px solid var(--gray-200);
    border-left: 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-3) var(--space-4);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-thumb {
    position: relative;
    display: block;
}

.blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-3);
    font-weight: 600;
}

.blog-content {
    padding: var(--space-5);
}

.blog-title a {
    color: var(--gray-900);
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray-600);
    margin: var(--space-3) 0 var(--space-4);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-meta i {
    margin-right: var(--space-1);
}

/* ===== BLOG DETAIL ===== */
.article-hero {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.article-header {
    margin-top: var(--space-6);
    margin-bottom: var(--space-6);
}

.article-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    color: var(--gray-500);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-700);
}

.article-body h2, .article-body h3 {
    color: var(--gray-900);
    font-weight: 800;
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.article-body img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.article-sidebar .widget {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    padding: var(--space-5);
}

.widget + .widget {
    margin-top: var(--space-4);
}

.widget-title {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-3);
}

.widget-post {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.widget-post img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.widget-post a {
    color: var(--gray-800);
    font-weight: 600;
    text-decoration: none;
}

.widget-post a:hover {
    color: var(--primary);
}

/* ===== RESPONSIVE (Blog) ===== */
@media (max-width: 576px) {
    .blog-thumb img { height: 180px; }
    .article-hero img { height: 260px; }
    .article-title { font-size: 1.75rem; }
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 56px;
}

.page-hero .hero-background {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.page-hero .floating-shapes .shape {
    opacity: 0.15;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-hero-section .floating-shapes .shape {
    opacity: 0.15;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== BLOG FILTERS & PAGINATION ===== */
.blog-categories .category-pill {
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.blog-categories .category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-categories .category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-link {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* ===== BLOG HERO SECTION ===== */
.blog-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 70%, #475569 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(96, 165, 250, 0.1) 100%);
    z-index: 1;
}

.blog-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    z-index: 1;
}

.blog-hero-section .container {
    position: relative;
    z-index: 3;
}

.blog-hero-section .breadcrumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    padding: 0.4rem 0.8rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 0.875rem;
}

.blog-hero-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.blog-hero-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.blog-hero-section .breadcrumb-item a:hover {
    color: white;
    text-decoration: underline;
}

.blog-hero-section .breadcrumb-item.active {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    padding: 0.4rem 0.8rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.breadcrumb-item a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .2px;
    box-shadow: 0 6px 18px rgba(99,102,241,.25);
}

.blog-card .blog-content .blog-title {
    margin-top: 4px;
}

.blog-card .blog-content .blog-title a {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== MODERN CATEGORIES SIDEBAR ===== */
.modern-categories-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.modern-categories-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.categories-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    padding: var(--space-4);
    border: none;
}

.categories-header h5 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.categories-header i {
    font-size: 1.125rem;
}

.categories-body {
    padding: 0;
}

.category-item {
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background: var(--gray-50);
}

.category-item.active {
    background: var(--primary);
    color: var(--white);
}

.category-item.active .category-link {
    color: var(--white);
}

.category-item.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    color: var(--gray-700);
    transition: var(--transition);
    font-weight: 500;
}

.category-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.category-link i {
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.category-link span:first-of-type {
    flex: 1;
    margin-left: var(--space-2);
}

.category-count {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.blog-meta-hero .badge {
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white !important;
    background: rgba(255, 255, 255, 0.25) !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-meta-hero span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== BLOG CONTENT STYLES ===== */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: var(--gray-800);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content code {
    background: var(--gray-100);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary);
}

.blog-content pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* ===== RECENT POSTS SIDEBAR ===== */
.recent-post-item {
    transition: background-color 0.3s ease;
}

.recent-post-item:hover {
    background-color: var(--gray-50);
}

.recent-post-item:last-child {
    border-bottom: none !important;
}

.recent-post-thumb img {
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.05);
}

/* ===== MODERN AUTHOR CARD ===== */
.author-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.author-card .card-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    border: none;
    padding: var(--space-4);
}

.author-card .card-body {
    padding: var(--space-5);
    text-align: center;
}

.author-avatar-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e5f0ff, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    position: relative;
    box-shadow: var(--shadow-md);
}

.author-avatar-modern::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.author-avatar-modern i {
    font-size: 2rem;
    color: var(--white);
}

.author-name {
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
    font-size: 1.125rem;
}

.author-bio {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.author-social {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.author-social .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    transition: var(--transition);
}

.author-social .btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== GRADIENT SIDEBAR CARDS ===== */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.sidebar-card .card-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    border: none;
    padding: var(--space-4);
}

.sidebar-card .card-header h5 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sidebar-card .card-header i {
    font-size: 1.125rem;
}

.sidebar-card .card-body {
    padding: var(--space-4);
}

/* ===== NEWSLETTER CARD ===== */
.newsletter-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.newsletter-card .card-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    border: none;
    padding: var(--space-4);
}

.newsletter-card .card-body {
    padding: var(--space-4);
}

.newsletter-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    font-size: 0.875rem;
    transition: var(--transition);
}

.newsletter-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    outline: none;
}

.newsletter-form .btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== CATEGORY CARD ===== */
.category-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
}

.category-card .card-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    color: var(--white);
    border: none;
    padding: var(--space-4);
}

.category-card .card-body {
    padding: var(--space-4);
}

.category-card .btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #60a5fa 100%);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-weight: 600;
    transition: var(--transition);
}

.category-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-hero-section h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

@media (max-width: 768px) {
    .blog-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .blog-meta-hero .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .blog-share .d-flex {
        flex-direction: column;
    }
    
    .blog-share .btn {
        width: 100%;
    }
    
    .author-social {
        flex-wrap: wrap;
    }
}
