/*
Theme Name: ShatarupaX Preview
Theme URI: https://shatarupax.com
Author: ShatarupaX AI Labs
Author URI: https://shatarupax.com
Description: Enterprise AI Solutions & Products - Official WordPress Theme for ShatarupaX AI Labs
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shatarupax
Tags: dark, ai, enterprise, technology, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ==========================================
   GLOBAL RESET & BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-light: #4f46e5;
    --primary-dark: #1e3a8a;
    --accent: #06b6d4;
    --accent-light: #22c55e;
    --bg-dark: #f8fbff;
    --bg-card: #ffffff;
    --bg-card2: #ffffff;
    --bg-section: #f1f7ff;
    --text-primary: #071632;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: rgba(37, 99, 235, .14);
    --border-light: rgba(37, 99, 235, .16);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 56%, #22c55e 100%);
    --gradient-bg: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
    --shadow-glow: 0 0 45px rgba(37, 99, 235, .18);
    --shadow-card: 0 14px 40px rgba(15, 23, 42, .08);
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --font-body: 'DM Sans', 'Nunito', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 16px 0 16px;
    letter-spacing: -0.02em;
}

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

/* Gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary,
.btn-outline {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, .35) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* shine sweep on hover */
.btn-primary::before,
.btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
    z-index: 2;
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-outline:hover::before {
    animation: btnShine .9s ease forwards;
}

@keyframes btnShine {
    0%   { left: -75%; }
    100% { left: 130%; }
}

.btn-primary:hover,
.btn-outline:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 34px rgba(37, 99, 235, .5), 0 0 30px rgba(124, 58, 237, .35) !important;
    color: #fff !important;
}

/* gentle breathing glow so hero buttons catch the eye even without hover */
.hero-actions .btn {
    animation: heroBtnPulse 3.2s ease-in-out infinite;
}
.hero-actions .btn:nth-child(2) {
    animation-delay: .6s;
}

@keyframes heroBtnPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 99, 235, .35); }
    50%      { box-shadow: 0 4px 28px rgba(124, 58, 237, .55), 0 0 22px rgba(34, 197, 94, .3); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary::before,
    .btn-outline::before,
    .hero-actions .btn { animation: none !important; }
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, .12);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
    transition: var(--transition);
}

#site-header.scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 35px rgba(15, 23, 42, .1);
}

#site-header .btn-primary {
    display: none !important;
}

.header-inner,
#site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    gap: 32px;
}

/* Logo */
.site-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
}

.site-logo-img {
    display: block !important;
    height: 72px !important;
    width: auto !important;
    max-width: 280px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    transition: transform .25s ease;
}
.site-logo:hover .site-logo-img {
    transform: scale(1.03);
}
.custom-logo {
    height: 72px !important;
    width: auto !important;
    max-width: 280px !important;
    max-height: 72px !important;
    object-fit: contain !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link .caret {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: var(--transition);
}

.nav-item:hover .caret {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .15);
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: #0f172a;
    font-size: 0.98rem;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown a:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
}

/* keep dropdown lists tidy on the 4th nav item (Services) */
.primary-nav .nav-item:nth-child(4) .dropdown a:nth-child(n+5) {
    display: none;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mobile-menu.active { display: flex; }

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
}

.mobile-menu-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================
   HERO SECTION
   Full-bleed video background: the AI motion
   video covers the entire hero section, with a
   dark overlay for contrast and all hero copy
   centered on top of it.
   ========================================== */
.hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0 56px;
    position: relative;
    overflow: hidden;
    background: #050814;
}

@media (max-width: 1024px) {
    .hero-section { padding-top: 130px !important; }
}
@media (max-width: 900px) {
    .hero-section { padding: 88px 0 40px !important; min-height: 80vh; }
}
@media (max-width: 768px) {
    .hero-section { padding-top: 118px !important; }
}
@media (max-width: 640px) {
    .hero-section { padding: 80px 0 32px !important; }
}
@media (max-width: 480px) {
    .hero-section { padding-top: 108px !important; }
}

/* Full-bleed hero video background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Dark overlay so the text stays readable on top of the video */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 40%, rgba(8, 4, 15, .35), rgba(5, 8, 20, .72) 65%),
        linear-gradient(180deg, rgba(5, 8, 20, .55) 0%, rgba(5, 8, 20, .55) 55%, rgba(5, 8, 20, .82) 100%);
    pointer-events: none;
}

/* ==========================================
   HERO CONTENT — centered over the video
   ========================================== */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 20px;
}

.hero-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 9px 20px 9px 16px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .25);
    animation: heroBadgeGlow 2.6s ease-in-out infinite;
}
.pulse-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    flex: none;
}
.pulse-dot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #22c55e;
    opacity: .55;
    animation: heroPulseRing 1.6s ease-out infinite;
}
.pulse-dot-core {
    position: relative;
    z-index: 1;
    display: block;
    width: 8px;
    height: 8px;
    margin: 2px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, .9);
}
@keyframes heroPulseRing {
    0%   { transform: scale(1); opacity: .55; }
    100% { transform: scale(2.6); opacity: 0; }
}
@keyframes heroBadgeGlow {
    0%, 100% { box-shadow: 0 6px 22px rgba(0, 0, 0, .2); }
    50%      { box-shadow: 0 6px 26px rgba(124, 58, 237, .4); }
}
@media (max-width: 640px) {
    .hero-tech-badge {
        font-size: .8rem;
        padding: 8px 16px 8px 14px;
        gap: 8px;
        margin-bottom: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-tech-badge, .pulse-dot::before { animation: none !important; }
}

.hero-title {
    font-size: clamp(2rem, 3.4vw, 3.4rem) !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -.03em !important;
    max-width: 780px !important;
    margin: 8px auto 20px !important;
    text-align: center !important;
    color: #fff !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

.hero-title .accent-line {
    display: block;
    margin-top: .18em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(1rem, 1.15vw, 1.15rem) !important;
    color: rgba(255, 255, 255, .86) !important;
    line-height: 1.7 !important;
    max-width: 640px !important;
    margin: 0 auto 32px !important;
    text-align: center !important;
}

.hero-actions {
    display: flex;
    gap: 12px !important;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 40px !important;
}
@media (max-width: 900px) {
    .hero-content { max-width: 100%; padding: 20px 8px 0; }
    .hero-actions { flex-direction: column; width: 100%; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 340px; }
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(37, 99, 235, .12);
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    min-width: auto;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.01em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

@keyframes sxhero-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes sxhero-pulse{0%,100%{opacity:.35;transform:scale(1)}50%{opacity:.75;transform:scale(1.1)}}
@keyframes sxhero-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes sxhero-spinrev{from{transform:rotate(360deg)}to{transform:rotate(0deg)}}
@keyframes sxhero-twinkle{0%,100%{opacity:.15}50%{opacity:1}}
@keyframes sxhero-twinkle2{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes sxhero-coreglow{0%,100%{filter:drop-shadow(0 0 20px rgba(139,92,246,.9))}33%{filter:drop-shadow(0 0 34px rgba(34,211,238,.9))}66%{filter:drop-shadow(0 0 34px rgba(236,72,153,.9))}}
@keyframes sxhero-hue{0%{filter:hue-rotate(0deg)}100%{filter:hue-rotate(360deg)}}
@keyframes sxhero-orbit1{from{transform:rotate(0deg) translateX(300px) rotate(0deg)}to{transform:rotate(360deg) translateX(300px) rotate(-360deg)}}
@keyframes sxhero-orbit2{from{transform:rotate(0deg) translateX(230px) rotate(0deg)}to{transform:rotate(-360deg) translateX(230px) rotate(360deg)}}
@keyframes sxhero-orbit3{from{transform:rotate(0deg) translateX(360px) rotate(0deg)}to{transform:rotate(360deg) translateX(360px) rotate(-360deg)}}
@keyframes sxhero-drift1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(25px,-18px) scale(1.05)}}
@keyframes sxhero-drift2{0%,100%{transform:translate(0,0)}50%{transform:translate(-20px,20px)}}
@keyframes sxhero-rays{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes sxhero-shoot{0%{transform:translate(0,0);opacity:0}5%{opacity:1}20%{transform:translate(260px,140px);opacity:0}100%{opacity:0}}

@media (prefers-reduced-motion: reduce) {
    .sxhero-badge, .sxhero-dot, .sxhero-star, .sxhero-ring, .sxhero-orbdot,
    .sxhero-stage * { animation: none !important; }
}

@media (max-width: 1100px) {
    .hero-title { font-size: clamp(2.2rem, 5.2vw, 3.4rem) !important; }
}
@media (max-width: 640px) {
    .hero-title { font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important; letter-spacing: -.02em !important; }
    .hero-desc { font-size: 1rem !important; }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 40px 0;
    background: #f8fbff;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0;
    overflow: visible;
    transition: var(--transition);
    position: relative;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.service-icon,
.product-icon-wrap {
    display: none !important;
}

.service-name {
    font-size: 1.34rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 28px 12px;
    font-family: var(--font-heading);
}

.service-desc {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.72;
    margin: 0 28px 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 28px 24px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.96rem;
    color: var(--text-secondary);
}

.service-feature::before {
    content: '';
    width: 16px;
    height: 16px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-6' stroke='%2306B6D4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    margin: 0 28px 30px;
}

.service-card .learn-more-link,
.product-card .learn-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin: 0 28px 24px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .25);
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .01em;
}

.service-card .learn-more-link:hover,
.product-card .learn-more-link:hover {
    background: rgba(59, 130, 246, .18);
    border-color: rgba(59, 130, 246, .35);
    color: #1e40af;
}

.learn-more-link::after {
    content: '→';
    transition: var(--transition);
}

.learn-more-link:hover {
    color: var(--accent-light);
}

.learn-more-link:hover::after {
    transform: translateX(4px);
}

/* Service / product card visual (icon on gradient tile) */
.sx-card-visual {
    height: 175px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent !important;
    border-bottom: none !important;
    animation: none;
}
.sx-card-visual::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 28px;
    background: radial-gradient(circle at 25% 25%, rgba(37, 99, 235, .22), transparent 28%),
                radial-gradient(circle at 75% 75%, rgba(124, 58, 237, .18), transparent 22%);
    filter: blur(18px);
    animation: sxBgShift 14s ease-in-out infinite, sxBgPulse 4s ease-in-out infinite;
}
.sx-card-visual::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, .26);
    box-shadow: 0 0 45px rgba(124, 58, 237, .18);
    animation: sxRingPulse 3.5s ease-in-out infinite;
}
.sx-card-visual span {
    position: relative;
    z-index: 2;
    font-size: 4.1rem;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .16);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
    width: 105px;
    height: 105px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sxIconFloat 3.4s ease-in-out infinite;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}

.service-card:hover .sx-card-visual span,
.product-card:hover .sx-card-visual span {
    transform: scale(1.14) translateY(-6px) !important;
    box-shadow: 0 22px 44px rgba(37, 99, 235, .28), 0 0 0 6px rgba(124, 58, 237, .10) !important;
}

.service-card:hover .sx-card-visual::after,
.product-card:hover .sx-card-visual::after {
    animation-duration: 1.6s;
    border-color: rgba(124, 58, 237, .5);
}

@keyframes sxIconIntro {
    0%   { opacity: 0; transform: scale(.7) translateY(18px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes sxIconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes sxBgShift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-14px, 10px); }
}
@keyframes sxBgPulse {
    0%, 100% { opacity: .8; }
    50%      { opacity: 1; filter: blur(4px); }
}
@keyframes sxRingPulse {
    0%, 100% { transform: scale(1); opacity: .6; }
    50%      { transform: scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .sx-card-visual,
    .sx-card-visual::before,
    .sx-card-visual::after,
    .sx-card-visual span { animation: none !important; }
}

.service-visual-ai-training-data-annotation   { background: linear-gradient(135deg, #dbeafe, #eef2ff, #f0fdf4); }
.service-visual-llm-optimization-fine-tuning  { background: linear-gradient(135deg, #ede9fe, #dbeafe, #ecfeff); }
.service-visual-enterprise-ai-automation      { background: linear-gradient(135deg, #e0f2fe, #f5f3ff, #dcfce7); }
.service-visual-healthcare-ai-solutions       { background: linear-gradient(135deg, #ecfeff, #eff6ff, #dcfce7); }
.service-visual-hr-recruitment-ai-solutions   { background: linear-gradient(135deg, #f5f3ff, #eff6ff, #fff7ed); }
.service-visual-ai-service-desk-automation    { background: linear-gradient(135deg, #e0f2fe, #eff6ff, #f0fdf4); }
.product-visual-shatarupax-enterprise-ai-platform { background: linear-gradient(135deg, #eef2ff, #dbeafe, #ecfdf5); }
.product-visual-deployai    { background: linear-gradient(135deg, #dbeafe, #ecfeff, #dcfce7); }
.product-visual-clinicalai  { background: linear-gradient(135deg, #ecfeff, #eff6ff, #dcfce7); }
.product-visual-docai       { background: linear-gradient(135deg, #fff7ed, #eff6ff, #e0f2fe); }

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    padding: 40px 0;
    background: #f8fbff;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1450px;
    margin: 0 auto;
    justify-content: center;
}

.product-card {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0;
    overflow: visible;
    transition: var(--transition);
    position: relative;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    min-height: 230px;
}

.product-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 28px 10px;
    font-family: var(--font-heading);
}

.product-desc {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.72;
    flex: 1;
    margin: 0 28px 20px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 40px 0;
    background: #f8fbff;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 56px;
    align-items: center;
    text-align: center;
    justify-items: center;
}

.about-content {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 16px auto 24px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
    margin: 0 auto 32px;
    max-width: 760px;
    text-align: center;
}

/* Vertical stacked feature rows, becomes a row on wider screens */
.about-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
    max-width: 880px !important;
    margin: 32px auto 36px !important;
    align-items: center !important;
}

.about-feature {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    max-width: 640px;
    width: 100%;
}

.af-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto !important;
    border-radius: 14px !important;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem !important;
    flex-shrink: 0;
}

.af-content {
    width: 100% !important;
    text-align: center !important;
}
.af-content h4 {
    text-align: center !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    font-family: var(--font-heading);
}
.af-content p {
    text-align: center !important;
    font-size: .98rem !important;
    color: #475569;
    margin: 0 auto !important;
    max-width: 560px;
    line-height: 1.6 !important;
}

@media (min-width: 980px) {
    .about-features {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px !important;
        max-width: 1100px !important;
    }
    .about-feature {
        flex: 1 1 280px;
        max-width: 340px;
    }
}

@media (max-width: 640px) {
    .about-features { gap: 28px !important; }
    .af-icon { width: 46px !important; height: 46px !important; }
}

/* Stats grid in about */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.astat-card {
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.astat-card:hover {
    border-color: rgba(124, 58, 237, .3);
    transform: translateY(-4px);
}

.astat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.astat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.astat-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-section {
    padding: 70px 0;
    background: transparent;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.industry-card {
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.industry-card:hover {
    border-color: rgba(124, 58, 237, .3);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-4px);
}

.industry-icon {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.industry-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #eef7ff, #fff);
    position: relative;
    overflow: hidden;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 16px 0 20px;
    line-height: 1.15;
}

.cta-inner p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-section {
    padding: 56px 0 !important;
}
.tech-section .section-header,
.tech-section .tech-grid,
.tech-section .integrations-grid {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

/* ==========================================
   FOOTER — clean 3-column slim layout
   (Logo+Tagline | Quick Links | Contact Details)
   ========================================== */
#site-footer {
    background: linear-gradient(135deg, #06142e 0%, #10163e 52%, #042f2e 100%);
    padding: 44px 0 18px !important;
    border-top: none;
    position: relative;
    overflow: hidden;
}
#site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 14%, rgba(37, 99, 235, .26), transparent 30%),
                radial-gradient(circle at 84% 28%, rgba(124, 58, 237, .22), transparent 32%),
                radial-gradient(circle at 75% 88%, rgba(34, 197, 94, .16), transparent 30%);
    pointer-events: none;
}

.footer-grid-final {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr 1.2fr !important;
    gap: 40px !important;
    align-items: start !important;
    margin-bottom: 28px !important;
}

/* Column 1: logo stacked above tagline, compact */
.footer-brand-stacked {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
.footer-brand-stacked .footer-site-logo {
    margin: 0 !important;
}
.footer-brand-stacked .site-logo-img-footer,
.footer-brand-stacked .custom-logo {
    height: 56px !important;
    max-width: 190px !important;
    max-height: 56px !important;
}
.footer-brand-stacked .footer-brand-text {
    max-width: 320px;
}
.footer-brand-stacked .footer-brand-line {
    font-size: 0.98rem !important;
    margin-bottom: 4px !important;
}
.footer-brand-stacked p {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
}

.footer-brand-line {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 4px;
}
.footer-brand p {
    font-size: .95rem;
    max-width: 360px;
    line-height: 1.55;
    color: #dbeafe !important;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--primary-light);
}

.footer-col h4 {
    font-size: 0.82rem !important;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em !important;
    text-transform: uppercase;
    margin-bottom: 14px !important;
    font-family: var(--font-heading);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px !important;
}

.footer-links a {
    color: #bfdbfe;
    font-size: 0.86rem !important;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact-list {
    display: grid;
    gap: 12px !important;
}
.footer-contact-list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #dbeafe;
    line-height: 1.55;
    font-size: 0.86rem !important;
    margin: 0 0 10px;
}
.footer-contact-list p strong,
.footer-contact-list p a {
    flex: 1;
    word-break: break-word;
    color: #fff;
    font-weight: 800;
}
.footer-contact-list svg {
    width: 15px !important;
    height: 15px !important;
}
.footer-contact-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px !important;
    margin-top: 4px !important;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 0.82rem !important;
    color: #bfdbfe;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom a { color: #fff; }

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #bfdbfe;
    font-size: 0.82rem !important;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* Logo beside text, compact, horizontal footer-brand variant */
.footer-brand-horizontal {
    display: flex !important;
    align-items: flex-start;
    gap: 16px;
}
.footer-brand-horizontal .footer-site-logo {
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-brand-horizontal .site-logo-img-footer,
.footer-brand-horizontal .custom-logo {
    height: 46px !important;
    max-width: 150px !important;
    max-height: 46px !important;
}
.footer-brand-horizontal .footer-brand-text {
    flex: 1;
    min-width: 0;
}
.footer-brand-horizontal .footer-brand-line {
    margin-bottom: 6px !important;
}
.footer-brand-horizontal p {
    max-width: 100%;
}

.footer-site-logo img,
.site-logo-img-footer,
.footer-brand-horizontal img {
    width: 120px;
    height: auto;
}
.site-logo-img-footer {
    height: 110px !important;
    max-width: 320px !important;
    max-height: 110px !important;
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.25)) !important;
    margin-bottom: 10px;
}
.footer-brand .custom-logo,
.footer-brand-final .custom-logo {
    height: 110px !important;
    max-width: 320px !important;
    max-height: 110px !important;
}

@media (max-width: 900px) {
    .footer-grid-final {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
    .footer-brand-stacked,
    .footer-brand-final {
        grid-column: 1 / -1 !important;
    }
}
@media (max-width: 640px) {
    .footer-brand-horizontal { flex-direction: column; align-items: flex-start; }
    .footer-contact-card { padding: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; }
}
@media (max-width: 560px) {
    .footer-grid-final { grid-template-columns: 1fr !important; }
    #site-footer { padding: 36px 0 16px !important; }
}

/* Contact icons */
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
}
.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: #3b82f6 !important;
    transition: transform .2s ease;
}
.contact-icon:hover svg {
    transform: scale(1.08);
}
.sx-side-card .contact-icon svg {
    fill: #3b82f6 !important;
}

/* Badges/eyebrow pills — removed from markup, this is a safety net only */
.badge { display: none !important; }

/* ==========================================
   RESPONSIVE (global grid breakpoints)
   ========================================== */
@media (max-width: 1280px) {
    .container { padding-left: 28px; padding-right: 28px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    html { font-size: 17px; }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .services-section, .products-section, .about-section, .industries-section { padding: 56px 0 !important; }
    .cta-section, .tech-section { padding: 48px 0 !important; }
    .section-header { margin-bottom: 36px; }
    .stat-number { font-size: 1.4rem !important; }
    .stat-label { font-size: .78rem !important; }
}
@media (max-width: 768px) {
    .primary-nav, .header-cta .btn:not(.btn-primary) { display: none; }
    .menu-toggle { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    html { font-size: 16px; }
    .container { padding-left: 18px; padding-right: 18px; }
    .services-grid, .products-grid { grid-template-columns: 1fr; }
    .services-section, .products-section, .about-section, .industries-section, .cta-section, .tech-section { padding: 44px 0 !important; }
    .section-header { margin-bottom: 28px; }
    .section-title { font-size: clamp(1.7rem, 6.5vw, 2.2rem) !important; }
    .section-subtitle { font-size: 1rem !important; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   WORDPRESS SPECIFIC
   ========================================== */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--text-muted); margin-top: 8px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.sticky { border-left: 3px solid var(--primary); }
.bypostauthor { }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item a { display: block; border-radius: 8px; overflow: hidden; }

/* Page & Post Content */
.entry-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.entry-content h1, .entry-content h2, .entry-content h3 {
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--primary-light); }
.entry-content a:hover { color: var(--accent-light); }
.entry-content ul, .entry-content ol { margin: 16px 0 20px 24px; }
.entry-content li { margin-bottom: 8px; list-style: disc; }
.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}

/* ==========================================
   INNER PAGES (about / services single / contact / resources)
   ========================================== */
.sx-inner-page { padding-top: 72px; background: var(--bg-dark); }

.sx-page-hero {
    text-align: center !important;
    padding: 96px 0 60px !important;
    background: radial-gradient(circle at 16% 20%, rgba(37, 99, 235, .16), transparent 34%),
                radial-gradient(circle at 86% 18%, rgba(124, 58, 237, .14), transparent 32%),
                linear-gradient(135deg, #ffffff, #eff6ff 55%, #f0fdf4);
    border-bottom: 1px solid rgba(37, 99, 235, .12);
}
.sx-page-hero .container {
    text-align: center !important;
    max-width: 880px !important;
    margin: 0 auto !important;
}
.sx-page-hero h1 {
    font-size: clamp(2rem, 3.4vw, 3.4rem) !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -.03em !important;
    max-width: 880px !important;
    margin: 0 auto 18px !important;
    text-align: center !important;
    color: #071632 !important;
}
.sx-page-hero p {
    font-size: clamp(1rem, 1.15vw, 1.15rem) !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    max-width: 720px !important;
    margin: 0 auto 24px !important;
    text-align: center !important;
}
.sx-breadcrumb {
    text-align: center !important;
    margin: 0 auto 16px !important;
    font-size: .85rem !important;
    color: #2563eb;
    font-weight: 700;
}
.sx-hero-tags {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center !important;
    margin: 24px auto 0 !important;
}
.sx-hero-tags span {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .15);
    padding: 10px 16px;
    border-radius: 999px;
    color: #1e3a8a;
    font-weight: 700;
}

.sx-hero-visual-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center !important;
    justify-items: center !important;
    align-items: center;
}
.sx-hero-visual-grid > div {
    text-align: center !important;
    max-width: 880px !important;
    margin: 0 auto !important;
}

.sx-ai-illustration {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    min-height: 360px;
    border-radius: 34px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e1b4b 52%, #064e3b);
    box-shadow: 0 30px 80px rgba(37, 99, 235, .22);
    border: 1px solid rgba(37, 99, 235, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sx-ai-illustration::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
}
.sx-ai-illustration::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, .5);
    transform: rotateX(68deg);
    box-shadow: 0 0 70px rgba(96, 165, 250, .26);
}
.sx-ai-orb {
    position: relative;
    z-index: 2;
    min-width: 168px;
    min-height: 168px;
    border-radius: 44px;
    background: radial-gradient(circle, #ffffff, #93c5fd 38%, #7c3aed 76%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #071632;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 80px rgba(96, 165, 250, .65), 0 0 130px rgba(124, 58, 237, .35);
    padding: 24px;
}
.sx-visual-label {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    background: rgba(255, 255, 255, .88);
    color: #071632;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    padding: 16px 20px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}
.visual-annotation { background: linear-gradient(135deg, #0f172a, #1e40af, #065f46); }
.visual-llm { background: linear-gradient(135deg, #1e1b4b, #6d28d9, #0e7490); }
.visual-automation, .visual-platform { background: linear-gradient(135deg, #0f172a, #2563eb, #7c3aed); }
.visual-healthcare { background: linear-gradient(135deg, #0f766e, #2563eb, #22c55e); }
.visual-hr { background: linear-gradient(135deg, #7c3aed, #2563eb, #f97316); }
.visual-desk, .visual-deploy { background: linear-gradient(135deg, #0f172a, #0891b2, #22c55e); }
.visual-doc { background: linear-gradient(135deg, #1e3a8a, #f97316, #06b6d4); }

@media (max-width: 900px) {
    .sx-ai-illustration { min-height: 380px !important; padding-bottom: 90px !important; }
    .sx-ai-orb { margin-top: -20px; }
    .sx-visual-label { bottom: 20px !important; }
}
@media (max-width: 640px) {
    .sx-ai-illustration { min-height: 340px !important; padding-bottom: 80px !important; }
    .sx-ai-orb { min-width: 110px !important; min-height: 110px !important; font-size: 1.3rem !important; }
    .sx-visual-label { left: 16px !important; right: 16px !important; bottom: 16px !important; padding: 12px 16px !important; font-size: 0.95rem !important; }
}

.sx-content-section { padding: 64px 0 !important; }

.sx-two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}
.sx-about-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    max-width: 880px !important;
    margin: 0 auto !important;
}

.sx-main-card, .sx-side-card, .sx-info-row, .sx-resource-card {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .13);
    box-shadow: var(--shadow-card);
    border-radius: 28px;
    padding: 42px;
    text-align: center !important;
}
.sx-main-card h2, .sx-main-card h3,
.sx-side-card h2, .sx-side-card h3,
.sx-info-row b,
.sx-resource-card h3 {
    text-align: center !important;
    display: block;
    color: #071632;
}
.sx-main-card h2 { font-size: 2.25rem; margin: 28px 0 16px; }
.sx-main-card p, .sx-side-card p, .sx-info-row p, .sx-resource-card p {
    text-align: center !important;
    max-width: 640px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 1.16rem;
    line-height: 1.86;
    color: #334155;
}
.sx-info-row { margin-bottom: 22px; }
.sx-info-row b { font-size: 1.35rem; }
.sx-side-card { position: static !important; }
.sx-side-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.sx-side-card p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; line-height: 1.55; font-size: 1.08rem; }
.sx-side-card .btn, .sx-main-card .btn, .sx-info-row .btn,
.sx-resource-card .btn, .sx-resource-card .learn-more-link, .sx-side-card a {
    margin-left: auto !important;
    margin-right: auto !important;
}

.sx-check-list {
    display: grid;
    gap: 12px;
    max-width: 520px;
    margin: 18px auto 0 !important;
    justify-items: center;
}
.sx-check-list li { text-align: center !important; }

.sx-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 640px;
    margin: 24px auto 0 !important;
    justify-content: center;
}
.sx-mini-grid div, .sx-check-list li {
    background: #f1f7ff;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    color: #102044;
    font-size: 1.05rem;
}

.sx-contact-form {
    display: grid;
    gap: 14px;
    max-width: 560px !important;
    margin: 0 auto !important;
}
.sx-contact-form input, .sx-contact-form select, .sx-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 14px;
    padding: 18px 20px;
    font: inherit;
    font-size: 1.05rem;
    color: #071632;
    background: #fff;
    text-align: left !important;
}
.sx-contact-form .btn {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
}

.sx-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 36px auto !important;
    justify-content: center;
}
.sx-stats-row div {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .13);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
}
.sx-stats-row strong { display: block; font-size: 2rem; color: #4f46e5; }
.sx-stats-row span { color: #334155; font-weight: 700; }

.sx-mission {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}
.sx-mission > div {
    background: linear-gradient(135deg, #ffffff, #eff6ff);
    border: 1px solid rgba(37, 99, 235, .13);
    border-radius: 22px;
    padding: 34px;
    text-align: center !important;
}
.sx-mission h2 { text-align: center !important; }

.sx-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1180px;
}
.sx-resource-card h3 { font-size: 1.35rem; margin: 14px 0; }
.sx-resource-card p { color: #334155; margin-bottom: 20px; }

@media (max-width: 1024px) {
    .sx-two-col, .sx-about-layout, .sx-mission { grid-template-columns: 1fr; }
    .sx-resource-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .sx-page-hero { padding: 64px 0 44px !important; }
    .sx-content-section { padding: 44px 0 !important; }
    .sx-main-card, .sx-side-card, .sx-info-row, .sx-resource-card { padding: 28px !important; }
}
@media (max-width: 640px) {
    .sx-resource-grid, .sx-mini-grid, .sx-stats-row { grid-template-columns: 1fr; }
    .sx-page-hero { padding: 50px 0; }
    .sx-page-hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important; }
    .sx-page-hero p { font-size: 1rem !important; }
    .sx-main-card, .sx-side-card { padding: 24px; }
    .sx-stats-row { grid-template-columns: repeat(2, 1fr) !important; }
    .sx-mini-grid { grid-template-columns: 1fr !important; }
    .sx-ai-illustration { min-height: 250px; }
    .sx-hero-visual-grid { gap: 28px; }
    .sx-ai-orb { min-width: 126px; min-height: 126px; font-size: 1.55rem; }
    .footer-contact-card { padding: 20px; }
}
/* ==========================================
   PRIVACY POLICY
   ========================================== */

.sx-policy-wrapper{
    padding:90px 0;
}

.sx-policy-content{
    max-width:900px;
    margin:0 auto;
    padding:0 20px;
}

.sx-policy-title{
    text-align:center;
    font-size:clamp(2.4rem,5vw,3.4rem);
    font-weight:800;
    line-height:1.2;
    color:var(--text-primary);
    margin-bottom:18px;
    letter-spacing:-1px;
}
.sx-policy-title::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    margin:18px auto 0;
    border-radius:999px;
    background:linear-gradient(90deg,#7c3aed,#22d3ee);
}

.sx-policy-date{
    display:block;
    text-align:center;
    color:var(--text-muted);
    font-size:.95rem;
    margin-bottom:18px;
}

.sx-policy-subtitle{
    max-width:720px;
    margin:0 auto 70px;
    text-align:center;
    color:var(--text-secondary);
    line-height:1.9;
    font-size:1.08rem;
}

/* Sections */

.sx-policy-section{
    margin-bottom:55px;
    padding-bottom:40px;
    border-bottom:1px solid rgba(148,163,184,.18);
}

.sx-policy-section:last-child{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:none;
}

.sx-policy-section h2{
    font-size:1.75rem;
    font-weight:700;
    color:var(--text-primary);
    margin-bottom:18px;
    line-height:1.3;
}

.sx-policy-section p{
    color:var(--text-secondary);
    font-size:1.05rem;
    line-height:1.9;
    margin-bottom:18px;
}

.sx-policy-section ul{
    margin:24px 0 24px 26px;
}

.sx-policy-section li{
    padding-left:6px;
}
.sx-policy-section li{
    margin-bottom:12px;
    color:var(--text-secondary);
    line-height:1.9;
}

/* Contact */

.sx-contact-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
    margin-top:35px;
    padding:32px;
    background:#fff;
    border:1px solid rgba(124,58,237,.12);
    border-radius:20px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
}

.sx-contact-item h3{
    font-size:1.15rem;
    margin-bottom:12px;
    color:var(--text-primary);
}

.sx-contact-item p{
    margin:0;
}

.sx-contact-item a{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
}

.sx-contact-item a:hover{
    text-decoration:underline;
}

/* Responsive */

@media (max-width:768px){

    .sx-policy-wrapper{
        padding:60px 0;
    }

    .sx-policy-title{
        font-size:2.2rem;
    }

    .sx-policy-subtitle{
        font-size:1rem;
        margin-bottom:50px;
    }

    .sx-policy-section h2{
        font-size:1.45rem;
    }

    .sx-policy-section p,
    .sx-policy-section li{
        font-size:1rem;
    }

    .sx-contact-box{
        padding:24px;
        gap:20px;
    }

}
/* ==========================================
   SERVICE/PRODUCT DETAIL PAGE — ORB ANIMATION + RELATED CARDS
   ========================================== */
.sx-ai-illustration{ position: relative; }

.sx-orb-ring{
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  animation: sxOrbSpin 14s linear infinite;
}
.sx-orb-ring::before{
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
}
@keyframes sxOrbSpin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

.sx-ai-orb span{
  display: block;
  animation: sxOrbFloat 3.6s ease-in-out infinite;
}
@keyframes sxOrbFloat{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.sx-side-icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  background: linear-gradient(135deg,#eff6ff,#f5f3ff);
  border: 1px solid rgba(37,99,235,.16);
  box-shadow: 0 10px 24px rgba(37,99,235,.14);
}

.sx-related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.sx-related-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(37,99,235,.13);
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.sx-related-card:hover{
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 20px 46px rgba(37,99,235,.14);
}
.sx-related-icon{ font-size: 2rem; }
.sx-related-name{ font-weight: 700; color: #071632; font-size: 1rem; }

@media(max-width: 900px){ .sx-related-grid{ grid-template-columns: 1fr 1fr; } }
@media(max-width: 640px){ .sx-related-grid{ grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce){
  .sx-orb-ring, .sx-ai-orb span{ animation: none !important; }
}
/* ==========================================================
   PREMIUM DETAIL PAGES (Services / Products / Blog / Legal)
   Added: integrated hero, SVG illustrations, feature/workflow
   grids, blog system, TOC, legal doc layout, scroll reveal.
   ========================================================== */

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
    transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- SVG Illustrations (replace stock photography) ---- */
.sx-illustration { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.sx-illustration-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-illustration-core {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 74px; height: 74px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--sx-c1), var(--sx-c2));
    box-shadow: 0 18px 40px rgba(15,23,42,.22), 0 0 0 6px rgba(255,255,255,.55);
    animation: sxIllFloat 4.2s ease-in-out infinite;
}
.sx-illustration-core i { font-size: 2rem; color: #fff; }
.sx-illustration-card .sx-illustration-core { width: 52px; height: 52px; border-radius: 16px; }
.sx-illustration-card .sx-illustration-core i { font-size: 1.4rem; }
@keyframes sxIllFloat { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-8px); } }
.sx-illustration-photo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---- Integrated Detail Hero (Services/Products/Blog/Legal) ---- */
/* ---- Detail Hero — matches homepage brand theme ---- */
.sx-detail-hero {
    position: relative;
    padding: 140px 0 76px;
    overflow: hidden;
    background: radial-gradient(circle at 18% 22%, rgba(37, 99, 235, .14), transparent 36%),
                radial-gradient(circle at 88% 15%, rgba(124, 58, 237, .13), transparent 34%),
                radial-gradient(circle at 78% 90%, rgba(34, 197, 94, .10), transparent 32%),
                var(--gradient-bg);
    border-bottom: 1px solid var(--border);
}

/* kill old dark illustration entirely — replaced by the radial gradient above */
.sx-detail-hero-bg { display: none !important; }
.sx-hero-orb2, .sx-hero-orb3 { display: none !important; }

.sx-detail-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.sx-archive-hero .sx-detail-hero-inner,
.sx-legal-hero .sx-detail-hero-inner,
.sx-blog-hero .sx-detail-hero-inner { max-width: 760px; margin: 0 auto; }

/* pill badge — same recipe as homepage "Powered by..." badge */
.sx-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 20px 9px 16px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: #1d2b6b;
    background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(124, 58, 237, .12));
    border: 1px solid rgba(37, 99, 235, .35);
    box-shadow: 0 6px 22px rgba(37, 99, 235, .16);
    animation: heroBadgeGlow 2.6s ease-in-out infinite;
}

.sx-detail-icon-badge {
    width: 60px; height: 60px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-primary); color: #fff; font-size: 1.6rem;
    margin-bottom: 18px;
    box-shadow: var(--shadow-glow);
}

.sx-detail-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    margin: 18px 0 16px;
    color: var(--text-primary);
}
.sx-detail-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sx-detail-hero .sx-hero-tags span {
    transition: var(--transition);
}
.sx-detail-hero .sx-hero-tags span:hover {
    border-color: rgba(124, 58, 237, .35);
    background: rgba(124, 58, 237, .06);
}

.sx-detail-hero .btn-primary { margin-top: 24px; }

/* ---- entrance animation ---- */
.sx-detail-hero-inner > * { animation: sxHeroFadeUp .7s cubic-bezier(.4,0,.2,1) both; }
.sx-detail-hero .sx-breadcrumb { animation-delay: 0s; }
.sx-detail-badge { animation-delay: .08s; }
.sx-detail-icon-badge { animation-delay: .16s; }
.sx-detail-hero h1 { animation-delay: .24s; }
.sx-detail-lead { animation-delay: .34s; }
.sx-detail-hero .sx-hero-tags { animation-delay: .44s; }
.sx-detail-hero .btn-primary { animation-delay: .54s; }

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

@media (prefers-reduced-motion: reduce) {
    .sx-detail-hero-inner > * { animation: none !important; opacity: 1 !important; transform: none !important; }
    .sx-detail-badge { animation: none !important; }
}

@media (max-width: 640px) {
    .sx-detail-hero { padding: 108px 0 56px; }
}
.sx-learn-more-section { padding: 40px 0; }
.sx-learn-more-section .container { text-align: center; }

/* Keep the transition from the workflow cards to related Services/Products compact. */
.sx-detail-page .sx-workflow-grid { margin-bottom: 24px; }
.sx-detail-page .sx-content-section { padding: 48px 0 !important; }
.sx-detail-page .sx-learn-more-section { padding: 18px 0 !important; }
.sx-detail-page .sx-related-section { padding: 32px 0 48px !important; }

.sx-blog-meta-hero { justify-content: flex-start; }

/* ---- Content flow (removes boxed white-card sub-page feel) ---- */
.sx-detail-flow { max-width: 820px; margin: 0 auto 56px; font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); }
.sx-detail-flow h2 { font-size: 1.7rem; margin: 32px 0 14px; color: var(--text-primary); }
.sx-detail-flow p { margin-bottom: 16px; }

/* ---- Feature / Workflow grids ---- */
.sx-feature-grid, .sx-workflow-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto 64px;
}
.sx-feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px 20px;
    text-align: center; transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.sx-feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(37,99,235,.16); border-color: rgba(124,58,237,.3); }
.sx-feature-icon {
    width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg,#eff6ff,#f5f3ff); color: var(--primary);
    font-size: 1.2rem;
}
.sx-feature-card p { font-weight: 600; color: var(--text-primary); font-size: .95rem; }

.sx-workflow-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px 20px 22px; transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.sx-workflow-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(6,182,212,.16); }
.sx-workflow-step {
    display: inline-block; font-family: var(--font-heading); font-weight: 800;
    font-size: 1.6rem; background: var(--gradient-primary); -webkit-background-clip: text;
    background-clip: text; color: transparent; margin-bottom: 10px;
}
.sx-workflow-card p { color: var(--text-secondary); font-size: .95rem; line-height: 1.6; }

@media (max-width: 980px) { .sx-feature-grid, .sx-workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sx-feature-grid, .sx-workflow-grid { grid-template-columns: 1fr; } }

/* ---- CTA Band ---- */
.sx-cta-band {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    max-width: 1180px; margin: 0 auto 72px;
    padding: 48px 44px;
}
.sx-cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 0 !important; }
.sx-cta-band h2 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.sx-cta-band p { color: rgba(255,255,255,.88); max-width: 460px; }
.sx-cta-band .btn-primary { background: #fff; color: var(--primary-dark); border-color: #fff; }
.sx-cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }

/* ---- Archive grids (Services / Products) ---- */
.sx-archive-grid { display: grid; gap: 26px; }
.sx-archive-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sx-archive-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sx-archive-card {
    display: block; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.sx-archive-card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(37,99,235,.18); border-color: rgba(124,58,237,.32); }
.sx-archive-card-visual { height: 170px; position: relative; }
.sx-archive-card-body { padding: 22px 22px 26px; }
.sx-archive-card-icon {
    display: inline-flex; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
    align-items: center; justify-content: center; background: linear-gradient(135deg,#eff6ff,#f5f3ff); color: var(--primary);
}
.sx-archive-card-body h2 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-primary); }
.sx-archive-card-desc { color: var(--text-muted); font-size: .93rem; line-height: 1.6; margin-bottom: 14px; }
@media (max-width: 980px) { .sx-archive-grid-3, .sx-archive-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sx-archive-grid-3, .sx-archive-grid-4 { grid-template-columns: 1fr; } }

.sx-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.sx-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
    color: var(--text-secondary); font-weight: 600; transition: var(--transition);
}
.sx-pagination .page-numbers.current, .sx-pagination .page-numbers:hover { background: var(--gradient-primary); color: #fff; border-color: transparent; }

/* ---- Blog: featured card, grid cards, sidebar ---- */
.sx-blog-featured {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); margin-bottom: 56px;
}
.sx-blog-featured:hover { box-shadow: 0 30px 60px rgba(37,99,235,.18); transform: translateY(-4px); }
.sx-blog-featured-visual { position: relative; min-height: 320px; }
.sx-blog-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.sx-blog-featured-body h2 { font-size: 1.8rem; margin: 12px 0 14px; color: var(--text-primary); }
.sx-blog-featured-body p { color: var(--text-secondary); margin-bottom: 18px; line-height: 1.7; }
@media (max-width: 860px) { .sx-blog-featured { grid-template-columns: 1fr; } .sx-blog-featured-visual { min-height: 220px; } }

.sx-blog-badge {
    display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
    color: var(--primary); background: rgba(37,99,235,.1); padding: 6px 12px;
    border-radius: 999px; margin-bottom: 10px; width: fit-content;
}
.sx-blog-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--text-muted); margin: 10px 0 14px; }
.sx-blog-meta i { margin-right: 4px; }

.sx-blog-grid { display: grid; gap: 24px; }
.sx-blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sx-blog-card {
    display: block; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.sx-blog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(37,99,235,.16); border-color: rgba(124,58,237,.3); }
.sx-blog-card-visual { height: 160px; position: relative; }
.sx-blog-card-body { padding: 20px 22px 24px; }
.sx-blog-card-body h3 { font-size: 1.08rem; margin: 4px 0 8px; color: var(--text-primary); line-height: 1.4; }
.sx-blog-card-body p { color: var(--text-muted); font-size: .9rem; margin-bottom: 10px; }
@media (max-width: 980px) { .sx-blog-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sx-blog-grid-3 { grid-template-columns: 1fr; } }

.sx-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.sx-blog-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.sx-sidebar-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.sx-sidebar-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: var(--text-secondary); transition: var(--transition); }
.sx-sidebar-item:hover { color: var(--primary); }
.sx-sidebar-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#eff6ff,#f5f3ff); color: var(--primary); flex-shrink: 0; }
.sx-newsletter-card { background: var(--gradient-primary) !important; }
.sx-newsletter-card, .sx-newsletter-card h3, .sx-newsletter-card p { color: #fff; }
.sx-newsletter-card .btn-primary { background: #fff; color: var(--primary-dark); margin-top: 10px; }
@media (max-width: 980px) { .sx-blog-layout { grid-template-columns: 1fr; } .sx-blog-sidebar { position: static; flex-direction: row; flex-wrap: wrap; } .sx-blog-sidebar > div { flex: 1 1 260px; } }

/* ---- Blog single: TOC + sticky share + author + FAQ ---- */
.sx-blog-post-layout { display: grid; grid-template-columns: 56px 1fr; gap: 32px; align-items: start; max-width: 900px; margin: 0 auto; }
.sx-share-sticky {
    position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.sx-share-sticky span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.sx-share-sticky a, .sx-share-sticky button {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); transition: var(--transition);
    cursor: pointer;
}
.sx-share-sticky a:hover, .sx-share-sticky button:hover { background: var(--gradient-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }
@media (max-width: 760px) { .sx-blog-post-layout { grid-template-columns: 1fr; } .sx-share-sticky { position: static; flex-direction: row; justify-content: center; } }

.sx-toc { background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 32px; }
.sx-toc h4 { font-size: .95rem; margin-bottom: 12px; color: var(--text-primary); }
.sx-toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.sx-toc a { font-size: .92rem; color: var(--text-secondary); }
.sx-toc a:hover { color: var(--primary); }

.sx-prose { font-size: 1.06rem; line-height: 1.85; color: var(--text-secondary); }
.sx-prose h2 { font-size: 1.55rem; margin: 40px 0 16px; color: var(--text-primary); scroll-margin-top: 100px; }
.sx-prose p { margin-bottom: 16px; }
.sx-prose .sx-lead { font-size: 1.18rem; color: var(--text-primary); font-weight: 500; }
.sx-prose ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.sx-prose ul.sx-check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; text-align: left !important; }
.sx-prose ul.sx-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-light); font-weight: 800; }
.sx-tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.sx-tag-row span { background: rgba(37,99,235,.08); color: var(--primary); font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.sx-workflow-list { counter-reset: wf; list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sx-workflow-list li { position: relative; padding-left: 46px; }
.sx-workflow-list li::before { counter-increment: wf; content: counter(wf); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px; background: var(--gradient-primary); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }

.sx-faq { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.sx-faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; }
.sx-faq-item summary { cursor: pointer; font-weight: 700; color: var(--text-primary); list-style: none; }
.sx-faq-item summary::-webkit-details-marker { display: none; }
.sx-faq-item summary::after { content: "+"; float: right; font-size: 1.2rem; color: var(--primary); }
.sx-faq-item[open] summary::after { content: "−"; }
.sx-faq-item p { margin-top: 12px; margin-bottom: 0; }

.sx-inline-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px 30px; margin: 32px 0;
}
.sx-inline-cta h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--text-primary); }
.sx-inline-cta p { margin: 0; color: var(--text-muted); font-size: .92rem; max-width: 420px; }

.sx-author-box { display: flex; gap: 18px; align-items: center; background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-top: 44px; }
.sx-author-avatar { width: 56px; height: 56px; border-radius: 16px; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.sx-author-box h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text-primary); }
.sx-author-box p { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* ---- Legal pages (Privacy Policy / Terms of Service) ---- */
.sx-legal-container { max-width: 800px; margin: 0 auto; }
.sx-legal-doc {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 48px; box-shadow: var(--shadow-card); font-size: 1.04rem; line-height: 1.85; color: var(--text-secondary);
}
.sx-legal-doc--no-card {
    background: transparent; border: none; box-shadow: none;
}
.sx-legal-doc p { margin-bottom: 18px; }
.sx-legal-doc ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.sx-legal-doc ul li { position: relative; padding-left: 26px; }
.sx-legal-doc ul li::before { content: "•"; position: absolute; left: 6px; color: var(--primary); font-weight: 800; }
.sx-legal-doc strong { color: var(--text-primary); }
.sx-legal-icon-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.sx-legal-icon-row span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--primary); background: rgba(37,99,235,.08); padding: 8px 14px; border-radius: 999px; }
@media (max-width: 640px) { .sx-legal-doc { padding: 28px 22px; } }

/* Icon spacing inside footer-style contact box (reused from privacy/terms) */
.sx-contact-box .sx-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.sx-contact-box .sx-contact-item span { color: var(--primary); font-size: 1.1rem; margin-top: 2px; }