:root {
    --bg: #090d16;
    --panel: #111827;
    --panel2: #151f30;
    --line: #263449;
    --text: #edf4ff;
    --muted: #91a0b5;
    --cyan: #55d6e8;
    --blue: #477bff;
    --orange: #ff9b52;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

/* Header & Navigare */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 13, 22, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(130, 160, 190, .13);
}

.nav-wrap {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 700 16px "Space Grotesk", sans-serif;
    letter-spacing: 1px;
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

.brand-sub {
    display: block;
    font: 700 9px "DM Sans", sans-serif;
    letter-spacing: 3px;
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    font-weight: 700;
    color: #b8c5d8;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: .2s;
}

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

.nav-links .nav-cta {
    padding: 10px 18px;
    border: 1px solid #3a6079;
    border-radius: 10px;
    color: var(--cyan);
}

.nav-links .nav-cta:hover {
    background: rgba(85, 214, 232, .1);
}

/* Buton Meniu Burger (Ascuns pe desktop) */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 30;
}

.burger-btn span {
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s ease;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--cyan);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
}

.burger-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--cyan);
}

/* Hero Section */
.page-hero {
    padding: 72px 0 56px;
    background: radial-gradient(ellipse at 75% 5%, rgba(40, 111, 166, .25), transparent 45%), linear-gradient(180deg, #0e1725 0%, var(--bg) 100%);
    border-bottom: 1px solid rgba(130, 160, 190, .1);
}

.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--cyan);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow i.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 14px var(--orange);
    display: inline-block;
}

h1, h2, h3 {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.15;
    letter-spacing: -.5px;
}

h1 {
    font-size: clamp(34px, 5vw, 56px);
    max-width: 850px;
    margin: 16px 0 16px;
}

h1 em, h2 em {
    font-style: normal;
    color: var(--cyan);
}

.page-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

.hero-actions {
    padding-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Sections & Cards */
.section {
    padding-top: 64px;
    padding-bottom: 76px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 34px;
    margin: 12px 0 0;
}

.section-head > p {
    max-width: 420px;
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 4px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.service-tile,
.compiler-card {
    background: linear-gradient(145deg, rgba(21, 31, 48, .96), rgba(14, 22, 35, .96));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 25px;
    position: relative;
    transition: .25s;
}

.service-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.service-tile:hover {
    transform: translateY(-4px);
    border-color: #3b8397;
    box-shadow: 0 18px 45px #0005;
}

.tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #153446;
    color: var(--cyan);
    display: grid;
    place-items: center;
    font-size: 20px;
}

.service-tile h3 {
    font-size: 20px;
    margin: 22px 0 8px;
}

.service-tile p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 18px;
}

.service-tile > span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Contact & Form Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: #090d16;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    transition: .2s;
}

textarea {
    height: 160px;
    resize: vertical;
    line-height: 1.5;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(85, 214, 232, .12);
}

.tag {
    display: inline-block;
    border: 1px solid #315a70;
    background: #102a3a;
    color: var(--cyan);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    padding: 5px 10px;
    border-radius: 30px;
}

.spec-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(38, 52, 73, .7);
    font-size: 13px;
    color: var(--muted);
}

.spec-list b {
    color: #e7f0fc;
    text-align: right;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: .2s;
}

.btn-primary {
    background: linear-gradient(110deg, var(--cyan), #7bbdff);
    color: #07111b;
    box-shadow: 0 8px 24px #37bdd52b;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-outline-hero {
    border: 1px solid #39516a;
    color: #dceafa;
    background: rgba(17, 24, 39, .5);
}

.btn-outline-hero:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.notice {
    padding: 16px 18px;
    border: 1px solid #4a5b72;
    border-left: 3px solid var(--orange);
    border-radius: 12px;
    background: #151d2a;
}

.notice.success {
    border-left-color: var(--cyan);
}

.notice p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   NIGHTPIXEL ROMANIA - FOOTER GLOBAL
   Full Width | Responsive | Dark Gaming Theme
========================================================= */

.cNightPixelFooter {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: auto;
    padding: 54px 0 24px;

    box-sizing: border-box;
    background: #080c13;
    border-top: 1px solid var(--line, #263449);
    color: #edf4ff;
}

/* =========================================================
   CONTAINER FOOTER - 4 COLOANE
========================================================= */

.cNightPixelFooter .cNightPixelFooter-inner {
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);

    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    align-items: start;
    gap: 36px;
    box-sizing: border-box;
}

.cNightPixelFooter .footer-col {
    min-width: 0;
}

/* =========================================================
   LOGO SI DESCRIERE
========================================================= */

.cNightPixelFooter .footer-col-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cNightPixelFooter .footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 154px;
    height: auto;
    margin: 0 auto 14px;
    object-fit: contain;
}

.cNightPixelFooter .footer-about {
    color: #91a0b5;
    font-size: 13px;
    line-height: 1.7;
    max-width: 300px;
    margin: 0;
}

/* =========================================================
   TITLURI COLOANE
========================================================= */

.cNightPixelFooter .footer-col h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;

    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   LISTE SI LINKURI
========================================================= */

.cNightPixelFooter .footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;

    list-style: none;
    margin: 0;
    padding: 0;
}

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

.cNightPixelFooter .footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #91a0b5;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.cNightPixelFooter .footer-links a i {
    color: #55d6e8;
    width: 17px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.cNightPixelFooter .footer-links a:hover {
    color: #55d6e8;
    text-decoration: none;
    transform: translateX(3px);
}

/* Linkuri evidențiate */

.cNightPixelFooter .footer-links a.footer-highlight {
    color: #ff9b52;
    font-weight: 700;
}

.cNightPixelFooter .footer-links a.footer-highlight:hover {
    color: #ffffff;
}

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.cNightPixelFooter .social-links a i {
    font-size: 16px;
    width: 20px;
    color: #55d6e8;
}

.cNightPixelFooter .social-links a:hover i {
    color: #ffffff;
}

/* =========================================================
   COPYRIGHT
========================================================= */

.cNightPixelFooter .copyright {
    width: 100%;
    max-width: none;
    margin: 38px auto 0;

    padding:
        20px
        clamp(20px, 4vw, 72px)
        0;

    border-top: 1px solid #1d2938;
    color: #718096;
    font-size: 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    box-sizing: border-box;
}

.cNightPixelFooter .copyright a {
    color: #55d6e8;
    text-decoration: none;
}

.cNightPixelFooter .copyright a:hover {
    color: #ffffff;
}

/* =========================================================
   TABLETA - 2 COLOANE
========================================================= */

@media (max-width: 950px) {
    .cNightPixelFooter .cNightPixelFooter-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

/* =========================================================
   TELEFON - O COLOANA
========================================================= */

@media (max-width: 600px) {
    .cNightPixelFooter {
        padding: 38px 0 20px;
    }

    .cNightPixelFooter .cNightPixelFooter-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 22px;
    }

    .cNightPixelFooter .footer-col {
        text-align: center;
    }

    .cNightPixelFooter .footer-links {
        align-items: center;
    }

    .cNightPixelFooter .footer-links a {
        justify-content: center;
    }

    .cNightPixelFooter .footer-col h3 {
        margin-bottom: 12px;
    }

    .cNightPixelFooter .footer-logo img {
        max-height: 120px;
    }

    .cNightPixelFooter .copyright {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 22px 0;
        margin-top: 30px;
    }
}

/* Responsive / Media Queries */
@media (max-width: 900px) {
    .contact-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .cNightPixelFooter-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 18px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        font-size: 15px;
    }

    .nav-links .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
}

@media (max-width: 600px) {
    .cNightPixelFooter-inner {
        grid-template-columns: 1fr;
    }
}

/* NIGHTPIXEL BURGER MENU */

.burger-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 38, 0.7);
    border: 1px solid rgba(55, 140, 255, 0.35);
    border-radius: 10px;
    color: #58a6ff;
    font-size: 21px;
    cursor: pointer;
    transition: all .3s ease;
}

.burger-btn:hover {
    border-color: #58a6ff;
    box-shadow: 0 0 15px rgba(55, 140, 255, .35);
    color: #fff;
}

@media (max-width: 768px) {

    .nav-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .burger-btn {
        display: flex !important;
        position: relative;
        z-index: 100002;
    }

    .nav-links {
        display: flex !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        position: fixed !important;
        top: 78px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 20px !important;
        background: rgba(9, 13, 22, .98) !important;
        border-bottom: 1px solid #263449 !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, .5);
        z-index: 100001 !important;
        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease,
                    visibility .25s ease;
    }

    .nav-links.show-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 13px 15px !important;
        color: #edf4ff;
        font-size: 15px;
        border-radius: 8px;
        transition: .25s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(55, 140, 255, .12);
        color: #58a6ff;
        box-shadow: inset 3px 0 #58a6ff;
    }

    .nav-links .nav-cta {
        justify-content: center;
        margin-top: 8px;
        border: 1px solid rgba(55, 140, 255, .4);
    }
}
