:root {
    --color-bg: #0b2a31;
    --color-bg-deep: #082228;
    --color-surface: rgba(12, 39, 46, 0.72);
    --color-surface-soft: rgba(18, 52, 60, 0.82);
    --color-border: rgba(159, 213, 220, 0.16);
    --color-text: #f4f7f8;
    --color-muted: #a8bec3;
    --color-teal: #57efd8;
    --color-cyan: #67d8f6;
    --color-blue: #88a7ff;
    --color-accent: linear-gradient(90deg, #57efd8 0%, #62ddf2 52%, #88a7ff 100%);
    --shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.24);
    --shadow-hover: 0 32px 70px rgba(0, 0, 0, 0.32);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
}

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

body {
    margin: 0;
    color: var(--color-text);
    background:
        linear-gradient(180deg, rgba(4, 18, 21, 0.26), transparent 30%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 100%);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(123, 181, 186, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 181, 186, 0.055) 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.45;
}

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

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

main {
    position: relative;
    z-index: 1;
}

.site-header {
    background: #06181e;
    border-bottom: 1px solid rgba(151, 236, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.navbar {
    padding: 0.45rem 0;
}

.navbar-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
}

.navbar-brand::before {
    content: "";
    position: absolute;
    inset: -8px -12px;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(151, 236, 255, 0.08) 0%, rgba(151, 236, 255, 0.03) 42%, transparent 76%);
    filter: blur(10px);
}

.site-logo {
    height: 98px;
    width: auto;
    filter: drop-shadow(0 10px 22px rgba(2, 8, 18, 0.28));
}

.navbar-collapse {
    padding: 0.2rem 0 0.1rem;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    margin-top: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(151, 236, 255, 0.08);
    border-radius: 20px;
    background: rgba(7, 27, 34, 0.96);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.03);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(103, 216, 246, 0.14);
}

.navbar-toggler-icon {
    filter: invert(1) saturate(0) brightness(1.9);
}

.navbar-nav {
    gap: 0.2rem;
}

@media (min-width: 992px) {
    .navbar-collapse {
        padding: 0;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        margin-top: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
}

.nav-link {
    position: relative;
    color: rgba(244, 247, 248, 0.86);
    font-weight: 500;
    padding: 0.8rem 0.95rem !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.45rem;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

.nav-item-cta {
    margin-left: 0.5rem;
}

.nav-language {
    margin-left: 0.9rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(244, 247, 248, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.language-switcher::after {
    margin-left: 0.55rem;
}

.language-switcher:hover,
.language-switcher:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(116, 223, 255, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.language-switcher:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 210, 255, 0.12);
}

.language-current {
    line-height: 1;
}

.language-menu {
    min-width: 5.5rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(7, 24, 30, 0.96);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.language-option {
    min-width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    color: rgba(244, 247, 248, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.language-option:hover,
.language-option:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.language-option.active {
    color: #09252b;
    background: var(--color-accent);
}

.btn {
    border-radius: 18px;
    font-weight: 700;
    padding: 1rem 1.55rem;
}

.btn-brand-primary {
    color: #09252b;
    background: var(--color-accent);
    border: 0;
    box-shadow: 0 14px 34px rgba(87, 239, 216, 0.18);
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
    color: #09252b;
    filter: brightness(1.03);
}

.btn-brand-secondary {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.btn-brand-secondary:hover,
.btn-brand-secondary:focus {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.hero-shell,
.page-hero {
    position: relative;
    padding: 5rem 0 4rem;
}

.page-hero-compact {
    padding: 4rem 0 2rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(225, 241, 244, 0.72);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    display: none;
}

.section-label-badge {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-title,
.page-hero h1,
.content-section h2,
.cta-card h2 {
    color: var(--color-text);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-title {
    margin: 1.75rem 0 1.5rem;
    max-width: 16ch;
    font-size: clamp(3.5rem, 6vw, 6.8rem);
    font-weight: 800;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(90deg, #57efd8 0%, #62ddf2 28%, #88a7ff 52%, #62ddf2 76%, #57efd8 100%);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-accent-wave 8.5s ease-in-out infinite;
    will-change: background-position;
}

@keyframes hero-accent-wave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-accent {
        animation: none;
    }
}

.page-hero h1 {
    font-size: clamp(2.8rem, 4.6vw, 5rem);
    margin: 1.2rem 0;
}

.hero-text,
.lead-text,
.feature-card p,
.highlight-panel p,
.contact-side-panel p,
.footer-text,
.product-details dd,
.snapshot-card p,
.timeline-card p,
.flow-card p,
.mini-stat-card p,
.market-card p,
.assurance-card p,
.cta-copy {
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-text {
    max-width: 48rem;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.2rem 0 2.6rem;
}

.stat-card,
.hero-visual-card,
.highlight-panel,
.feature-card,
.product-card,
.contact-form-card,
.contact-side-panel,
.cta-card,
.snapshot-card,
.timeline-card,
.flow-card,
.market-card,
.assurance-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.stat-card::before,
.hero-visual-card::before,
.highlight-panel::before,
.feature-card::before,
.product-card::before,
.contact-form-card::before,
.contact-side-panel::before,
.snapshot-card::before,
.timeline-card::before,
.flow-card::before,
.market-card::before,
.assurance-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--color-accent);
    opacity: 0.75;
}

.stat-card {
    height: 100%;
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.025);
}

.stat-card strong {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--color-text);
    font-size: 1.55rem;
}

.stat-card span {
    color: var(--color-muted);
}

.content-section {
    position: relative;
    padding: 2rem 0 4.5rem;
}

.section-gradient-divider::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 110px;
    background: linear-gradient(180deg, rgba(87, 239, 216, 0.04), transparent);
    pointer-events: none;
}

.bg-soft {
    background: rgba(255, 255, 255, 0.015);
}

.dot-pattern {
    background-image:
        linear-gradient(rgba(123, 181, 186, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 181, 186, 0.06) 1px, transparent 1px);
    background-size: 8px 8px;
}

.section-heading {
    max-width: 840px;
    margin-bottom: 2.4rem;
}

.section-heading p {
    color: var(--color-muted);
}

.compact-heading {
    margin-bottom: 1.5rem;
}

.feature-card,
.highlight-panel,
.contact-form-card,
.contact-side-panel,
.snapshot-card,
.timeline-card,
.flow-card,
.market-card,
.assurance-card {
    padding: 2rem;
}

.feature-card h2,
.feature-card h3,
.highlight-panel h2,
.product-card h2,
.contact-side-panel h2,
.contact-detail-card h3,
.site-footer h2,
.snapshot-card h3,
.timeline-card h3,
.flow-card h3,
.market-card h3,
.assurance-card h3,
.contact-form-card h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.feature-card h2 {
    font-size: 1.4rem;
}

.feature-card-colored,
.snapshot-card,
.flow-card,
.timeline-card,
.market-card,
.assurance-card,
.product-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card-colored:hover,
.snapshot-card:hover,
.flow-card:hover,
.timeline-card:hover,
.market-card:hover,
.assurance-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(103, 216, 246, 0.24);
    box-shadow: var(--shadow-hover);
}

.snapshot-card.has-media {
    padding-top: 1.2rem;
}

.snapshot-media {
    margin: -0.6rem -0.6rem 1.35rem;
    border-radius: calc(var(--radius-xl) - 0.35rem);
    overflow: hidden;
    border: 1px solid rgba(121, 205, 217, 0.18);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.snapshot-media img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.feature-card-topline {
    display: none;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: var(--color-text);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, rgba(87, 239, 216, 0.16), rgba(136, 167, 255, 0.12));
    border: 1px solid rgba(103, 216, 246, 0.14);
}

.icon-badge-large {
    margin-bottom: 1.15rem;
}

.icon-badge-small {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.72rem;
}

.inline-link {
    color: #8fe4ff;
    font-weight: 700;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.check-list li {
    position: relative;
    padding: 0 0 1rem 1.8rem;
    color: var(--color-muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-accent);
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.market-card,
.assurance-card {
    height: 100%;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

.timeline-card {
    min-height: 250px;
    padding-top: 1.5rem;
}

.timeline-line {
    display: none;
}

.timeline-number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #09252b;
    font-weight: 800;
    background: var(--color-accent);
}

.production-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.flow-card {
    height: 100%;
}

.flow-card::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -0.62rem;
    transform: translateY(-50%);
    color: rgba(183, 219, 245, 0.28);
    font-size: 1.55rem;
    font-weight: 700;
}

.flow-card:last-child::after {
    content: "";
}

.product-card {
    height: 100%;
}

.product-card-image {
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.product-card-image img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(201, 233, 240, 0.16);
    box-shadow: 0 20px 40px rgba(5, 14, 26, 0.22);
}

.product-card-body {
    padding: 1.65rem;
}

.product-category {
    display: inline-block;
    margin-bottom: 1rem;
    color: #9defff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.product-details {
    display: grid;
    gap: 1rem;
    margin: 1.4rem 0;
}

.product-details dt {
    color: var(--color-text);
    font-weight: 700;
}

.product-details dd {
    margin: 0.25rem 0 0;
}

.contact-detail-card {
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-detail-card:last-child {
    border-bottom: 0;
}

.contact-detail-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

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

.form-control,
.form-select {
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.035);
    border-radius: 16px;
    border-color: rgba(184, 218, 244, 0.12);
    padding: 0.95rem 1rem;
}

.form-control::placeholder {
    color: rgba(168, 190, 195, 0.76);
}

.form-select option {
    color: #0a1320;
}

.form-control:focus,
.form-select:focus {
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(103, 216, 246, 0.42);
    box-shadow: 0 0 0 0.25rem rgba(103, 216, 246, 0.11);
}

.alert-success {
    color: #defef9;
    background: rgba(87, 239, 216, 0.12);
    border-color: rgba(87, 239, 216, 0.18);
}

.text-danger {
    color: #ffc0c0 !important;
}

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

.cta-section {
    padding: 0 0 4.5rem;
}

.cta-card {
    padding: 3rem;
    background: linear-gradient(180deg, rgba(13, 39, 47, 0.9), rgba(10, 31, 37, 0.96));
}

.cta-card .section-eyebrow,
.cta-card h2 {
    color: var(--color-text);
}

.cta-card .section-eyebrow::before {
    display: none;
}

.btn-cta {
    margin-top: 1.5rem;
    padding-inline: 1.8rem;
}

.site-footer {
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.86);
    background: #06181e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.accent-blue .icon-badge,
.accent-blue::before {
    background: linear-gradient(135deg, rgba(103, 216, 246, 0.18), rgba(136, 167, 255, 0.12));
}

.accent-cyan .icon-badge,
.accent-cyan::before {
    background: linear-gradient(135deg, rgba(87, 239, 216, 0.18), rgba(103, 216, 246, 0.12));
}

.accent-mint .icon-badge,
.accent-mint::before {
    background: linear-gradient(135deg, rgba(120, 231, 203, 0.18), rgba(87, 239, 216, 0.12));
}

.accent-orange .icon-badge,
.accent-orange::before {
    background: linear-gradient(135deg, rgba(215, 179, 124, 0.24), rgba(255, 226, 188, 0.08));
}

.accent-purple .icon-badge,
.accent-purple::before {
    background: linear-gradient(135deg, rgba(158, 136, 255, 0.18), rgba(220, 213, 255, 0.08));
}

.accent-navy .icon-badge,
.accent-navy::before {
    background: linear-gradient(135deg, rgba(103, 216, 246, 0.14), rgba(16, 63, 108, 0.12));
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .navbar-brand::before {
    inset: -8px -12px;
}

html[dir="rtl"] .nav-link::after {
    transform-origin: right;
}

html[dir="rtl"] .check-list li {
    padding: 0 1.8rem 1rem 0;
}

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

html[dir="rtl"] .contact-detail-head,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .footer-bottom {
    direction: rtl;
}

@media (max-width: 1399.98px) {
    .timeline-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .site-logo,
    .footer-logo {
        height: 72px;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .nav-language {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nav-item-cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .hero-shell,
    .page-hero {
        padding-top: 4.8rem;
    }

    .hero-card-grid,
    .production-flow,
    .assurance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767.98px) {
    .hero-actions,
    .footer-bottom,
    .contact-detail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-switcher {
        width: 100%;
    }

    .language-menu {
        width: 100%;
    }

    .cta-card,
    .feature-card,
    .highlight-panel,
    .contact-form-card,
    .contact-side-panel,
    .snapshot-card,
    .timeline-card,
    .flow-card,
    .market-card,
    .assurance-card {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.9rem, 14vw, 4.5rem);
        max-width: 10ch;
    }

    .hero-card-grid,
    .production-flow,
    .timeline-grid,
    .assurance-grid {
        grid-template-columns: 1fr;
    }

    .flow-card::after {
        content: "";
    }
}
