/*
Theme Name: maqsd
Author: You
Version: 1.0
*/

/* ============================================================
   Anti Gravity – Al Maqsed Design System
   Brand Colors: #10acaf (Teal) | #ff9008 (Orange)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    /* Brand */
    --primary: #10acaf;
    --primary-light: #1ed3d7;
    --primary-dark: #0d8a8c;
    --primary-rgb: 16, 172, 175;
    --secondary: #ff9008;
    --secondary-light: #ffaa40;
    --secondary-dark: #cc7306;
    --secondary-rgb: 255, 144, 8;

    /* Light Theme */
    --bg: #f4f7fa;
    --bg-alt: #eef1f5;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --text: #0f1923;
    --text-muted: #5a6478;
    --text-subtle: #8895a7;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);

    /* Semantic */
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Effects */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 32px rgba(16, 172, 175, 0.28);
    --shadow-secondary: 0 8px 32px rgba(255, 144, 8, 0.28);

    /* Glass — Light mode: solid frosted white nav */
    --glass: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(0, 0, 0, 0.07);
    --glass-blur: blur(20px);
    --mesh-gradient: radial-gradient(at 0% 0%, hsla(181, 84%, 37%, 0.15) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, hsla(33, 100%, 52%, 0.1) 0px, transparent 50%),
                    radial-gradient(at 50% 0%, hsla(181, 84%, 37%, 0.05) 0px, transparent 50%);

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 20px;
    --r-full: 9999px;

    /* Spacing */
    --nav-h: 74px;

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-med: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --t-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Typography */
    --font-en: 'Outfit', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    --font: var(--font-en);

    /* Gradients (brand colours) */
    --grad-primary:  linear-gradient(135deg, #10acaf 0%, #1ed3d7 100%);
    --grad-secondary: linear-gradient(135deg, #ff9008 0%, #ffaa40 100%);
    
    /* Theme-specific Hero & Section Backgrounds (Light) */
    --grad-hero: radial-gradient(at 50% 50%, #f4f7fa 0%, #e2e8f0 100%);
    --bg-label: #ffffff; 
    --cta-bg: #ffffff;
    
    /* Subtle glow overlay used on glow-cards */
    --grad-card: radial-gradient(circle at top right, rgba(16, 172, 175, 0.05), transparent 60%);

    /* Special Effects */
    --grad-btn-premium: linear-gradient(135deg, #10acaf 0%, #00f5ff 100%);
    --shadow-btn-glow: 0 0 20px rgba(16, 172, 175, 0.2);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg: #030712;
    --bg-alt: #080c1d;
    --surface: #0a1120;
    --surface-2: #141b2d;
    --text: #f0f4f9;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border: rgba(255, 255, 255, 0.04);
    --border-strong: rgba(255, 255, 255, 0.1);

    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    /* Dark mode glass: semi-transparent dark panel */
    --glass: rgba(3, 7, 18, 0.82);
    --glass-border: rgba(255, 255, 255, 0.06);
    --mesh-gradient: radial-gradient(at 0% 0%, hsla(181, 84%, 37%, 0.1) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, hsla(33, 100%, 52%, 0.06) 0px, transparent 50%),
                    radial-gradient(at 50% 50%, hsla(181, 84%, 37%, 0.03) 0px, transparent 50%);
    /* Slightly stronger glow on dark cards */
    --grad-card: radial-gradient(circle at top right, rgba(16, 172, 175, 0.08), transparent 60%);
    
    /* Theme-specific Hero & Section Backgrounds (Dark) */
    --grad-hero: radial-gradient(ellipse at top, #0b1120 0%, #030712 100%);
    --bg-label: #0a1120;
    --cta-bg: #0a1120;
}

/* RTL Font Switch */
[dir="rtl"] {
    --font: var(--font-ar);
}

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

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background var(--t-slow), color var(--t-slow);
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--t-med);
}

a:hover {
    color: var(--primary-light);
}

button {
    cursor: pointer;
    font-family: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

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

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-error {
    color: var(--error);
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.gap-6 {
    gap: 3rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-auto {
    margin-top: auto;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-auto {
    margin-bottom: auto;
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-error { color: var(--error) !important; }
.text-success { color: var(--success) !important; }

.bg-error-soft { background: rgba(239, 68, 68, 0.1) !important; }
.bg-success-soft { background: rgba(34, 197, 94, 0.1) !important; }

/* ============================================================
   Typography
   ============================================================ */
.display-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.display-2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.heading-1 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
}

.heading-2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
}

.lead {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.8;
}

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

.orange-text {
    background: var(--grad-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: var(--r-full);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--t-med);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: var(--t-fast);
}

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

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.4);
    color: #fff;
}

.btn-secondary {
    background: var(--grad-secondary);
    color: #fff;
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(var(--secondary-rgb), 0.4);
    color: #fff;
}

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

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

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--t-med);
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--r-md);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: var(--t-med);
}

.card:hover .card-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.card-accent-primary {
    border-top: 3px solid var(--primary) !important;
}

.card-accent-secondary {
    border-top: 3px solid var(--secondary) !important;
}

.card-accent-left {
    border-right: 4px solid var(--primary) !important;
}

[dir="ltr"] .card-accent-left {
    border-right: none !important;
    border-left: 4px solid var(--primary) !important;
}

/* Glow Card */
.card-glow {
    background: linear-gradient(145deg, var(--surface), var(--surface-2));
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    z-index: 0;
}

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

/* Service Cards Specifics */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .btn {
    margin-top: auto;
    padding-top: 1.5rem;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    width: 100%;
}

.service-card .btn:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.service-card .btn i {
    transition: transform var(--t-med);
}

.service-card .btn:hover i {
    transform: translateX(-5px);
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--t-med);
}

.header.scrolled {
    height: 60px;
    box-shadow: var(--shadow-md);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--t-med);
    display: block;
}

.header.scrolled .brand-logo {
    height: 38px;
}

.nav-brand {
    display: flex;
    align-items: center;
    transition: var(--t-med);
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand .brand-icon {
    width: 38px;
    height: 38px;
    background: var(--grad-primary);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--shadow-primary);
}

.nav-brand .brand-name {
    color: var(--primary);
}

.nav-brand .brand-sub {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    display: block;
    line-height: 1;
}

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

.nav-link {
    padding: 0.5rem 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--r-sm);
    transition: var(--t-med);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-trigger .chevron {
    font-size: 0.7rem;
    transition: transform var(--t-med);
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    min-width: 260px;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.97);
    transition: var(--t-med);
    z-index: 200;
}

/* RTL: open right → align right; LTR: align left */
[dir="rtl"] .dropdown-menu {
    right: 0;
}

[dir="ltr"] .dropdown-menu {
    left: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--r-md);
    transition: var(--t-fast);
}

.dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.dropdown-item .di-icon {
    width: 32px;
    height: 32px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--t-med);
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}

.lang-btn {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--surface);
    z-index: 999;
    padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    border-radius: var(--r-md);
    border: 1px solid transparent;
    transition: var(--t-fast);
    display: block;
}

.mobile-nav-link:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.mobile-nav-sub {
    padding-right: 1.5rem;
}

[dir="ltr"] .mobile-nav-sub {
    padding-right: 0;
    padding-left: 1.5rem;
}

.mobile-nav-sub-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.6rem 1rem;
    display: block;
    border-radius: var(--r-sm);
    transition: var(--t-fast);
}

.mobile-nav-sub-link:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* ============================================================
   Sub-Hero Sections (Page Headers)
   ============================================================ */
.sub-hero {
    padding: 9rem 0 5rem;
    text-align: center;
    background: var(--bg-alt);
    background-image: var(--mesh-gradient);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .sub-hero {
    background: var(--bg);
    background-image: var(--mesh-gradient);
}

.sub-hero h1 {
    color: var(--text);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.sub-hero p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto;
}

.sub-hero .btn {
    margin-top: 2.5rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
/* ============================================================
   Hero Section Redesign
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    background: var(--grad-hero);
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
    overflow: hidden;
}

/* Base blobs updated for better visuals */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: blob1 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: blob2 15s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: 80vh;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 0;
        gap: 4rem;
    }
}

/* Right Column: Content */
.hero-content {
    text-align: right;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

[dir="ltr"] .hero-content {
    text-align: left;
}

@media (max-width: 1024px) {
    .hero-content {
        text-align: center;
        order: 1;
    }
}

.hero-content h1 {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

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

/* Left Column: Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-visual {
        order: 2;
        margin-top: 2rem;
    }
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    perspective: 1000px;
}

.hero-mockup {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    transition: var(--t-slow);
}

.mockup-wrapper:hover .hero-mockup {
    transform: scale(1.02);
}

/* Floating Elements */
.floating-tag {
    position: absolute;
    background: var(--surface);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    padding: 0.6rem 1.15rem;
    border-radius: var(--r-md);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* Icon on the right for RTL */
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
    animation: float 4s ease-in-out infinite alternate;
    white-space: nowrap;
}

.floating-tag i {
    color: var(--primary-light);
    font-size: 1rem;
}

.tag-1 { top: -5%; right: -2%; animation-delay: 0s; }
.tag-2 { top: 55%; right: -12%; animation-delay: 1s; }
.tag-3 { bottom: 10%; left: -15%; animation-delay: 2s; }

.tag-3 i { color: var(--secondary); }

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

/* Dashboard Component Styles */
.db-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 1.5rem;
    width: 100%;
    max-width: 580px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.db-live {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: capitalize;
}

.db-live span {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
}

.db-title {
    color: var(--text-subtle);
    font-size: 0.85rem;
    font-weight: 600;
}

.db-dots {
    display: flex;
    gap: 0.4rem;
}

.db-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.db-dot.g { background: #4ade80; }
.db-dot.y { background: #fbbf24; }
.db-dot.r { background: #f87171; }

.db-body {
    position: relative;
    padding: 1rem 0 2rem;
}

.db-chart-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
    padding-bottom: 2rem;
    position: relative;
}

.db-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 18%;
}

.db-bar {
    width: 100%;
    background: rgba(16, 172, 175, 0.15);
    border-radius: 6px;
    position: relative;
    transition: var(--t-med);
}

.db-bar-group:nth-child(1) .db-bar { height: 140px; border: 2px solid var(--secondary); background: rgba(255, 144, 8, 0.15); }
.db-bar-group:nth-child(2) .db-bar { height: 70px; }
.db-bar-group:nth-child(3) .db-bar { height: 95px; }
.db-bar-group:nth-child(4) .db-bar { height: 50px; }

.db-q-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-subtle);
}

/* Line Chart Overlay */
.db-line-svg {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 140px;
    pointer-events: none;
    overflow: visible;
}

.db-line-svg path {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.4));
}

.db-line-svg circle {
    fill: var(--secondary);
    stroke: rgba(255,255,255,0.2);
    stroke-width: 2;
}

.db-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.db-stat-item {
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.db-stat-item:not(:last-child) {
    border-left: 1px solid var(--border);
}

.db-stat-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-direction: row-reverse;
}

.db-stat-top span {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text);
}

.db-stat-top i {
    font-size: 1rem;
}

.db-stat-item:nth-child(1) i { color: #2dd4bf; }
.db-stat-item:nth-child(2) i { color: var(--secondary); }
.db-stat-item:nth-child(3) i { color: #2dd4bf; }

.db-stat-label {
    font-size: 0.7rem;
    color: var(--text-subtle);
    font-weight: 700;
    text-align: center;
}

/* Stats Box */
.hero-stats-box {
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 1.5rem 2.5rem;
    border-radius: var(--r-lg);
    margin-top: 3.5rem;
    box-shadow: var(--shadow-md);
}

.h-stat-item {
    text-align: center;
}

.h-stat-item:not(:last-child) {
    border-left: 1px solid var(--border);
}

[dir="ltr"] .h-stat-item:not(:last-child) {
    border-left: none;
    border-right: 1px solid var(--border);
}

.h-stat-val {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.h-stat-label {
    font-size: 0.8rem;
    color: var(--text-subtle);
    font-weight: 600;
}

@media (max-width: 600px) {
    .hero-stats-box {
        grid-template-columns: repeat(3, 1fr);
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        margin-top: 2rem;
    }
    .h-stat-item:not(:last-child) {
        border-left: 1px solid var(--border);
        border-bottom: none;
        padding-bottom: 0;
    }
    [dir="ltr"] .h-stat-item:not(:last-child) {
        border-right: 1px solid var(--border);
        border-left: none;
    }
    .h-stat-val {
        font-size: 1.25rem;
    }
    .h-stat-label {
        font-size: 0.7rem;
    }
}


/* ============================================================
   Section Title
   ============================================================ */
.section-title {
    margin-bottom: 3.5rem;
}

.section-title.centered {
    text-align: center;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
}

.section-title.centered p {
    margin: 0 auto;
}

/* ============================================================
   Feature List / Check List
   ============================================================ */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.check-item .ci-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-top: 0.1rem;
}

.check-item.danger .ci-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.check-item.danger i {
    color: var(--error);
}

/* ============================================================
   Methodology Steps
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--t-med);
}

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

.step-number {
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(var(--primary-rgb), 0.06);
    pointer-events: none;
}

[dir="ltr"] .step-number {
    right: auto;
    left: 1.5rem;
}

.step-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--grad-primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

/* ============================================================
   Two-Column Scope Table
   ============================================================ */
.scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 700px) {
    .scope-grid {
        grid-template-columns: 1fr;
    }
}

.scope-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
}

.scope-col-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.scope-col-header h4 {
    margin: 0;
    font-size: 1.05rem;
}

.scope-col-header .sh-icon {
    font-size: 1.2rem;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t-med);
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    gap: 1rem;
    text-align: right;
}

[dir="ltr"] .faq-trigger {
    text-align: left;
}

.faq-trigger .faq-icon {
    flex-shrink: 0;
    transition: transform var(--t-med);
    color: var(--primary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow), padding var(--t-med);
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

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

/* ============================================================
   CTA Section (Banner)
   ============================================================ */
.cta-section {
    background: var(--cta-bg);
    background-image: var(--mesh-gradient);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 3.5rem 4.5rem;
    text-align: right;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 991px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.2;
}

.cta-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-socials .social-link {
    width: 42px;
    height: 42px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 1.1rem;
    border-radius: var(--r-md);
    transition: var(--t-fast);
}

.cta-socials .social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
    margin: 0;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}




.cta-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.cta-check-item i {
    color: var(--primary);
    font-size: 1rem;
}

.cta-microcopy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* ============================================================
   Contact Form
   ============================================================ */
.form-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
}

/* Floating Label System */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-control {
    width: 100%;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--t-med);
    outline: none;
}

[data-theme="dark"] .form-control {
    background: rgba(255, 255, 255, 0.04);
    color-scheme: dark;
}

.form-control:placeholder-shown {
    /* Hidden placeholder for floating label logic */
    color: transparent;
}

select.form-control:placeholder-shown,
select.form-control {
    /* Select boxes should not have transparent text even when "placeholder-shown" */
    color: var(--text);
}

.form-control::placeholder {
    color: transparent;
}

.form-label {
    position: absolute;
    top: 50%;
    right: 1.25rem; /* Better internal RTL padding */
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--t-med);
    padding: 2px 8px; /* Background coverage */
    background: transparent;
    z-index: 1;
}

[dir="ltr"] .form-label {
    right: auto;
    left: 1rem;
}

/* Focus and Filled states */
.form-control:focus,
.form-control:not(:placeholder-shown) {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label,
.form-control:valid + .form-label,
.form-control.filled + .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: var(--primary);
    background: var(--bg-label);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0 8px;
}

/* Select Refinement */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310acaf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1.1rem;
    padding-left: 3rem; 
    padding-top: 1.5rem; /* Space for floating label */
    padding-bottom: 0.5rem;
    height: auto;
    min-height: 4.5rem;
}

[dir="ltr"] select.form-control {
    background-position: right 1rem center;
    padding-right: 3rem;
}

select.form-control:not(:placeholder-shown) + .form-label,
select.form-control.filled + .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
}
/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

/* Button & Interactions */
.btn-premium {
    background: var(--grad-btn-premium);
    color: #fff !important;
    border: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-btn-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(16, 172, 175, 0.55);
    filter: brightness(1.1);
}

.btn-premium:active {
    transform: translateY(-2px);
}

.form-microcopy {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 5rem 0 0;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-subtle);
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 55px;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--t-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-subtle);
    font-size: 0.85rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.65rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--t-med);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.anim {
    opacity: 0;
}

.anim.visible {
    animation: fadeInUp 0.7s ease forwards;
}

.anim.delay-1 {
    animation-delay: 0.1s;
}

.anim.delay-2 {
    animation-delay: 0.2s;
}

.anim.delay-3 {
    animation-delay: 0.3s;
}

.anim.delay-4 {
    animation-delay: 0.4s;
}

/* ============================================================
   Misc
   ============================================================ */
.divider {
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.85rem;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.badge-pill.orange {
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
}

.badge-pill.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.badge-pill.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Page padding utility */
.page-top {
    padding-top: var(--nav-h);
}

.sub-hero {
    background: var(--grad-hero);
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 3rem) 0 4rem;
    position: relative;
    overflow: hidden;
}

.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.sub-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sub-hero-content h1 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.sub-hero-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .dropdown-menu {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 2rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
        margin: 0;
        border-radius: 0;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .display-1 {
        font-size: 2.2rem;
    }

    .btn-lg {
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* ============================================================
   Blog Post / Article Styles
   ============================================================ */
.article-header {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-meta i {
    color: var(--primary);
}

.article-featured-img {
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.article-featured-img img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.25rem;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.article-content ul, 
.article-content ol {
    margin-bottom: 2rem;
    padding-inline-start: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    position: relative;
}

.article-content li::marker {
    color: var(--primary);
    font-weight: 700;
}

.article-content blockquote {
    background: rgba(var(--primary-rgb), 0.05);
    border-right: 4px solid var(--primary);
    padding: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.25rem;
    border-radius: var(--r-md);
    color: var(--text);
}

[dir="ltr"] .article-content blockquote {
    border-right: none;
    border-left: 4px solid var(--primary);
}

.article-content img {
    border-radius: var(--r-md);
    margin: 2.5rem 0;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    height: fit-content;
}

.sidebar-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.toc-link:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

[dir="ltr"] .toc-link:hover {
    transform: translateX(4px);
}

/* Share Buttons */
.share-links {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--t-med);
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}



/* Related Posts */
.related-posts {
    margin-top: 5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.breadcrumb a {
    color: var(--text-subtle);
}

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

.breadcrumb i {
    font-size: 0.7rem;
}

/* Header CTA specific */
.header-cta {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.8rem !important;
    margin-left: 1rem;
}

@media (max-width: 991px) {
    .header-cta {
        display: none;
    }
}

