/* =========================================================
   3DDIR
   Main stylesheet
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;

    overflow-x: hidden;

    background: #0a0b0d;
    color: #f4f4f5;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --bg: #0a0b0d;
    --surface: #101216;
    --surface-2: #15181d;

    --border: #262a30;
    --border-light: #333840;

    --text: #f4f4f5;
    --text-muted: #9298a2;
    --text-dark: #666c75;

    --accent: #858fff;

    --max-width: 1400px;

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 22px;

}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: var(--max-width);

    margin-left: auto;
    margin-right: auto;

    padding-left: 32px;
    padding-right: 32px;

    min-width: 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(10, 11, 13, 0.92);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;

    min-width: 0;
}


/* Logo */

.logo {
    flex: 0 0 auto;

    font-size: 27px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-right: 42px;
}


/* Desktop navigation */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 24px;

    min-width: 0;
    flex: 1;
}

.desktop-nav a {
    flex: 0 0 auto;

    color: var(--text-muted);

    font-size: 14px;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--text);
}


/* Header actions */

.header-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 0 0 auto;

    margin-left: 28px;
}

.login-link {
    padding: 9px 10px;

    color: var(--text-muted);

    font-size: 14px;

    transition:
        color 0.2s ease;
}

.login-link:hover {
    color: var(--text);
}

.signup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 16px;

    background: #ffffff;
    color: #0a0b0d;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

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

.signup-button:hover {
    transform: translateY(-1px);
    background: #e7e8ff;
}


/* Mobile menu button */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    border: 1px solid var(--border-light);
    border-radius: 10px;

    background: var(--surface);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 18px;
    height: 1px;

    margin: 4px auto;

    background: var(--text);
}


/* Mobile navigation */

.mobile-nav {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;

    padding:
        clamp(70px, 9vw, 130px)
        0
        clamp(70px, 8vw, 110px);
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.95fr);

    gap: clamp(40px, 6vw, 90px);

    align-items: center;
}


.hero-content {
    min-width: 0;
}

.eyebrow {
    margin-bottom: 24px;

    color: var(--text-dark);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


.hero h1 {
    max-width: 900px;

    margin: 0 0 30px;

    font-size: clamp(58px, 8vw, 112px);

    line-height: 0.88;

    letter-spacing: -5px;
}

.hero h1 span {
    color: var(--accent);
}


.hero-description {
    max-width: 650px;

    margin: 0 0 36px;

    color: var(--text-muted);

    font-size: clamp(16px, 1.4vw, 20px);

    line-height: 1.65;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #ffffff;
    color: #0a0b0d;
}

.button-primary:hover {
    background: #e8e9ff;
}

.button-secondary {
    border: 1px solid var(--border-light);

    color: var(--text);
}

.button-secondary:hover {
    border-color: #606772;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-card {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 0.9;

    min-height: 360px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-large);

    background:
        radial-gradient(
            circle at 50% 45%,
            #2b3155 0%,
            #171a22 38%,
            #0d0f13 72%
        );
}


.hero-card-top,
.hero-card-bottom {
    position: absolute;

    left: 24px;
    right: 24px;

    display: flex;
    justify-content: space-between;

    color: #777e88;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.hero-card-top {
    top: 22px;
}

.hero-card-bottom {
    bottom: 22px;

    gap: 20px;
}


.hero-orbit {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(70%, 420px);
    aspect-ratio: 1;

    transform:
        translate(-50%, -50%)
        rotate(-12deg);
}


.orbit {
    position: absolute;

    top: 50%;
    left: 50%;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);
}

.orbit-one {
    width: 100%;
    height: 38%;
}

.orbit-two {
    width: 100%;
    height: 60%;

    transform:
        translate(-50%, -50%)
        rotate(55deg);
}

.orbit-three {
    width: 100%;
    height: 82%;

    transform:
        translate(-50%, -50%)
        rotate(-35deg);
}


.core {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
        translate(-50%, -50%)
        rotate(12deg);

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.14),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.45);

    font-size: 38px;
    font-weight: 900;

    letter-spacing: -2px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    width: 100%;

    padding:
        clamp(70px, 8vw, 110px)
        0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 36px;
}

.section-heading > * {
    min-width: 0;
}

.section-label {
    margin-bottom: 10px;

    color: var(--text-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1;

    letter-spacing: -2px;
}

.section-heading p {
    max-width: 420px;

    margin: 0;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.7;
}

.section-link {
    flex: 0 0 auto;

    color: var(--text-muted);

    font-size: 13px;

    transition:
        color 0.2s ease;
}

.section-link:hover {
    color: var(--text);
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.category-card {
    position: relative;

    min-width: 0;
    min-height: 250px;

    padding: 24px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    background: var(--surface);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: var(--border-light);

    background: var(--surface-2);
}


.category-number {
    color: var(--text-dark);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}


.category-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 42px;
    margin-bottom: 22px;

    border: 1px solid var(--border-light);

    border-radius: 12px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 800;

    background: #0d0f13;
}


.category-card h3 {
    margin: 0 0 8px;

    font-size: 20px;
}

.category-card p {
    max-width: 260px;

    margin: 0;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.6;
}


.category-arrow {
    position: absolute;

    right: 24px;
    bottom: 22px;

    color: var(--text-dark);

    font-size: 18px;

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

.category-card:hover .category-arrow {
    color: var(--text);
    transform: translateX(4px);
}


/* =========================================================
   ASSETS
========================================================= */

.assets-section {
    border-top: 1px solid var(--border);
}


.asset-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.asset-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    background: var(--surface);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.asset-card:hover {
    transform: translateY(-5px);

    border-color: var(--border-light);
}


.asset-preview {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.asset-preview::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    transform: rotate(30deg);
}


.preview-industrial {
    background:
        linear-gradient(
            135deg,
            #151920,
            #343a45
        );
}

.preview-environment {
    background:
        linear-gradient(
            135deg,
            #151922,
            #293153
        );
}

.preview-material {
    background:
        linear-gradient(
            135deg,
            #17181b,
            #3a3030
        );
}


.asset-preview span {
    position: absolute;

    top: 18px;
    left: 18px;

    color: rgba(255,255,255,0.35);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}

.asset-preview strong {
    position: relative;
    z-index: 1;

    color: rgba(255,255,255,0.14);

    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900;

    letter-spacing: -2px;
}


.asset-info {
    min-width: 0;

    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 20px;
}


.asset-type {
    display: block;

    margin-bottom: 7px;

    color: var(--text-dark);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.asset-info h3 {
    margin: 0;

    font-size: 18px;
}


.asset-status {
    flex: 0 0 auto;

    color: var(--text-muted);

    font-size: 10px;

    white-space: nowrap;
}


/* =========================================================
   WIDE BANNER
========================================================= */

.wide-banner {
    width: 100%;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            110deg,
            #11141a,
            #0b0c0f
        );
}


.banner-inner {
    min-height: 360px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 0.8fr);

    gap: 60px;

    align-items: center;
}


.banner-inner h2 {
    max-width: 800px;

    margin: 0;

    font-size: clamp(38px, 6vw, 82px);

    line-height: 0.95;

    letter-spacing: -4px;
}


.banner-inner p {
    max-width: 400px;

    margin: 0;

    color: var(--text-muted);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   SIMPLE SECTIONS
========================================================= */

.compact-section {
    border-bottom: 1px solid var(--border);
}


.simple-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(250px, 0.55fr);

    gap: 60px;

    align-items: center;
}


.simple-row h2 {
    margin: 0;

    font-size: clamp(30px, 4vw, 52px);

    line-height: 1;

    letter-spacing: -2px;
}


.simple-row p {
    margin: 0;

    color: var(--text-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--border);

    padding:
        60px
        0;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1fr
        auto
        auto;

    gap: 50px;

    align-items: end;
}


.footer-logo {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: 2px;
}


.footer-grid p {
    margin: 0;

    color: var(--text-dark);

    font-size: 12px;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);

    font-size: 12px;
}

.footer-links a:hover {
    color: var(--text);
}


.footer-meta {
    display: flex;

    flex-direction: column;

    gap: 6px;

    color: var(--text-dark);

    font-size: 11px;

    text-align: right;
}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-card {
        max-width: 760px;

        margin-left: auto;
        margin-right: auto;
    }

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

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

    .banner-inner {
        grid-template-columns: 1fr;

        gap: 25px;

        padding-top: 70px;
        padding-bottom: 70px;
    }

    .simple-row {
        grid-template-columns: 1fr;

        gap: 25px;
    }

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

    .footer-meta {
        text-align: left;
    }

}


/* =========================================================
   MOBILE NAV
========================================================= */

@media (max-width: 700px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-inner {
        min-height: 64px;
    }

    .logo {
        margin-right: 0;

        font-size: 23px;
    }

    .header-actions {
        gap: 4px;

        margin-right: 8px;
    }

    .login-link {
        padding:
            8px
            7px;

        font-size: 12px;
    }

    .signup-button {
        min-height: 34px;

        padding:
            0 12px;

        font-size: 12px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }


    .mobile-nav {
        display: none;

        padding:
            8px
            18px
            18px;

        border-top: 1px solid var(--border);

        background: #0a0b0d;
    }

    .mobile-nav.is-open {
        display: grid;
    }

    .mobile-nav a {
        padding: 14px 4px;

        border-bottom: 1px solid var(--border);

        color: var(--text-muted);

        font-size: 14px;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a:hover {
        color: var(--text);
    }


    .hero {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .hero h1 {
        margin-bottom: 24px;

        font-size: clamp(56px, 16vw, 82px);

        letter-spacing: -4px;
    }

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

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-card {
        min-height: 300px;
    }

    .core {
        width: 90px;
        height: 90px;

        border-radius: 20px;

        font-size: 30px;
    }


    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section-heading {
        display: block;

        margin-bottom: 28px;
    }

    .section-heading p {
        margin-top: 16px;
    }


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

    .category-card {
        min-height: 210px;
    }

    .category-icon {
        margin-top: 30px;
    }


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


    .asset-info {
        align-items: center;
    }


    .banner-inner h2 {
        font-size: clamp(38px, 11vw, 60px);

        letter-spacing: -3px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-meta {
        text-align: left;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .header-actions {
        display: none;
    }

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

    .hero-card {
        min-height: 260px;
    }

    .hero-card-top,
    .hero-card-bottom {
        left: 16px;
        right: 16px;
    }

    .hero-card-bottom {
        font-size: 8px;
    }

    .asset-info {
        display: block;
    }

    .asset-status {
        display: block;

        margin-top: 12px;
    }

}
