:root {
    --bg: #0b0b0b;
    --surface: #111111;
    --surface-2: #161616;
    --surface-3: #1b1b1b;
    --text: #ffffff;
    --text-soft: #8a8a8a;
    --text-faint: #666666;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.22);
    --container-width: min(1400px, calc(100vw - 64px));
    --section-space: clamp(96px, 11vw, 170px);
    --section-space-lg: clamp(128px, 15vw, 240px);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --ease-premium: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
    background: var(--bg);
    scroll-behavior: auto;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "IBM Plex Sans Arabic", "Cairo", sans-serif;
    line-height: 1.7;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    inset: auto;
    z-index: -1;
    border-radius: 999px;
    opacity: 0.42;
    filter: blur(88px);
}

body::before {
    width: 32vw;
    height: 32vw;
    top: -10vw;
    right: -12vw;
    background: rgba(255, 255, 255, 0.035);
}

body::after {
    width: 28vw;
    height: 28vw;
    bottom: -12vw;
    left: -8vw;
    background: rgba(255, 255, 255, 0.025);
}

::selection {
    background: rgba(255, 255, 255, 0.88);
    color: #000000;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color 0.35s var(--ease-premium),
        opacity 0.35s var(--ease-premium),
        transform 0.35s var(--ease-premium),
        border-color 0.35s var(--ease-premium),
        background-color 0.35s var(--ease-premium);
}

button,
input,
textarea,
select,
label,
span,
p,
li {
    font-family: inherit;
}

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

.container {
    width: var(--container-width) !important;
    max-width: none !important;
    margin-inline: auto;
}

.mouse-follow-glow {
    display: none !important;
}

html.intro-preload {
    overflow: hidden;
}

html::before,
html::after {
    content: "";
    position: fixed;
    pointer-events: none;
    opacity: 0;
    z-index: 9998;
}

html::before {
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(214, 219, 226, 0.12), transparent 18%),
        radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.05), transparent 30%),
        #000000;
    transition: opacity 0.85s var(--ease-premium);
}

html::after {
    top: 50%;
    left: 50%;
    width: min(248px, 38vw);
    aspect-ratio: 16 / 6;
    background: url("advanced-core-logo.png") center / contain no-repeat;
    filter: grayscale(1) brightness(1.18) contrast(1.06)
        drop-shadow(0 0 28px rgba(255, 255, 255, 0.12))
        drop-shadow(0 18px 44px rgba(185, 193, 205, 0.22));
    transform: translate(-50%, -50%) scale(0.76);
    z-index: 9999;
}

html.intro-preload::before {
    opacity: 1;
}

html.intro-preload::after {
    opacity: 1;
    animation: intro-mark 3.15s cubic-bezier(0.18, 0.72, 0.2, 1) forwards;
}

html.intro-preload body > * {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(12px);
    pointer-events: none;
}

html.intro-ready body > * {
    animation: page-reveal 1s var(--ease-premium) both;
}

@keyframes intro-mark {
    0% {
        opacity: 0;
        filter: grayscale(1) brightness(0.76) contrast(1.02) blur(8px)
            drop-shadow(0 0 0 rgba(255, 255, 255, 0));
        transform: translate(-50%, calc(-50% + 18px)) scale(0.66);
    }

    18% {
        opacity: 1;
        filter: grayscale(1) brightness(1.34) contrast(1.12) blur(0)
            drop-shadow(0 0 34px rgba(255, 255, 255, 0.18))
            drop-shadow(0 20px 52px rgba(194, 201, 211, 0.28));
        transform: translate(-50%, -50%) scale(1.11);
    }

    38% {
        opacity: 1;
        filter: grayscale(1) brightness(1.22) contrast(1.08) blur(0)
            drop-shadow(0 0 22px rgba(255, 255, 255, 0.14))
            drop-shadow(0 14px 38px rgba(185, 193, 205, 0.22));
        transform: translate(-50%, -50%) scale(1);
    }

    74% {
        opacity: 1;
        filter: grayscale(1) brightness(1.18) contrast(1.06) blur(0)
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.1))
            drop-shadow(0 10px 30px rgba(185, 193, 205, 0.18));
        transform: translate(-50%, -50%) scale(1.04);
    }

    100% {
        opacity: 0;
        filter: grayscale(1) brightness(1.42) contrast(1.14) blur(2px)
            drop-shadow(0 0 44px rgba(255, 255, 255, 0.08));
        transform: translate(-50%, calc(-50% - 16px)) scale(1.16);
    }
}

@keyframes page-reveal {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(10px);
    }

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

body[class] .site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0 !important;
    background: rgba(11, 11, 11, 0.78) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px);
}

body[class] .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body[class] .brand-logo,
body[class] .site-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

body[class] .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body[class] .nav-links a {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-soft) !important;
    font-size: 14px;
    font-weight: 600;
}

body[class] .nav-links a:hover,
body[class] .nav-links a.active {
    color: var(--text) !important;
    border-color: var(--line) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

body[class] .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn,
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition:
        transform 0.35s var(--ease-premium),
        background-color 0.35s var(--ease-premium),
        border-color 0.35s var(--ease-premium),
        color 0.35s var(--ease-premium);
}

body[class] .btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

body[class] .btn-secondary,
body[class] .btn-dark,
body[class] .light-btn,
body[class] .lang-toggle {
    background: transparent !important;
    color: var(--text) !important;
    border-color: var(--line-strong) !important;
}

.btn:hover,
.lang-toggle:hover {
    transform: translateY(-2px) scale(1.02);
}

body[class] .btn-secondary:hover,
body[class] .btn-dark:hover,
body[class] .light-btn:hover,
body[class] .lang-toggle:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

body[class] .btn-primary:hover {
    background: rgba(255, 255, 255, 0.94) !important;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

p {
    margin: 0;
}

.hero-section,
.page-hero,
.pricing-hero {
    padding: clamp(128px, 16vw, 220px) 0 clamp(88px, 10vw, 148px) !important;
    background: transparent !important;
    overflow: clip;
}

body.home-page .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: end;
}

body.home-page .hero-content {
    max-width: 760px;
}

body.home-page .hero-content h1,
body.pricing-page .pricing-hero h1,
body.contact-page .page-hero h1,
body.feature-page .page-hero h1,
body.feature-detail-page .page-hero h1,
body.features-page .page-hero .hero-content p {
    font-size: clamp(48px, 9vw, 132px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.06em !important;
    color: var(--text) !important;
    text-shadow: none !important;
    max-width: 12ch;
}

body.features-page .page-hero .hero-content p {
    margin: 20px 0 0 !important;
}

body.home-page .hero-lead,
body.pricing-page .pricing-hero p,
body.contact-page .page-hero p,
body.feature-page .page-hero p,
body.feature-detail-page .page-hero p,
body.preview-section .preview-content p,
body.contact-page .info-text,
body.contact-page .notice,
body.features-page .showcase-text,
body.features-page .section-intro p,
body.feature-page .showcase-text,
body.feature-page .section-lead,
body.feature-detail-page .detail-card p,
body.feature-detail-page .detail-visual-card p,
body.pricing-page .pricing-card p,
body.pricing-page .pricing-factor span,
body.pricing-page .cta-copy p,
body.home-page .cta-copy p {
    color: var(--text-soft) !important;
    font-size: clamp(17px, 2vw, 22px) !important;
    line-height: 1.9 !important;
}

body.home-page .hero-actions,
body.pricing-page .pricing-hero-actions,
body.home-page .cta-actions,
body.feature-page .cta-row,
body.feature-detail-page .detail-actions,
body.contact-page .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

body.home-page .hero-trial-note {
    margin-top: 18px;
    color: var(--text-faint) !important;
    font-size: 14px;
}

body.home-page .hero-proof-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 18px;
    margin-top: 28px;
    color: var(--text-soft) !important;
}

body.home-page .hero-proof-points span {
    min-width: 180px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.hero-showcase,
.preview-image,
.system-preview-card,
.system-shot-card {
    position: relative;
    overflow: hidden;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-soft) !important;
}

.hero-showcase::before,
.preview-image::before,
.system-preview-card::before,
.system-shot-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 28%, rgba(0, 0, 0, 0.18));
    pointer-events: none;
    opacity: 0.58;
}

body.home-page .hero-showcase {
    padding: 24px !important;
}

.hero-showcase-top,
.preview-card-top,
.shot-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-soft) !important;
}

.hero-showcase-status span:last-child,
.preview-card-top strong,
.shot-topbar strong {
    color: var(--text-soft) !important;
}

.hero-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
}

.hero-showcase-frame,
.preview-image video,
.preview-image img,
.system-preview-image,
.system-shot,
.detail-visual-card img,
.detail-visual-card video,
.feature-detail-page #featureImage {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #050505 !important;
    object-fit: cover;
    transform: translateY(var(--parallax-shift, 0));
}

body.home-page .hero-showcase-frame {
    overflow: hidden;
    border-radius: 24px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home-page .hero-showcase-frame img {
    aspect-ratio: 16 / 11;
    filter: brightness(0.78) contrast(1.03);
}

body.home-page .hero-showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

body.home-page .hero-metric {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.hero-metric-number {
    display: block;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    color: var(--text) !important;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

body.home-page .preview-section,
body.home-page .home-section,
body.home-page .steps-section,
body.home-page .cta-section,
body.pricing-page .pricing-section,
body.contact-page .contact-main,
body.features-page .main-section,
body.feature-page .main-section,
body.feature-detail-page .detail-main {
    padding-block: var(--section-space) !important;
}

body.home-page .preview-grid,
body.contact-page .contact-layout,
body.feature-detail-page .detail-layout,
body.feature-page .showcase-grid,
body.features-page .features-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(28px, 4vw, 52px) !important;
    align-items: start;
}

body.home-page .preview-image {
    position: sticky;
    top: 112px;
    padding: 18px;
}

.preview-glow {
    display: none !important;
}

body.home-page .preview-content h2,
body.home-page .section-heading h2,
body.home-page .section-heading-left h2,
body.home-page .cta-copy h2,
body.home-page .showcase-card h3,
body.pricing-page .section-heading h2,
body.contact-page .contact-form-card h2,
body.features-page .section-intro h2,
body.features-page .showcase-title,
body.feature-page .showcase-title,
body.feature-page .section-card h2,
body.feature-detail-page .detail-card h2,
body.feature-detail-page .detail-visual-card h2 {
    font-size: clamp(34px, 5vw, 76px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.05em !important;
    color: var(--text) !important;
}

body.features-page .showcase-title,
body.feature-page .showcase-title,
body.feature-page .section-card h2,
body.feature-detail-page .detail-card h2,
body.feature-detail-page .detail-visual-card h2,
body.contact-page .contact-form-card h2 {
    font-size: clamp(30px, 4.5vw, 58px) !important;
}

body.home-page .section-heading,
body.home-page .section-heading-left,
body.pricing-page .section-heading,
body.features-page .section-intro {
    max-width: 880px;
    margin-bottom: 32px;
}

body.home-page .section-heading h2,
body.home-page .section-heading-left h2,
body.pricing-page .section-heading h2 {
    max-width: 14ch;
}

.solution-card,
.showcase-card,
.step-card,
.cta-panel,
.pricing-card,
.pricing-factor,
.pricing-table,
.pricing-row,
.rich-feature-card,
.benefit-card,
.copy-card,
.section-card,
.workflow-card,
.feature-card,
.mini-feature-card,
.detail-card,
.detail-visual-card,
.detail-mini-card,
.detail-highlight-card,
.detail-case-card,
.contact-form-card,
.contact-info-card,
.info-box,
.notice,
.preview-point,
.showcase-point,
.point-card,
.mini-stat,
.quick-link,
.system-preview-card,
.system-shot-card {
    background: var(--surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
    transition:
        transform 0.4s var(--ease-premium),
        border-color 0.4s var(--ease-premium),
        background-color 0.4s var(--ease-premium);
}

.solution-card:hover,
.showcase-card:hover,
.step-card:hover,
.pricing-card:hover,
.pricing-factor:hover,
.rich-feature-card:hover,
.benefit-card:hover,
.copy-card:hover,
.section-card:hover,
.workflow-card:hover,
.feature-card:hover,
.mini-feature-card:hover,
.detail-card:hover,
.detail-visual-card:hover,
.detail-mini-card:hover,
.detail-highlight-card:hover,
.detail-case-card:hover,
.contact-form-card:hover,
.contact-info-card:hover,
.preview-point:hover,
.showcase-point:hover,
.point-card:hover,
.mini-stat:hover,
.quick-link:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong) !important;
    background: var(--surface-2) !important;
}

body.home-page .solutions-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

body.home-page .solutions-grid > * {
    grid-column: span 6;
}

body.home-page .solutions-grid > *:first-child {
    grid-column: 1 / -1;
}

body.home-page .solutions-grid > *:nth-child(5),
body.home-page .solutions-grid > *:nth-child(6),
body.home-page .solutions-grid > *:nth-child(7) {
    grid-column: span 4;
}

body.home-page .solution-card {
    position: relative;
    padding: 30px !important;
    overflow: hidden;
    min-height: 280px;
}

body.home-page .solution-card h3 {
    margin: 24px 0 12px;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.08;
    color: var(--text) !important;
}

body.home-page .solution-card p,
body.home-page .solution-list span,
body.home-page .preview-point span,
body.home-page .showcase-point span,
body.pricing-page .pricing-card li,
body.pricing-page .pricing-row span,
body.features-page .showcase-point span,
body.features-page .mini-stat span,
body.features-page .rich-feature-card p,
body.features-page .benefit-card p,
body.feature-page .point-card span,
body.feature-page .mini-stat span,
body.feature-page .benefit-card p,
body.feature-page .workflow-card p,
body.feature-page .section-card p,
body.feature-detail-page .detail-mini-card span,
body.feature-detail-page .detail-highlight-card span,
body.feature-detail-page .detail-case-card span,
body.contact-page .quick-link span,
body.contact-page .info-box span {
    color: var(--text-soft) !important;
}

.solution-icon,
.feature-index,
.step-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
}

body.home-page .solution-list,
body.home-page .preview-points,
body.home-page .showcase-points,
body.features-page .showcase-points,
body.features-page .mini-stats,
body.features-page .benefits-grid,
body.features-page .features-rich-grid,
body.feature-page .points-grid,
body.feature-page .stats-row,
body.feature-page .benefits-grid,
body.feature-page .workflow-grid,
body.feature-detail-page .detail-points,
body.feature-detail-page .detail-feature-list,
body.feature-detail-page .detail-stats,
body.pricing-page .pricing-factor-grid,
body.contact-page .info-stack,
body.contact-page .quick-actions {
    display: grid;
    gap: 16px;
}

body.home-page .solution-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

body.home-page .solution-list span,
body.home-page .preview-point,
body.home-page .showcase-point,
body.features-page .showcase-point,
body.features-page .mini-stat,
body.features-page .benefit-card,
body.feature-page .point-card,
body.feature-page .mini-stat,
body.feature-page .benefit-card,
body.feature-page .workflow-card,
body.feature-detail-page .detail-mini-card,
body.feature-detail-page .detail-highlight-card,
body.feature-detail-page .detail-case-card,
body.pricing-page .pricing-factor,
body.contact-page .info-box,
body.contact-page .quick-link {
    padding: 18px 20px !important;
    background: var(--surface-2) !important;
}

body.home-page .dual-showcase,
body.home-page .single-showcase {
    display: block;
}

body.home-page .showcase-card {
    display: grid;
    gap: 26px;
    padding: clamp(28px, 4vw, 52px) !important;
}

body.home-page .showcase-card h3 {
    margin: 18px 0 10px;
}

body.home-page .showcase-point strong,
body.home-page .preview-point strong,
body.features-page .showcase-point strong,
body.features-page .mini-stat strong,
body.features-page .rich-feature-card h3,
body.features-page .benefit-card strong,
body.feature-page .point-card strong,
body.feature-page .mini-stat strong,
body.feature-page .benefit-card strong,
body.feature-page .workflow-card h3,
body.feature-page .section-card h2,
body.feature-detail-page .detail-mini-card strong,
body.feature-detail-page .detail-highlight-card strong,
body.feature-detail-page .detail-case-card strong,
body.pricing-page .pricing-factor strong,
body.contact-page .info-box strong,
body.contact-page .quick-link strong {
    color: var(--text) !important;
}

body.home-page .steps-grid,
body.pricing-page .pricing-grid {
    display: grid;
    gap: 24px;
}

body.home-page .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.pricing-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-page .step-card,
body.pricing-page .pricing-card {
    padding: 28px !important;
}

body.home-page .step-card > span {
    margin-bottom: 28px;
}

body.home-page .step-card h3,
body.pricing-page .pricing-card h2 {
    margin: 18px 0 12px;
    color: var(--text) !important;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.12;
}

body.home-page .cta-panel,
body.pricing-page .cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) auto;
    gap: 32px;
    align-items: end;
    padding: clamp(30px, 4vw, 52px) !important;
    background: var(--surface) !important;
}

body.pricing-page .pricing-chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.pricing-page .pricing-card-featured {
    background: var(--surface-2) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body.pricing-page .pricing-value {
    margin: 24px 0;
    display: flex;
    align-items: end;
    gap: 12px;
}

body.pricing-page .pricing-value strong {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.9;
    color: var(--text) !important;
    font-variant-numeric: tabular-nums;
}

body.pricing-page .pricing-value span {
    padding-bottom: 8px;
    color: var(--text-soft) !important;
}

body.pricing-page .pricing-card ul {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

body.pricing-page .pricing-card li {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

body.pricing-page .pricing-factor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.pricing-page .pricing-table {
    overflow: hidden;
    padding: 8px !important;
}

body.pricing-page .pricing-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px 20px !important;
    border-radius: 18px !important;
}

body.pricing-page .pricing-row + .pricing-row {
    margin-top: 8px;
}

body.pricing-page .pricing-row-head {
    background: var(--surface-2) !important;
}

body.features-page .features-showcase-section,
body.features-page .features-grid-section,
body.features-page .benefits-section,
body.feature-page .section-stack {
    padding: 0 !important;
}

body.features-page .showcase-copy,
body.features-page .rich-feature-card,
body.features-page .benefit-card,
body.features-page .system-preview-card,
body.feature-page .copy-card,
body.feature-page .section-card,
body.feature-page .benefit-card,
body.feature-page .workflow-card,
body.feature-page .system-shot-card,
body.feature-detail-page .detail-card,
body.feature-detail-page .detail-visual-card,
body.feature-detail-page .detail-mini-card,
body.feature-detail-page .detail-highlight-card,
body.feature-detail-page .detail-case-card,
body.contact-page .contact-form-card,
body.contact-page .contact-info-card {
    background: var(--surface) !important;
    border-color: var(--line) !important;
    box-shadow: none !important;
}

body.features-page .showcase-copy,
body.features-page .system-preview-card,
body.feature-page .copy-card,
body.feature-page .system-shot-card,
body.feature-page .section-card,
body.feature-detail-page .detail-card,
body.feature-detail-page .detail-visual-card,
body.contact-page .contact-form-card,
body.contact-page .contact-info-card {
    padding: clamp(24px, 3vw, 32px) !important;
}

body.features-page .features-rich-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

body.features-page .rich-feature-card {
    grid-column: span 6;
    padding: 24px !important;
}

body.features-page .rich-feature-card:nth-child(1) {
    grid-column: 1 / -1;
}

body.features-page .mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

body.features-page .benefits-grid,
body.feature-page .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.feature-page .workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.feature-page .points-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.feature-page .stats-row,
body.feature-detail-page .detail-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.feature-detail-page .detail-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

body.feature-detail-page .detail-actions {
    margin-top: 28px;
}

body.contact-page .contact-form {
    display: grid;
    gap: 18px;
}

body.contact-page .field-group {
    display: grid;
    gap: 10px;
}

body.contact-page .field-label {
    color: var(--text-soft) !important;
    font-size: 14px;
    font-weight: 600;
}

body.contact-page input,
body.contact-page textarea,
body.contact-page select,
body.home-page .modal-form input,
body.home-page .modal-form textarea,
body.pricing-page .modal-form input,
body.pricing-page .modal-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    color: var(--text);
    padding: 16px 18px;
    font-size: 15px;
    transition:
        border-color 0.3s var(--ease-premium),
        background-color 0.3s var(--ease-premium);
}

body.contact-page input:focus,
body.contact-page textarea:focus,
body.contact-page select:focus,
body.home-page .modal-form input:focus,
body.home-page .modal-form textarea:focus,
body.pricing-page .modal-form input:focus,
body.pricing-page .modal-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.24);
    background: var(--surface-3);
}

body.contact-page .quick-link,
body.contact-page .social {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.contact-page .social {
    justify-content: center;
}

body.home-page .modal-overlay,
body.pricing-page .modal-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
}

body.home-page .modal-card,
body.home-page .thank-you-card,
body.pricing-page .modal-card,
body.pricing-page .thank-you-card {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 28px !important;
    color: var(--text) !important;
    box-shadow: var(--shadow-soft) !important;
}

body.home-page .modal-close,
body.pricing-page .modal-close {
    background: transparent !important;
    color: var(--text) !important;
    border: 1px solid var(--line) !important;
    border-radius: 999px;
}

body[class] .site-footer {
    padding: 48px 0 56px;
    background: transparent !important;
    border-top: 1px solid var(--line) !important;
}

body[class] .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 28px;
}

body[class] .footer-links,
body[class] .footer-contact,
body[class] .footer-copy {
    color: var(--text-soft) !important;
}

body[class] .footer-links a,
body[class] .footer-contact a {
    display: inline-flex;
    width: fit-content;
    color: var(--text-soft) !important;
}

body[class] .footer-links a:hover,
body[class] .footer-contact a:hover {
    color: var(--text) !important;
}

html.motion-armed .reveal-item {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.95);
    filter: blur(8px);
    will-change: opacity, transform, filter;
}

html.motion-armed .reveal-item.is-visible,
html.motion-armed .reveal-item.revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

.text-reveal {
    display: block;
}

.text-reveal-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.text-reveal-inner {
    display: block;
    transform: translateY(110%);
    will-change: transform;
}

html:not(.motion-armed) .text-reveal-inner,
html.intro-preload .text-reveal-inner {
    transform: none;
}

@media (max-width: 1180px) {
    body.home-page .hero-grid,
    body.home-page .preview-grid,
    body.contact-page .contact-layout,
    body.feature-detail-page .detail-layout,
    body.feature-page .showcase-grid,
    body.features-page .features-showcase-grid,
    body.home-page .cta-panel,
    body.pricing-page .cta-panel {
        grid-template-columns: 1fr;
    }

    body.home-page .preview-image {
        position: relative;
        top: 0;
    }

    body.features-page .benefits-grid,
    body.feature-page .benefits-grid,
    body.pricing-page .pricing-factor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    :root {
        --container-width: min(1400px, calc(100vw - 40px));
    }

    body.home-page .steps-grid,
    body.pricing-page .pricing-grid,
    body.feature-page .workflow-grid,
    body.feature-page .points-grid,
    body.feature-page .stats-row,
    body.feature-detail-page .detail-feature-list,
    body.feature-detail-page .detail-stats,
    body.features-page .mini-stats,
    body.features-page .features-rich-grid,
    body.home-page .solution-list,
    body[class] .footer-grid {
        grid-template-columns: 1fr;
    }

    body.home-page .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home-page .solutions-grid > *,
    body.home-page .solutions-grid > *:first-child,
    body.home-page .solutions-grid > *:nth-child(5),
    body.home-page .solutions-grid > *:nth-child(6),
    body.home-page .solutions-grid > *:nth-child(7) {
        grid-column: span 1;
    }

    body.features-page .rich-feature-card {
        grid-column: span 12;
    }
}

@media (max-width: 760px) {
    :root {
        --container-width: calc(100vw - 32px);
        --section-space: 72px;
    }

    body[class] .site-nav {
        padding: 16px 0 !important;
    }

    body[class] .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    body[class] .nav-links,
    body[class] .nav-actions {
        width: 100%;
        justify-content: center;
    }

    body.home-page .hero-showcase-metrics,
    body.pricing-page .pricing-row,
    body.feature-page .benefits-grid,
    body.features-page .benefits-grid {
        grid-template-columns: 1fr;
    }

    body.home-page .solution-card,
    body.home-page .showcase-card,
    body.home-page .step-card,
    body.home-page .cta-panel,
    body.pricing-page .pricing-card,
    body.pricing-page .cta-panel,
    body.features-page .showcase-copy,
    body.features-page .system-preview-card,
    body.features-page .rich-feature-card,
    body.feature-page .copy-card,
    body.feature-page .system-shot-card,
    body.feature-page .section-card,
    body.feature-page .benefit-card,
    body.feature-page .workflow-card,
    body.feature-detail-page .detail-card,
    body.feature-detail-page .detail-visual-card,
    body.contact-page .contact-form-card,
    body.contact-page .contact-info-card {
        padding: 22px !important;
    }

    .btn,
    .lang-toggle {
        width: 100%;
    }
}

@media (max-width: 520px) {
    body.home-page .hero-content h1,
    body.pricing-page .pricing-hero h1,
    body.contact-page .page-hero h1,
    body.feature-page .page-hero h1,
    body.feature-detail-page .page-hero h1,
    body.features-page .page-hero .hero-content p {
        font-size: clamp(38px, 14vw, 68px) !important;
    }

    body.home-page .preview-content h2,
    body.home-page .section-heading h2,
    body.home-page .section-heading-left h2,
    body.home-page .cta-copy h2,
    body.home-page .showcase-card h3,
    body.pricing-page .section-heading h2,
    body.contact-page .contact-form-card h2,
    body.features-page .section-intro h2,
    body.features-page .showcase-title,
    body.feature-page .showcase-title,
    body.feature-page .section-card h2,
    body.feature-detail-page .detail-card h2,
    body.feature-detail-page .detail-visual-card h2 {
        font-size: clamp(28px, 9vw, 44px) !important;
    }

    body.home-page .hero-proof-points span {
        min-width: 100%;
    }
}

html[dir="ltr"] body {
    text-align: left;
}

html[dir="ltr"] .hero-content,
html[dir="ltr"] .preview-content,
html[dir="ltr"] .section-heading,
html[dir="ltr"] .section-heading-left,
html[dir="ltr"] .cta-copy,
html[dir="ltr"] .contact-form-card,
html[dir="ltr"] .contact-info-card,
html[dir="ltr"] .detail-card,
html[dir="ltr"] .detail-visual-card,
html[dir="ltr"] .footer-links,
html[dir="ltr"] .footer-contact {
    text-align: left;
}

html[dir="ltr"] .nav-links,
html[dir="ltr"] .nav-actions,
html[dir="ltr"] .hero-actions,
html[dir="ltr"] .hero-proof-points,
html[dir="ltr"] .cta-actions {
    direction: ltr;
}

@media (prefers-reduced-motion: reduce) {
    html::before,
    html::after,
    body::before,
    body::after,
    html.motion-armed .reveal-item,
    html.motion-armed .reveal-item.is-visible,
    html.motion-armed .reveal-item.revealed,
    .text-reveal-inner {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* codex-mobile-hero-fix */
body,
body.home-page,
body.pricing-page,
body.contact-page,
body.features-page,
body.feature-page,
body.feature-detail-page,
.home-main {
    background: var(--bg) !important;
}

.hero-section::before,
.hero-section::after,
.page-hero::before,
.page-hero::after,
.pricing-hero::before,
.pricing-hero::after {
    background: none !important;
}

body.home-page .hero-section {
    min-height: calc(100vh - 84px) !important;
    display: flex !important;
    align-items: center !important;
}

body.home-page .hero-grid {
    align-items: center !important;
}

@media (max-width: 760px) {
    body.home-page .hero-section {
        min-height: auto !important;
        display: block !important;
        padding-top: 96px !important;
        padding-bottom: 56px !important;
    }

    body.home-page .hero-grid {
        gap: 28px !important;
    }

    body.home-page .hero-content h1 {
        font-size: clamp(34px, 11vw, 56px) !important;
        line-height: 0.96 !important;
    }

    body.home-page .hero-lead {
        font-size: 16px !important;
    }

    body.home-page .hero-showcase {
        margin-top: 4px !important;
    }
}

/* codex-hero-text-visibility-fix */
body.home-page .hero-section .text-reveal-inner,
body.pricing-page .pricing-hero .text-reveal-inner,
body.contact-page .page-hero .text-reveal-inner,
body.features-page .page-hero .text-reveal-inner,
body.feature-page .page-hero .text-reveal-inner,
body.feature-detail-page .page-hero .text-reveal-inner {
    transform: none !important;
}

/* codex-home-main-cleanup */
.home-main::before,
.home-main::after {
    content: none !important;
    background: none !important;
}

/* codex-nav-glow-cleanup */
.site-nav::after,
.site-nav::before {
    content: none !important;
    background: none !important;
}

/* Advanced Core brand update */
body[class] .brand-logo,
body[class] .site-logo-img,
.brand-logo,
.site-logo-img,
.footer-logo {
    height: 52px !important;
    width: auto !important;
    max-width: 230px !important;
    object-fit: contain !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 8px 22px rgba(65, 173, 255, 0.26)) !important;
}

body.nav-scrolled .brand-logo,
body.home-page.nav-scrolled .brand-logo,
body.home-page.nav-scrolled .site-logo-img {
    height: 46px !important;
    max-width: 205px !important;
}

@media (max-width: 720px) {
    body[class] .brand-logo,
    body[class] .site-logo-img,
    .brand-logo,
    .site-logo-img {
        height: 44px !important;
        max-width: 174px !important;
    }
}

@media (max-width: 430px) {
    body[class] .brand-logo,
    body[class] .site-logo-img,
    .brand-logo,
    .site-logo-img {
        height: 40px !important;
        max-width: 152px !important;
    }
}

/* Advanced Core request cleanup: no pricing page, no free CTA, tighter premium hero */
a[href="pricing.html"],
.nav-cta,
body.home-page .hero-actions [data-i18n="hero_btn_demo"],
body.home-page .hero-trial-note {
    display: none !important;
}

body.home-page .hero-section {
    min-height: auto !important;
    display: block !important;
    padding: clamp(58px, 7vw, 96px) 0 clamp(54px, 6vw, 82px) !important;
}

body.home-page .hero-grid {
    grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.08fr) !important;
    gap: clamp(28px, 4vw, 58px) !important;
    align-items: center !important;
}

body.home-page .hero-content {
    max-width: 720px !important;
    margin: 0 !important;
    text-align: right !important;
    justify-self: end !important;
}

body.home-page .hero-content h1 {
    max-width: 13.5ch !important;
    margin: 0 0 22px !important;
    font-size: clamp(42px, 5.35vw, 86px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
}

body.home-page .hero-content p.hero-lead,
body.home-page .hero-lead {
    max-width: 620px !important;
    margin: 0 !important;
    font-size: clamp(17px, 1.35vw, 22px) !important;
    line-height: 1.85 !important;
}

body.home-page .hero-actions {
    justify-content: flex-start !important;
    margin-top: 30px !important;
    margin-bottom: 0 !important;
}

body.home-page .hero-actions .btn-secondary,
body.home-page .hero-actions .light-btn {
    min-height: 52px !important;
    padding-inline: 24px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
}

body.home-page .hero-proof-points {
    justify-content: flex-start !important;
    margin: 28px 0 0 !important;
    gap: 14px !important;
}

body.home-page .hero-proof-points span {
    min-width: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid var(--line) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    font-size: 13px !important;
}

body.home-page .hero-showcase {
    align-self: center !important;
    padding: 18px !important;
}

body.home-page .hero-showcase-frame img {
    aspect-ratio: 16 / 10 !important;
}

body.home-page .preview-section,
body.home-page .home-section,
body.home-page .steps-section,
body.home-page .cta-section {
    padding-block: clamp(72px, 8vw, 122px) !important;
}

@media (max-width: 1180px) {
    body.home-page .hero-grid {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-content {
        max-width: 860px !important;
        justify-self: stretch !important;
        text-align: center !important;
        margin-inline: auto !important;
    }

    body.home-page .hero-content h1,
    body.home-page .hero-content p.hero-lead,
    body.home-page .hero-lead {
        margin-inline: auto !important;
    }

    body.home-page .hero-actions,
    body.home-page .hero-proof-points {
        justify-content: center !important;
    }
}

@media (max-width: 760px) {
    body.home-page .hero-section {
        padding-top: 56px !important;
        padding-bottom: 48px !important;
    }

    body.home-page .hero-content h1 {
        max-width: 11ch !important;
        font-size: clamp(36px, 11vw, 54px) !important;
        line-height: 1.08 !important;
    }

    body.home-page .hero-content p.hero-lead,
    body.home-page .hero-lead {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

    body.home-page .hero-proof-points span {
        width: auto !important;
        min-width: 0 !important;
    }
}


/* =========================
   Advanced Core final polish - desktop + mobile
========================= */
:root {
    --container-width: min(1240px, calc(100vw - 56px));
    --section-space: clamp(64px, 7vw, 112px);
    --section-space-lg: clamp(82px, 9vw, 136px);
    --accent-blue: #53b9ff;
    --accent-line: rgba(83, 185, 255, 0.28);
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
    font-family: "Alexandria", "Tajawal", "IBM Plex Sans Arabic", "Cairo", "Inter", sans-serif !important;
}

html[dir="ltr"] body,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] textarea {
    font-family: "Inter", "Alexandria", "Tajawal", sans-serif !important;
}

body {
    text-rendering: geometricPrecision;
}

body[class] h1,
body[class] h2,
body[class] h3,
body[class] h4 {
    font-family: inherit !important;
    letter-spacing: -0.025em !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
}

html[dir="rtl"] body[class] h1,
html[dir="rtl"] body[class] h2,
html[dir="rtl"] body[class] h3,
html[dir="rtl"] body[class] h4 {
    letter-spacing: -0.012em !important;
    line-height: 1.18 !important;
}

body[class] p,
body[class] li,
body[class] span,
body[class] a {
    letter-spacing: 0 !important;
}

body[class] .site-nav {
    padding: 14px 0 !important;
}

body[class] .nav-content {
    gap: 24px !important;
}

.brand-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 13px !important;
    flex-shrink: 0;
    min-width: fit-content;
}

.brand-mark {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px;
    object-fit: cover;
    filter: drop-shadow(0 0 18px rgba(83, 185, 255, 0.22));
    flex: 0 0 52px;
}

.brand-copy {
    display: grid !important;
    gap: 1px;
    text-align: left;
    line-height: 1.05 !important;
}

html[dir="rtl"] .brand-copy {
    direction: ltr;
    text-align: left;
}

.brand-copy strong {
    color: #ffffff !important;
    font-size: clamp(17px, 1.4vw, 22px);
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: -0.025em !important;
}

.brand-copy small {
    color: rgba(164, 214, 255, 0.86) !important;
    font-size: clamp(9px, 0.8vw, 11px);
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em !important;
}

body[class] .nav-links {
    gap: 8px !important;
}

body[class] .nav-links a {
    padding: 10px 14px !important;
    font-size: 14px !important;
}

body[class] .lang-toggle {
    min-height: 44px !important;
    padding-inline: 18px !important;
}

/* Home hero: tighter, cleaner, no huge empty gaps */
body.home-page .hero-section {
    padding: clamp(48px, 6vw, 92px) 0 clamp(58px, 7vw, 104px) !important;
}

body.home-page .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr) !important;
    align-items: center !important;
    gap: clamp(28px, 4.2vw, 64px) !important;
}

body.home-page .hero-content {
    padding: 0 !important;
    max-width: 680px !important;
}

body.home-page .hero-content .section-badge {
    margin-bottom: 10px;
}

body.home-page .hero-content h1 {
    margin: 16px 0 18px !important;
    max-width: 11ch !important;
    font-size: clamp(42px, 6vw, 88px) !important;
    line-height: 1.08 !important;
}

html[dir="rtl"] body.home-page .hero-content h1 {
    line-height: 1.14 !important;
}

body.home-page .hero-lead,
body.home-page .hero-content p {
    max-width: 620px !important;
    font-size: clamp(16px, 1.45vw, 20px) !important;
    line-height: 1.95 !important;
    color: rgba(255, 255, 255, 0.74) !important;
}

body.home-page .hero-actions {
    margin-top: 26px !important;
    margin-bottom: 0 !important;
}

body.home-page .hero-proof-points {
    margin-top: 30px !important;
}

body.home-page .hero-proof-points span {
    min-width: 132px !important;
}

body.home-page .hero-showcase {
    padding: clamp(14px, 1.5vw, 22px) !important;
    max-width: 720px;
    justify-self: stretch;
}

body.home-page .hero-showcase-frame {
    overflow: hidden !important;
    border-radius: 22px !important;
    background: #050505 !important;
}

body.home-page .hero-showcase-frame img,
body.home-page .system-preview-video,
body.home-page .preview-image video,
body.home-page .preview-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

body.home-page .hero-showcase-frame img {
    filter: brightness(0.88) contrast(1.04) !important;
}

body.home-page .hero-showcase-metrics {
    gap: 12px !important;
}

body.home-page .hero-metric {
    padding: 15px 10px 0 !important;
    min-width: 0;
}

body.home-page .hero-metric-number {
    font-size: clamp(30px, 3.4vw, 48px) !important;
    margin-bottom: 7px;
}

body.home-page .hero-metric span {
    display: block;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: clamp(12px, 1vw, 14px) !important;
    line-height: 1.55 !important;
}

/* Equal feature blocks */
body.home-page .solutions-grid,
body.features-page .features-rich-grid,
body.features-page .benefits-grid,
.core-features-grid,
.steps-grid {
    align-items: stretch !important;
}

body.home-page .solutions-grid {
    grid-auto-rows: 1fr !important;
}

body.home-page .solution-card,
body.features-page .rich-feature-card,
body.features-page .benefit-card,
.step-card,
.showcase-point,
.preview-point,
.detail-mini-card,
.detail-highlight-card {
    height: 100% !important;
}

body.home-page .solution-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 370px;
}

body.home-page .solution-card h3 {
    min-height: 62px;
    display: flex;
    align-items: flex-start;
}

body.home-page .solution-card p {
    flex: 1 1 auto;
}

body.home-page .solution-list {
    margin-top: auto !important;
}

@media (min-width: 980px) {
    body.home-page .solutions-grid .solution-card:last-child:nth-child(odd) {
        grid-column: 2;
    }
}

/* Preview and feature pages image proportions */
body.home-page .preview-grid,
body.feature-detail-page .detail-layout,
body.features-page .features-showcase-grid,
body.feature-page .showcase-grid {
    align-items: center !important;
}

body.home-page .preview-section {
    padding-block: clamp(58px, 7vw, 110px) !important;
}

body.home-page .preview-image {
    position: relative !important;
    top: auto !important;
    padding: clamp(12px, 1.6vw, 18px) !important;
}

body.home-page .preview-content h2,
body.home-page .section-heading h2,
body.home-page .section-heading-left h2,
body.home-page .cta-copy h2 {
    font-size: clamp(30px, 4vw, 58px) !important;
    line-height: 1.18 !important;
    max-width: 15ch !important;
}

body.home-page .preview-content p,
body.home-page .cta-copy p,
body.home-page .showcase-card p {
    font-size: clamp(16px, 1.35vw, 19px) !important;
}

/* Page heroes: no empty massive top space */
body.features-page .page-hero,
body.feature-page .page-hero,
body.feature-detail-page .page-hero,
body.contact-page .page-hero {
    min-height: auto !important;
    padding: clamp(60px, 7vw, 96px) 0 clamp(40px, 5vw, 68px) !important;
    display: block !important;
    align-items: initial !important;
}

body.features-page .hero-content,
body.feature-page .hero-content,
body.feature-detail-page .hero-content,
body.contact-page .hero-content {
    max-width: 920px !important;
}

body.features-page .page-hero .hero-content p,
body.feature-page .page-hero h1,
body.feature-detail-page .page-hero h1,
body.contact-page .page-hero h1 {
    font-size: clamp(38px, 6vw, 78px) !important;
    line-height: 1.16 !important;
    max-width: 13ch !important;
}

body.features-page .main-section,
body.feature-page .main-section,
body.feature-detail-page .detail-main,
body.contact-page .contact-main {
    padding-block: clamp(52px, 6vw, 86px) !important;
}

body.features-page .system-preview-card,
body.feature-detail-page .detail-visual-card,
body.feature-page .system-shot-card {
    padding: clamp(18px, 2.2vw, 28px) !important;
}

body.features-page .system-preview-image,
body.feature-detail-page #featureImage,
body.feature-detail-page .detail-visual-card img,
body.feature-page .system-shot,
.system-shot-card img,
.detail-visual-card video {
    width: 100% !important;
    height: auto !important;
    max-height: 560px !important;
    object-fit: contain !important;
    object-position: center !important;
    aspect-ratio: auto !important;
    transform: none !important;
    background: #050505 !important;
}

body.feature-detail-page .detail-visual-card p,
body.feature-detail-page .detail-card p,
body.features-page .showcase-text,
body.features-page .section-intro p,
body.feature-page .showcase-text,
body.feature-page .section-lead {
    font-size: clamp(16px, 1.4vw, 19px) !important;
    line-height: 1.9 !important;
}

body.feature-detail-page .detail-card h2,
body.feature-detail-page .detail-visual-card h2,
body.features-page .showcase-title,
body.feature-page .showcase-title,
body.features-page .section-intro h2 {
    font-size: clamp(28px, 3.8vw, 52px) !important;
    line-height: 1.2 !important;
    max-width: 16ch !important;
}

/* Better footer on all pages */
.site-footer.compact-footer {
    padding: clamp(42px, 5vw, 68px) 0 22px !important;
    background:
        radial-gradient(circle at 85% 0%, rgba(83, 185, 255, 0.14), transparent 28%),
        linear-gradient(180deg, #0b0b0b 0%, #050505 100%) !important;
    border-top: 1px solid rgba(83, 185, 255, 0.18) !important;
}

.site-footer.compact-footer::before {
    background: linear-gradient(90deg, transparent, rgba(83, 185, 255, 0.44), transparent) !important;
}

.footer-shell {
    display: grid !important;
    grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.9fr) minmax(240px, 0.9fr);
    gap: clamp(18px, 3vw, 34px) !important;
    align-items: start !important;
}

.footer-shell > div,
.footer-shell > nav {
    min-width: 0;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.footer-brand p {
    margin-top: 18px !important;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}

.footer-brand-lockup .brand-mark {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px;
}

.footer-heading,
.footer-contact > span,
.footer-links > span {
    display: block !important;
    margin-bottom: 14px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px !important;
}

.footer-links .footer-heading {
    grid-column: 1 / -1;
}

.footer-links a,
.footer-contact a.footer-email {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    min-height: 34px;
    padding: 6px 0 !important;
    color: rgba(255, 255, 255, 0.66) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff !important;
    transform: translateX(-3px) !important;
}

.footer-social {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
    margin-top: 18px !important;
}

.social-link {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

.social-link svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.social-link:hover {
    color: #ffffff !important;
    border-color: rgba(83, 185, 255, 0.5) !important;
    background: rgba(83, 185, 255, 0.12) !important;
    transform: translateY(-3px) !important;
}

.footer-copy {
    width: min(var(--container-width), calc(100% - 32px));
    margin: 30px auto 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.48) !important;
}

/* Responsive polishing */
@media (max-width: 1100px) {
    body.home-page .hero-grid,
    body.home-page .preview-grid,
    body.feature-detail-page .detail-layout,
    body.features-page .features-showcase-grid,
    body.feature-page .showcase-grid {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-showcase,
    body.home-page .hero-content,
    body.home-page .preview-content {
        max-width: 820px !important;
        justify-self: center !important;
    }

    body.home-page .hero-content {
        text-align: center !important;
        margin-inline: auto;
    }

    body.home-page .hero-content h1,
    body.home-page .hero-lead,
    body.home-page .hero-content p,
    body.home-page .preview-content h2,
    body.home-page .section-heading h2,
    body.home-page .section-heading-left h2 {
        margin-inline: auto !important;
    }

    body.home-page .hero-actions,
    body.home-page .hero-proof-points {
        justify-content: center !important;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    :root {
        --container-width: min(100% - 28px, 720px);
    }

    body[class] .site-nav {
        position: sticky !important;
        padding: 12px 0 !important;
    }

    body[class] .nav-content {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 12px !important;
        align-items: center !important;
    }

    body[class] .nav-links {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 6px !important;
        order: 3 !important;
    }

    body[class] .nav-links a {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .brand-mark {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px;
        border-radius: 12px;
    }

    .brand-lockup {
        gap: 10px !important;
    }

    .brand-copy strong {
        font-size: 16px !important;
    }

    .brand-copy small {
        font-size: 8px !important;
    }

    body[class] .lang-toggle {
        min-height: 40px !important;
        padding-inline: 14px !important;
        font-size: 12px !important;
    }

    body.home-page .hero-section {
        padding-top: 44px !important;
    }

    body.home-page .hero-content h1 {
        font-size: clamp(34px, 12vw, 58px) !important;
        max-width: 10ch !important;
    }

    body.home-page .hero-lead,
    body.home-page .hero-content p {
        font-size: 15.5px !important;
        line-height: 1.9 !important;
    }

    body.home-page .hero-showcase-metrics {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    body.home-page .hero-metric-number {
        font-size: 28px !important;
    }

    body.home-page .hero-metric span {
        font-size: 11px !important;
    }

    body.home-page .solutions-grid,
    body.home-page .steps-grid,
    body.features-page .features-rich-grid,
    body.features-page .benefits-grid,
    .core-features-grid,
    .stats-strip,
    .audience-grid {
        grid-template-columns: 1fr !important;
    }

    body.home-page .solutions-grid .solution-card:last-child:nth-child(odd) {
        grid-column: auto !important;
    }

    body.home-page .solution-card {
        min-height: auto !important;
        padding: 22px !important;
    }

    body.home-page .solution-card h3 {
        min-height: auto !important;
        font-size: 22px !important;
    }

    body.features-page .page-hero .hero-content p,
    body.feature-page .page-hero h1,
    body.feature-detail-page .page-hero h1,
    body.contact-page .page-hero h1 {
        font-size: clamp(32px, 11vw, 52px) !important;
        max-width: 12ch !important;
        margin-inline: auto !important;
    }

    body.features-page .hero-content,
    body.feature-page .hero-content,
    body.feature-detail-page .hero-content,
    body.contact-page .hero-content {
        text-align: center !important;
        margin-inline: auto;
    }

    body.feature-detail-page #featureImage,
    body.features-page .system-preview-image,
    body.feature-page .system-shot {
        max-height: 420px !important;
    }

    .footer-shell {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-brand .brand-lockup,
    .footer-contact,
    .footer-links {
        justify-content: center !important;
        margin-inline: auto;
    }

    .footer-brand p {
        margin-inline: auto !important;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, auto)) !important;
        justify-content: center !important;
    }

    .footer-links a,
    .footer-contact a.footer-email {
        margin-inline: auto;
    }

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

@media (max-width: 480px) {
    :root {
        --container-width: calc(100% - 22px);
    }

    .brand-copy small {
        display: none !important;
    }

    .brand-mark {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px;
    }

    body.home-page .hero-showcase-metrics {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-metric {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: start;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
    }
}


/* =========================
   Final UX polish requested: unified blocks, better logo, mockup images, mobile first
========================= */
:root {
    --container-width: min(1240px, calc(100vw - 48px));
    --section-space: clamp(56px, 6.5vw, 96px);
    --section-space-lg: clamp(72px, 8vw, 118px);
    --blue-glow: rgba(83, 185, 255, 0.28);
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif !important;
}

html[dir="ltr"] body,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] select {
    font-family: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif !important;
}

body[class] h1,
body[class] h2,
body[class] h3,
body[class] h4 {
    letter-spacing: -0.018em !important;
    line-height: 1.16 !important;
}

html[dir="rtl"] body[class] h1,
html[dir="rtl"] body[class] h2,
html[dir="rtl"] body[class] h3,
html[dir="rtl"] body[class] h4 {
    letter-spacing: -0.006em !important;
    line-height: 1.22 !important;
}

body[class] .site-nav {
    padding: 12px 0 !important;
    background: rgba(5, 7, 12, 0.86) !important;
}

body[class] .nav-content {
    display: grid !important;
    grid-template-columns: minmax(220px, auto) 1fr auto !important;
    align-items: center !important;
    gap: 18px !important;
}

.brand-full-logo,
.footer-brand-lockup {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
}

.brand-logo-full {
    width: clamp(184px, 16vw, 248px) !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 20px rgba(83,185,255,.22)) !important;
}

.footer-logo-full {
    width: clamp(210px, 20vw, 300px) !important;
}

body[class] .nav-links {
    justify-content: center !important;
}

/* Hero: premium split, less empty space */
body.home-page .hero-section {
    min-height: auto !important;
    padding: clamp(42px, 5vw, 74px) 0 clamp(54px, 6vw, 92px) !important;
}

body.home-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 1.04fr) !important;
    gap: clamp(28px, 4vw, 58px) !important;
    align-items: center !important;
}

body.home-page .hero-content {
    max-width: 660px !important;
    align-self: center !important;
}

body.home-page .hero-content h1 {
    max-width: 12ch !important;
    margin: 14px 0 18px !important;
    font-size: clamp(38px, 5.2vw, 76px) !important;
    line-height: 1.12 !important;
}

body.home-page .hero-lead,
body.home-page .hero-content p {
    max-width: 650px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: clamp(16px, 1.32vw, 19px) !important;
    line-height: 1.9 !important;
}

body.home-page .hero-actions .btn {
    min-width: 190px !important;
}

body.home-page .hero-proof-points {
    margin-top: 22px !important;
    gap: 10px !important;
}

body.home-page .hero-proof-points span {
    padding: 11px 13px !important;
    font-size: 12.5px !important;
}

/* Mockup image frames: no vertical stretching */
.hero-showcase,
.preview-image,
.system-preview-card,
.system-shot-card,
.detail-visual-card {
    overflow: hidden !important;
}

body.home-page .hero-showcase {
    max-width: 700px !important;
}

body.home-page .hero-showcase-frame,
body.home-page .preview-image,
body.features-page .system-preview-card,
body.feature-page .system-shot-card,
body.feature-detail-page .detail-visual-card {
    position: relative !important;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)), #07090d !important;
    border: 1px solid rgba(83, 185, 255, 0.18) !important;
}

body.home-page .hero-showcase-frame,
body.home-page .preview-image video,
body.home-page .preview-image img,
body.features-page .system-preview-image,
body.feature-page .system-shot,
body.feature-detail-page #featureImage,
body.feature-detail-page .detail-visual-card img,
body.feature-detail-page .detail-visual-card video {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: top center !important;
    transform: none !important;
}

body.home-page .hero-showcase-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
}

body.home-page .preview-image {
    aspect-ratio: auto !important;
}

body.home-page .preview-image video,
body.home-page .preview-image img {
    border-radius: 22px !important;
}

/* Stats become real selling numbers */
body.home-page .hero-showcase-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

body.home-page .hero-metric {
    min-height: 100px !important;
    padding: 14px 12px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.035) !important;
}

body.home-page .hero-metric-number {
    font-size: clamp(34px, 3.4vw, 50px) !important;
    line-height: .95 !important;
}

body.home-page .hero-metric-number.plus-number::after {
    content: "+";
    font-size: .54em;
    margin-inline-start: 2px;
    vertical-align: top;
    color: #7fd1ff;
}

body.home-page .hero-metric span {
    margin-top: 8px;
    font-size: 12px !important;
    color: rgba(255,255,255,.68) !important;
}

/* Equal same-size feature blocks */
body.home-page .solutions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr !important;
    gap: 18px !important;
}

body.home-page .solutions-grid > * {
    grid-column: auto !important;
}

body.home-page .solution-card {
    min-height: 330px !important;
    padding: 26px !important;
    display: flex !important;
    flex-direction: column !important;
}

body.home-page .solution-card h3 {
    min-height: 52px !important;
    margin: 18px 0 10px !important;
    font-size: clamp(22px, 2.3vw, 31px) !important;
}

body.home-page .solution-card p {
    flex: 1 1 auto !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

body.home-page .solution-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 20px !important;
}

body.home-page .solution-list span {
    padding: 12px 8px !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

/* Feature pages: content starts higher and image proportions are fixed */
body.features-page .page-hero,
body.feature-page .page-hero,
body.feature-detail-page .page-hero,
body.contact-page .page-hero {
    padding: clamp(46px, 5.2vw, 72px) 0 clamp(28px, 3vw, 44px) !important;
}

body.features-page .main-section,
body.feature-page .main-section,
body.feature-detail-page .detail-main,
body.contact-page .contact-main {
    padding-block: clamp(36px, 5vw, 72px) !important;
}

body.features-page .features-showcase-grid,
body.feature-page .showcase-grid,
body.feature-detail-page .detail-layout {
    align-items: start !important;
    gap: clamp(20px, 3vw, 38px) !important;
}

body.features-page .showcase-copy,
body.feature-page .copy-card,
body.feature-detail-page .detail-card,
body.feature-detail-page .detail-visual-card {
    padding: clamp(22px, 2.4vw, 30px) !important;
}

body.features-page .showcase-title,
body.feature-page .showcase-title,
body.feature-detail-page .detail-card h2,
body.feature-detail-page .detail-visual-card h2 {
    margin-top: 10px !important;
    font-size: clamp(28px, 3.4vw, 48px) !important;
    max-width: 18ch !important;
}

body.features-page .features-rich-grid,
body.features-page .benefits-grid,
body.feature-page .points-grid,
body.feature-page .benefits-grid,
body.feature-page .workflow-grid,
body.feature-detail-page .detail-points,
body.feature-detail-page .detail-feature-list,
body.feature-detail-page .detail-stats {
    align-items: stretch !important;
}

body.features-page .rich-feature-card,
body.features-page .benefit-card,
body.feature-page .point-card,
body.feature-page .benefit-card,
body.feature-page .workflow-card,
body.feature-detail-page .detail-mini-card,
body.feature-detail-page .detail-highlight-card,
body.feature-detail-page .detail-case-card {
    height: 100% !important;
}

/* Footer: consistent pages + social icons */
.site-footer.compact-footer {
    padding: clamp(42px, 5vw, 64px) 0 20px !important;
}

.footer-shell-pro {
    grid-template-columns: minmax(280px, 1.08fr) minmax(340px, 1.1fr) minmax(220px, .74fr) !important;
}

.footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px 14px !important;
}

.footer-links .footer-heading {
    grid-column: 1 / -1 !important;
}

.footer-links a {
    min-height: 30px !important;
    font-size: 13.5px !important;
}

.social-link-muted {
    opacity: .72;
}

/* Mobile-first tuning */
@media (max-width: 1100px) {
    body.home-page .hero-grid,
    body.home-page .preview-grid,
    body.features-page .features-showcase-grid,
    body.feature-page .showcase-grid,
    body.feature-detail-page .detail-layout {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-content {
        text-align: center !important;
        margin-inline: auto !important;
    }

    body.home-page .hero-content h1,
    body.home-page .hero-lead,
    body.home-page .hero-content p {
        margin-inline: auto !important;
    }

    body.home-page .hero-actions,
    body.home-page .hero-proof-points {
        justify-content: center !important;
    }

    body.home-page .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .footer-shell-pro {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-brand {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 860px) {
    :root { --container-width: calc(100vw - 28px); }

    body[class] .nav-content {
        grid-template-columns: 1fr auto !important;
    }

    .brand-logo-full {
        width: clamp(168px, 48vw, 216px) !important;
    }

    body.home-page .hero-section {
        padding-top: 34px !important;
        padding-bottom: 42px !important;
    }

    body.home-page .hero-content h1 {
        max-width: 12ch !important;
        font-size: clamp(32px, 10.5vw, 52px) !important;
    }

    body.home-page .solutions-grid,
    body.home-page .steps-grid,
    body.features-page .features-rich-grid,
    body.features-page .benefits-grid,
    body.feature-page .points-grid,
    body.feature-page .benefits-grid,
    body.feature-page .workflow-grid,
    body.feature-detail-page .detail-feature-list,
    body.feature-detail-page .detail-stats {
        grid-template-columns: 1fr !important;
    }

    body.home-page .solution-card {
        min-height: auto !important;
    }

    body.home-page .solution-list {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-showcase-metrics {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    }

    body.home-page .hero-metric {
        min-height: 86px !important;
        padding: 12px 8px !important;
    }

    body.home-page .hero-metric-number {
        font-size: 26px !important;
    }

    body.home-page .hero-metric span {
        font-size: 10.5px !important;
    }

    .footer-shell-pro {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .footer-brand .brand-full-logo,
    .footer-brand-lockup,
    .footer-social,
    .footer-contact,
    .footer-links {
        justify-content: center !important;
        margin-inline: auto !important;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, auto)) !important;
    }

    .footer-logo-full {
        width: 230px !important;
        margin-inline: auto !important;
    }
}

@media (max-width: 520px) {
    :root { --container-width: calc(100vw - 22px); }

    body[class] .nav-content {
        gap: 10px !important;
    }

    .brand-logo-full {
        width: 166px !important;
    }

    body[class] .nav-links a {
        font-size: 11.5px !important;
        padding: 8px 8px !important;
    }

    body.home-page .hero-showcase,
    body.home-page .preview-image,
    body.features-page .system-preview-card,
    body.feature-page .system-shot-card,
    body.feature-detail-page .detail-visual-card {
        border-radius: 20px !important;
        padding: 12px !important;
    }

    body.home-page .hero-showcase-metrics {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-metric {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        min-height: auto !important;
        text-align: start !important;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
    }
}

/* === Advanced Core home flow cleanup v2 === */
body.home-page .hero-section {
    min-height: auto !important;
    padding-top: clamp(118px, 12vw, 158px) !important;
    padding-bottom: clamp(44px, 6vw, 78px) !important;
}

body.home-page .hero-grid {
    align-items: center !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr) !important;
    gap: clamp(26px, 4vw, 58px) !important;
}

body.home-page .hero-content {
    max-width: 680px !important;
}

body.home-page .hero-content h1 {
    font-size: clamp(44px, 7vw, 92px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
    max-width: 13ch !important;
}

body.home-page .hero-lead {
    max-width: 640px !important;
    margin-top: 22px !important;
}

body.home-page .hero-proof-points {
    margin-top: 24px !important;
    gap: 10px !important;
}

body.home-page .hero-proof-points span {
    min-width: auto !important;
    padding: 11px 14px !important;
    border: 1px solid var(--line) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.035) !important;
}

body.home-page .hero-showcase {
    padding: clamp(14px, 2vw, 22px) !important;
}

body.home-page .hero-showcase-frame img {
    aspect-ratio: 16 / 10 !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: brightness(0.86) contrast(1.04) !important;
}

body.home-page .home-section,
body.home-page .steps-section {
    padding-block: clamp(54px, 7vw, 98px) !important;
}

body.home-page .home-section-white {
    padding-top: clamp(44px, 6vw, 82px) !important;
}

body.home-page .section-heading {
    max-width: 900px !important;
    margin: 0 auto clamp(28px, 4vw, 48px) !important;
    text-align: center !important;
}

body.home-page .section-heading p,
body.home-page .factory-flow-copy p {
    max-width: 780px !important;
    margin: 14px auto 0 !important;
    color: var(--text-soft) !important;
    font-size: clamp(16px, 1.8vw, 20px) !important;
    line-height: 1.9 !important;
}

body.home-page .equal-solutions-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: clamp(16px, 2vw, 24px) !important;
}

body.home-page .equal-solutions-grid > .solution-card {
    grid-column: span 4 !important;
    min-height: 292px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: clamp(22px, 2.4vw, 30px) !important;
}

body.home-page .equal-solutions-grid > .solution-card:nth-child(7) {
    grid-column: 5 / span 4 !important;
}

body.home-page .solution-card h3 {
    font-size: clamp(24px, 2.7vw, 36px) !important;
    line-height: 1.16 !important;
    margin: 20px 0 12px !important;
}

body.home-page .solution-card p {
    margin-bottom: 22px !important;
}

body.home-page .solution-list {
    margin-top: auto !important;
}

body.home-page .factory-flow-panel {
    background: linear-gradient(135deg, rgba(18, 37, 44, 0.72), rgba(10, 10, 10, 0.88)) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-xl) !important;
    padding: clamp(26px, 4vw, 54px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr) !important;
    gap: clamp(24px, 4vw, 54px) !important;
    align-items: center !important;
}

body.home-page .factory-flow-copy h2 {
    font-size: clamp(34px, 5vw, 74px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    color: var(--text) !important;
    margin: 18px 0 0 !important;
}

body.home-page .factory-flow-copy p {
    margin-inline: 0 !important;
}

body.home-page .factory-flow-points {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.home-page .factory-flow-points .showcase-point {
    min-height: 142px !important;
    padding: 22px !important;
}

body.home-page .factory-flow-points .showcase-point:last-child {
    grid-column: 1 / -1 !important;
}

body.home-page .steps-grid {
    align-items: stretch !important;
}

body.home-page .step-card {
    min-height: 238px !important;
    display: flex !important;
    flex-direction: column !important;
}

body.home-page .step-card p {
    margin-top: auto !important;
}

@media (max-width: 1100px) {
    body.home-page .hero-grid,
    body.home-page .factory-flow-panel {
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-content {
        max-width: 780px !important;
    }

    body.home-page .hero-content h1 {
        max-width: 15ch !important;
    }

    body.home-page .equal-solutions-grid > .solution-card,
    body.home-page .equal-solutions-grid > .solution-card:nth-child(7) {
        grid-column: span 6 !important;
    }
}

@media (max-width: 720px) {
    body.home-page .hero-section {
        padding-top: 104px !important;
        padding-bottom: 38px !important;
    }

    body.home-page .hero-content h1 {
        font-size: clamp(38px, 13vw, 58px) !important;
        max-width: 100% !important;
    }

    body.home-page .hero-lead {
        font-size: 16px !important;
        line-height: 1.85 !important;
    }

    body.home-page .hero-proof-points {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    body.home-page .hero-showcase-metrics {
        grid-template-columns: 1fr !important;
    }

    body.home-page .equal-solutions-grid {
        grid-template-columns: 1fr !important;
    }

    body.home-page .equal-solutions-grid > .solution-card,
    body.home-page .equal-solutions-grid > .solution-card:nth-child(7) {
        grid-column: auto !important;
        min-height: auto !important;
    }

    body.home-page .factory-flow-panel {
        padding: 22px !important;
        border-radius: 28px !important;
    }

    body.home-page .factory-flow-copy h2 {
        font-size: clamp(32px, 11vw, 48px) !important;
    }

    body.home-page .factory-flow-points {
        grid-template-columns: 1fr !important;
    }

    body.home-page .factory-flow-points .showcase-point:last-child {
        grid-column: auto !important;
    }
}

/* Advanced Core final social/contact cleanup */
body.home-page .hero-content > .section-badge[data-i18n="hero_badge"] {
    display: none !important;
}
body.contact-page .contact-main {
    padding: clamp(24px, 4vw, 56px) 0 72px !important;
}
body.contact-page .contact-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.68fr) !important;
    gap: 20px !important;
    align-items: start !important;
}
body.contact-page .contact-info-card.compact-contact-info {
    align-self: start !important;
    justify-self: stretch !important;
    max-width: 430px !important;
    padding: clamp(20px, 2.4vw, 28px) !important;
    min-height: 0 !important;
}
body.contact-page .contact-info-card.compact-contact-info h2 {
    margin: 12px 0 8px !important;
    font-size: clamp(28px, 3.2vw, 42px) !important;
    line-height: 1.18 !important;
}
body.contact-page .contact-info-card.compact-contact-info .info-text {
    font-size: 15px !important;
    line-height: 1.75 !important;
}
body.contact-page .compact-info-stack {
    margin-top: 16px !important;
    gap: 0 !important;
}
body.contact-page .compact-social-box {
    padding: 18px !important;
    min-height: 0 !important;
}
body.contact-page .compact-social-box strong {
    font-size: 20px !important;
    margin-bottom: 6px !important;
}
body.contact-page .compact-quick-actions,
body.contact-page .contact-info-card .quick-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 14px !important;
}
body.contact-page .contact-info-card .quick-link.social {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    border-radius: 16px !important;
}
body.contact-page .contact-info-card .quick-link.social svg {
    width: 20px !important;
    height: 20px !important;
}
body.contact-page .contact-email-line {
    display: inline-flex !important;
    margin-top: 14px !important;
    color: var(--accent, #56d6ff) !important;
    direction: ltr !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
body.contact-page .contact-email-line:hover {
    text-decoration: underline !important;
}
@media (max-width: 980px) {
    body.contact-page .contact-layout {
        grid-template-columns: 1fr !important;
    }
    body.contact-page .contact-info-card.compact-contact-info {
        max-width: none !important;
    }
}
@media (max-width: 520px) {
    body.contact-page .contact-info-card .quick-actions {
        justify-content: center !important;
    }
    body.contact-page .contact-email-line {
        width: 100% !important;
        justify-content: center !important;
    }
}
