/* ===== NEXORASOFT - ENHANCED STYLESHEET v2.0 ===== */
/* Full responsive + animations + modern UX improvements */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 40px -5px rgb(0 0 0 / 0.12), 0 8px 16px -6px rgb(0 0 0 / 0.06);
    --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.2);
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

a { color: inherit; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 1024px) { .container { padding: 0 1.75rem; } }
@media (max-width: 768px)  { .container { padding: 0 1.25rem; } }
@media (max-width: 480px)  { .container { padding: 0 1rem; } }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: #dbeafe;
    padding: 0.3rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
    font-family: var(--font-heading);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

.text-center { text-align: center; }

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 1024px) { .nav-container { padding: 0.875rem 1.75rem; } }
@media (max-width: 768px)  { .nav-container { padding: 0.75rem 1.25rem; } }

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 52px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img { transform: scale(1.03); }

@media (max-width: 480px) { .logo img { height: 42px; } }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: #eff6ff;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-menu-btn:hover { background: #dbeafe; color: var(--primary); }

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 2rem;
        gap: 0.25rem;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
        display: block;
    }

    /* Get Started btn in mobile menu */
    .nav-menu .btn {
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
        padding: 0.875rem 1rem;
        border-radius: 10px;
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu { gap: 0; }
    .nav-link { padding: 0.4rem 0.55rem; font-size: 0.85rem; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s ease;
}

.btn:hover::after { background: rgba(255,255,255,0.1); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 8rem 2rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 1.75rem 4rem;
        min-height: auto;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero { padding: 6rem 1.25rem 3rem; }
}

.hero-content { flex: 1; max-width: 600px; }

@media (max-width: 1024px) {
    .hero-content { max-width: 100%; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    color: var(--primary);
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    animation: fadeInDown 0.6s ease both;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.75;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@media (max-width: 1024px) {
    .hero-description { margin-left: auto; margin-right: auto; }
}

.hero-buttons {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

@media (max-width: 1024px) {
    .hero-buttons { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

@media (max-width: 1024px) { .hero-stats { justify-content: center; } }
@media (max-width: 480px) { .hero-stats { gap: 1.5rem; justify-content: space-around; } }

.stat { display: flex; flex-direction: column; }

.stat-number {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    min-height: 380px;
    max-width: 500px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

@media (max-width: 1024px) {
    .hero-visual { width: 100%; max-width: 460px; min-height: 320px; }
}

@media (max-width: 480px) {
    .hero-visual { min-height: 260px; }
}

.hero-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.hero-card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-card-dot.red    { background: #ef4444; }
.hero-card-dot.yellow { background: #f59e0b; }
.hero-card-dot.green  { background: #10b981; }

.hero-card-content {
    display: flex;
    gap: 1rem;
}

.hero-card-chart {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.hero-card-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-card-box {
    background: var(--bg-alt);
    border-radius: var(--radius);
    height: 68px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-card-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,0.05) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.floating-card {
    position: absolute;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.125rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    animation: float 3.5s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.8);
}

.floating-card-1 { bottom: 20px; left: -20px; animation-delay: 0s; }
.floating-card-2 { top: 20px; right: -20px; animation-delay: 1.2s; }

@media (max-width: 768px) {
    .floating-card-1 { left: 0; }
    .floating-card-2 { right: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-icon.green { background: #d1fae5; color: #10b981; }
.floating-icon.blue  { background: #dbeafe; color: var(--primary); }

.floating-text    { font-weight: 700; font-size: 0.875rem; font-family: var(--font-heading); }
.floating-subtext { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }

/* ===== BANNER STYLES ===== */
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0;
    border-radius: var(--radius-xl);
    margin: 2rem auto;
    max-width: 1280px;
}

.banner-hero { padding: 5rem 0 4rem; }

.banner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 0 2rem;
}

@media (max-width: 1024px) {
    .banner-container { gap: 2rem; }
}

@media (max-width: 768px) {
    .banner-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

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

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.banner-title span {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-description {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
}

@media (max-width: 768px) {
    .banner-description { margin: 0 auto 2rem; }
}

.banner-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) { .banner-stats { justify-content: center; } }

.banner-stat { text-align: center; }
.banner-stat-number { font-size: 2rem; font-weight: 800; display: block; font-family: var(--font-heading); }
.banner-stat-label  { font-size: 0.875rem; opacity: 0.8; }

.banner-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image { max-width: 100%; height: auto; }

.banner-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.banner-shape-1 { width: 300px; height: 300px; top: -50px;  right: -100px; animation: float 6s ease-in-out infinite; }
.banner-shape-2 { width: 200px; height: 200px; bottom: -30px; left: -50px; animation: float 8s ease-in-out infinite reverse; }
.banner-shape-3 { width: 150px; height: 150px; top: 50%;   right: -75px; animation: float 5s ease-in-out infinite 1s; }

.banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }

.banner-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatParticle 6s infinite;
}

.particle:nth-child(1) { width: 10px; height: 10px; top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 15px; height: 15px; top: 60%; left: 70%; animation-delay: 1s; }
.particle:nth-child(3) { width: 8px;  height: 8px;  top: 30%; left: 50%; animation-delay: 2s; }
.particle:nth-child(4) { width: 12px; height: 12px; top: 80%; left: 30%; animation-delay: 0.5s; }
.particle:nth-child(5) { width: 6px;  height: 6px;  top: 45%; left: 90%; animation-delay: 1.5s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50%       { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) { .banner-buttons { justify-content: center; } }
@media (max-width: 480px) {
    .banner-buttons { flex-direction: column; }
    .banner-buttons .btn { width: 100%; }
}

.banner .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* Compact banner for inner pages */
.banner-compact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    text-align: center;
}

.banner-compact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.banner-compact .banner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-compact .banner-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.banner-compact .banner-description {
    margin: 0 auto 1.5rem;
    max-width: 600px;
    font-size: 1.0625rem;
    opacity: 0.9;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #bfdbfe;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    margin-bottom: 1.375rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }

.service-icon.blue   { background: #dbeafe; color: var(--primary); }
.service-icon.cyan   { background: #cffafe; color: var(--secondary); }
.service-icon.purple { background: #ede9fe; color: var(--accent); }
.service-icon.pink   { background: #fce7f3; color: #ec4899; }
.service-icon.orange { background: #ffedd5; color: #f97316; }
.service-icon.green  { background: #dcfce7; color: #16a34a; }

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--text);
    font-family: var(--font-heading);
    line-height: 1.3;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.375rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: gap 0.25s ease;
    text-decoration: none;
}

.service-card:hover .service-link { gap: 0.75rem; }

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) { .why-grid { gap: 2.5rem; } }
@media (max-width: 768px)  { .why-grid { grid-template-columns: 1fr; gap: 2rem; } }

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    transition: background 0.2s ease;
}

.why-feature:hover { background: var(--bg-alt); }

.why-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.why-feature:hover .why-icon { transform: scale(1.1); }

.why-text h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.why-text p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.why-stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #bfdbfe;
}

.why-stat-card:hover::after { transform: scaleX(1); }

.why-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
}

.why-stat-label { color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 3rem 0 4rem; }

.cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 50%, #0ea5e9 100%);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

@media (max-width: 768px) { .cta-card { padding: 2.5rem 1.5rem; } }
@media (max-width: 480px) { .cta-card { padding: 2rem 1.25rem; } }

.cta-content { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.cta-description {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 280px; }
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-buttons .btn-primary:hover { background: #f0f9ff; }

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-1px);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; gap: 1rem; } }

.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
    font-size: 0.875rem;
    font-family: var(--font-heading);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: #94a3b8; }

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

.honeypot { display: none; }

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr 1.2fr 1.2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

@media (max-width: 1200px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; } }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 768px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo-title,
.footer-brand .logo-subtitle { color: white; }

.footer-description { margin: 1rem 0; line-height: 1.7; font-size: 0.875rem; }

.footer-social { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.06);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-links a:hover { color: white; padding-left: 3px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: white; }

@media (max-width: 480px) {
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    background: #25d366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 99;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-2px);
    background: #20b859;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* Pulse ring on WhatsApp button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 480px) {
    .whatsapp-float { left: 16px; bottom: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
}

/* ===== CHATBOT ===== */
.chat-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37,99,235,0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.chat-toggle:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 28px rgba(37,99,235,0.5);
}

.chat-toggle::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
    top: 2px;
    right: 2px;
}

@media (max-width: 480px) {
    .chat-toggle { right: 16px; bottom: 20px; width: 52px; height: 52px; font-size: 1.3rem; }
}

.chatbot {
    position: fixed;
    bottom: 104px;
    right: 28px;
    width: 390px;
    max-width: calc(100vw - 32px);
    height: 580px;
    max-height: calc(100vh - 130px);
    background: #f1f5f9;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;
}

.chatbot.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 480px) {
    .chatbot {
        right: 8px;
        bottom: 84px;
        width: calc(100vw - 16px);
        border-radius: 16px;
        height: min(560px, calc(100vh - 110px));
    }
}

.chat-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.chat-avatar {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.chat-header-info { flex: 1; min-width: 0; }

.chat-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
}

.chat-status {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.chat-status::before {
    content: '';
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }

.chat-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chat-close:hover { background: rgba(255,255,255,0.3); }

.chat-progress-wrap { background: rgba(255,255,255,0.15); height: 3px; flex-shrink: 0; }

.chat-progress-bar {
    height: 3px;
    background: #4ade80;
    transition: width 0.5s ease;
    width: 0%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f1f5f9;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.bot-row {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    max-width: 90%;
}

.bot-icon {
    width: 28px; height: 28px;
    background: linear-gradient(135deg,#1e3a8a,#2563eb);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    color: white;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.chat-message {
    padding: 0.65rem 0.9rem;
    border-radius: 16px;
    line-height: 1.6;
    font-size: 0.875rem;
    animation: msgIn 0.22s ease;
    word-break: break-word;
}

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

.chat-message.user {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    max-width: 82%;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.chat-message.bot {
    background: white;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    flex: 1;
}

.chat-message.bot a { color: #2563eb; font-weight: 600; text-decoration: none; }
.chat-message.bot a:hover { text-decoration: underline; }

/* Typing indicator */
.typing-indicator { display: flex; gap: 5px; padding: 4px 2px; align-items: center; }
.typing-indicator span {
    width: 8px; height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typeBounce 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay:.2s; }
.typing-indicator span:nth-child(3) { animation-delay:.4s; }

@keyframes typeBounce {
    0%,60%,100% { transform:translateY(0); opacity:.4; }
    30% { transform:translateY(-6px); opacity:1; }
}

.chat-typing { display:flex; gap:4px; padding:4px 0; }
.chat-typing span { width:8px; height:8px; background:#94a3b8; border-radius:50%; animation:typing 1.4s infinite; }
.chat-typing span:nth-child(2) { animation-delay:.2s; }
.chat-typing span:nth-child(3) { animation-delay:.4s; }

@keyframes typing {
    0%,60%,100% { transform:translateY(0); opacity:0.5; }
    30% { transform:translateY(-6px); opacity:1; }
}

.quick-reply-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 0 2px;
    animation: msgIn 0.3s ease;
}

.quick-reply-btn {
    background: white;
    color: #2563eb;
    border: 1.5px solid #bfdbfe;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.quick-reply-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.chat-suggestion-chips { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0; }

.suggestion-chip {
    background:white; border:1px solid var(--border);
    border-radius:100px; padding:6px 14px;
    font-size:0.75rem; cursor:pointer; transition:all 0.2s ease;
}

.suggestion-chip:hover { background:var(--primary); color:white; border-color:var(--primary); }

.chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 0.9rem;
    border-top: 1px solid #e2e8f0;
    background: white;
    flex-shrink: 0;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    font-size: 0.875rem;
    outline: none;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}

.chat-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    background: white;
}

.chat-send {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: white;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.chat-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(37,99,235,0.4); }
.chat-send:disabled { opacity:0.5; cursor:not-allowed; transform:none; }

#chat-lang-select {
    background: rgba(255,255,255,0.18);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 0.72rem;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
}

#chat-lang-select option { background:#1e293b; color:white; }

.streaming-cursor { animation:blink 1s infinite; display:inline-block; }
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 12px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    max-width: calc(100vw - 40px);
}

.notification.success { background: #10b981; color: white; }
.notification.error   { background: #ef4444; color: white; }
.notification.info    { background: #3b82f6; color: white; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(100%); opacity: 0; }
}

/* ===== LOADING STATES ===== */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    top: 50%; right: 12px;
    margin-top: -8px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FORM VALIDATION ===== */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.error-message { color: #ef4444; font-size: 0.75rem; margin-top: 4px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.fade-in { animation: fadeInUp 0.5s ease; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== TYPING VARIANTS ===== */
.typing-dots { display: inline-flex; gap: 4px; padding: 8px 0; }
.typing-dots span { width: 8px; height: 8px; background: #94a3b8; border-radius: 50%; animation: typingBounce 1.4s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%,60%,100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.quick-replies { padding: 0 16px; }
.quick-replies button:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3); }

.typing-animation { display: flex; gap: 5px; padding: 10px 0; }
.typing-animation span { width: 9px; height: 9px; background: #94a3b8; border-radius: 50%; animation: typeDot 1.4s infinite; }
.typing-animation span:nth-child(2) { animation-delay: 0.2s; }
.typing-animation span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeDot {
    0%,60%,100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-10px); opacity: 1; }
}

.suggestion-row button { animation: fadeInUpSugg 0.3s ease; }
@keyframes fadeInUpSugg {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 0.875rem;
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow 0.25s ease;
}

.faq-item:hover { box-shadow: var(--shadow); }

.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    transition: color 0.2s;
    font-family: var(--font-heading);
}

.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s ease, background 0.2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.5rem 1.25rem; }

.faq-answer p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.75; }

@media (max-width: 768px) {
    .faq-question { padding: 1rem 1.25rem; font-size: 0.9375rem; }
    .faq-answer { padding: 0 1.25rem; }
    .faq-item.open .faq-answer { padding: 0 1.25rem 1rem; }
}

/* ===== BLOG PAGE ===== */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.blog-hero .container { position: relative; z-index: 1; max-width: 750px; }
.blog-hero h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 800; color: white; line-height: 1.2; font-family: var(--font-heading); }
.blog-hero p  { font-size: 1.0625rem; color: rgba(255,255,255,0.88); max-width: 580px; margin: 1rem auto 0; line-height: 1.7; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding: 2rem 0;
}

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

/* ===== ARTICLE PAGES ===== */
.article-hero {
    padding: 5.5rem 0 3.5rem;
    color: var(--text);
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.article-hero .container { position: relative; z-index: 1; max-width: 820px; }
.article-hero h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 800; line-height: 1.3; margin-bottom: 1.25rem; color: var(--text); font-family: var(--font-heading); }

.article-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-muted);
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

/* Article body */
.article-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
}

@media (max-width: 768px) { .article-body { padding: 2rem 1.25rem 3rem; } }

.article-lead {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.85;
    margin-bottom: 2rem;
    border-left: 3px solid var(--primary);
    padding-left: 1.25rem;
}

.article-body h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    margin: 2.75rem 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    font-family: var(--font-heading);
}

.article-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin: 1.75rem 0 0.6rem; font-family: var(--font-heading); }
.article-body p  { font-size: 1rem; color: #475569; line-height: 1.85; margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body li { font-size: 1rem; color: #475569; line-height: 1.8; margin-bottom: 0.5rem; }
.article-body strong { color: var(--text); }

/* Stat boxes */
.stat-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

@media (max-width: 480px) { .stat-box { grid-template-columns: 1fr; } }

.stat-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stat-num   { font-size: 2.25rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; display: block; font-family: var(--font-heading); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; display: block; }

/* Benefit cards */
.benefit-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.benefit-card:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: #bfdbfe; }

.benefit-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; font-family: var(--font-heading); }
.benefit-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

@media (max-width: 480px) {
    .benefit-card { flex-direction: column; gap: 0.75rem; }
}

/* Callout boxes */
.callout {
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.callout.green  { background: #f0fdf4; border-color: #16a34a; }
.callout.purple { background: #faf5ff; border-color: #7c3aed; }
.callout p { margin: 0; color: #1e40af; font-size: 0.95rem; line-height: 1.7; }
.callout.green p  { color: #14532d; }
.callout.purple p { color: #4c1d95; }

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compare-table th { background: #1e3a8a; color: white; padding: 13px 16px; text-align: left; font-weight: 700; font-family: var(--font-heading); }
.compare-table td { padding: 11px 16px; border-bottom: 1px solid #f1f5f9; color: #475569; }
.compare-table tr:nth-child(even) td { background: #f8fafc; }
.compare-table tr:hover td { background: #eff6ff; }
.compare-table .bad  { color: #dc2626; font-weight: 600; }
.compare-table .good { color: #16a34a; font-weight: 600; }

/* Responsive table */
@media (max-width: 600px) {
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 10px; }
}

/* Use case grid */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.use-case-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.use-case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.use-case-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.use-case-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; font-family: var(--font-heading); }
.use-case-card p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Myth cards */
.myth-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.myth-bad  { color: #dc2626; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.35rem; }
.myth-good { color: #16a34a; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; }
.myth-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Article CTA */
.article-cta {
    color: white !important;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.article-cta h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: white !important; position: relative; font-family: var(--font-heading); }
.article-cta p  { opacity: 0.9; margin-bottom: 1.75rem; font-size: 1rem; color: white !important; position: relative; }
.article-cta .btn-primary  { background: white !important; color: #1d4ed8 !important; }
.article-cta .btn-primary:hover  { background: #f0f9ff !important; }
.article-cta .btn-secondary { border-color: rgba(255,255,255,0.5) !important; color: white !important; background: transparent !important; }

@media (max-width: 480px) {
    .article-cta { padding: 2rem 1.25rem; }
    .article-cta .btn { display: block; width: 100%; margin-bottom: 0.75rem; margin-right: 0 !important; }
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: gap 0.2s;
}

.back-link:hover { gap: 0.75rem; }

/* ===== HERO (inner pages) ===== */
.hero[style*="min-height:50vh"] {
    min-height: 50vh;
    padding-top: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero[style*="min-height:50vh"] {
        padding-top: 5.5rem;
        padding-bottom: 2rem;
        min-height: auto;
    }
}

/* ===== PRODUCTS / PRICING CARDS ===== */
.product-card, .pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover, .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* ===== PROCESS / STEP CARDS ===== */
.process-step {
    position: relative;
}

/* ===== CONTACT INFO CARDS ===== */
.contact-info-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== TEAM CARDS ===== */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

/* ===== TESTIMONIAL / REVIEW CARDS ===== */
.testimonial-card, .review-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* ===== HERO TITLE underline fix for gradient text ===== */
.hero-title span::after { display: none; }

/* ===== ABOUT / MISSION SECTION ===== */
@media (max-width: 768px) {
    .why-stats { grid-template-columns: 1fr 1fr; }
}

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

/* ===== SCROLL-TO-TOP (can be added via JS) ===== */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 98;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== FOCUS VISIBLE (Accessibility) ===== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

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

/* ===== PRINT STYLES ===== */
@media print {
    .navbar, .whatsapp-float, .chat-toggle, .chatbot, .cta-section { display: none !important; }
    body { font-size: 12pt; }
    .hero { min-height: auto; padding: 2rem 0; }
}

/* ===== MOBILE-ONLY UTILITIES ===== */
@media (max-width: 480px) {
    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.65rem; }
    .hero-title  { font-size: 2rem; }
}

/* ===== TABLET TWEAKS ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero { gap: 2rem; padding-top: 7rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
