@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080b18;
    --surface: #10152a;
    --surface-light: #171e37;
    --text: #f7f8ff;
    --muted: #a4abc5;
    --blue: #7485ff;
    --purple: #a17aff;
    --border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(115deg, #7285ff, #b276ff);
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

button {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

::selection {
    background: #8290ff;
    color: white;
}

/* NAVIGATION */

.navbar {
    width: 100%;
    min-height: 84px;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(8, 11, 24, 0.86);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

.logo span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a,
.footer a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.footer a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    border: 0;
    border-radius: 10px;
    padding: 15px 23px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 30px rgba(117, 112, 255, 0.17);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(117, 112, 255, 0.3);
}

.btn-small {
    padding: 11px 17px;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 21px;
}

/* HERO */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    padding: 105px 7% 75px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
    max-width: 1700px;
    margin: 0 auto;
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(
        circle,
        rgba(94, 80, 240, 0.15),
        transparent 70%
    );
    top: -120px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: #d0d5f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.status-dot,
.online-dot {
    width: 8px;
    height: 8px;
    background: #69e6b0;
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(105, 230, 176, 0.5);
    flex-shrink: 0;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 4.5vw, 65px);
    line-height: 1.13;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.hero h1 span,
.section-heading h2 span,
.about h2 span,
.contact h2 span {
    background: linear-gradient(100deg, #8493ff, #bd8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 520px;
    margin: 25px 0 32px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 42px;
}

.trust-avatars {
    display: flex;
    padding-left: 5px;
}

.trust-avatars span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    margin-left: -5px;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: #292d55;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.trust-avatars span:nth-child(2) {
    background: #554081;
}

.trust-avatars span:nth-child(3) {
    background: #304e79;
}

.hero-trust p {
    color: var(--muted);
    font-size: 12px;
}

/* HERO VISUAL */

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 35px 5px;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    pointer-events: none;
}

.glow-one {
    width: 220px;
    height: 220px;
    background: rgba(93, 91, 255, 0.3);
    top: 0;
    right: 0;
}

.glow-two {
    width: 180px;
    height: 180px;
    background: rgba(170, 100, 255, 0.19);
    bottom: 0;
    left: 0;
}

.dashboard-card {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(
        145deg,
        rgba(27, 34, 65, 0.97),
        rgba(13, 17, 36, 0.98)
    );
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
}

.dashboard-top {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 19px;
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7474;
}

.window-dots span:nth-child(2) {
    background: #ffca6a;
}

.window-dots span:nth-child(3) {
    background: #67d9a1;
}

.dashboard-label {
    color: #8f99c3;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.dashboard-body {
    padding: 30px;
}

.dashboard-tag {
    color: #a7a4ff;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
}

.dashboard-body h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(26px, 3vw, 39px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.dashboard-body h2 span {
    color: #a996ff;
}

.dashboard-body > p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
}

.preview-button {
    display: inline-block;
    background: var(--gradient);
    border-radius: 7px;
    padding: 9px 13px;
    margin-top: 19px;
    font-size: 10px;
    font-weight: 700;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 29px;
}

.preview-tile {
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        145deg,
        rgba(125, 132, 255, 0.15),
        rgba(255, 255, 255, 0.02)
    );
}

.preview-tile span {
    color: #8d96bd;
    font-size: 10px;
}

.preview-tile strong {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}

.tile-two {
    background: linear-gradient(
        145deg,
        rgba(180, 116, 255, 0.22),
        rgba(255, 255, 255, 0.02)
    );
}

.tile-three {
    background: linear-gradient(
        145deg,
        rgba(86, 194, 195, 0.15),
        rgba(255, 255, 255, 0.02)
    );
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(24, 30, 55, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
}

.floating-top {
    top: 4px;
    left: -35px;
}

.floating-bottom {
    bottom: 5px;
    right: -15px;
}

.floating-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: rgba(137, 122, 255, 0.2);
    border-radius: 9px;
    color: #c5b7ff;
    font-size: 20px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 11px;
}

.floating-card small {
    color: var(--muted);
    font-size: 9px;
    margin-top: 3px;
}

.hero-bottom {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #737d9e;
    font-size: 9px;
    letter-spacing: 1.5px;
}

/* GENERAL SECTIONS */

.section {
    padding: 110px 7%;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: #9c9dff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.section-heading h2,
.about h2,
.contact h2 {
    font-size: clamp(34px, 4vw, 49px);
    letter-spacing: -1.8px;
}

.section-heading > p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

/* SERVICES */

.services {
    background: #0c1020;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-width: 0;
    padding: 27px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(24, 31, 58, 0.65),
        rgba(15, 19, 38, 0.65)
    );
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(144, 130, 255, 0.5);
}

.service-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: rgba(127, 126, 255, 0.13);
    border: 1px solid rgba(127, 126, 255, 0.16);
    color: #b4aaff;
    border-radius: 12px;
    font-size: 23px;
    margin-bottom: 24px;
}

.service-number {
    color: #7c86a9;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.service-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    margin: 12px 0;
}

.service-card p {
    min-height: 80px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.service-card > a {
    display: inline-block;
    color: #b5a9ff;
    font-size: 11px;
    font-weight: 700;
    margin-top: 22px;
}

/* PORTFOLIO */

.portfolio {
    background: var(--bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-card {
    min-width: 0;
}

.portfolio-art {
    aspect-ratio: 1.18;
    padding: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-art {
    transform: translateY(-5px);
}

.portfolio-art::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: inherit;
    pointer-events: none;
}

.art-label,
.art-caption {
    position: relative;
    z-index: 1;
    font-size: 9px;
    letter-spacing: 2px;
}

.art-label {
    position: absolute;
    top: 24px;
    left: 25px;
}

.portfolio-art strong {
    position: relative;
    z-index: 1;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 3.5vw, 49px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.art-caption {
    position: absolute;
    bottom: 25px;
    left: 25px;
}

.art-restaurant {
    background:
        radial-gradient(ellipse at 75% 75%, #bb8d58 0, transparent 35%),
        linear-gradient(140deg, #563c31, #1c171a 80%);
}

.art-restaurant strong {
    font-family: Georgia, serif;
    font-weight: 400;
}

.art-beauty {
    background:
        radial-gradient(ellipse at 80% 20%, #dfb6bb 0, transparent 35%),
        linear-gradient(145deg, #9c6575, #422d48);
}

.art-beauty strong {
    font-family: Georgia, serif;
    font-weight: 400;
}

.art-store {
    background:
        radial-gradient(ellipse at 75% 30%, #a8b6a1 0, transparent 35%),
        linear-gradient(145deg, #405548, #172b25);
}

.art-store strong {
    font-weight: 600;
}

.portfolio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 19px 2px;
}

.portfolio-info h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
}

.portfolio-info p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.portfolio-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #c0b5ff;
}

/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 70px;
    align-items: center;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(100, 86, 220, 0.09), transparent 40%),
        #0c1020;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about h2 {
    max-width: 670px;
}

.about-content > p {
    max-width: 600px;
    margin: 23px 0 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.about-stat {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.stat-symbol {
    display: block;
    font-size: 32px;
    color: #a99aff;
    margin-bottom: 20px;
}

.about-stat h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    line-height: 1.5;
}

.about-stat p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* CONTACT */

.contact {
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(108, 85, 237, 0.19), transparent 60%),
        var(--bg);
}

.contact h2 {
    font-size: clamp(42px, 5vw, 64px);
}

.contact > p {
    max-width: 540px;
    margin: 23px auto 30px;
    color: var(--muted);
    font-size: 14px;
}

/* FOOTER */

.footer {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 7%;
    border-top: 1px solid var(--border);
}

.footer .logo {
    font-size: 21px;
}

.footer p {
    color: #78809d;
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .navbar {
        padding-inline: 4%;
        gap: 18px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        padding-inline: 5%;
        gap: 35px;
    }

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

    .service-card p {
        min-height: auto;
    }

    .floating-top {
        left: -10px;
    }

    .floating-bottom {
        right: -5px;
    }
}

@media (max-width: 760px) {
    .navbar {
        min-height: 72px;
        padding: 14px 5%;
    }

    .logo {
        font-size: 23px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-links {
        position: absolute;
        display: none;
        top: 71px;
        left: 0;
        right: 0;
        padding: 20px 5% 25px;
        background: #0d1123;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 75px 6% 100px;
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 57px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-visual {
        max-width: 530px;
        width: 100%;
        margin: 0 auto;
        padding: 30px 12px;
    }

    .dashboard-body {
        padding: 24px;
    }

    .floating-card {
        padding: 10px 12px;
    }

    .floating-top {
        left: -1px;
    }

    .floating-bottom {
        right: 0;
    }

    .hero-bottom {
        left: 6%;
        right: 6%;
        bottom: 22px;
        font-size: 8px;
    }

    .hero-bottom span:last-child {
        display: none;
    }

    .section {
        padding: 80px 6%;
    }

    .section-heading h2,
    .about h2 {
        font-size: clamp(33px, 8vw, 44px);
        letter-spacing: -1.3px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-art {
        aspect-ratio: 1.35;
    }

    .portfolio-art strong {
        font-size: 47px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 25px 6%;
    }

    .footer p {
        order: 3;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .preview-grid {
        gap: 6px;
    }

    .preview-tile {
        min-height: 82px;
        padding: 8px;
    }

    .preview-tile strong {
        font-size: 12px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .dashboard-body {
        padding: 20px;
    }

    .dashboard-body h2 {
        font-size: 28px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 6%;
    }

    .footer .logo {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* ==========================================
   NEXVILO PREMIUM ANIMATIONS
   ========================================== */

/* 1. Smooth reveal on scroll */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Staggered service cards */

.service-card.reveal:nth-child(2) {
    transition-delay: 100ms;
}

.service-card.reveal:nth-child(3) {
    transition-delay: 200ms;
}

.service-card.reveal:nth-child(4) {
    transition-delay: 300ms;
}

/* 3. Portfolio hover */

.portfolio-card {
    transition: transform 0.35s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
}

.portfolio-card .portfolio-art {
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.portfolio-card:hover .portfolio-art {
    filter: brightness(1.12);
}

/* 4. Premium button hover glow */

.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 80%
    );
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(120%);
}

/* 5. Floating dashboard */

@keyframes dashboardFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.dashboard-card {
    animation: dashboardFloat 6s ease-in-out infinite;
}

/* 6. Floating information cards */

@keyframes floatTop {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes floatBottom {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

.floating-top {
    animation: floatTop 4s ease-in-out infinite;
}

.floating-bottom {
    animation: floatBottom 5s ease-in-out infinite;
}

/* 7. Navigation underline */

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 8. Service icon interaction */

.service-icon {
    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-3px) rotate(-5deg);
    background: rgba(127, 126, 255, 0.25);
}

/* 9. Respect accessibility preferences */

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .dashboard-card,
    .floating-top,
    .floating-bottom {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* ==========================================
   NEXVILO — MOBILE RESPONSIVE FIX
========================================== */

/* Prevent horizontal overflow */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
iframe {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Tablet and mobile */
@media (max-width: 760px) {

    /* Navigation */
    .navbar {
        width: 100%;
        padding: 16px 5%;
        gap: 12px;
        position: relative;
    }

    .nav-actions {
        margin-left: auto;
        gap: 10px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        min-height: 42px;
        padding: 8px;
        font-size: 23px;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 5%;
        right: 5%;
        width: auto;
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #101326;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 14px 4px;
    }

    .nav-links a::after {
        display: none;
    }

    /* Hero section */
    .hero {
        min-height: auto;
        padding: 65px 5% 35px;
    }

    .hero-content,
    .hero-visual {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 58px);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-visual {
        margin-top: 45px;
    }

    .dashboard-card {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
        transform: none;
    }

    .floating-card {
        max-width: 75%;
    }

    .hero-bottom {
        gap: 12px;
        flex-wrap: wrap;
        font-size: 10px;
    }

    /* Sections */
    .section {
        padding: 75px 5%;
    }

    .section-heading {
        max-width: 100%;
    }

    .section-heading h2,
    .about-content h2,
    .contact h2 {
        font-size: clamp(32px, 7vw, 46px);
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .section-heading p,
    .about-content p,
    .contact p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* Service cards */
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .service-card {
        min-width: 0;
        padding: 22px;
    }

    /* Portfolio cards */
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .portfolio-card {
        min-width: 0;
    }

    .portfolio-art {
        min-height: 250px;
    }

    .portfolio-info {
        gap: 10px;
    }

    .portfolio-info h3 {
        font-size: 16px;
    }

    .portfolio-info p {
        font-size: 12px;
    }

    /* About */
    .about {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .about-content,
    .about-stat {
        width: 100%;
        min-width: 0;
    }

    /* Contact */
    .contact {
        text-align: center;
        align-items: center;
    }

    .contact .btn {
        max-width: 100%;
        white-space: normal;
    }

    /* Footer */
    .footer {
        padding: 25px 5%;
        gap: 16px;
        flex-wrap: wrap;
    }
}

/* Small phones */
@media (max-width: 480px) {

    .navbar {
        padding: 14px 4%;
    }

    .logo {
        font-size: 23px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding: 50px 5% 30px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 43px);
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-trust {
        flex-wrap: wrap;
    }

    .dashboard-body {
        padding: 20px;
    }

    .dashboard-body h2 {
        font-size: 27px;
    }

    .preview-grid {
        gap: 8px;
    }

    .preview-tile {
        min-width: 0;
        padding: 10px;
    }

    .floating-card {
        padding: 12px;
        gap: 8px;
        font-size: 12px;
    }

    .floating-card small {
        font-size: 10px;
    }

    .section {
        padding: 60px 5%;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-card {
        padding: 25px;
    }

    .portfolio-art {
        min-height: 280px;
    }

    .about-stat {
        padding: 28px;
    }

    .contact h2 {
        font-size: 36px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ==========================================
   NEXVILO — PREMIUM BACKGROUND EFFECTS
========================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Purple and blue ambient glow */
.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    top: -180px;
    right: -100px;
    background: radial-gradient(
        circle,
        rgba(104, 83, 255, 0.22) 0%,
        rgba(65, 91, 255, 0.10) 35%,
        transparent 70%
    );
    filter: blur(35px);
    pointer-events: none;
    z-index: -1;
    animation: ambientGlow 10s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -180px;
    left: -180px;
    background: radial-gradient(
        circle,
        rgba(65, 91, 255, 0.14) 0%,
        transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* Dashboard background lighting */
.hero-visual {
    position: relative;
    isolation: isolate;
}

.glow {
    filter: blur(65px);
    opacity: 0.7;
    pointer-events: none;
}

/* Services background */
.services {
    position: relative;
    isolation: isolate;
}

.services::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: 10%;
    left: -280px;
    background: radial-gradient(
        circle,
        rgba(111, 76, 255, 0.10),
        transparent 70%
    );
    filter: blur(35px);
    pointer-events: none;
    z-index: -1;
}

/* Portfolio background */
.portfolio {
    position: relative;
    isolation: isolate;
}

.portfolio::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 20%;
    right: -320px;
    background: radial-gradient(
        circle,
        rgba(69, 100, 255, 0.12),
        transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* About background */
.about {
    position: relative;
    isolation: isolate;
}

.about::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: 0;
    right: -200px;
    background: radial-gradient(
        circle,
        rgba(130, 75, 255, 0.12),
        transparent 70%
    );
    filter: blur(45px);
    pointer-events: none;
    z-index: -1;
}

/* Smooth ambient light movement */
@keyframes ambientGlow {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-35px, 25px, 0) scale(1.12);
    }
}

/* Mobile performance */
@media (max-width: 760px) {
    .hero::before {
        width: 380px;
        height: 380px;
        top: -100px;
        right: -180px;
        filter: blur(45px);
    }

    .hero::after {
        width: 300px;
        height: 300px;
        left: -180px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
    }
}
/* ==========================================
   NEXVILO — PORTFOLIO BACKGROUND IMAGES
========================================== */

.portfolio-art {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Restaurant website */
.art-restaurant {
    background-image:
        linear-gradient(
            0deg,
            rgba(5, 7, 18, 0.88) 0%,
            rgba(5, 7, 18, 0.12) 75%
        ),
        url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1000&q=85");
}

/* Beauty website */
.art-beauty {
    background-image:
        linear-gradient(
            0deg,
            rgba(5, 7, 18, 0.85) 0%,
            rgba(5, 7, 18, 0.12) 75%
        ),
        url("https://images.unsplash.com/photo-1560750588-73207b1ef5b8?auto=format&fit=crop&w=1000&q=85");
}

/* Online store */
.art-store {
    background-image:
        linear-gradient(
            0deg,
            rgba(5, 7, 18, 0.88) 0%,
            rgba(5, 7, 18, 0.10) 75%
        ),
        url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1000&q=85");
}

/* Smooth image hover */
.portfolio-art {
    transition: background-size 0.5s ease, filter 0.4s ease;
}

.portfolio-card:hover .portfolio-art {
    filter: brightness(1.12);
}

/* Keep portfolio text readable */
.portfolio-art .art-label,
.portfolio-art strong,
.portfolio-art .art-caption {
    position: relative;
    z-index: 1;
}
/* ==========================================
   NEXVILO — SERVICES IMAGE BACKGROUNDS
========================================== */

.service-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

/* Web Development */
.service-card:nth-child(1)::before {
    background-image:
        linear-gradient(90deg, #080b18 0%, transparent 100%),
        url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=900&q=80");
}

/* Branding & Design */
.service-card:nth-child(2)::before {
    background-image:
        linear-gradient(90deg, #080b18 0%, transparent 100%),
        url("https://images.unsplash.com/photo-1634942536790-2536e7c7c8a5?auto=format&fit=crop&w=900&q=80");
}

/* Digital Marketing */
.service-card:nth-child(3)::before {
    background-image:
        linear-gradient(90deg, #080b18 0%, transparent 100%),
        url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=900&q=80");
}

/* Ongoing Support */
.service-card:nth-child(4)::before {
    background-image:
        linear-gradient(90deg, #080b18 0%, transparent 100%),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

/* Hover effect */
.service-card:hover::before {
    opacity: 0.35;
    transform: scale(1.05);
}
/* NEXVILO — LAPTOP + PHONE HERO MOCKUP */
.hero-visual{position:relative;isolation:isolate;min-height:480px;display:flex;align-items:center;justify-content:center}
.device-scene{position:relative;width:min(100%,650px);min-height:420px;display:flex;align-items:center;justify-content:center;perspective:1200px}
.laptop{position:relative;width:82%;transform:rotateY(-8deg) rotateX(2deg);filter:drop-shadow(0 28px 35px rgba(0,0,0,.38));z-index:1}
.laptop-screen{position:relative;padding:8px 8px 7px;border:1px solid rgba(255,255,255,.3);border-radius:13px 13px 5px 5px;background:linear-gradient(145deg,#333746,#10111b);box-shadow:0 0 0 1px rgba(255,255,255,.06),0 0 45px rgba(120,75,255,.18)}
.mockup-browser{overflow:hidden;border-radius:7px;background:#10111b;aspect-ratio:1.42/1}
.mockup-browser-bar{height:25px;display:flex;align-items:center;gap:5px;padding:0 9px;background:#e8e8ee}
.mockup-browser-bar>span{width:6px;height:6px;border-radius:50%;background:#a2a2ae}
.mockup-address{margin-left:12px;flex:1;text-align:center;max-width:180px;padding:3px 12px;border-radius:4px;background:#d7d7e0;color:#686878;font:8px/1.2 Arial,sans-serif}
.mockup-site{height:calc(100% - 25px);padding:6% 7%;display:flex;flex-direction:column;background:radial-gradient(ellipse at 80% 40%,rgba(111,62,220,.25),transparent 50%),#10111b;color:#f7f6ff;font-family:Arial,sans-serif}
.mockup-site-nav{display:flex;align-items:center;justify-content:space-between;font-size:clamp(9px,1.3vw,14px);letter-spacing:.08em}
.mockup-site-nav strong span,.phone-nav strong span{color:#9c7aff}
.mockup-site-nav>div{display:flex;gap:12px}.mockup-site-nav i{display:block;width:18px;height:3px;border-radius:3px;background:#88869b}
.mockup-site-content{flex:1;display:grid;grid-template-columns:1fr .85fr;gap:5%;align-items:center;padding:5% 0}
.mockup-copy{min-width:0}.mockup-kicker{font-size:clamp(5px,.7vw,8px);letter-spacing:.16em;color:#b6a3ff}
.mockup-copy h3{font-size:clamp(17px,3.3vw,37px);line-height:1.03;letter-spacing:-.05em;margin:10px 0 8px;font-weight:500}
.mockup-copy h3 b,.phone-content h3 b{color:#a98aff;font-weight:600}
.mockup-copy p{max-width:190px;font-size:clamp(6px,.85vw,10px);line-height:1.5;color:#b7b5c8;margin:0 0 12px}
.mockup-cta,.phone-cta{display:inline-block;padding:7px 10px;border-radius:4px;background:linear-gradient(100deg,#7046e8,#9c69ff);font-size:clamp(6px,.8vw,9px);font-weight:700;color:white}
.mockup-photo{height:100%;min-height:90px;border-radius:5px;background:linear-gradient(180deg,rgba(20,12,38,.05),rgba(20,12,38,.42)),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=85') center/cover;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.mockup-site-footer{display:flex;justify-content:space-between;gap:8px;padding-top:9px;border-top:1px solid rgba(255,255,255,.13);font-size:clamp(5px,.65vw,7px);letter-spacing:.12em;color:#aaa5c1}
.laptop-base{height:10px;margin:0 -5.5%;border-radius:0 0 50% 50%;background:linear-gradient(180deg,#aeb1bd,#484b59 55%,#222431);box-shadow:0 5px 8px rgba(0,0,0,.3)}
.phone{position:absolute;z-index:3;width:24%;min-width:105px;max-width:155px;right:0;bottom:8%;transform:rotateY(-5deg) rotateZ(4deg);filter:drop-shadow(0 18px 20px rgba(0,0,0,.45));animation:mockupFloat 6s ease-in-out infinite}
.phone-frame{position:relative;padding:7px;border:1px solid rgba(255,255,255,.42);border-radius:25px;background:linear-gradient(140deg,#494b5a,#151620 35%,#333545);box-shadow:inset 0 0 0 1px rgba(0,0,0,.65),0 0 25px rgba(145,99,255,.22)}
.phone-camera{position:absolute;z-index:2;top:10px;left:50%;transform:translateX(-50%);width:30%;height:8px;border-radius:8px;background:#08090e}
.phone-screen{overflow:hidden;min-height:265px;border-radius:19px;background:#11111d;color:#f7f5ff;font-family:Arial,sans-serif}
.phone-nav{display:flex;align-items:center;justify-content:space-between;padding:25px 10px 10px;font-size:10px;letter-spacing:.07em}
.phone-nav>span{font-size:15px;color:#c2b3ff}
.phone-photo{height:82px;background:linear-gradient(180deg,transparent,rgba(15,12,27,.25)),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=450&q=80') center/cover}
.phone-content{padding:13px 11px 10px}.phone-content small{font-size:6px;letter-spacing:.14em;color:#b7a1ff}.phone-content h3{font-size:20px;line-height:1.05;letter-spacing:-.04em;margin:8px 0}.phone-content p{font-size:8px;line-height:1.45;color:#bdb9cf;margin:0 0 10px}.phone-cta{font-size:7px;padding:7px 9px}
.phone-mini-cards{display:flex;gap:5px;padding:0 10px 12px}.phone-mini-cards span{flex:1;text-align:center;padding:7px 2px;border:1px solid rgba(255,255,255,.13);border-radius:4px;background:rgba(255,255,255,.04);font-size:6px;letter-spacing:.08em;color:#c9c0ed}
.hero-visual .floating-card{z-index:4}
@keyframes mockupFloat{0%,100%{transform:translateY(0) rotateY(-5deg) rotateZ(4deg)}50%{transform:translateY(-10px) rotateY(-5deg) rotateZ(4deg)}}
@media(max-width:900px){.hero-visual{min-height:390px}.device-scene{min-height:360px;width:100%}.laptop{width:84%}.phone{right:1%;bottom:7%;width:23%}}
@media(max-width:600px){.hero-visual{min-height:310px;margin-top:24px;overflow:visible}.device-scene{min-height:285px;width:100%}.laptop{width:86%;transform:rotateY(-5deg) scale(.98)}.laptop-screen{padding:5px 5px 4px;border-radius:8px 8px 3px 3px}.mockup-browser-bar{height:17px;padding:0 6px;gap:3px}.mockup-browser-bar>span{width:4px;height:4px}.mockup-address{font-size:6px;padding:2px 5px}.mockup-site{height:calc(100% - 17px)}.mockup-copy h3{font-size:clamp(16px,5vw,26px);margin:6px 0}.mockup-copy p{font-size:6px;margin-bottom:7px}.mockup-cta{padding:5px 6px}.mockup-photo{min-height:65px}.mockup-site-footer{font-size:5px;padding-top:6px}.laptop-base{height:7px}.phone{min-width:88px;width:23%;right:-1%;bottom:3%}.phone-frame{padding:5px;border-radius:20px}.phone-camera{top:8px;height:6px}.phone-screen{min-height:225px;border-radius:15px}.phone-nav{padding:20px 7px 7px;font-size:8px}.phone-photo{height:62px}.phone-content{padding:9px 8px}.phone-content h3{font-size:16px}.phone-content p{font-size:7px}.phone-mini-cards{padding:0 7px 8px;gap:3px}.phone-mini-cards span{font-size:5px;padding:5px 1px}.hero-visual .floating-card{transform:scale(.82);transform-origin:center}.hero-visual .floating-top{top:0;left:-8px}.hero-visual .floating-bottom{bottom:0;left:-8px}}
@media(prefers-reduced-motion:reduce){.phone{animation:none}}
/* ==========================================
   NEXVILO — DEVICE ANIMATION & MOBILE POLISH
   ========================================== */

/* Smooth floating laptop */
@keyframes laptopFloat {
    0%,
    100% {
        transform: rotateY(-8deg) rotateX(2deg) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) rotateX(2deg) translateY(-7px);
    }
}

.laptop {
    animation: laptopFloat 7s ease-in-out infinite;
    will-change: transform;
}

/* Keep the phone animation smooth */
.phone {
    will-change: transform;
}

/* Smooth ambient glow */
.hero::before {
    animation: heroGlow 9s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from {
        opacity: 0.65;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(-15px, 12px, 0);
    }
}

/* Tablet improvements */
@media (max-width: 900px) {
    .hero {
        gap: 28px;
    }

    .hero-visual {
        min-width: 0;
        width: 100%;
    }

    .device-scene {
        width: 100%;
    }

    .laptop {
        width: 84%;
    }

    .phone {
        right: 0;
    }
}

/* Mobile improvements */
@media (max-width: 600px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-bottom: 85px;
    }

    .hero-content,
    .hero-visual {
        min-width: 0;
        width: 100%;
    }

    .hero-visual {
        min-height: 300px;
        margin-top: 8px;
        padding: 12px 0;
    }

    .device-scene {
        min-height: 275px;
        width: 100%;
    }

    .laptop {
        width: 88%;
        max-width: 100%;
    }

    .phone {
        width: 23%;
        min-width: 82px;
        max-width: 125px;
        right: 0;
        bottom: 3%;
    }

    .hero-visual .floating-card {
        max-width: 68%;
        padding: 9px 11px;
    }

    .hero-visual .floating-top {
        top: 0;
        left: 0;
    }

    .hero-visual .floating-bottom {
        right: 0;
        bottom: 0;
    }

    .hero-bottom {
        bottom: 18px;
        gap: 8px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }

    .hero-visual {
        min-height: 255px;
    }

    .device-scene {
        min-height: 235px;
    }

    .phone {
        min-width: 75px;
        width: 22%;
    }

    .hero-visual .floating-card {
        transform: scale(0.78);
    }
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .laptop,
    .phone,
    .hero::before {
        animation: none !important;
        will-change: auto;
    }
}