:root {
    --bg-dark: #050a14;
    --card-bg: rgba(10, 25, 48, 0.6);
    --cyan: #00d4ff;
    --cyan-glow: rgba(0, 212, 255, 0.5);
    --text-main: #e0e6ed;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* =========================================
   NAVBAR + MENU
========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    transition: 0.3s ease;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--cyan);
}

.btn-nav {
    background: var(--cyan);
    color: var(--bg-dark) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* Burger button – hidden on desktop */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 999px;
    transition: 0.3s;
}

/* animație când meniul e deschis */
.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO
========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    background: linear-gradient(rgba(5, 10, 20, 0.4), rgba(5, 10, 20, 0.9)), 
                url('https://www.protik-networks.com/new/background3.png');
    background-size: cover;
    background-position: center;
}

.hero-tower-overlay {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-40%);
    width: 40%;
    height: 80%;
    background: url('https://i.ibb.co/Xz9yBTr/tower-render.png') no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 30px var(--cyan-glow));
    z-index: 2;
    pointer-events: none;
}

.pulse-container {
    position: absolute;
    right: 30%;
    top: 40%;
    z-index: 1;
}

.pulse-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--cyan);
}

.pulse-ring::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    animation: pulse-animation 3s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(30); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.glow-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.glow-text span {
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin-bottom: 40px;
    border-left: 3px solid var(--cyan);
    padding-left: 20px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cyan {
    background: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-cyan:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--bg-dark);
}

/* =========================================
   SERVICES
========================================= */
.services-section {
    padding: 100px 8%;
    background: var(--bg-dark);
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 25px;
    text-shadow: 0 0 10px var(--cyan);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
}

.service-card.active {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
}

/* =========================================
   WHY SECTION
========================================= */
.why-section {
    padding: 100px 8%;
    background: var(--bg-dark);
}

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: 0.35s;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 0 25px var(--cyan-glow);
}

.why-card i {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--cyan);
}

.why-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.why-card p {
    color: #b9c4d3;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================
   COVERAGE
========================================= */
.coverage-section {
    padding: 100px 8%;
    background: radial-gradient(circle at top, rgba(0, 212, 255, 0.08), transparent 55%) var(--bg-dark);
}

.coverage-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.coverage-intro {
    color: #b9c4d3;
    font-size: 1.05rem;
    margin-top: 10px;
    line-height: 1.7;
}

.coverage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

/* Left side – list */
.coverage-list h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.coverage-list ul {
    list-style: none;
    margin-bottom: 25px;
}

.coverage-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.coverage-note {
    color: #9aa6b8;
    font-size: 0.98rem;
    margin-bottom: 25px;
}

.coverage-cta {
    display: inline-block;
    margin-top: 5px;
}

/* Right side – map card */
.coverage-map-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 30px 25px 25px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.coverage-map {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.25), transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.22), transparent 60%),
                linear-gradient(160deg, #040816, #050b18 40%, #02040b);
    border: 1px solid rgba(0, 212, 255, 0.25);
}

/* SVG outline – Sweden */
.sweden-map {
    position: absolute;
    inset: 6% 30%;
    opacity: 0.95;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.7));
    pointer-events: none;
}

/* Generic city label */
.map-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(5, 12, 25, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.45);
    color: #eaf6ff;
    font-size: 0.78rem;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
}

.map-label .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

/* Cities positions */
.lulea    { top: 10%; right: 38%; }
.umea     { top: 22%; right: 34%; }
.ostersund { top: 30%; left: 37%; }
.sundsvall { top: 35%; right: 33%; }
.karlstad  { top: 50%; left: 40%; }
.vastervik { top: 60%; right: 438%; }
.goteborg  { top: 66%; left: 35%; }
.kalmar    { top: 71%; right: 40%; }
.malmo     { top: 86%; left: 33%; }

/* =========================================
   FOOTER
========================================= */
.footer {
    background: rgba(5, 10, 20, 0.85);
    padding: 70px 8% 40px;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(12px);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
}

.footer-col h3 span {
    color: var(--cyan);
}

.footer-col p {
    color: #b5c0d1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #c7d3e0;
}

.footer-col ul li i {
    margin-right: 8px;
    color: var(--cyan);
}

.footer-col ul li a {
    color: #c7d3e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    margin-right: 15px;
    color: var(--cyan);
    font-size: 1.4rem;
    transition: 0.3s;
}

.footer-social a:hover {
    transform: translateY(-4px);
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    color: #9ab0c5;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE (MOBILE / TABLET)
========================================= */
@media (max-width: 900px) {

    .navbar {
        padding: 15px 6%;
    }

    /* arătăm burgerul pe mobil */
    .burger {
        display: flex;
    }

    /* meniul devine panou lateral, ascuns inițial */
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        padding: 20px 6%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        background: rgba(5, 10, 20, 0.97);
        backdrop-filter: blur(16px);
        width: 70%;
        max-width: 320px;
        height: calc(100vh - 70px);
        border-left: 1px solid rgba(0, 212, 255, 0.25);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        margin-left: 0;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    /* HERO pe mobil */
    .hero {
        padding-top: 110px;      /* spațiu sub navbar fix */
        padding-left: 6%;
        padding-right: 6%;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }

    .hero-tower-overlay,
    .pulse-container {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    /* sections spacing */
    .services-section,
    .why-section,
    .coverage-section {
        padding: 70px 6%;
    }

    /* coverage grid -> 1 coloană */
    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .coverage-map-card {
        order: -1;
        margin-bottom: 25px;
    }

    .coverage-header {
        margin-bottom: 35px;
    }
}