:root {
    --primary: #7c3aed;
    --primary-strong: #6d28d9;
    --accent: #2d3748;
    --ink: #1a1a1a;
    --panel: #2a2a2a;
    --card: #f5f5f5;
    --stroke: #d0d0d0;
    --muted: #555555;
    --text: #2c3e50;
    --shadow-lg: 0 30px 90px rgba(0,0,0,0.15);
    --shadow-md: 0 18px 40px rgba(0,0,0,0.12);
    --shadow-sm: 0 8px 18px rgba(0,0,0,0.08);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.6rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --glass: rgba(0, 0, 0, 0.02);
    --gradient-hero: linear-gradient(135deg, #f4f4f4 0%, #ececec 100%);
    --gradient-card: linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 2000;
    background: var(--primary);
    color: #041018;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    outline: 2px solid var(--accent);
}

body {
    font-family: 'Space Mono', 'Courier New', monospace;
    background: #f4f4f4;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(124, 58, 237, 0.03) 0px,
            rgba(124, 58, 237, 0.03) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(124, 58, 237, 0.03) 0px,
            rgba(124, 58, 237, 0.03) 1px,
            transparent 1px,
            transparent 40px
        );
    background-size: 40px 40px;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' result='noise' /%3E%3C/filter%3E%3Crect width='100' height='100' fill='%23f4f4f4' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

[id] {
    scroll-margin-top: 110px;
}

/* English Font Override */
body.en {
    font-family: 'Space Mono', 'Courier New', monospace;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.05em;
    font-weight: 900;
    font-family: 'JetBrains Mono', 'Space Mono', 'Courier New', monospace;
    text-transform: uppercase;
    color: #1a1a1a;
}

h1 { font-size: clamp(2.6rem, 4.8vw, 4.2rem); line-height: 1.1; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; }

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(244, 244, 244, 0.95);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 2px solid #7c3aed;
    padding: 1.1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

header.scrolled {
    background: rgba(244, 244, 244, 0.98);
    padding: 0.85rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', 'Space Mono', 'Courier New', monospace;
    letter-spacing: 0.1em;
}

.logo-icon {
    width: 42px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.15));
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.3));
    transform: translateY(-1px);
}

.logo i {
    color: var(--primary);
    filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.2));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    font-weight: 700;
    color: #2c3e50;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Space Mono', 'Courier New', monospace;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-strong));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.nav-links a:hover::after { transform: scaleX(1); }

.lang-switch {
    border: 2px solid #1a1a1a !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: 0;
    background: transparent;
    color: #2c3e50 !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-family: 'Space Mono', 'Courier New', monospace;
}

.lang-switch:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: rgba(124, 58, 237, 0.05);
}

.btn {
    padding: 0.95rem 2.3rem;
    border-radius: 0;
    font-weight: 700;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Space Mono', 'Courier New', monospace;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: #7c3aed;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    border-color: #7c3aed;
}

.btn-primary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
    background: #6d28d9;
    border-color: #6d28d9;
}

.btn-ghost {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #2c3e50;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    background: rgba(124, 58, 237, 0.05);
}

.cta-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 1.2rem 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.55rem 1.2rem;
    border-radius: 0;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.hero {
    padding: 150px 0 110px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #1a1a1a;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(124, 58, 237, 0.02), transparent 50%, rgba(124, 58, 237, 0.02));
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero h1 {
    color: #1a1a1a;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 620px;
    font-weight: 500;
}

.hero-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.45rem 1rem;
    border-radius: 0;
    background: transparent;
    border: 2px solid var(--stroke);
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Space Mono', 'Courier New', monospace;
}

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

.metric {
    padding: 1rem 1.2rem;
    border-radius: 0;
    background: transparent;
    border: 2px solid #1a1a1a;
}

.metric-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
}

.metric-label { 
    color: var(--muted); 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.schematic-grid {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.15));
}

.schematic-grid line,
.schematic-grid rect,
.schematic-grid circle {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawStroke 2.5s ease-in-out forwards;
}

.schematic-grid line:nth-child(1) { animation-delay: 0.1s; }
.schematic-grid line:nth-child(2) { animation-delay: 0.2s; }
.schematic-grid line:nth-child(3) { animation-delay: 0.3s; }
.schematic-grid line:nth-child(4) { animation-delay: 0.4s; }
.schematic-grid line:nth-child(5) { animation-delay: 0.5s; }
.schematic-grid line:nth-child(6) { animation-delay: 0.6s; }
.schematic-grid line:nth-child(7) { animation-delay: 0.7s; }
.schematic-grid line:nth-child(8) { animation-delay: 0.8s; }
.schematic-grid rect:nth-child(n+1) { animation-delay: 0.2s; }
.schematic-grid circle { animation-delay: 1.5s; }

@keyframes drawStroke {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-schematic-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    font-family: 'Space Mono', 'Courier New', monospace;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
}

.orb-1 { width: 320px; height: 320px; background: rgba(78, 242, 192, 0.35); top: 10%; right: 8%; }
.orb-2 { width: 260px; height: 260px; background: rgba(245, 195, 108, 0.28); bottom: 6%; left: 12%; }

.glass-widget {
    position: absolute;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px) saturate(140%);
    color: var(--text);
}

.glass-widget.main {
    width: 320px;
    padding: 1.4rem;
    left: 8%;
    top: 12%;
    background-image: var(--gradient-card);
}

.widget-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.widget-title { font-size: 1.4rem; font-weight: 800; }
.widget-sub { color: var(--muted); margin: 0.25rem 0 0.8rem; }

.progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    border: 1px solid var(--stroke);
    margin-bottom: 0.6rem;
}

.progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.widget-foot { color: var(--muted); font-weight: 600; font-size: 0.95rem; }

.glass-widget.stats {
    width: 260px;
    padding: 1.2rem;
    right: 6%;
    bottom: 14%;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--stroke);
}

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

.stat-value { font-weight: 800; color: var(--primary); }
.stat-label { color: var(--muted); font-weight: 600; }

.hero-badge {
    position: absolute;
    bottom: 8%;
    left: 18%;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--stroke);
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    color: var(--text);
}

.hero-badge i { color: var(--accent); }

.services {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #ececec 0%, #e8e8e8 100%);
    position: relative;
    overflow: hidden;
    border-top: 3px solid #1a1a1a;
    border-bottom: 3px solid #1a1a1a;
}

.services::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(124, 58, 237, 0.02), transparent 35%),
                radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.02), transparent 35%);
    opacity: 0.7;
}

.services .container { position: relative; z-index: 1; }

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title p {
    color: var(--muted);
    max-width: 640px;
    margin: 0.6rem auto 0;
    font-size: 1rem;
}

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

.service-card {
    background: var(--card);
    border: 2px solid #1a1a1a;
    border-radius: 0;
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(124, 58, 237, 0.04), rgba(124, 58, 237, 0.02));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
    border-color: var(--primary);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    border: 2px solid var(--primary);
}

.service-card h3 { 
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.service-card p { 
    color: var(--muted);
    font-size: 0.95rem;
}

.services-grid .service-card:nth-child(odd) .service-icon { 
    background: transparent;
    border-color: var(--primary-strong);
    color: var(--primary-strong);
}

.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #e8e8e8 0%, #f4f4f4 100%);
    border-bottom: 3px solid #1a1a1a;
}

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

.about-card {
    background: var(--card);
    border: 2px solid #1a1a1a;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.pill-list {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.pill {
    padding: 0.5rem 0.9rem;
    border-radius: 0;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.about-points {
    display: grid;
    gap: 1rem;
}

.point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1.2rem 1rem;
    border-radius: 0;
    border: 2px solid #1a1a1a;
    background: var(--card);
}

.point i { color: var(--primary); font-size: 1.3rem; margin-top: 4px; }
.point h4 { margin-bottom: 0.15rem; }
.point p { color: var(--muted); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: var(--spacing-md);
}

.blog-card {
    background: var(--card);
    border: 2px solid #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-strong));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.blog-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    background: linear-gradient(140deg, rgba(124, 58, 237, 0.04), rgba(124, 58, 237, 0.02));
    border-bottom: 2px solid #1a1a1a;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
    border-color: var(--primary);
}

.blog-card:hover::before { opacity: 1; }

.blog-content {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.blog-date {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.blog-card h3 { color: var(--text); }
.blog-card p { color: var(--muted); }

.read-more {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.read-more:hover { gap: 12px; }
html[dir="rtl"] .read-more:hover { transform: translateX(-3px); }

/* Article Pages */
.article-header {
    margin-top: 70px;
    padding: 60px 0 24px;
    text-align: center;
    background: linear-gradient(135deg, #f4f4f4 0%, #ececec 100%);
    color: var(--text);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
}

.article-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 70%, rgba(124, 58, 237, 0.05), transparent 52%),
                radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.04), transparent 48%),
                radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.02), transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.article-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(244, 244, 244, 0) 0%, rgba(236, 236, 236, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.article-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    max-width: 1050px;
    padding: 0 24px;
}

.article-header h1 {
    max-width: 920px;
    margin: 0 auto 0.2rem;
    color: var(--primary-strong);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.article-header .blog-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--primary);
    letter-spacing: 0.03em;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
}

.article-header .blog-date:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.12);
}

.article-featured-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}

.article-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.9;
}

.article-body h2, .article-body h3 {
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.article-body p { margin-bottom: 1.2rem; color: var(--muted); }

.article-body ul, .article-body ol { margin: 1rem 0 1.5rem; padding-right: 1.5rem; }
html[dir="ltr"] .article-body ul, html[dir="ltr"] .article-body ol { padding-right: 0; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.8rem; }
.article-body .lead {
    font-size: 1.2rem;
    color: var(--text);
}

.article-page {
    padding: 32px 0 5rem;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.9fr);
    gap: 1.8rem;
    align-items: start;
}

.article-main {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.article-aside {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-aside .card {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    box-shadow: var(--shadow-sm);
}

.article-meta-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--stroke);
    color: var(--text);
    font-weight: 600;
}

.article-highlight {
    background: rgba(78, 242, 192, 0.08);
    border: 1px solid rgba(78, 242, 192, 0.25);
    color: var(--text);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.article-highlight h4 {
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.article-highlight ul {
    padding-right: 1rem;
}
html[dir="ltr"] .article-highlight ul { padding-right: 0; padding-left: 1rem; }

.article-highlight li { color: var(--text); margin-bottom: 0.4rem; }

.article-cta {
    margin-top: 2rem;
}

@media (max-width: 960px) {
    .article-shell {
        grid-template-columns: 1fr;
    }
    .article-aside {
        position: static;
    }
}

.contact-cta {
    background: linear-gradient(135deg, rgba(244, 244, 244, 0.8), rgba(232, 232, 232, 0.9));
    border: 3px solid #1a1a1a;
    border-radius: 0;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    color: #1a1a1a;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
    margin: var(--spacing-xl) 0;
}

.contact-cta h2 { 
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-cta p { color: #2c3e50; }

.contact-cta .btn {
    background: #7c3aed;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.contact-cta .btn:hover { 
    transform: translateY(-2px);
    background: #6d28d9;
}

footer {
    background: #ffffff;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
    border-top: 3px solid #1a1a1a;
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border: 2px solid #1a1a1a;
    border-radius: 0;
    margin: 1rem 0;
    background: var(--card);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
        opacity: 0.8;
    }
}

.status-text {
    color: #1a1a1a;
}

footer .logo { justify-content: center; }
footer .logo span { color: var(--text); }
footer .logo i { color: var(--primary); }
footer p { color: var(--muted); margin-top: 0.5rem; }

.blog-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #e8e8e8 0%, #ececec 100%);
    border-top: 3px solid #1a1a1a;
    border-bottom: 3px solid #1a1a1a;
}

.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    color: #2c3e50;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-toggle:hover {
    color: var(--primary);
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(244, 244, 244, 0.98);
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.8rem;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 2px solid var(--primary);
        backdrop-filter: blur(18px) saturate(140%);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav-links.active { transform: translateY(0); }
    .nav-links a::after { display: none; }
    .nav-links a {
        color: #2c3e50;
        padding: 0.8rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    .nav-links a:hover {
        background: rgba(124, 58, 237, 0.08);
        color: var(--primary);
    }
    .mobile-toggle { display: block; }

    .hero {
        padding-top: 140px;
        padding-bottom: 70px;
    }

    .hero-visual { height: 400px; }
    .glass-widget.main { left: 5%; top: 10%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }

    .orb,
    .glass-widget,
    .btn,
    .logo,
    header {
        transition: none !important;
    }
}
@media (max-width: 768px) {
    .glass-widget.stats { right: 5%; bottom: 8%; }
    .hero-metrics { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .cta-group { flex-direction: column; align-items: stretch; }
    .cta-group .btn { width: 100%; }
}

@media (max-width: 540px) {
    .hero { padding-top: 130px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-visual { height: 360px; }
    .glass-widget.main { width: 280px; }
    .glass-widget.stats { width: 220px; }
    .blog-image { height: 200px; }
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45); }
html[dir="rtl"] .whatsapp-float { right: auto; left: 28px; }
