
/* =========================================
   NJ DIGITAL WORKS — OFFICIAL WEBSITE V2
   Premium Black & Gold Design
========================================= */

/* Design Tokens */

:root {
    --background: #0b0b0d;
    --background-soft: #101013;
    --surface: #17171b;
    --gold: #c9a45c;
    --gold-light: #dfbb75;
    --text: #ffffff;
    --muted: #a1a1aa;
    --border: #2a2a30;
    --container: 1320px;
}

/* Global Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

::selection {
    background: var(--gold);
    color: var(--background);
}

:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    z-index: 100;
    padding: 12px 20px;
    color: #0b0b0d;
    background: var(--gold);
}

.skip-link:focus {
    top: 15px;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    width: 100%;
    min-height: 110px;
    padding: 12px max(5%, calc((100vw - var(--container)) / 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: rgba(11, 11, 13, 0.98);
    border-bottom: 1px solid #242428;
    position: relative;
    z-index: 20;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar .logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #e5e5e5;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links .nav-contact {
    padding: 12px 22px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    transition: background 0.3s, color 0.3s;
}

.nav-contact:hover {
    background: var(--gold);
    color: var(--background) !important;
}

/* =========================================
   SHARED COMPONENTS
========================================= */

.eyebrow {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px 28px;
    min-height: 52px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid transparent;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-gold {
    background: var(--gold);
    color: #0b0b0d;
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 8px 28px rgba(201, 164, 92, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: rgba(201, 164, 92, 0.1);
}

.section-heading {
    max-width: 700px;
    text-align: center;
    margin: 0 auto 55px;
}

.section-heading h2 {
    color: var(--gold);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-heading p {
    font-size: 17px;
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
    min-height: 680px;
    padding: 95px max(5%, calc((100vw - var(--container)) / 2));
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(201, 164, 92, 0.11),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #0b0b0d 0%,
            #141418 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    min-width: 0;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 4.4vw, 66px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.13;
    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 570px;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 65px;
    color: #8b8b91;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-line {
    display: block;
    width: 42px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    position: relative;
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 440px;
}

.visual-glow {
    position: absolute;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: rgba(201, 164, 92, 0.13);
    filter: blur(75px);
}

.visual-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #141417;
    border: 1px solid #474035;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 17px 20px;
    background: #1b1b1f;
    border-bottom: 1px solid #34343a;
    color: #9999a0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

.visual-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.visual-dots i {
    display: block;
    width: 8px;
    height: 8px;
    background: #55545a;
    border-radius: 50%;
}

.visual-dots i:first-child {
    background: var(--gold);
}

.visual-body {
    padding: 32px 27px 30px;
}

.visual-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.visual-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.visual-status {
    border: 1px solid #494030;
    color: #d2b578;
    border-radius: 20px;
    padding: 6px 9px;
    font-size: 8px;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.visual-heading {
    color: #ffffff;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 7px;
}

.visual-subtitle {
    color: #9999a2;
    font-size: 12px;
    margin-bottom: 30px;
}

.visual-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.visual-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    min-height: 126px;
    padding: 16px 12px;
    background: #1d1d21;
    border: 1px solid #35343a;
    border-radius: 9px;
}

.visual-card-icon {
    display: block;
    color: var(--gold);
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 16px;
}

.visual-card strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.visual-card small {
    color: #9c9ca3;
    font-size: 10px;
    line-height: 1.6;
}

.visual-flow {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 35px;
    margin-top: 25px;
    border-top: 1px solid #333339;
}

.visual-flow span {
    color: #c5a768;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.flow-line {
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(201, 164, 92, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    width: 550px;
    height: 550px;
}

.orbit-two {
    width: 680px;
    height: 680px;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services {
    padding: 110px max(5%, calc((100vw - var(--container)) / 2));
    background: var(--background-soft);
    border-top: 1px solid #242428;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 38px 30px;
    min-height: 350px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-number {
    position: absolute;
    top: 35px;
    right: 30px;
    color: #8f7950;
    font-size: 14px;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border: 1px solid #625237;
    border-radius: 10px;
    background: rgba(201, 164, 92, 0.08);
    color: var(--gold);
    font-size: 23px;
    font-weight: 700;
}

.service-card h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 17px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 30px;
}

.service-tag {
    display: block;
    margin-top: auto;
    padding-top: 19px;
    border-top: 1px solid #34343a;
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

/* =========================================
   NJ V1 PRODUCT SECTION
========================================= */

.njv1-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 65px;
    padding: 115px max(5%, calc((100vw - var(--container)) / 2));
    background: var(--background);
    border-top: 1px solid #242428;
}

.njv1-content {
    min-width: 0;
    max-width: 620px;
}

.njv1-content h2 {
    color: var(--gold);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.njv1-content h3 {
    color: #ffffff;
    font-size: clamp(22px, 2.7vw, 30px);
    font-weight: 600;
    margin-bottom: 28px;
}

.njv1-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 19px;
}

.njv1-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 35px;
}

.njv1-features span {
    color: #d6c09a;
    background: rgba(201, 164, 92, 0.07);
    border: 1px solid #50442f;
    border-radius: 30px;
    padding: 9px 13px;
    font-size: 11px;
    font-weight: 500;
}

.njv1-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.njv1-preview {
    min-width: 0;
    width: 100%;
    padding: 15px;
    background: #141417;
    border: 1px solid #34343a;
    border-radius: 14px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
}

.preview-label {
    color: #aaa0a0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 4px 5px 15px;
}

.njv1-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 7px;
    border: 1px solid #38383e;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    padding: 110px max(5%, calc((100vw - var(--container)) / 2));
    background: var(--background-soft);
    border-top: 1px solid #242428;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--gold);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 32px;
}

.about-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 22px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 52px;
}

.about-values div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 10px;
}

.about-values strong {
    color: var(--gold);
    font-size: 22px;
    font-weight: 700;
}

.about-values span {
    color: #d1d1d5;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    position: relative;
    padding: 120px max(5%, calc((100vw - var(--container)) / 2));
    text-align: center;
    border-top: 1px solid #242428;
    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(201, 164, 92, 0.09),
            transparent 55%
        ),
        var(--background);
}

.contact-content {
    max-width: 760px;
    margin: 0 auto;
}

.contact-content h2 {
    color: var(--gold);
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.contact-content p {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 17px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 37px;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: #080809;
    border-top: 1px solid #292929;
    padding: 60px max(5%, calc((100vw - var(--container)) / 2)) 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    align-items: start;
    gap: 40px;
    margin-bottom: 55px;
}

.footer-brand h3 {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.9;
}

.footer-brand .footer-description {
    margin-top: 15px;
    max-width: 310px;
    color: #85858e;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 17px 22px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-links a,
.footer-social a {
    color: #cccccc;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid #292929;
}

.footer-bottom p {
    color: #85858e;
    font-size: 12px;
}

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1100px) {

    .hero {
        gap: 30px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: clamp(36px, 4.8vw, 52px);
    }

    .hero p {
        font-size: 15px;
    }

    .visual-body {
        padding: 25px 18px;
    }

    .visual-card {
        padding: 12px 9px;
    }

    .visual-card strong {
        font-size: 11px;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 30px 23px;
    }

    .njv1-section {
        gap: 40px;
    }

}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 15px;
    }

    .navbar {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 18px 5%;
    }

    .navbar .logo {
        width: 75px;
        height: 75px;
    }

    .nav-links {
        justify-content: center;
        gap: 13px 19px;
        width: 100%;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-links .nav-contact {
        padding: 8px 13px;
    }

    /* Mobile Hero */

    .hero {
        grid-template-columns: 1fr;
        gap: 55px;
        min-height: auto;
        padding: 80px 6%;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 46px);
        letter-spacing: -1.3px;
        line-height: 1.17;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-bottom {
        margin-top: 40px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .visual-panel {
        max-width: 540px;
    }

    .orbit-one {
        width: 400px;
        height: 400px;
    }

    .orbit-two {
        width: 500px;
        height: 500px;
    }

    /* Mobile Services */

    .services {
        padding: 80px 6%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: auto;
        padding: 32px 27px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    /* Mobile NJ V1 */

    .njv1-section {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 80px 6%;
    }

    .njv1-content {
        max-width: 100%;
    }

    .njv1-content p {
        font-size: 15px;
    }

    /* Mobile About */

    .about-section {
        padding: 80px 6%;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-values {
        gap: 10px;
        margin-top: 38px;
    }

    .about-values div {
        padding: 20px 8px;
    }

    .about-values span {
        font-size: 11px;
    }

    /* Mobile Contact */

    .contact-section {
        padding: 85px 6%;
    }

    .contact-content p {
        font-size: 15px;
    }

    /* Mobile Footer */

    .footer {
        padding: 50px 6% 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

}

/* =========================================
   SMALL MOBILE DEVICES
========================================= */

@media (max-width: 420px) {

    .hero {
        padding: 65px 5%;
    }

    .hero h1 {
        font-size: 33px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-buttons,
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .contact-buttons .btn {
        width: 100%;
    }

    .visual-header {
        padding: 14px;
    }

    .visual-body {
        padding: 21px 13px;
    }

    .visual-card {
        min-height: 108px;
        padding: 10px 7px;
    }

    .visual-card-icon {
        font-size: 19px;
    }

    .visual-card strong {
        font-size: 10px;
    }

    .visual-card small {
        font-size: 9px;
    }

    .visual-status {
        font-size: 7px;
    }

    .visual-heading {
        font-size: 19px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-values div {
        padding: 17px;
    }

    .njv1-preview {
        padding: 9px;
    }

}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}
