/* =========================================================
   QUICKFOLKS
   Main Website Stylesheet
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #2196f3;
    --primary-light: #5da9ff;
    --cyan: #00d9ff;
    --purple: #8b2cff;
    --magenta: #e600ff;
    --orange: #ff9d4d;
    --green: #27d98b;
    --red: #ff5d6c;

    --dark: #071526;
    --dark-2: #0a1b30;
    --dark-3: #0e243d;

    --text: #172337;
    --text-light: #66758a;
    --text-white: #f5f8fc;
    --text-muted: #91a4bb;

    --border: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.10);

    --white: #ffffff;
    --light-bg: #f7f9fc;

    --shadow-sm: 0 5px 20px rgba(7, 21, 38, 0.06);
    --shadow-md: 0 15px 40px rgba(7, 21, 38, 0.10);
    --shadow-lg: 0 25px 70px rgba(7, 21, 38, 0.16);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1200px;

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    z-index: 1000;

    background: rgba(7, 21, 38, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        height var(--transition);
}

.navbar.scrolled {
    background: rgba(7, 21, 38, 0.97);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.nav-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================================
   BRAND / LOGO
========================================================= */

.brand {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    flex-shrink: 0;

    width: 205px;
    height: 76px;

    overflow: hidden;

    z-index: 3;
}

.brand-logo {
    height: 340px;
    width: auto;
    max-width: 315px;
    object-fit: contain;
    object-position: center;

    

    /*
       The full-logo PNG contains considerable empty space.
       Scaling and cropping the image here makes the actual
       QuickFolks mark much larger in the navbar.
    */
    transform: translateX(-58px) scale(1.12);
    transform-origin: center center;

    /*
       Blends the light image background into the dark navbar
       as much as possible without changing the image file.
    */
    mix-blend-mode: screen;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.brand:hover .brand-logo {
    transform: translateX(-58px) scale(1.18);
    opacity: 0.95;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-nav {
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
    margin: 0;

    white-space: nowrap;

    z-index: 2;
}

.nav-link {
    position: relative;

    padding: 10px 15px;

    color: #aebdd0;
    font-size: 14px;
    font-weight: 600;

    border-radius: 9px;

    transition:
        color var(--transition),
        background var(--transition);
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: "";

    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 3px;

    height: 2px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        var(--cyan),
        var(--primary)
    );
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {
    position: absolute;
    right: 0;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    z-index: 3;
}

.icon-button {
    position: relative;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b7c6d8;

    border-radius: 12px;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.icon-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.icon-button i {
    font-size: 16px;
}


/* =========================================================
   CART
========================================================= */

.cart-button {
    position: relative;
}

.cart-count {
    position: absolute;

    top: 1px;
    right: 0;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--purple)
    );

    border: 2px solid var(--dark);

    border-radius: 50%;

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    margin-left: 6px;

    padding: 10px 18px;

    color: white;

    background: linear-gradient(
        135deg,
        var(--primary),
        #176dd4
    );

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 7px 20px rgba(33, 150, 243, 0.22);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 28px rgba(33, 150, 243, 0.35);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    color: white;

    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);

    font-size: 18px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: -100%;

    width: min(360px, 88%);

    height: 100vh;

    z-index: 2000;

    padding: 25px;

    background: #08182c;

    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);

    transition: right 0.35s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 25px;

    color: white;

    font-size: 18px;
    font-weight: 700;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-header button {
    width: 40px;
    height: 40px;

    color: #b8c8da;

    border-radius: 10px;
}

.mobile-menu-header button:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;

    gap: 7px;

    padding-top: 25px;
}

.mobile-menu nav a {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;

    color: #b4c2d2;

    border-radius: 12px;

    font-weight: 600;

    transition:
        background var(--transition),
        color var(--transition);
}

.mobile-menu nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.07);
}

.mobile-menu nav i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
}


/* =========================================================
   SEARCH OVERLAY
========================================================= */

.search-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 150px;

    background: rgba(3, 12, 23, 0.78);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-box {
    position: relative;

    width: min(700px, calc(100% - 40px));

    padding: 45px;

    background: #10243b;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 24px;

    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);

    transform: translateY(-20px);

    transition: transform 0.3s ease;
}

.search-overlay.active .search-box {
    transform: translateY(0);
}

.close-search {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 40px;
    height: 40px;

    color: #a9bbcf;

    border-radius: 10px;
}

.close-search:hover {
    color: white;
    background: rgba(255, 255, 255, 0.07);
}

.search-label {
    display: block;

    margin-bottom: 10px;

    color: var(--cyan);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.search-box h2 {
    margin-bottom: 25px;

    color: white;

    font-size: 30px;
    line-height: 1.2;
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-input-wrapper {
    flex: 1;

    display: flex;
    align-items: center;

    padding: 0 16px;

    background: #091a2d;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 12px;
}

.search-input-wrapper i {
    margin-right: 10px;
    color: #7991ab;
}

.search-input-wrapper input {
    width: 100%;

    height: 52px;

    color: white;

    background: transparent;

    border: none;
    outline: none;

    font-size: 14px;
}

.search-input-wrapper input::placeholder {
    color: #71869d;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;

    padding: 0 21px;

    color: white;

    background: linear-gradient(
        135deg,
        var(--primary),
        #176fd4
    );

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.22);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(33, 150, 243, 0.35);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;

    padding: 0 21px;

    color: #d8e5f2;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    background: rgba(255, 255, 255, 0.035);

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);

    transform: translateY(-2px);
}

.white-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;

    padding: 0 22px;

    color: #09203a;

    background: white;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.white-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.outline-white-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 22px;

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.28);

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--transition),
        border-color var(--transition);
}

.outline-white-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;

    transition: gap var(--transition);
}

.text-link:hover {
    gap: 13px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 780px;

    display: flex;
    align-items: center;

    padding-top: 82px;

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(20, 116, 220, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(122, 34, 255, 0.12),
            transparent 35%
        ),
        #071526;
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: 100px;

    background: rgba(0, 217, 255, 0.08);

    border-radius: 50%;

    filter: blur(100px);
}

.hero-grid {
    position: absolute;

    inset: 0;

    opacity: 0.38;

    background-image:
        linear-gradient(
            rgba(78, 146, 215, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(78, 146, 215, 0.08) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image: linear-gradient(
        to right,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;
}

.hero-content {
    max-width: 600px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;

    padding: 8px 13px;

    color: #9dc4e9;

    background: rgba(33, 150, 243, 0.08);

    border: 1px solid rgba(33, 150, 243, 0.18);

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
    margin-bottom: 22px;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--cyan),
        var(--primary),
        #a342ff
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-content > p {
    max-width: 540px;

    margin-bottom: 30px;

    color: #9eb0c4;

    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 45px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    color: white;

    font-size: 21px;
    font-weight: 800;
}

.hero-stat span {
    color: #71869e;

    font-size: 11px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 32px;

    background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 580px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.circuit-board {
    position: relative;

    width: min(520px, 100%);
    height: 520px;

    transform: rotate(-5deg);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(35, 117, 216, 0.24),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #102f56,
            #09203b
        );

    border: 1px solid rgba(79, 162, 242, 0.25);

    border-radius: 60px;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.35),
        inset 0 0 80px rgba(33, 150, 243, 0.08);
}

.circuit-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(33, 150, 243, 0.22);

    filter: blur(65px);
}


/* =========================================================
   HERO QF LOGO / CHIP
========================================================= */

.chip {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 220px;
    height: 220px;

    transform: translate(-50%, -50%) rotate(5deg);

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #112d4b,
            #0b2037
        );

    border: 3px solid rgba(68, 157, 243, 0.55);

    border-radius: 28px;

    box-shadow:
        0 0 0 10px rgba(33, 150, 243, 0.03),
        0 20px 50px rgba(0, 0, 0, 0.28);
}

.chip::before {
    content: "";

    position: absolute;

    inset: 16px;

    border: 1px dashed rgba(75, 163, 244, 0.28);

    border-radius: 16px;
}


/*
   QF lettering

   This keeps the QF mark large and visible.
*/
.chip span {
    position: relative;
    z-index: 2;

    font-size: 60px;
    font-weight: 800;

    letter-spacing: -5px;

    color: #65a8ff;

    text-shadow:
        0 0 25px rgba(71, 155, 255, 0.25);
}


/* =========================================================
   CIRCUIT LINES
========================================================= */

.circuit-line {
    position: absolute;

    height: 3px;

    background: rgba(68, 155, 238, 0.45);

    border-radius: 10px;
}

.line-1 {
    width: 180px;
    left: 30px;
    top: 160px;
}

.line-2 {
    width: 130px;
    right: 25px;
    top: 240px;
}

.line-3 {
    width: 165px;
    right: 50px;
    bottom: 150px;
}

.line-4 {
    width: 150px;
    left: 60px;
    bottom: 105px;
}

.circuit-node {
    position: absolute;

    width: 12px;
    height: 12px;

    background: #4a9cf5;

    border-radius: 50%;

    box-shadow: 0 0 14px rgba(74, 156, 245, 0.6);
}

.node-1 {
    left: 25px;
    top: 154px;
}

.node-2 {
    right: 20px;
    top: 234px;
}

.node-3 {
    right: 45px;
    bottom: 144px;
}

.node-4 {
    left: 55px;
    bottom: 99px;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 220px;

    padding: 15px 18px;

    background: rgba(15, 36, 60, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(15px);
}

.floating-card strong {
    display: block;

    margin-bottom: 2px;

    color: white;

    font-size: 15px;
    font-weight: 800;
}

.floating-card span {
    display: block;

    color: #849ab2;

    font-size: 12px;
    font-weight: 500;
}

.card-one {
    left: -15px;
    top: 45px;
}

.card-two {
    right: -10px;
    bottom: 45px;
}

.floating-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 15px;

    font-size: 21px;
}

.floating-icon.blue {
    color: #61a5ff;
    background: rgba(33, 150, 243, 0.18);
}

.floating-icon.orange {
    color: #ff9d4d;
    background: rgba(255, 157, 77, 0.15);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 100px 0;
}

.categories-section {
    background: white;
}

.products-section {
    background: #f8fafc;
}

.projects-section {
    background: white;
}

.features-section {
    background: #f7f9fc;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-label {
    display: block;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.section-label.light {
    color: #74cfff;
}

.section-heading h2,
.center-heading h2 {
    color: #122033;

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    font-weight: 800;
}

.center-heading {
    max-width: 650px;

    margin: 0 auto 50px;

    text-align: center;
}

.center-heading p {
    margin-top: 13px;

    color: var(--text-light);

    font-size: 14px;
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.category-card {
    position: relative;

    min-height: 150px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

    border-color: rgba(33, 150, 243, 0.25);
}

.category-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    font-size: 22px;
}

.category-card h3 {
    margin-bottom: 3px;

    font-size: 15px;
    font-weight: 800;
}

.category-card p {
    color: var(--text-light);

    font-size: 12px;
}

.category-arrow {
    position: absolute;

    right: 20px;
    top: 20px;

    color: #9aaabd;

    font-size: 12px;

    transition:
        color var(--transition),
        transform var(--transition);
}

.category-card:hover .category-arrow {
    color: var(--primary);
    transform: translate(2px, -2px);
}

.category-blue {
    background: linear-gradient(
        135deg,
        #f4f9ff,
        #ffffff
    );
}

.category-blue .category-icon {
    color: #368ef5;
    background: #e8f2ff;
}

.category-purple {
    background: linear-gradient(
        135deg,
        #faf6ff,
        #ffffff
    );
}

.category-purple .category-icon {
    color: #8e3cff;
    background: #f0e7ff;
}

.category-orange .category-icon {
    color: #ef8a31;
    background: #fff0df;
}

.category-green .category-icon {
    color: #1ab97b;
    background: #e3f9ef;
}

.category-red .category-icon {
    color: #ed5365;
    background: #ffe9ed;
}

.category-dark .category-icon {
    color: #546b83;
    background: #e9eef3;
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.product-card {
    overflow: hidden;

    background: white;

    border: 1px solid #e6ebf1;

    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;

    height: 225px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(33, 150, 243, 0.10),
            transparent 50%
        ),
        #f4f7fb;
}

.product-badge {
    position: absolute;

    top: 13px;
    left: 13px;

    padding: 6px 9px;

    color: #1471c9;

    background: #e6f3ff;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}

.product-badge.new {
    color: #6f2bd8;
    background: #f0e8ff;
}

.wishlist-button {
    position: absolute;

    top: 11px;
    right: 11px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8998aa;

    background: white;

    border: 1px solid #e3e8ee;

    border-radius: 50%;

    font-size: 13px;

    transition:
        color var(--transition),
        transform var(--transition);
}

.wishlist-button:hover {
    color: #f04b65;
    transform: scale(1.08);
}

.product-placeholder {
    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #4198f5;

    background: #e7f2ff;

    border-radius: 25px;

    font-size: 43px;

    transform: rotate(-4deg);

    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.12);
}

.product-placeholder.purple {
    color: #8e39eb;
    background: #f0e7ff;
}

.product-placeholder.orange {
    color: #ee8b32;
    background: #fff0df;
}

.product-placeholder.green {
    color: #20ad78;
    background: #e2f8ee;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: block;

    margin-bottom: 7px;

    color: #7790a9;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.product-info h3 {
    min-height: 44px;

    color: #18273a;

    font-size: 14px;
    line-height: 1.5;

    font-weight: 800;
}

.rating {
    display: flex;
    align-items: center;
    gap: 7px;

    margin: 10px 0 17px;
}

.rating span {
    color: #ffad3e;

    font-size: 11px;
    letter-spacing: 1px;
}

.rating small {
    color: #91a0af;

    font-size: 10px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 14px;

    border-top: 1px solid #edf0f4;
}

.product-bottom strong {
    color: #142338;

    font-size: 19px;
    font-weight: 800;
}

.add-cart {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 8px 12px;

    color: var(--primary);

    background: #edf6ff;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 800;

    transition:
        background var(--transition),
        color var(--transition);
}

.add-cart:hover {
    color: white;
    background: var(--primary);
}


/* =========================================================
   3D PRINTING
========================================================= */

.printing-section {
    position: relative;

    padding: 110px 0;

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(53, 130, 244, 0.20),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071526,
            #0b2341
        );
}

.printing-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    border: 1px solid rgba(70, 157, 243, 0.12);
}

.printing-section > .container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.printing-content {
    max-width: 580px;
}

.printing-content h2 {
    margin-bottom: 20px;

    color: white;

    font-size: clamp(35px, 4vw, 53px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.printing-content h2 span {
    display: block;

    color: #56b8ff;
}

.printing-content > p {
    max-width: 500px;

    margin-bottom: 30px;

    color: #91a8c0;

    font-size: 14px;
    line-height: 1.8;
}

.printing-features {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 30px;
}

.printing-features div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #b6c7d8;

    font-size: 11px;
    font-weight: 600;
}

.printing-features i {
    color: var(--cyan);
}


/* =========================================================
   PRINTING VISUAL
========================================================= */

.printing-visual {
    position: relative;

    height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.print-object {
    position: relative;

    width: 210px;
    height: 230px;

    transform: perspective(700px) rotateX(12deg) rotateZ(-7deg);
}

.print-layer {
    position: absolute;

    left: 20px;
    right: 20px;

    height: 45px;

    border: 2px solid rgba(93, 169, 255, 0.6);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(48, 130, 236, 0.35),
            rgba(130, 50, 245, 0.30)
        );
}

.layer-a {
    bottom: 25px;
}

.layer-b {
    bottom: 65px;
}

.layer-c {
    bottom: 105px;
}

.layer-d {
    bottom: 145px;
}

.print-platform {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 250px;
    height: 25px;

    transform: perspective(300px) rotateX(45deg);

    background: rgba(47, 103, 167, 0.28);

    border: 1px solid rgba(103, 173, 241, 0.25);

    border-radius: 8px;
}

.print-orbit {
    position: absolute;

    width: 330px;
    height: 150px;

    border: 1px solid rgba(63, 157, 245, 0.22);

    border-radius: 50%;

    transform: rotate(-20deg);
}

.orbit-one {
    width: 350px;
}

.orbit-two {
    width: 260px;

    transform: rotate(55deg);

    border-color: rgba(141, 50, 255, 0.20);
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.project-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.project-image {
    position: relative;

    height: 210px;

    overflow: hidden;
}

.project-image::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.15),
            transparent 30%
        );
}

.project-one {
    background:
        linear-gradient(
            135deg,
            #1b75d0,
            #0d2745
        );
}

.project-two {
    background:
        linear-gradient(
            135deg,
            #7e2ee8,
            #251342
        );
}

.project-three {
    background:
        linear-gradient(
            135deg,
            #0e9c89,
            #073c43
        );
}

.project-image span {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 6px 9px;

    color: white;

    background: rgba(0, 0, 0, 0.25);

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 7px;

    font-size: 9px;
    font-weight: 700;
}

.project-info {
    padding: 22px;
}

.project-meta {
    display: flex;
    justify-content: space-between;

    margin-bottom: 10px;

    color: #91a0af;

    font-size: 10px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-info h3 {
    margin-bottom: 9px;

    color: #172438;

    font-size: 17px;
    font-weight: 800;
}

.project-info p {
    margin-bottom: 17px;

    color: var(--text-light);

    font-size: 12px;
    line-height: 1.7;
}

.project-info > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
}

.project-info > a:hover {
    gap: 12px;
}


/* =========================================================
   FEATURES
========================================================= */

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 28px 23px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    text-align: center;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    font-size: 21px;
}

.feature-icon.blue {
    color: #358df2;
    background: #e8f2ff;
}

.feature-icon.orange {
    color: #ed8a31;
    background: #fff0df;
}

.feature-icon.purple {
    color: #8c36e9;
    background: #f0e6ff;
}

.feature-icon.green {
    color: #1eb47c;
    background: #e2f8ee;
}

.feature-card h3 {
    margin-bottom: 8px;

    color: #18273a;

    font-size: 14px;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-light);

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 40px 0 90px;

    background: #f7f9fc;
}

.cta-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px 60px;

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 217, 255, 0.16),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #08182c,
            #0d3159
        );

    border-radius: 25px;

    box-shadow: 0 25px 60px rgba(7, 21, 38, 0.18);
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -150px;
    bottom: -200px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;
}

.cta-box h2 {
    margin-bottom: 10px;

    color: white;

    font-size: clamp(27px, 4vw, 38px);

    line-height: 1.15;

    letter-spacing: -1px;
}

.cta-box p {
    max-width: 560px;

    color: #91a8c0;

    font-size: 13px;
}

.cta-buttons {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 70px 0 25px;

    color: #a7b7c9;

    background: #061322;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 55px;
}

.footer-brand {
    max-width: 340px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo {
    width: 210px;
    max-height: 85px;

    object-fit: contain;

    margin-bottom: 18px;

    /*
       Helps if image is designed for a light background.
    */
    mix-blend-mode: screen;
}

.footer-brand p {
    margin-bottom: 22px;

    color: #71869c;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8397ac;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 9px;

    font-size: 13px;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.social-links a:hover {
    color: white;

    background: rgba(33, 150, 243, 0.18);

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 7px;

    color: white;

    font-size: 13px;
    font-weight: 800;
}

.footer-column a {
    color: #71869c;

    font-size: 11px;

    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-column a:hover {
    color: #b9d8f5;
    transform: translateX(2px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #52677d;

    font-size: 10px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 0;
    }

    .nav-link {
        padding: 10px 9px;
        font-size: 12px;
    }

    .brand {
        width: 175px;
    }

    .brand-logo {
        width: 285px;
        height: 110px;
        transform: translateX(-48px) scale(1.08);
    }

    .hero-container {
        gap: 20px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-visual {
        transform: scale(0.88);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-brand {
        grid-row: span 2;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 800px) {

    .container {
        width: min(
            var(--container),
            calc(100% - 32px)
        );
    }

    .navbar {
        height: 72px;
    }

    .brand {
        left: 0;
        width: 155px;
        height: 58px;
    }

    .brand-logo {
        width: 245px;
        height: 95px;
        max-width: none;
        max-height: none;
        transform: translateX(-38px) scale(1.05);
    }

    .desktop-nav {
        display: none;
    }

    .desktop-only {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .login-button {
        display: none;
    }

    .hero {
        min-height: auto;

        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: clamp(45px, 12vw, 65px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 460px;

        margin-top: 20px;

        transform: scale(0.85);
    }

    .card-one {
        left: -5px;
    }

    .card-two {
        right: -5px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 30px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .printing-section > .container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .printing-content {
        max-width: 700px;
    }

    .printing-visual {
        height: 340px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 40px 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .nav-actions {
        gap: 3px;
    }

    .icon-button {
        width: 37px;
        height: 37px;
    }

    .brand {
        width: 135px;
    }

    .brand-logo {
        width: 215px;
        height: 85px;
        transform: translateX(-32px) scale(1.03);
    }

    .hero {
        padding-top: 105px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-stats {
        gap: 15px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-visual {
        min-height: 380px;

        transform: scale(0.70);

        margin-top: -15px;
        margin-bottom: -30px;
    }

    .circuit-board {
        width: 470px;
        height: 470px;
    }

    .floating-card {
        min-width: 190px;

        padding: 12px;

        transform: scale(0.9);
    }

    .card-one {
        left: -30px;
        top: 35px;
    }

    .card-two {
        right: -30px;
        bottom: 35px;
    }

    .section-heading h2,
    .center-heading h2 {
        font-size: 30px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .printing-features {
        flex-direction: column;
        gap: 13px;
    }

    .printing-content h2 {
        font-size: 38px;
    }

    .printing-visual {
        transform: scale(0.8);
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-box {
        padding: 35px 25px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

