:root {
    --bg: #0b1020;
    --bg-alt: #0f1630;
    --card: #121a3c;
    --text: #e9eefc;
    --muted: #a9b3d6;
    --accent: #30c27b;
    --accent-2: #2aa5ff;
    --border: #24305c
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden
}

body {
    font-family: Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    background: linear-gradient(180deg,#0b1020, #0b1020 40%, #0f1630);
    color: var(--text);
    line-height: 1.6
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(11,16,32,.6);
    border-bottom: 1px solid var(--border);
    z-index: 100
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    padding: 12px 0
}

.logo {
    height: 60px;
    width: auto;
    padding: 6px 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,.25)
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.06);
    cursor: pointer;
    position: relative;
    transition: background .2s ease
}

    .menu-toggle:hover {
        background: rgba(255,255,255,.12)
    }

    .menu-toggle .bar {
        position: absolute;
        left: 50%;
        width: 20px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transform: translateX(-50%);
        transition: transform .25s ease, opacity .2s ease
    }

        .menu-toggle .bar:nth-child(1) {
            top: 14px
        }

        .menu-toggle .bar:nth-child(2) {
            top: 21px
        }

        .menu-toggle .bar:nth-child(3) {
            top: 28px
        }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateX(-50%) translateY(7px) rotate(45deg)
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateX(-50%) translateY(-7px) rotate(-45deg)
    }

.nav a {
    color: var(--text);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    opacity: .85
}

    .nav a:hover {
        opacity: 1
    }

.lang-switch {
    display: flex;
    gap: 6px
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer
}

    .lang-btn.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #04101a
    }

.section {
    padding: 72px 0
}

    .section.alt {
        background: linear-gradient(180deg,#0f1630,#0b1020)
    }

.section-title {
    font-size: 28px;
    margin: 0 0 16px
}

.lead {
    font-size: 18px;
    opacity: .95
}

.banner .grid-2 {
    align-items: center
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px
}

.banner-art {
    height: 320px;
    border-radius: 16px;
    background: radial-gradient(60% 80% at 60% 40%, rgba(48,194,123,.35), transparent 70%), radial-gradient(60% 80% at 40% 60%, rgba(42,165,255,.35), transparent 70%), linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
    border: 1px solid var(--border)
}

.banner-gallery {
    height: 100%;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 12px;
    padding: 12px
}

.img-card {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0c1430;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35)
}

.banner img, .screens-grid img, img {
    max-width: 100%; /* height:auto; */
    display: block
}

.features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 16px
}

.priceFeatures {
    /*display: grid;*/
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 16px
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
    margin-top: 10px
}

.logo-card {
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: var(--muted)
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-top: 16px
}

.space-top {
    margin-top: 16px
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px
}

    .contact-list a {
        color: var(--text)
    }

.form .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px
}

.form input, .form textarea {
    background: #0c1430;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    padding: 10px
}

.form .end {
    display: flex;
    justify-content: flex-end
}

.btn {
    display: inline-block;
    border-radius: 12px;
    padding: 10px 16px;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer
}

    .btn.primary {
        background: linear-gradient(90deg,var(--accent),var(--accent-2));
        border: 0;
        color: #04101a;
        font-weight: 700
    }

.site-footer {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    color: var(--muted)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.muted {
    color: var(--muted)
}

.tiny {
    font-size: 12px
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr
    }

    .banner-art {
        height: auto
    }

    .banner-gallery {
        grid-template-columns: 1fr 1fr
    }

    .features {
        grid-template-columns: 1fr
    }

    .screens-grid {
        grid-template-columns: 1fr
    }

    .logo-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .menu-toggle {
        display: inline-flex
    }

    .site-header {
        position: sticky
    }

    #primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: rgba(11,16,32,.96);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height .28s ease, opacity .22s ease, transform .28s ease
    }

        #primary-nav.open {
            max-height: 360px;
            opacity: 1;
            transform: translateY(0)
        }

        #primary-nav a {
            padding: 12px 20px;
            margin: 0;
            border-top: 1px solid rgba(255,255,255,.06)
        }
}

/* RTL support */
html[dir="rtl"] body {
    font-family: "Cairo", system-ui, Segoe UI, Tahoma, Arial, sans-serif
}

html[dir="rtl"] .nav a {
    margin: 0 0 0 10px
}

html[dir="rtl"] .form .end {
    justify-content: flex-start
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-alt);
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.billing-toggle {
    text-align: center;
    margin-bottom: 40px;
}

.btn-group {
    display: inline-flex;
    background: var(--card);
    border-radius: 10px;
    padding: 4px;
    border: 1px solid var(--border);
}

.btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.btn-outline-primary {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-check:checked + .btn-outline-primary {
    background: var(--accent);
    color: #fff;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--card);
    border-radius: 16px;
    padding: 2px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-card.selected {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(48, 194, 123, 0.2);
}

.pricing-card-inner {
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.pricing-card.featured {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(48, 194, 123, 0.2);
}

.pricing-card.featured .pricing-card-inner {
    border: 2px solid var(--accent);
}

.pricing-card.featured:hover {
    transform: translateY(-15px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin: 0 0 16px;
    color: var(--text);
}

.price {
    margin: 16px 0 24px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.price-period {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.features li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.priceFeatures {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.priceFeatures li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.priceFeatures li:before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.priceFeatures li[data-i18n*="feature6"]:before {
    content: '✖';
    color: #ff6b6b;
    min-width: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* RTL Support */
html[dir="rtl"] .popular-badge {
    right: auto;
    left: 24px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px
}

    .lightbox.open {
        display: flex
    }

#lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,.6)
}

.lb-btn {
    position: absolute;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(6px)
}

    .lb-btn:hover {
        background: rgba(255,255,255,.22)
    }

.lb-close {
    top: 24px;
    right: 24px;
    font-size: 24px;
    line-height: 1
}

.lb-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px
}

.lb-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px
}

.lb-caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #e9eefc;
    background: rgba(0,0,0,.4);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 13px
}

.banner-art {
    width: 100%;
    display: flex;
    justify-content: center;
    /*padding: 20px 0;*/
}

.banner-swiper {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #111;
}

.slide-image,
.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional: fade overlay */
.banner-swiper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1), rgba(0,0,0,0.3) );
    pointer-events: none;
}
