/* https://kanzae.com/assets/css/main.css */
:root {
    --bg: #05060a;
    --bg-alt: #0b0d12;
    --card: #10131b;
    --accent: #f4b000;
    --accent-soft: rgba(244, 176, 0, 0.12);
    --accent-strong: #ffcc33;
    --text: #f9fafb;
    --muted: #a3a7b3;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
    --shadow-card: 0 14px 32px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.28s ease-out;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #181b28 0, #05060a 46%, #020308 100%);
    color: var(--text);
    font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Justify main textual content */
p {
    text-align: justify;
}

.hero-subtitle,
.section-subtitle,
.roots-text,
.roots-note,
.model-text,
.pillar-text,
.form-note,
.footer-diagnostics,
.footer-maturity {
    text-align: justify;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Latin text inside Arabic pages */
.latin {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    direction: ltr;
    unicode-bidi: embed;
}

/* Layout shell */

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shell-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 40px;
}

/* HEADER / NAV (shared) */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(5, 6, 10, 0.94), rgba(5, 6, 10, 0.7), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* New logo style */
.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: contain;
    background: #020617;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.7),
        0 14px 30px rgba(0, 0, 0, 0.7);
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, var(--accent-strong), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 0 28px rgba(255, 204, 51, 0.55);
    font-weight: 700;
    font-size: 14px;
}

.brand-text-main {
    font-size: 16px;
    font-weight: 600;
}

.brand-text-sub {
    font-size: 11px;
    color: var(--muted);
}

.brand-text-sub span {
    margin-inline-start: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.nav-links a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--muted);
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 65%);
    transform: translateY(-1px);
}

/* Centered multi-line CTA in nav (both languages) */
.nav-links a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #111827;
    border-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 14px 30px rgba(244, 176, 0, 0.6);
    font-weight: 600;
}

.nav-links a.nav-cta:hover {
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 18px 40px rgba(244, 176, 0, 0.7);
}

.header-lang {
    font-size: 11px;
    color: var(--muted);
    border-radius: 999px;
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-lang a {
    color: var(--text);
    font-weight: 500;
}

/* Responsive nav */

@media (max-width: 960px) {
    .site-header-inner {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .nav-links {
        display: none;
    }
}

/* MAIN GRID */

main {
    flex: 1;
}

.grid-main {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 26px;
    margin-top: 18px;
}

@media (max-width: 960px) {
    .grid-main {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* HERO */

.hero-card {
    border-radius: 30px;
    background: radial-gradient(circle at top, #171a26, #070812 58%, #05060a 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 26px 24px 22px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.09);
    border: 1px solid rgba(45, 212, 191, 0.18);
    font-size: 11px;
    color: #a5f3fc;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 16px;
}

.hero-subtitle strong {
    color: #e5e7eb;
    font-weight: 500;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 11px;
}

.hero-badge {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(31, 41, 55, 0.85), rgba(15, 23, 42, 0.9));
    color: #e5e7eb;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition-med), transform var(--transition-fast), box-shadow var(--transition-med), border-color var(--transition-med), color var(--transition-med);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #111827;
    border-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 14px 30px rgba(244, 176, 0, 0.7);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(244, 176, 0, 0.8);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

.hero-maturity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.hero-maturity-scale {
    display: flex;
    gap: 4px;
}

.maturity-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #4b5563;
    opacity: 0.35;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.maturity-dot.level-4 {
    background: linear-gradient(135deg, #22c55e, #a3e635);
    opacity: 1;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.75);
}

.hero-maturity-text {
    font-size: 11px;
    color: var(--muted);
}

.hero-footnote {
    margin-top: 10px;
    font-size: 11px;
    color: var(--muted);
}

/* PROFILE CARD */

.profile-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top, #161827, #050712 60%, #04050d 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px 14px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.profile-photo-wrap {
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
    background: #020617;
}

.profile-meta {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-role {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-tag {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #e5e7eb;
}

.social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 11px;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.96);
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.social-link:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(244, 176, 0, 0.5);
    background: radial-gradient(circle at top, rgba(31, 41, 55, 1), rgba(15, 23, 42, 1));
}

.social-note {
    font-size: 10px;
    color: var(--muted);
    text-align: left;
}

.profile-bottom {
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.profile-stat {
    font-size: 11px;
    color: var(--muted);
}

.profile-stat strong {
    color: #e5e7eb;
    font-size: 12px;
}

@media (max-width: 960px) {
    .profile-card {
        order: -1;
    }
}

/* PILLARS / SERVICES */

.pillars {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 960px) {
    .pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pillars {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pillar-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 14px 14px 13px;
    background: radial-gradient(circle at top, #141826, #050815 70%);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    cursor: pointer;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.7);
    background: radial-gradient(circle at top, #171b2a, #050815 70%);
}

.pillar-label {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.pillar-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pillar-text {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
}

.pillar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #9ca3af;
}

.pill-tag {
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
}

/* MODELS / GRAPHICS SECTION */

.section-block {
    margin-top: 26px;
    border-radius: 24px;
    padding: 16px 16px 14px;
    background: radial-gradient(circle at top, #0f172a, #020617 70%);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 11px;
    color: var(--muted);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 900px) {
    .models-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .models-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.model-card {
    border-radius: 16px;
    padding: 10px 10px 8px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), #020617);
    border: 1px solid rgba(148, 163, 184, 0.5);
    position: relative;
    overflow: hidden;
    font-size: 11px;
}

.model-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.model-text {
    color: var(--muted);
    margin-bottom: 6px;
}

.model-graphic {
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: conic-gradient(from 160deg, #22c55e, #facc15, #f97316, #ef4444, #22c55e);
    opacity: 0.16;
}

.model-badge {
    position: absolute;
    inset-inline-start: 8px;
    inset-block-start: 8px;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

/* ROOT CAUSE / SSX SECTION */

.roots-section {
    margin-top: 24px;
    border-radius: 22px;
    padding: 14px 14px 12px;
    background: radial-gradient(circle at top, rgba(185, 28, 28, 0.6), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(248, 113, 113, 0.65);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.8);
}

.roots-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.roots-text {
    font-size: 12px;
    color: #fee2e2;
}

.roots-text strong {
    color: #fef2f2;
}

.roots-note {
    margin-top: 6px;
    font-size: 11px;
    color: #fecaca;
}

/* FORM SECTION (generic contact) */

.form-section {
    margin-top: 26px;
    border-radius: 24px;
    padding: 16px 16px 14px;
    background: radial-gradient(circle at top, #020617, #020617 50%, #020617 100%);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
}

@media (max-width: 960px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
}

.form-field label {
    color: var(--muted);
}

input[type="text"],
input[type="email"],
textarea,
select {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text);
    padding: 7px 10px;
    font-size: 12px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

textarea {
    border-radius: 14px;
    min-height: 70px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(244, 176, 0, 0.6);
    background: #020617;
}

.form-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.form-note {
    font-size: 10px;
    color: var(--muted);
}

/* FOOTER */

footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 11px;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.footer-links a {
    font-size: 11px;
    color: #e5e7eb;
}

.footer-meta {
    font-size: 10px;
    text-align: start;
}

.footer-maturity {
    margin-top: 6px;
    font-size: 10px;
    color: #9ca3af;
}

.footer-diagnostics {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
    font-size: 10px;
}

.footer-diagnostics a {
    color: var(--accent-strong);
}
/* https://kanzae.com/assets/css/main.css */
