:root {
    --deep-navy: #0a0e1a;
    --navy: #1a2332;
    --soft-gray: #2a3441;
    --electric-teal: #00d4aa;
    --teal-glow: rgba(0, 212, 170, 0.3);
    --silver: #c0c8d1;
    --neon-blue: #00b4d8;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    --glow: 0 0 30px rgba(0, 212, 170, 0.35);
    --font-primary: "Exo 2", sans-serif;
    --font-display: "Orbitron", monospace;
    --font-arabic: "Tajawal", "Noto Sans Arabic", sans-serif;
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    --radius: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--deep-navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

html[lang="ar"] body {
    font-family: var(--font-arabic);
}

html[lang="ar"] .hero h1,
html[lang="ar"] .page-hero h1,
html[lang="ar"] .section-title,
html[lang="ar"] .about-text h2,
html[lang="ar"] .cta-content h2,
html[lang="ar"] .logo,
html[lang="ar"] .footer-logo {
    font-family: var(--font-arabic);
    letter-spacing: 0;
}

html[lang="ar"] .hero h1,
html[lang="ar"] .page-hero h1,
html[lang="ar"] .section-title,
html[lang="ar"] .about-text h2,
html[lang="ar"] .cta-content h2 {
    line-height: 1.3;
    padding-bottom: 0.08em;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: var(--white);
}

html[lang="ar"] h3 {
    line-height: 1.35;
    padding-bottom: 0.04em;
}

html[lang="ar"] .list {
    padding-left: 0;
    padding-right: 20px;
}

html[lang="ar"] .contact-detail-list {
    padding-right: 0;
}

html[dir="rtl"] .navbar,
html[dir="rtl"] .nav-container,
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .nav-controls,
html[dir="rtl"] .nav-language {
    direction: ltr;
}

html[dir="rtl"] .nav-links a,
html[dir="rtl"] .nav-language a {
    direction: rtl;
    unicode-bidi: plaintext;
}

body.mobile-menu-open {
    overflow: hidden;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, var(--teal-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.14) 0%, transparent 50%),
        linear-gradient(135deg, var(--deep-navy) 0%, var(--navy) 100%);
    z-index: -2;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 26, 0.26);
    border-bottom: 1px solid transparent;
    transition: transform 0.34s ease, opacity 0.34s ease, background 0.34s ease, border-color 0.34s ease;
    will-change: transform;
}

.navbar.navbar-scrolled {
    background: rgba(10, 14, 26, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.navbar.navbar-hidden {
    transform: translateY(calc(-100% - 10px));
    opacity: 0;
    pointer-events: none;
}

.nav-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-row {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-toggle:hover {
    border-color: var(--electric-teal);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.logo-image {
    display: block;
    width: auto;
    height: 42px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--electric-teal), var(--neon-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    font-weight: 700;
}

.logo-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: logo-shine 3s infinite;
}

@keyframes logo-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 34px;
}

.nav-links a {
    color: var(--silver);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    bottom: -6px;
    height: 2px;
    background: var(--electric-teal);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--electric-teal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-language {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.nav-language a {
    color: var(--silver);
    text-decoration: none;
    transition: var(--transition);
}

.nav-language a.active,
.nav-language a:hover {
    color: var(--electric-teal);
}

.nav-language span {
    color: var(--silver);
}

.lang-toggle,
.theme-toggle {
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--silver);
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #d7fff6;
    border-color: rgba(0, 212, 170, 0.38);
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(150deg, rgba(0, 212, 170, 0.22), rgba(0, 180, 216, 0.14));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 10px 20px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(0, 212, 170, 0.08);
}

.lang-toggle:hover {
    color: var(--electric-teal);
    border-color: var(--electric-teal);
}

.theme-toggle:hover {
    color: #ffffff;
    border-color: rgba(0, 212, 170, 0.74);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 12px 22px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 212, 170, 0.2);
}

.theme-toggle:active {
    transform: translateY(0) scale(0.98);
}

.theme-toggle:focus-visible {
    outline: none;
    color: #ffffff;
    border-color: rgba(0, 212, 170, 0.85);
    box-shadow:
        0 0 0 3px var(--teal-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.3);
}

.main-wrap {
    padding-top: 96px;
}

main {
    padding-top: 96px;
}

main.main-wrap {
    padding-top: 0;
}

.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding: 82px 0 72px;
}

@media (min-width: 1400px) {
    .hero {
        min-height: 100vh;
    }

    .hero-media {
        -webkit-mask-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 82%,
            rgba(0, 0, 0, 0.9) 90%,
            rgba(0, 0, 0, 0.45) 97%,
            rgba(0, 0, 0, 0) 100%
        );
        mask-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 82%,
            rgba(0, 0, 0, 0.9) 90%,
            rgba(0, 0, 0, 0.45) 97%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    @supports not ((mask-image: linear-gradient(to bottom, #000 0%, transparent 100%)) or (-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%))) {
        .hero-media::after {
            height: 24%;
        }
    }
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    line-height: 0;
    background: var(--deep-navy);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.9) 82%,
        rgba(0, 0, 0, 0.45) 93%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.9) 82%,
        rgba(0, 0, 0, 0.45) 93%,
        rgba(0, 0, 0, 0) 100%
    );
}

@supports not ((mask-image: linear-gradient(to bottom, #000 0%, transparent 100%)) or (-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%))) {
    .hero-media::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 36%;
        z-index: 2;
        background: linear-gradient(180deg, rgba(10, 14, 26, 0) 0%, rgba(10, 14, 26, 0.56) 62%, var(--deep-navy) 100%);
    }
}

.hero-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    transform: scale(1.03);
    animation: hero-video-shift 18s ease-in-out infinite alternate;
}

@keyframes hero-video-shift {
    0% {
        transform: scale(1.01) translate3d(-0.6%, 0, 0);
    }

    100% {
        transform: scale(1.05) translate3d(0.8%, -0.8%, 0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 26%, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0) 46%),
        radial-gradient(circle at 86% 18%, rgba(0, 180, 216, 0.08) 0%, rgba(0, 180, 216, 0) 48%),
        linear-gradient(108deg, rgba(4, 8, 16, 0.46) 0%, rgba(7, 14, 27, 0.24) 48%, rgba(6, 10, 20, 0.38) 100%);
}

.hero .container {
    position: relative;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: clamp(14px, 2.4vw, 44px);
    padding-right: clamp(14px, 1.4vw, 26px);
}

.hero-content {
    max-width: min(780px, 96vw);
    position: relative;
    z-index: 2;
    margin: 0 !important;
    text-align: left;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.8vw, 64px);
    line-height: 1.1;
    letter-spacing: 0.005em;
    font-weight: 700;
    max-width: 16ch;
    margin-bottom: 22px;
    text-wrap: balance;
    background: linear-gradient(135deg, #ffffff 8%, #dbf5ff 52%, #80ffe7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 16px 35px rgba(0, 0, 0, 0.36);
}

.hero-subtitle {
    font-size: clamp(18px, 1.95vw, 22px);
    line-height: 1.58;
    font-weight: 400;
    color: rgba(233, 242, 252, 0.94);
    max-width: 68ch;
    margin-bottom: 34px;
    text-wrap: pretty;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(8, 17, 32, 0.42);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    border-color: var(--electric-teal);
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-teal), var(--neon-blue));
    opacity: 0.1;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.floating-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 18%;
    right: 10%;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 14%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 62%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.section,
.page-section {
    padding: var(--section-padding);
    position: relative;
}

.page-section {
    padding-top: 70px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--electric-teal);
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--electric-teal);
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.15;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white), var(--electric-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--silver);
    font-size: 18px;
    max-width: 780px;
    margin: 0 auto;
}

.page-hero {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 48px 42px;
    margin-bottom: 36px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white), var(--electric-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    color: var(--silver);
    font-size: 18px;
}

.segment-note {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 170, 0.42);
    background: rgba(0, 212, 170, 0.1);
    color: #c8fff2;
    font-size: 14px;
    font-weight: 700;
}

.page-hero-media {
    margin: 22px 0 0;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    height: 280px;
    position: relative;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.section-media,
.panel-media {
    margin: 22px 0;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.section-media {
    height: 250px;
}

.panel-media {
    height: 176px;
    margin: 0 0 18px;
}

.section-media img,
.panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.section-media::after,
.panel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 44, 0.08) 0%, rgba(8, 20, 44, 0.26) 100%);
    pointer-events: none;
}

.grid {
    display: grid;
    gap: 26px;
}

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

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

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card,
.service-card,
.project-card,
.visual-card,
.contact-form,
.contact-item,
.tech-category,
.trust-stat,
.advantage-card,
.stat,
.panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.card,
.service-card,
.visual-card,
.tech-category,
.advantage-card,
.panel {
    padding: 30px;
}

.project-card {
    overflow: hidden;
}

.card-media {
    height: 170px;
    margin: -30px -30px 18px;
    border-radius: 22px 22px 14px 14px;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transition: transform 0.45s ease;
}

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 27, 0.1) 0%, rgba(7, 13, 27, 0.34) 100%);
    pointer-events: none;
}

.card:hover .card-media img,
.service-card:hover .card-media img {
    transform: scale(1.05);
}

.card:hover,
.service-card:hover,
.project-card:hover,
.visual-card:hover,
.tech-category:hover,
.advantage-card:hover,
.panel:hover {
    transform: translateY(-6px);
    border-color: var(--electric-teal);
    box-shadow: var(--shadow);
}

.card-icon,
.visual-icon,
.advantage-icon,
.contact-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(145deg, rgba(0, 200, 255, 0.26), rgba(8, 20, 44, 0.9));
    border: 1px solid rgba(139, 240, 255, 0.44);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -14px 24px rgba(0, 0, 0, 0.34),
        0 14px 28px rgba(0, 0, 0, 0.3);
    margin-bottom: 16px;
}

.card > .card-icon,
.service-card > .card-icon,
.project-card > .card-icon,
.visual-card > .visual-icon,
.panel > .card-icon {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

.advantage-card > .advantage-icon {
    margin-inline: auto;
}

.card-icon::after,
.visual-icon::after,
.advantage-icon::after,
.contact-icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.icon-svg {
    width: 32px;
    height: 32px;
    stroke: #e7f9ff;
    stroke-width: 2.05;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.34));
}

.card h3,
.service-card h3,
.project-card h3,
.visual-card h3,
.panel h3,
.tech-category h3,
.advantage-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.card p,
.service-card p,
.project-card p,
.visual-card p,
.panel p,
.advantage-card p,
.muted {
    color: var(--silver);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--electric-teal), var(--neon-blue));
    box-shadow: var(--glow);
}

.btn-secondary {
    color: var(--white);
    border-color: var(--glass-border);
    background: var(--glass);
}

.trust-section,
.technologies-section,
.why-choose-section,
.final-cta-section {
    padding: 96px 0;
    background: var(--glass);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.trust-stat,
.stat {
    text-align: center;
    padding: 24px;
}

.trust-number,
.stat-number {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--electric-teal);
    margin-bottom: 8px;
}

.trust-label,
.stat-label {
    color: var(--silver);
    font-size: 14px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 18px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--silver);
    font-size: 18px;
}

.about-visual {
    display: grid;
    gap: 18px;
}

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

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

.platform-flow-section {
    padding: 96px 0;
    position: relative;
}

.platform-flow-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.platform-modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.module-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 22px;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--electric-teal);
    box-shadow: var(--shadow);
}

.module-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.module-card p {
    color: var(--silver);
    margin: 0;
}

.value-flow-track {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 180, 216, 0.05) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(16px);
}

.flow-step {
    position: relative;
    padding-left: 54px;
}

.flow-step:not(:last-child) {
    margin-bottom: 24px;
}

.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: -18px;
    width: 1px;
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.85), rgba(0, 212, 170, 0.14));
}

.flow-kicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 170, 0.42);
    background: rgba(0, 212, 170, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--electric-teal);
}

.flow-step h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.flow-step p {
    color: var(--silver);
    font-size: 15px;
    margin: 0;
}

html[dir="rtl"] .flow-step {
    padding-left: 0;
    padding-right: 54px;
}

html[dir="rtl"] .flow-kicker {
    left: auto;
    right: 0;
}

html[dir="rtl"] .flow-step:not(:last-child)::after {
    left: auto;
    right: 16px;
}

.marketing-topics-section {
    padding: 96px 0;
    background: var(--glass);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marketing-topics {
    display: grid;
    gap: 22px;
}

.marketing-topic {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 20px;
    align-items: stretch;
}

.marketing-topic:nth-child(even) .topic-content {
    order: 2;
}

.marketing-topic:nth-child(even) .topic-media-grid {
    order: 1;
}

.topic-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(16px);
}

.topic-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 170, 0.36);
    background: rgba(0, 212, 170, 0.11);
    color: var(--electric-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.topic-content h3 {
    font-size: 30px;
    line-height: 1.24;
    margin: 12px 0 10px;
}

.topic-content p {
    margin: 0;
    color: var(--silver);
}

.topic-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.topic-list li {
    color: var(--silver);
    position: relative;
    padding-left: 18px;
}

.topic-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--electric-teal);
    position: absolute;
    left: 0;
    top: 0.62em;
}

html[dir="rtl"] .topic-list li {
    padding-left: 0;
    padding-right: 18px;
}

html[dir="rtl"] .topic-list li::before {
    left: auto;
    right: 0;
}

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

.topic-media-frame {
    margin: 0;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    background: var(--glass);
    position: relative;
}

.topic-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transition: transform 0.45s ease;
}

.topic-media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 27, 0.1) 0%, rgba(7, 13, 27, 0.32) 100%);
    pointer-events: none;
}

.topic-media-frame:hover img {
    transform: scale(1.04);
}

.topic-media-grid-3 .topic-media-frame:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
}

.service-cta,
.projects-cta {
    margin-top: 20px;
    text-align: center;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    border: 1px solid var(--electric-teal);
    color: var(--electric-teal);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
}

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

.project-image {
    height: 185px;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transition: transform 0.5s ease;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 27, 0.08) 0%, rgba(7, 13, 27, 0.4) 100%);
    pointer-events: none;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-content h3,
.project-content p {
    margin: 0;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: rgba(44, 224, 255, 0.12);
    border: 1px solid rgba(44, 224, 255, 0.36);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.light-theme .project-tag {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.22);
}

.project-points {
    list-style: none;
    margin: 2px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--glass-border);
    display: grid;
    gap: 10px;
}

.project-point {
    position: relative;
    padding-inline-start: 18px;
    color: var(--silver);
    font-size: 14px;
    line-height: 1.45;
}

.project-point::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--electric-teal);
    box-shadow: 0 0 0 3px rgba(44, 224, 255, 0.2);
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.project-stat {
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
}

.project-stat-number {
    font-family: var(--font-display);
    color: var(--electric-teal);
    font-weight: 700;
}

.project-stat-label {
    color: var(--silver);
    font-size: 12px;
}

.cta-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--silver);
    font-size: 20px;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-segments {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
}

.cta-segment {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.cta-segment:hover {
    transform: translateY(-4px);
    border-color: var(--electric-teal);
}

.cta-segment h3 {
    font-size: 21px;
    margin: 0;
}

.cta-segment p {
    margin: 0;
    font-size: 15px;
    color: var(--silver);
    line-height: 1.55;
}

.cta-segment .btn {
    width: 100%;
    margin-top: 4px;
}

html[dir="rtl"] .cta-segments {
    text-align: right;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.field {
    margin-bottom: 16px;
}

.input,
.textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: var(--font-primary);
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: var(--electric-teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}

.list {
    padding-left: 20px;
}

.list li {
    margin-bottom: 8px;
    color: var(--silver);
}

.contact-detail-list {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 18px;
    display: grid;
    gap: 12px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--silver);
    font-weight: 500;
}

.contact-mini-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(139, 240, 255, 0.44);
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 52%),
        linear-gradient(145deg, rgba(0, 200, 255, 0.24), rgba(8, 20, 44, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -10px 18px rgba(0, 0, 0, 0.3);
}

.contact-mini-icon::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.contact-mini-icon .icon-svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.05;
}

.contact-form {
    padding: 36px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--silver);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
}

.contact-item .contact-icon {
    margin: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-item .contact-icon::after {
    inset: 7px;
    border-radius: 10px;
}

.contact-item .contact-icon .icon-svg {
    width: 24px;
    height: 24px;
}

.contact-item > div {
    padding-top: 2px;
}

.contact-item h4 {
    margin-bottom: 4px;
}

.footer {
    border-top: 1px solid var(--glass-border);
    background: var(--navy);
    margin-top: 80px;
    padding: 44px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 24px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-description {
    color: var(--silver);
}

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

.footer-top .footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--silver);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--electric-teal);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
    color: var(--silver);
    text-align: center;
}

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top .arrow-icon {
    width: 24px;
    height: 24px;
    stroke: var(--electric-teal);
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.scroll-top:hover .arrow-icon {
    transform: translateY(-2px);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.staging-note {
    margin-top: 12px;
    color: #9ac7c1;
    font-size: 13px;
}

.loading {
    position: fixed;
    inset: 0;
    background: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 58px;
    height: 58px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--electric-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none;
        transform: scale(1.06);
    }

    .hero-media {
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0) 100%);
    }
}

body.light-theme {
    --deep-navy: #f8fafc;
    --navy: #e2e8f0;
    --soft-gray: #cbd5e1;
    --electric-teal: #0891b2;
    --teal-glow: rgba(8, 145, 178, 0.3);
    --silver: #475569;
    --neon-blue: #0284c7;
    --white: #1e293b;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.12);
    --shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    --glow: 0 0 20px rgba(8, 145, 178, 0.2);
}

body.light-theme .segment-note {
    background: rgba(8, 145, 178, 0.13);
    border-color: rgba(8, 145, 178, 0.38);
    color: #0f5b72;
}

body.light-theme .theme-toggle {
    color: #0f5b72;
    border-color: rgba(8, 145, 178, 0.42);
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.26) 46%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(150deg, rgba(8, 145, 178, 0.24), rgba(2, 132, 199, 0.14));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 10px 20px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(8, 145, 178, 0.1);
}

body.light-theme .theme-toggle:hover,
body.light-theme .theme-toggle:focus-visible {
    color: #0b4052;
    border-color: rgba(8, 145, 178, 0.72);
}

@media (max-width: 1080px) {
    .nav-links {
        gap: 16px;
    }

    .about-content,
    .contact-content,
    .contact-grid,
    .two-col,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 82vh;
        padding: 70px 0 58px;
    }

    .hero-video {
        object-position: 58% center;
    }

    .hero .container {
        padding-left: 18px;
        padding-right: 16px;
    }

    .hero-content {
        max-width: min(760px, 96vw);
    }

    .page-hero-media {
        height: 240px;
    }

    .section-media {
        height: 220px;
    }

    .platform-flow-grid {
        grid-template-columns: 1fr;
    }

    .marketing-topic {
        grid-template-columns: 1fr;
    }

    .marketing-topic:nth-child(even) .topic-content,
    .marketing-topic:nth-child(even) .topic-media-grid {
        order: initial;
    }

    .topic-content h3 {
        font-size: 26px;
    }

    .cta-segments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .nav-container {
        min-height: 74px;
        gap: 12px;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px 18px;
        background: rgba(7, 11, 22, 0.94);
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(16px);
        transform: translate3d(0, -12px, 0);
        opacity: 0;
        pointer-events: none;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        transition: opacity 0.24s ease, transform 0.24s ease;
    }

    .nav-menu.menu-open {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }

    .nav-container .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 2px;
    }

    .nav-container .nav-links a {
        display: block;
        padding: 11px 2px;
        font-size: 16px;
    }

    .nav-container .nav-links a::after {
        bottom: 4px;
    }

    .nav-container .nav-controls {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .nav-container .nav-language {
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .nav-container {
        min-height: 70px;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 8px 0;
    }

    .nav-container .logo {
        width: auto;
        justify-content: flex-start;
    }

    .logo-image {
        height: 34px;
    }

    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
        padding: 14px 14px 16px;
    }

    .nav-container .nav-links a {
        font-size: 15px;
        padding: 10px 2px;
    }

    .nav-container .nav-controls {
        padding-top: 8px;
    }

    .nav-container .nav-language {
        font-size: 14px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 12px;
    }

    .page-hero {
        padding: 34px 20px;
    }

    .page-hero-media {
        height: 186px;
        margin-top: 16px;
    }

    .section-media {
        height: 190px;
        margin: 16px 0;
    }

    .panel-media {
        height: 152px;
        margin-bottom: 14px;
    }

    .card-media {
        height: 132px;
        margin: -30px -30px 14px;
    }

    .project-image {
        height: 150px;
    }

    .card-icon,
    .visual-icon,
    .advantage-icon,
    .contact-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .card-icon::after,
    .visual-icon::after,
    .advantage-icon::after,
    .contact-icon::after {
        inset: 7px;
        border-radius: 11px;
    }

    .icon-svg {
        width: 28px;
        height: 28px;
    }

    .contact-mini-icon {
        width: 36px;
        height: 36px;
    }

    .contact-mini-icon::after {
        inset: 5px;
    }

    .contact-mini-icon .icon-svg {
        width: 18px;
        height: 18px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item .contact-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .contact-item .contact-icon::after {
        inset: 6px;
        border-radius: 8px;
    }

    .contact-item .contact-icon .icon-svg {
        width: 21px;
        height: 21px;
    }

    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .platform-flow-section {
        padding: 76px 0;
    }

    .platform-modules {
        grid-template-columns: 1fr;
    }

    .module-card {
        padding: 18px;
    }

    .value-flow-track {
        padding: 20px 18px;
    }

    .flow-step {
        padding-left: 44px;
    }

    .flow-kicker {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .flow-step:not(:last-child)::after {
        left: 13px;
        top: 30px;
    }

    html[dir="rtl"] .flow-step {
        padding-right: 44px;
    }

    html[dir="rtl"] .flow-step:not(:last-child)::after {
        right: 13px;
    }

    .cta-segments {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .marketing-topics-section {
        padding: 76px 0;
    }

    .topic-content {
        padding: 18px;
    }

    .topic-content h3 {
        font-size: 24px;
    }

    .topic-media-grid {
        gap: 8px;
    }

    .hero {
        min-height: 100svh;
        min-height: 100dvh;
        padding: 108px 0 32px;
    }

    .hero .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content {
        margin: 0 !important;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(30px, 8.6vw, 38px);
        line-height: 1.14;
        max-width: 17ch;
    }

    .hero-cta .btn {
        width: auto;
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 12px;
        min-height: 0;
    }

    .hero-media {
        -webkit-mask-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 100%
        );
        mask-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 100%
        );
    }

    @supports not ((mask-image: linear-gradient(to bottom, #000 0%, transparent 100%)) or (-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%))) {
        .hero-media::after {
            display: none;
        }
    }

    .hero-video {
        object-position: 47.5% 52% !important;
        transform: scale(1.01);
        animation: none;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.58;
        max-width: 100%;
    }

    .floating-elements {
        display: none;
    }

    .project-points {
        gap: 8px;
    }
}

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

    .topic-media-grid-3 .topic-media-frame:first-child {
        aspect-ratio: 16 / 9;
    }

    .page-hero-media {
        height: 164px;
    }

    .section-media {
        height: 166px;
    }

    .card-media {
        height: 118px;
    }

    .project-image {
        height: 132px;
    }

    .hero-video {
        object-position: 47.5% 54% !important;
        transform: scale(1.02);
    }
}
