
/* ============================================================
   VBLINK CONSULTANTS
   PROCESS ENGINEERING TOOLS
   Dashboard CSS
   ============================================================ */


/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {

    --blue: #2f54eb;
    --blue-dark: #172b8c;
    --blue-light: #5b8cff;

    --cyan: #00b8d9;
    --purple: #7357ff;
    --green: #00a878;
    --orange: #f59e0b;

    --dark: #111827;
    --dark-2: #1f2937;

    --text: #263247;
    --muted: #6b7280;

    --background: #f4f7fc;
    --white: #ffffff;

    --border: #e5e9f2;

    --shadow:
        0 15px 40px rgba(25, 45, 90, 0.10);

    --shadow-hover:
        0 25px 55px rgba(25, 45, 90, 0.18);

    --radius: 20px;

}


/* ============================================================
   RESET
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        'Poppins',
        Arial,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    min-height: 100vh;

}


/* ============================================================
   PAGE
   ============================================================ */

.pet-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

}


/* ============================================================
   HEADER
   ============================================================ */

.pet-header {

    position: relative;

    z-index: 10;

    background:
        linear-gradient(
            135deg,
            #172b8c 0%,
            #2f54eb 55%,
            #5b8cff 100%
        );

    color: white;

    box-shadow:
        0 5px 25px rgba(25, 50, 120, 0.20);

}


.header-inner {

    max-width: 1400px;

    margin: auto;

    min-height: 78px;

    padding:
        0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* ============================================================
   BRAND
   ============================================================ */

.brand {

    display: flex;

    align-items: center;

    gap: 13px;

}


.brand-logo {

    width: 46px;

    height: 46px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.logo-ring {

    position: absolute;

    inset: 2px;

    border:
        2px solid rgba(255,255,255,0.85);

    border-radius: 50%;

    border-top-color:
        transparent;

    animation:
        logoRotate 5s linear infinite;

}


.logo-core {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.15);

    border:
        1px solid rgba(255,255,255,0.4);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    font-weight: 800;

}


@keyframes logoRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


.brand-name {

    font-size: 19px;

    font-weight: 800;

    letter-spacing: 2px;

}


.brand-subtitle {

    font-size: 8px;

    letter-spacing: 3px;

    opacity: 0.8;

}


.engineering-badge {

    padding:
        7px 15px;

    border:
        1px solid rgba(255,255,255,0.35);

    border-radius: 30px;

    background:
        rgba(255,255,255,0.10);

    font-size: 10px;

    letter-spacing: 1.4px;

    font-weight: 600;

}


/* ============================================================
   HERO
   ============================================================ */

.pet-hero {

    position: relative;

    overflow: hidden;

    min-height: 330px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        55px max(35px, calc((100vw - 1320px) / 2));

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(91,140,255,0.22),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #0d173f,
            #172b8c 50%,
            #243fb4
        );

    color: white;

}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 750px;

}


.hero-tag {

    display: inline-block;

    margin-bottom: 13px;

    padding:
        6px 13px;

    border-radius: 20px;

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid rgba(255,255,255,0.20);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

}


.hero-content h1 {

    font-size:
        clamp(32px, 5vw, 58px);

    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -1.5px;

}


.hero-content h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #8fc5ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}


.hero-content p {

    margin-top: 18px;

    max-width: 680px;

    font-size: 14px;

    line-height: 1.8;

    color:
        rgba(255,255,255,0.76);

}


.hero-line {

    width: 100px;

    height: 3px;

    margin-top: 23px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #5b8cff,
            transparent
        );

}


/* ============================================================
   HERO GRAPHIC
   ============================================================ */

.hero-graphic {

    width: 300px;

    height: 300px;

    position: relative;

    flex-shrink: 0;

    margin-right: 40px;

}


.graphic-core {

    position: absolute;

    width: 90px;

    height: 90px;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.35);

    box-shadow:
        0 0 45px rgba(91,140,255,0.35);

}


.graphic-core span {

    font-size: 28px;

    font-weight: 800;

    letter-spacing: 3px;

}


.orbit {

    position: absolute;

    border:
        1px solid rgba(255,255,255,0.18);

    border-radius: 50%;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

}


.orbit-1 {

    width: 160px;

    height: 160px;

    animation:
        orbitRotate 14s linear infinite;

}


.orbit-2 {

    width: 220px;

    height: 220px;

    transform:
        translate(-50%, -50%)
        rotate(55deg);

    animation:
        orbitRotate 20s linear infinite reverse;

}


.orbit-3 {

    width: 285px;

    height: 285px;

    transform:
        translate(-50%, -50%)
        rotate(110deg);

    animation:
        orbitRotate 26s linear infinite;

}


@keyframes orbitRotate {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


/* ============================================================
   DASHBOARD
   ============================================================ */

.pet-dashboard {

    width: 100%;

    max-width: 1400px;

    margin:
        0 auto;

    padding:
        25px 35px 25px;

    flex: 1;

}


/* ============================================================
   DASHBOARD HEADING
   ============================================================ */

.dashboard-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 30px;

}


.section-label {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color:
        var(--blue);

}


.dashboard-heading h2 {

    margin-top: 4px;

    font-size: 28px;

    color:
        var(--dark);

}


.tool-count {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

}


.tool-count strong {

    font-size: 24px;

    color:
        var(--blue);

}


.tool-count span {

    font-size: 9px;

    letter-spacing: 2px;

    color:
        var(--muted);

}


/* ============================================================
   TOOL GRID
   ============================================================ */

.tools-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

}


/* ============================================================
   TOOL CARD
   ============================================================ */

.tool-card {

    position: relative;

    min-height: 270px;

    padding: 32px;

    overflow: hidden;

    text-decoration: none;

    color: inherit;

    background:
        rgba(255,255,255,0.95);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

    display: flex;

    flex-direction: column;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

}


.tool-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 4px;

    background:
        var(--card-color, var(--blue));

}


.tool-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -80px;

    bottom: -80px;

    border-radius: 50%;

    background:
        var(--card-color, var(--blue));

    opacity: 0.04;

    transition:
        transform 0.4s ease;

}


.tool-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(47,84,235,0.25);

}


.tool-card:hover::after {

    transform:
        scale(1.5);

}


/* ============================================================
   CARD COLORS
   ============================================================ */

.liquid-card {

    --card-color:
        #2f54eb;

}


.gas-card {

    --card-color:
        #00a6c7;

}


.two-phase-card {

    --card-color:
        #7357ff;

}


.separator-card {

    --card-color:
        #00a878;

}


.pump-card {

    --card-color:
        #f59e0b;

}


.future-card {

    --card-color:
        #8b95a7;

    opacity: 0.75;

}


/* ============================================================
   CARD NUMBER
   ============================================================ */

.card-number {

    position: absolute;

    right: 24px;

    top: 20px;

    font-size: 11px;

    font-weight: 700;

    color:
        #b8c0d0;

    letter-spacing: 1px;

}


/* ============================================================
   TOOL ICON
   ============================================================ */

.tool-icon {

    width: 62px;

    height: 62px;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 22px;

    color:
        var(--card-color);

    background:
        color-mix(
            in srgb,
            var(--card-color) 9%,
            white
        );

    transition:
        transform 0.35s ease;

}


.tool-card:hover .tool-icon {

    transform:
        scale(1.08)
        rotate(-3deg);

}


.tool-icon svg {

    width: 39px;

    height: 39px;

}


/* ============================================================
   TOOL CONTENT
   ============================================================ */

.tool-content {

    display: flex;

    flex-direction: column;

    height: 100%;

}


.tool-content h3 {

    font-size: 19px;

    font-weight: 700;

    color:
        var(--dark);

}


.tool-content p {

    margin-top: 10px;

    font-size: 12.5px;

    line-height: 1.7;

    color:
        var(--muted);

    max-width: 340px;

}


.tool-link {

    margin-top: auto;

    padding-top: 20px;

    font-size: 11px;

    font-weight: 700;

    color:
        var(--card-color);

    letter-spacing: 0.5px;

    display: flex;

    align-items: center;

    gap: 8px;

}


.tool-link span {

    font-size: 17px;

    transition:
        transform 0.25s ease;

}


.tool-card:hover
.tool-link span {

    transform:
        translateX(5px);

}


/* ============================================================
   ENGINEERING INFORMATION PANEL
   ============================================================ */

.engineering-panel {

    margin-top: 25px;

    padding: 20px;

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            135deg,
            #172b8c,
            #2f54eb
        );

    color: white;

    display: flex;

    align-items: center;

    gap: 25px;

    box-shadow:
        0 18px 45px
        rgba(47,84,235,0.20);

}


.panel-icon {

    width: 62px;

    height: 62px;

    flex-shrink: 0;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.10);

    display: flex;

    align-items: center;

    justify-content: center;

}


.panel-icon svg {

    width: 38px;

    height: 38px;

}


.panel-content span {

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    opacity: 0.7;

}


.panel-content h3 {

    margin-top: 3px;

    font-size: 19px;

}


.panel-content p {

    margin-top: 7px;

    max-width: 950px;

    font-size: 11px;

    line-height: 1.7;

    color:
        rgba(255,255,255,0.76);

}


/* ============================================================
   FOOTER
   ============================================================ */

.pet-footer {

    background:
        #10182e;

    color:
        rgba(255,255,255,0.55);

}


.footer-inner {

    max-width: 1400px;

    margin: auto;

    min-height: 60px;

    padding:
        0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 10px;

}


.footer-inner strong {

    color:
        rgba(255,255,255,0.9);

}


/* ============================================================
   TABLET
   ============================================================ */

@media
(max-width: 1050px) {

    .hero-graphic {

        width: 230px;

        height: 230px;

        margin-right: 0;

    }


    .tools-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media
(max-width: 700px) {

    .header-inner {

        min-height: 70px;

        padding:
            0 20px;

    }


    .engineering-badge {

        display: none;

    }


    .pet-hero {

        min-height: auto;

        padding:
            45px 22px;

    }


    .hero-content {

        max-width: 100%;

    }


    .hero-content h1 {

        font-size: 36px;

    }


    .hero-content p {

        font-size: 12px;

    }


    .hero-graphic {

        display: none;

    }


    .pet-dashboard {

        padding:
            40px 20px 55px;

    }


    .dashboard-heading {

        align-items: center;

    }


    .dashboard-heading h2 {

        font-size: 24px;

    }


    .tools-grid {

        grid-template-columns:
            1fr;

        gap: 18px;

    }


    .tool-card {

        min-height: 245px;

        padding: 27px;

    }


    .engineering-panel {

        padding: 24px;

        align-items: flex-start;

    }


    .panel-icon {

        width: 50px;

        height: 50px;

    }


    .panel-content h3 {

        font-size: 17px;

    }


    .footer-inner {

        min-height: 75px;

        padding:
            15px 20px;

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        text-align: center;

    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media
(max-width: 420px) {

    .brand-name {

        font-size: 16px;

    }


    .brand-subtitle {

        font-size: 7px;

    }


    .hero-content h1 {

        font-size: 31px;

    }


    .dashboard-heading h2 {

        font-size: 22px;

    }


    .tool-card {

        min-height: 235px;

    }


    .tool-content h3 {

        font-size: 18px;

    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media
(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;

    }

}

