:root {
    --gear-bg: #060a10;
    --gear-panel: #0d151f;
    --gear-panel-2: #111d29;
    --gear-line: rgba(255, 255, 255, .11);
    --gear-text: #f7f9fc;
    --gear-muted: #97a8bb;
    --gear-teal: #00cea8;
    --gear-pink: #e867ea;
    --gear-yellow: #fde100;
}

.gear-page,
.elementor-3d-gear {
    overflow: hidden;
    background: var(--gear-bg);
    color: var(--gear-text);
    font-family: Inter, Arial, sans-serif;
}

.elementor-3d-gear [hidden],
.gear-download-dialog [hidden] {
    display: none !important;
}

.gear-shell {
    width: min(1440px, calc(100% - 48px));
    margin-inline: auto;
}

.gear-page h1,
.gear-page h2,
.gear-page h3,
.gear-download-dialog h2 {
    font-family: Syne, Arial, sans-serif;
    color: #fff;
}

.gear-hero {
    position: relative;
    padding: 178px 0 86px;
    overflow: hidden;
    background-image: radial-gradient(circle at 80% 18%, rgba(0, 206, 168, .2), transparent 27%),
        radial-gradient(circle at 12% 72%, rgba(232, 103, 234, .13), transparent 30%),
        url('/images/uploads/2025/01/Grid-2.png');
    background-position: center;
    background-size: auto, auto, cover;
}

.gear-hero::after {
    position: absolute;
    right: -90px;
    bottom: -260px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(0, 206, 168, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(0, 206, 168, .035), 0 0 0 108px rgba(0, 206, 168, .025);
    content: '';
}

.gear-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.gear-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .5);
    font-size: .78rem;
}

.gear-breadcrumb a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.gear-breadcrumb a:hover,
.gear-breadcrumb a:focus-visible {
    color: var(--gear-teal);
}

.gear-kicker {
    margin: 0 0 9px;
    color: var(--gear-teal);
    font: 800 .72rem/1.2 Syne, Arial, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gear-hero h1 {
    max-width: 940px;
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.9rem);
    line-height: 1.01;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.gear-hero h1::after {
    display: block;
    width: 90px;
    height: 5px;
    margin-top: 25px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gear-yellow), var(--gear-teal));
    content: '';
}

.gear-hero-inner>p:last-child {
    max-width: 780px;
    margin: 25px 0 0;
    color: #c7d2de;
    font-size: 1.05rem;
    line-height: 1.72;
}

.gear-designer {
    position: relative;
    padding: 74px 0 88px;
    background: radial-gradient(circle at 50% 5%, rgba(0, 206, 168, .07), transparent 27%);
}

.gear-section-heading {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.gear-section-heading h2,
.gear-content-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.gear-section-heading>p {
    max-width: 460px;
    margin: 0;
    color: var(--gear-muted);
    font-size: .86rem;
    line-height: 1.6;
    text-align: right;
}

.gear-app {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    grid-template-areas: 'config preview' 'download download';
    gap: 22px;
    min-width: 0;
}

.gear-config {
    display: grid;
    grid-area: config;
    gap: 18px;
    min-width: 0;
}

.gear-config-card,
.gear-preview-card,
.gear-download-card {
    min-width: 0;
    border: 1px solid var(--gear-line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(18, 29, 41, .98), rgba(9, 16, 25, .98));
    box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
}

.gear-config-card {
    padding: 22px;
}

.gear-step-title {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 20px;
}

.gear-step-title>span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gear-yellow);
    box-shadow: 0 0 0 6px rgba(253, 225, 0, .1);
    color: #071019;
    font: 800 .86rem/1 Syne, Arial, sans-serif;
}

.gear-step-title h2 {
    margin: 1px 0 4px;
    font-size: .98rem;
    letter-spacing: -.015em;
}

.gear-step-title p {
    margin: 0;
    color: var(--gear-muted);
    font-size: .72rem;
    line-height: 1.45;
}

.gear-fields {
    display: grid;
    gap: 14px;
    min-width: 0;
}

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

.gear-fields label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #dce5ee;
    font-size: .71rem;
    font-weight: 700;
}

.gear-fields label small,
.gear-field-note,
.gear-subpanel>p {
    color: #7f91a5;
    font-size: .62rem;
    font-weight: 500;
    line-height: 1.45;
}

.gear-field-note {
    margin: 10px 0 0;
}

.gear-fields input,
.gear-fields select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #2c3c4e;
    border-radius: 9px;
    outline: 0;
    background: #080e17;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    color: #f7f9fc;
    font: 700 .82rem/1 Inter, Arial, sans-serif;
    color-scheme: dark;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.gear-fields select {
    padding-right: 34px;
    cursor: pointer;
}

.gear-fields input:hover,
.gear-fields select:hover {
    border-color: #4a6075;
    background-color: #0b131e;
}

.gear-fields input:focus,
.gear-fields select:focus {
    border-color: var(--gear-teal);
    box-shadow: 0 0 0 3px rgba(0, 206, 168, .14);
}

.gear-input-unit {
    position: relative;
}

.gear-input-unit input {
    padding-right: 42px;
}

.gear-input-unit>span {
    position: absolute;
    top: 50%;
    right: 11px;
    color: #74869a;
    font-size: .66rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.gear-toggle {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 18px 0 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
    cursor: pointer;
}

.gear-toggle--nested {
    margin-top: 14px;
    background: rgba(0, 206, 168, .035);
}

.gear-toggle input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--gear-teal);
}

.gear-toggle span {
    display: grid;
    gap: 4px;
}

.gear-toggle strong {
    color: #eff4f8;
    font-size: .75rem;
}

.gear-toggle small {
    color: #8698ab;
    font-size: .63rem;
    line-height: 1.45;
}

.gear-subpanel {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid rgba(0, 206, 168, .16);
    border-radius: 11px;
    background: rgba(4, 11, 18, .62);
}

.gear-subpanel>p {
    margin: 12px 0 0;
}

.gear-preview-column {
    display: grid;
    grid-area: preview;
    grid-template-rows: minmax(560px, 1fr) auto;
    gap: 14px;
    min-width: 0;
}

.gear-preview-card {
    display: flex;
    min-height: 650px;
    overflow: hidden;
    flex-direction: column;
}

.gear-preview-toolbar,
.gear-preview-footer {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: 13px 16px;
    border-bottom: 1px solid var(--gear-line);
    background: rgba(5, 10, 16, .74);
}

.gear-preview-toolbar>div:first-child {
    display: flex;
    gap: 9px;
    align-items: center;
    min-width: 0;
}

.gear-preview-toolbar strong {
    color: #e8eef5;
    font: 800 .71rem/1 Syne, Arial, sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gear-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gear-teal);
    box-shadow: 0 0 0 5px rgba(0, 206, 168, .1), 0 0 18px rgba(0, 206, 168, .7);
}

.gear-toolbar-actions {
    display: flex;
    gap: 7px;
}

.elementor-kit-723 .gear-page .gear-toolbar-actions button,
.gear-toolbar-actions button {
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 0 11px;
    border: 1px solid #2b3b4c;
    border-radius: 7px;
    background: #101925;
    box-shadow: none;
    color: #c6d1dc;
    font: 700 .63rem/1 Syne, Arial, sans-serif;
    cursor: pointer;
}

.elementor-kit-723 .gear-page .gear-toolbar-actions button:hover,
.elementor-kit-723 .gear-page .gear-toolbar-actions button:focus-visible,
.elementor-kit-723 .gear-page .gear-toolbar-actions button.is-active {
    border-color: var(--gear-teal);
    background: rgba(0, 206, 168, .12);
    color: var(--gear-teal);
}

.gear-canvas-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 500px;
    overflow: hidden;
    contain: layout paint;
    background: radial-gradient(circle at 48% 42%, rgba(34, 70, 78, .38), transparent 42%), #07101a;
}

#gear-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
}

.gear-loader {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 13px;
    background: rgba(5, 10, 17, .72);
    color: #dbe5ee;
    font-size: .73rem;
    backdrop-filter: blur(3px);
}

.gear-loader i {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, .12);
    border-top-color: var(--gear-teal);
    border-radius: 50%;
    animation: gear-spin .7s linear infinite;
}

@keyframes gear-spin {
    to { transform: rotate(360deg); }
}

.gear-axis-label {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    gap: 5px;
    pointer-events: none;
}

.gear-axis-label span {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(6, 11, 18, .72);
    color: #8092a5;
    font: 700 .56rem/1 Syne, Arial, sans-serif;
}

.gear-preview-footer {
    border-top: 1px solid var(--gear-line);
    border-bottom: 0;
    color: #788b9e;
    font-size: .61rem;
}

.gear-preview-footer strong {
    color: var(--gear-teal);
    font-size: .62rem;
    text-align: right;
}

.gear-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gear-line);
    border-radius: 13px;
    background: #0b131d;
}

.gear-metrics>div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px 15px;
    border-right: 1px solid var(--gear-line);
}

.gear-metrics>div:last-child { border-right: 0; }
.gear-metrics span { color: #718497; font-size: .56rem; line-height: 1.25; }
.gear-metrics strong { overflow: hidden; color: #eef4f8; font: 800 .75rem/1.2 Syne, Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }

.gear-download-card {
    display: flex;
    grid-area: download;
    gap: 36px;
    align-items: center;
    justify-content: space-between;
    padding: 25px 27px;
    border-color: rgba(0, 206, 168, .27);
}

.gear-download-card>div { min-width: 0; }
.gear-download-card h2 { margin: 0 0 7px; font-size: 1.1rem; }
.gear-download-card>div>p:not(.gear-kicker) { margin: 0; color: #93a5b7; font-size: .72rem; line-height: 1.5; }
.gear-download-card #gear-validation-message.is-valid { color: #6ce5ce; }
.gear-download-card #gear-validation-message.is-warning { color: #f5e99b; }
.gear-download-card #gear-validation-message.is-error { color: #ff9f9f; }

.gear-validation-list {
    display: grid;
    gap: 5px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.gear-validation-list li { color: #f5e99b; font-size: .65rem; line-height: 1.4; }
.gear-validation-list li::before { margin-right: 6px; content: '•'; }
.gear-validation-list li.is-error { color: #ff9f9f; }

.elementor-kit-723 .gear-page #gear-download-stl,
#gear-download-stl {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 210px;
    min-height: 48px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid var(--gear-teal);
    border-radius: 9px;
    background: linear-gradient(120deg, var(--gear-teal), #54e6cb);
    box-shadow: 0 12px 30px rgba(0, 206, 168, .14);
    color: #03110e;
    font: 800 .75rem/1 Syne, Arial, sans-serif;
    cursor: pointer;
}

.elementor-kit-723 .gear-page #gear-download-stl:hover:not(:disabled),
.elementor-kit-723 .gear-page #gear-download-stl:focus-visible:not(:disabled) {
    border-color: #53ead0;
    background: #53ead0;
    transform: translateY(-1px);
}

.elementor-kit-723 .gear-page #gear-download-stl:disabled {
    border-color: #263442;
    background: #18222d;
    box-shadow: none;
    color: #6f8092;
    cursor: not-allowed;
}

.gear-content-section {
    padding: 86px 0;
    border-top: 1px solid rgba(255, 255, 255, .055);
}

.gear-content-section--steps {
    background-image: linear-gradient(rgba(6, 10, 16, .9), rgba(6, 10, 16, .96)), url('/images/uploads/2025/01/Grid-2.png');
    background-position: center;
    background-size: cover;
}

.gear-content-section--facts { background: #080d14; }
.gear-content-section--faq { padding-bottom: 110px; }
.gear-content-heading { max-width: 760px; margin-bottom: 34px; }
.gear-content-heading>p:last-child { margin: 13px 0 0; color: #95a6b8; line-height: 1.65; }

.gear-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    counter-reset: none;
    list-style: none;
}

.gear-steps li,
.gear-fact-grid article {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--gear-line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(18, 28, 40, .92), rgba(10, 17, 26, .92));
}

.gear-steps li>span,
.gear-fact-grid article>span {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--gear-yellow);
    color: #060a10;
    font: 800 .72rem/1 Syne, Arial, sans-serif;
}

.gear-steps h3,
.gear-fact-grid h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.gear-steps p,
.gear-fact-grid p,
.gear-safety-note p,
.gear-faq p {
    margin: 0;
    color: #94a5b7;
    font-size: .83rem;
    line-height: 1.67;
}

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

.gear-fact-grid article>span {
    border: 1px solid rgba(0, 206, 168, .35);
    background: rgba(0, 206, 168, .08);
    color: var(--gear-teal);
}

.gear-safety-note {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid rgba(253, 225, 0, .25);
    border-radius: 15px;
    background: rgba(253, 225, 0, .045);
}

.gear-safety-note strong { color: var(--gear-yellow); font: 800 .82rem/1.3 Syne, Arial, sans-serif; }
.gear-faq-shell { max-width: 920px; }
.gear-faq { border-top: 1px solid var(--gear-line); }
.gear-faq article { padding: 24px 0; border-bottom: 1px solid var(--gear-line); }
.gear-faq h3 { margin: 0 0 9px; font-size: 1rem; }

.gear-download-dialog {
    width: min(650px, calc(100% - 30px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: #0e151f;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
    color: #e8eef5;
}

.gear-download-dialog::backdrop { background: rgba(1, 5, 9, .8); backdrop-filter: blur(5px); }
.gear-download-dialog form { position: relative; display: grid; gap: 15px; padding: 30px; overflow: auto; }
.gear-download-dialog h2 { margin: 0; padding-right: 125px; font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.15; }
.gear-download-dialog form>p:not(.gear-kicker) { margin: 0; color: #9eafc1; font-size: .8rem; line-height: 1.6; }

.elementor-kit-723 .gear-download-dialog .gear-dialog-close,
.gear-download-dialog .gear-dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    min-width: 108px;
    min-height: 40px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid var(--gear-yellow);
    border-radius: 8px;
    background: var(--gear-yellow);
    box-shadow: none;
    color: #060a10;
    font: 800 .7rem/1 Syne, Arial, sans-serif;
    cursor: pointer;
}

.gear-dialog-notice { padding: 15px; border: 1px solid var(--gear-line); border-radius: 10px; background: #09111a; }
.gear-dialog-notice strong { display: block; margin-bottom: 5px; color: #fff; font: 800 .76rem Syne, Arial, sans-serif; }
.gear-dialog-notice p { margin: 0; color: #92a4b7; font-size: .74rem; line-height: 1.55; }
.gear-dialog-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: #d7e0e9; font-size: .75rem; line-height: 1.5; cursor: pointer; }
.gear-dialog-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gear-teal); }
.gear-dialog-actions { display: flex; justify-content: flex-end; }

.elementor-kit-723 .gear-download-dialog #gear-download-confirm,
#gear-download-confirm {
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid var(--gear-teal);
    border-radius: 8px;
    background: var(--gear-teal);
    box-shadow: none;
    color: #03110e;
    font: 800 .72rem/1 Syne, Arial, sans-serif;
    cursor: pointer;
}

.elementor-kit-723 .gear-download-dialog #gear-download-confirm:disabled {
    border-color: #263442;
    background: #18222d;
    color: #718296;
    cursor: not-allowed;
}

@media (max-width: 1120px) {
    .gear-app { grid-template-columns: 370px minmax(0, 1fr); }
    .gear-fields--two { grid-template-columns: minmax(0, 1fr); }
    .gear-preview-column { grid-template-rows: minmax(500px, 1fr) auto; }
    .gear-preview-card { min-height: 590px; }
    .gear-canvas-wrap { min-height: 450px; }
}

@media (max-width: 850px) {
    .gear-shell { width: min(100% - 36px, 720px); }
    .gear-hero { padding: 145px 0 66px; }
    .gear-section-heading { display: grid; gap: 14px; align-items: start; }
    .gear-section-heading>p { text-align: left; }
    .gear-app { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'preview' 'config' 'download'; }
    .gear-config { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gear-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gear-preview-card { min-height: 540px; }
    .gear-canvas-wrap { min-height: 410px; }
    .gear-steps, .gear-fact-grid { grid-template-columns: minmax(0, 1fr); }
    .gear-safety-note { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 620px) {
    .gear-shell { width: min(100% - 28px, 520px); }
    .gear-hero { padding: 124px 0 52px; }
    .gear-breadcrumb { flex-wrap: wrap; margin-bottom: 20px; font-size: .7rem; }
    .gear-hero h1 { font-size: clamp(2rem, 10.5vw, 3rem); }
    .gear-hero-inner>p:last-child { font-size: .94rem; }
    .gear-designer, .gear-content-section { padding: 58px 0; }
    .gear-config { grid-template-columns: minmax(0, 1fr); }
    .gear-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gear-config-card { padding: 19px; }
    .gear-preview-card { min-height: 450px; }
    .gear-canvas-wrap { min-height: 330px; }
    .gear-preview-toolbar { align-items: flex-start; }
    .gear-toolbar-actions { display: grid; }
    .elementor-kit-723 .gear-page .gear-toolbar-actions button { min-height: 31px; }
    .gear-preview-footer { display: grid; }
    .gear-preview-footer strong { text-align: left; }
    .gear-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gear-metrics>div:nth-child(2) { border-right: 0; }
    .gear-metrics>div:nth-child(-n+2) { border-bottom: 1px solid var(--gear-line); }
    .gear-download-card { display: grid; gap: 18px; padding: 22px; }
    .elementor-kit-723 .gear-page #gear-download-stl { width: 100%; min-width: 0; }
    .gear-content-section--faq { padding-bottom: 80px; }
    .gear-download-dialog form { padding: 25px 18px; }
    .gear-download-dialog h2 { padding: 48px 0 0; }
    .gear-dialog-actions, #gear-download-confirm { width: 100%; }
}

@media (max-width: 390px) {
    .gear-fields--two { grid-template-columns: minmax(0, 1fr); }
    .gear-preview-toolbar { display: grid; }
    .gear-toolbar-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .gear-loader i { animation-duration: 1.6s; }
    .gear-page *, .gear-download-dialog * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
