/* =========================================================
   GRIDVECTA v1.1.0 — Official Website
   Designed & Developed by Alaa Gomaa
========================================================= */

:root {
    --bg: #070a0f;
    --bg-soft: #0c1119;
    --panel: #101722;
    --panel-hover: #131d2b;

    --blue: #2787ff;
    --blue-light: #55a5ff;
    --blue-dark: #1169d5;

    --white: #ffffff;
    --text: #d8e0eb;
    --muted: #7f8b9c;

    --border: rgba(255,255,255,0.08);
    --border-blue: rgba(39,135,255,0.30);

    --max-width: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(39,135,255,0.12),
            transparent 32%
        ),
        var(--bg);

    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7,10,15,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-logo {
    display: block;
    width: 190px;
    height: auto;
    max-height: 52px;
}

.brand-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--blue-light),
            var(--blue-dark)
        );

    color: white;
    font-size: 21px;
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    color: var(--white);
    font-size: 22px;
    letter-spacing: 1.2px;
}

.brand-text span {
    margin-top: 6px;

    color: var(--blue-light);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    color: #aeb8c6;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--white);
}

.main-nav .nav-download {
    padding: 10px 18px;

    color: white;

    background: rgba(39,135,255,0.13);
    border: 1px solid var(--border-blue);
    border-radius: 8px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        );

    background-size: 52px 52px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}

.hero-glow {
    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 43%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(39,135,255,0.12);
    filter: blur(120px);

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    padding-block: 110px;
}

.version-badge {
    display: inline-flex;

    padding: 8px 15px;

    margin-bottom: 30px;

    border: 1px solid var(--border-blue);
    border-radius: 999px;

    background: rgba(39,135,255,0.08);

    color: var(--blue-light);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto;

    color: var(--white);

    font-size: clamp(58px, 8vw, 104px);
    line-height: 0.98;
    letter-spacing: -5px;
    font-weight: 800;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            var(--blue-light),
            var(--blue)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 640px;

    margin: 34px auto 0;

    color: #aab5c5;

    font-size: 19px;
}

.hero-tagline {
    margin-top: 24px;

    color: var(--white);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 5px;
}

.hero-actions {
    margin-top: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
        );

    border: 1px solid transparent;

    box-shadow:
        0 12px 40px rgba(39,135,255,0.20);
}

.button-secondary {
    color: var(--white);

    background: rgba(255,255,255,0.035);

    border: 1px solid var(--border);
}

.button-secondary:hover {
    border-color: rgba(255,255,255,0.20);
}

.platforms {
    margin-top: 26px;

    color: #687587;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 750px;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin-top: 10px;

    color: var(--white);

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading p {
    max-width: 660px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 16px;
}

.eyebrow {
    color: var(--blue-light);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.5px;
}


/* =========================================================
   SHOWCASE
========================================================= */

.showcase {
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.015),
            transparent
        );
}

.showcase-placeholder {
    min-height: 520px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;

    border: 1px solid var(--border-blue);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at center,
            rgba(39,135,255,0.12),
            transparent 55%
        ),
        #090e15;

    overflow: hidden;
}

.showcase-placeholder::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(39,135,255,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(39,135,255,0.08) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.showcase-placeholder span,
.showcase-placeholder small {
    position: relative;
    z-index: 2;
}

.showcase-placeholder span {
    color: var(--white);

    font-size: 22px;
    font-weight: 800;
}

.showcase-placeholder small {
    margin-top: 8px;

    color: var(--muted);
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.feature-card {
    min-height: 260px;

    padding: 34px;

    background: rgba(255,255,255,0.012);

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.feature-card:hover {
    background: rgba(39,135,255,0.045);
}

.feature-number {
    display: block;

    margin-bottom: 45px;

    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.feature-card h3 {
    color: var(--white);

    font-size: 20px;
}

.feature-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   WORKFLOW
========================================================= */

.workflow {
    background: var(--bg-soft);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.workflow-step {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255,255,255,0.018);
}

.workflow-step strong {
    color: var(--blue);
    font-size: 12px;
}

.workflow-step h3 {
    margin-top: 55px;

    color: var(--white);

    font-size: 27px;
}

.workflow-step p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   INSTALLATION
========================================================= */

.installation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.install-card {
    padding: 35px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.025),
            rgba(255,255,255,0.008)
        );
}

.install-card > span {
    color: var(--blue-light);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.install-card h3 {
    margin-top: 22px;

    color: var(--white);

    font-size: 22px;
}

.install-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.download {
    padding-block: 130px;

    background:
        radial-gradient(
            circle at center,
            rgba(39,135,255,0.11),
            transparent 45%
        );
}

.download-box {
    text-align: center;
}

.download-box h2 {
    margin-top: 12px;

    color: var(--white);

    font-size: clamp(48px, 7vw, 82px);
    line-height: 1;
    letter-spacing: -4px;
}

.download-box > p {
    max-width: 550px;

    margin: 25px auto 0;

    color: var(--muted);

    font-size: 17px;
}

.download-actions {
    margin-top: 38px;

    display: flex;
    justify-content: center;
    gap: 14px;
}

.download-box small {
    display: block;

    margin-top: 24px;

    color: #687587;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 55px 0;

    background: #05070b;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.footer-inner > div:first-child strong {
    color: var(--white);

    font-size: 19px;
    letter-spacing: 1px;
}

.footer-inner p {
    margin-top: 6px;

    color: #667283;

    font-size: 12px;
}

.copyright {
    color: #667283;

    font-size: 12px;
    text-align: right;
}

.copyright strong {
    color: #aab5c5;
}

/* =========================================================
   SHOWCASE IMAGE
========================================================= */

.showcase-preview {
    position: relative;
    width: 100%;
    overflow: hidden;

    padding: 10px;

    border: 1px solid var(--border-blue);
    border-radius: 18px;

    background: #090e15;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(39, 135, 255, 0.07);
}

.showcase-preview img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 11px;
}

/* =========================================================
   GRIDVECTA HERO BANNER
========================================================= */

.hero.hero-banner {
    position: relative;
    display: block;

    width: 100%;
    min-height: 0;

    overflow: hidden;

    background: #070a0f;
    border-bottom: 1px solid var(--border);
}


/* Banner artwork */

.hero-banner-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* Interactive buttons over the banner */

.hero-banner-actions {
    position: absolute;

    left: 4.15%;
    top: 70%;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Buttons */

.hero-banner .hero-actions {
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 14px;
}


.hero-banner .button {
    min-height: 52px;

    padding: 0 27px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 800;
}


/* Primary Download */

.hero-banner .button-primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #2787ff,
        #1169d5
    );

    border: 1px solid transparent;

    box-shadow:
        0 12px 40px rgba(39, 135, 255, 0.22);
}


/* Secondary button */

.hero-banner .button-secondary {
    color: #ffffff;

    background: rgba(16, 23, 34, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.10);
}


/* Hover */

.hero-banner .button:hover {
    transform: translateY(-2px);
}

.hero-banner .button-primary:hover {
    box-shadow:
        0 16px 45px rgba(39, 135, 255, 0.32);
}

.hero-banner .button-secondary:hover {
    background: rgba(22, 32, 47, 0.95);
    border-color: rgba(39, 135, 255, 0.35);
}


/* Platform text */

.hero-banner .platforms {
    margin-top: 18px;

    width: 100%;

    text-align: center;

    color: #7386a2;

    font-size: 12px;
    font-weight: 600;
}

.hero-banner .platforms span {
    margin: 0 6px;

    color: #4f6480;
}

/* =========================================================
   PRODUCT SHOWCASE SWITCHER
========================================================= */

.product-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-bottom: 38px;
    padding: 5px;

    background: #0c121b;
    border: 1px solid rgba(39, 135, 255, 0.22);
    border-radius: 11px;
}

.product-tab {
    border: 0;
    outline: 0;

    padding: 13px 22px;

    background: transparent;
    color: #7f8b9c;

    border-radius: 8px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: all 0.25s ease;
}

.product-tab:hover {
    color: #ffffff;
    background: rgba(39, 135, 255, 0.08);
}

.product-tab.active {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #2787ff,
        #1169d5
    );

    box-shadow: 0 8px 25px rgba(39, 135, 255, 0.20);
}


/* Hide inactive product */

.product-content {
    display: none;
}

.product-content.active {
    display: block;
    animation: productFade 0.35s ease;
}

@keyframes productFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile */

@media (max-width: 700px) {

    .product-switcher {
        display: flex;
        width: 100%;
    }

    .product-tab {
        flex: 1;
        padding: 11px 10px;
        font-size: 10px;
    }

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-grid,
    .installation-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(calc(100% - 30px), var(--max-width));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-block: 80px;
    }

    .hero h1 {
        font-size: 54px;
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions,
    .download-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 85px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .showcase-placeholder {
        min-height: 360px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        text-align: left;
    }

}

/* =========================================================
   GRIDVECTA — DOWNLOAD SECTION
========================================================= */

.download-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.018);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 139, 255, 0.45);
    background: rgba(47, 139, 255, 0.035);
}

.download-card > span {
    color: #2f8bff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.download-card h3 {
    margin: 28px 0 14px;
}

.download-card p {
    margin: 0 0 22px;
}


/* CEP installation path */

.install-path {
    margin-top: auto;
    margin-bottom: 22px;
    padding: 14px 16px;

    border: 1px solid rgba(47, 139, 255, 0.18);
    border-radius: 10px;

    background: rgba(47, 139, 255, 0.055);

    color: #9cc9ff;

    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.55;

    overflow-wrap: anywhere;
    word-break: break-word;
}


/* Download button */

.download-button {
    width: 100%;
    text-align: center;
    justify-content: center;
}


/* Bottom installation note */

.download-note {
    margin-top: 28px;
    padding: 24px 28px;

    border: 1px solid rgba(47, 139, 255, 0.16);
    border-radius: 14px;

    background: rgba(47, 139, 255, 0.025);
}

.download-note strong {
    display: block;
    margin-bottom: 8px;

    color: #ffffff;
    font-size: 15px;
}

.download-note p {
    margin: 0 0 12px;

    color: #8ca4bf;
    font-size: 14px;
    line-height: 1.7;
}

.download-note p b {
    color: #ffffff;
}

.download-note > span {
    color: #54708e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* Responsive */

@media (max-width: 760px) {

    .installation-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        min-height: auto;
        padding: 28px;
    }

    .install-path {
        margin-top: 20px;
    }
}

/* =========================================================
   GRIDVECTA — FOOTER FINAL
========================================================= */

.site-footer {
    padding: 42px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #05090f;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* BRAND */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: block;
    width: 185px;
    max-width: 185px;
    height: auto;
    margin: 0 0 10px 0;
}

.footer-brand p {
    margin: 0;
    color: #59718d;
    font-size: 11px;
    line-height: 1.5;
}


/* SOCIAL ICONS */

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
}

.social-link {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    border: 1px solid rgba(47, 139, 255, 0.28);
    border-radius: 50%;

    background: rgba(47, 139, 255, 0.06);

    color: #2f8bff;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.social-link svg {
    display: block;

    width: 16px !important;
    height: 16px !important;

    max-width: 16px;
    max-height: 16px;

    fill: currentColor !important;
}

.social-link:hover {
    background: #2f8bff;
    border-color: #2f8bff;
    color: #ffffff;
    transform: translateY(-2px);
}


/* COPYRIGHT */

.copyright {
    color: #59718d;
    font-size: 11px;
    line-height: 1.8;
    text-align: right;
}

.copyright strong {
    color: #ffffff;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 700px) {

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .copyright {
        text-align: left;
    }
}