:root {
    --bg: #050814;
    --bg-alt: #0b1022;
    --accent: #2ea3ff;
    --accent-soft: rgba(46, 163, 255, 0.1);
    --text: #f5f7ff;
    --muted: #9aa3c3;
    --border: #1b2237;
    --danger: #ff4d4d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top, #141b3b, #050814 60%);
    color: var(--text);
}

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

/* Layout */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: linear-gradient(to bottom,
            rgba(5, 8, 20, 0.95),
            rgba(5, 8, 20, 0.8),
            transparent);
    border-bottom: 1px solid rgba(46, 163, 255, 0.1);
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.logo-mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #2ea3ff 40%, #050814 80%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 12px rgba(46, 163, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 34% 18%;
    border-radius: 999px;
    border: 2px solid rgba(5, 8, 20, 0.9);
    border-top-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(28deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.nav-links a {
    padding: 0.25rem 0;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2ea3ff, #88e0ff);
    transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn,
button {
    border: none;
    cursor: pointer;
    font: inherit;
}

.btn-primary {
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #2ea3ff, #00c6ff);
    color: #050814;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 18px rgba(46, 163, 255, 0.5);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(46, 163, 255, 0.75);
}

.btn-outline {
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 163, 195, 0.55);
    color: var(--muted);
    font-size: 0.88rem;
    background: rgba(5, 8, 20, 0.4);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-top: 2.25rem;
}

section {
    margin-bottom: 3rem;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--muted);
    background: radial-gradient(circle at left, rgba(46, 163, 255, 0.25), transparent 60%);
    border: 1px solid rgba(46, 163, 255, 0.45);
    margin-bottom: 0.75rem;
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2ea3ff;
    box-shadow: 0 0 8px rgba(46, 163, 255, 0.9);
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw + 1.2rem, 3rem);
    line-height: 1.1;
    margin: 0 0 0.75rem;
    letter-spacing: 0.01em;
}

.hero h1 span {
    background: linear-gradient(120deg, #2ea3ff, #8ce2ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 34rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}

.hero-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 163, 195, 0.3);
    background: rgba(8, 12, 32, 0.9);
    color: var(--muted);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(154, 163, 195, 0.7);
}

.hero-panel {
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    background:
        radial-gradient(circle at top left, rgba(46, 163, 255, 0.4), transparent 60%),
        radial-gradient(circle at bottom right, rgba(13, 222, 255, 0.15), #050814);
    border: 1px solid rgba(46, 163, 255, 0.6);
    box-shadow:
        0 0 28px rgba(46, 163, 255, 0.4),
        0 0 60px rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
}

.hero-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
}

.hero-panel-header strong {
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(245, 247, 255, 0.92);
}

.hero-panel-tag {
    font-size: 0.75rem;
    color: rgba(217, 225, 255, 0.9);
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 225, 255, 0.35);
    background: rgba(4, 10, 32, 0.8);
}

.hero-drawing {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0.85rem;
    margin-top: 0.35rem;
    align-items: stretch;
}

.drawing-card {
    border-radius: 12px;
    padding: 0.7rem;
    background: rgba(4, 10, 32, 0.9);
    border: 1px solid rgba(142, 154, 199, 0.45);
    position: relative;
}

.drawing-metrics {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.drawing-grid {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    border: 1px solid rgba(83, 99, 151, 0.7);
    background:
        linear-gradient(90deg,
            rgba(83, 99, 151, 0.32) 1px,
            transparent 1px),
        linear-gradient(180deg,
            rgba(83, 99, 151, 0.32) 1px,
            transparent 1px);
    background-size: 18px 18px;
    position: relative;
    overflow: hidden;
}

.drawing-geometry {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(224, 231, 255, 0.92);
    border-radius: 3px;
}

.drawing-geometry::before,
.drawing-geometry::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(224, 231, 255, 0.75);
    border-radius: 3px;
}

.drawing-geometry::before {
    inset: 18% 10% auto auto;
    width: 40%;
    height: 26%;
}

.drawing-geometry::after {
    inset: auto 23% 10% 12%;
    height: 40%;
    width: 34%;
}

.dimension-arrow {
    position: absolute;
    height: 1px;
    background: rgba(224, 231, 255, 0.8);
}

.dimension-arrow::before,
.dimension-arrow::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(224, 231, 255, 0.8);
    width: 6px;
    height: 6px;
}

.dimension-arrow.x {
    left: 18%;
    right: 18%;
    bottom: 8%;
}

.dimension-arrow.x::before {
    left: -2px;
    top: -3px;
    transform: rotate(45deg);
}

.dimension-arrow.x::after {
    right: -2px;
    top: -3px;
    transform: rotate(-135deg);
}

.dimension-arrow.y {
    top: 16%;
    bottom: 26%;
    right: 8%;
    width: 1px;
}

.dimension-arrow.y::before {
    top: -2px;
    left: -3px;
    transform: rotate(45deg);
}

.dimension-arrow.y::after {
    bottom: -2px;
    left: -3px;
    transform: rotate(-135deg);
}

.dimension-label {
    position: absolute;
    font-size: 0.63rem;
    color: rgba(224, 231, 255, 0.9);
    background: rgba(5, 8, 20, 0.95);
    padding: 0.05rem 0.25rem;
    border-radius: 999px;
    border: 1px solid rgba(83, 99, 151, 0.8);
}

.dimension-label.x {
    bottom: 11%;
    left: 50%;
    transform: translateX(-50%);
}

.dimension-label.y {
    right: 11%;
    top: 50%;
    transform: translateY(-50%);
}

.drawing-footer {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--muted);
}

.status-pill {
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: rgba(23, 146, 255, 0.16);
    border: 1px solid rgba(92, 178, 255, 0.65);
    color: rgba(184, 213, 255, 0.96);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.hero-panel-3d {
    border-radius: 12px;
    padding: 0.7rem;
    background: radial-gradient(circle at top, rgba(250, 250, 255, 0.1), rgba(4, 10, 32, 0.94));
    border: 1px solid rgba(142, 154, 199, 0.45);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-panel-3d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: rgba(224, 231, 255, 0.9);
}

.hero-panel-3d-tag {
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(224, 231, 255, 0.5);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-panel-3d-viewer {
    position: relative;
    border-radius: 10px;
    border: 1px solid rgba(142, 154, 199, 0.75);
    background: radial-gradient(circle at 30% 0%, rgba(250, 250, 255, 0.2), rgba(11, 17, 40, 0.96));
    padding: 0.6rem 0.6rem 0.75rem;
    overflow: hidden;
}

.viewer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    color: var(--muted);
}

.viewer-controls {
    display: inline-flex;
    gap: 0.32rem;
}

.viewer-btn {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(154, 163, 195, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    background: rgba(4, 10, 32, 0.8);
}

.viewer-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: radial-gradient(circle at 30% 0%, rgba(248, 249, 255, 0.1), rgba(4, 10, 32, 1));
    overflow: hidden;
}

.viewer-orbit {
    position: absolute;
    inset: 14%;
    border-radius: 999px;
    border: 1px dashed rgba(142, 154, 199, 0.6);
}

.viewer-model {
    position: absolute;
    inset: 25% 28%;
    border-radius: 18px;
    border: 2px solid rgba(248, 249, 255, 0.92);
    transform: rotate(26deg);
    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(116, 196, 255, 0.4);
}

.viewer-model::before,
.viewer-model::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(248, 249, 255, 0.8);
}

.viewer-model::before {
    inset: 16%;
    border-radius: 16px;
}

.viewer-model::after {
    inset: 36% 26%;
    border-radius: 999px;
}

.viewer-indicator {
    position: absolute;
    right: 8%;
    bottom: 12%;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: rgba(224, 231, 255, 0.9);
}

.viewer-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2ea3ff;
    box-shadow: 0 0 10px rgba(46, 163, 255, 1);
}

.hero-panel-3d-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--muted);
}

/* Sections */
.section-heading {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 32rem;
    margin-bottom: 1.35rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}

.card {
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: radial-gradient(circle at top left, rgba(46, 163, 255, 0.08), rgba(8, 12, 32, 0.98));
    border: 1px solid rgba(29, 39, 84, 0.9);
}

.card h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: rgba(184, 196, 232, 0.96);
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(92, 178, 255, 0.7);
    background: rgba(14, 24, 60, 0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* Samples */
.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.sample-card {
    border-radius: 12px;
    background: rgba(8, 12, 32, 0.96);
    border: 1px solid rgba(29, 39, 84, 0.9);
    padding: 0.7rem 0.8rem 0.85rem;
    font-size: 0.8rem;
}

.sample-label {
    margin-bottom: 0.4rem;
    color: rgba(224, 231, 255, 0.9);
    font-weight: 500;
}

.sample-thumbnail {
    border-radius: 9px;
    border: 1px solid rgba(83, 99, 151, 0.75);
    background:
        linear-gradient(90deg,
            rgba(83, 99, 151, 0.32) 1px,
            transparent 1px),
        linear-gradient(180deg,
            rgba(83, 99, 151, 0.32) 1px,
            transparent 1px);
    background-size: 14px 14px;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.sample-geometry {
    position: absolute;
    inset: 16%;
    border-radius: 4px;
    border: 1px solid rgba(224, 231, 255, 0.9);
}

.sample-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 0.72rem;
}

.sample-tag {
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 163, 195, 0.6);
}

/* 3D viewer section */
.viewer-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 1.8rem;
    align-items: center;
}

.viewer-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.4rem;
}

.viewer-frame {
    border-radius: 14px;
    padding: 0.8rem;
    background: radial-gradient(circle at top, rgba(46, 163, 255, 0.13), rgba(8, 12, 32, 0.98));
    border: 1px solid rgba(29, 39, 84, 0.95);
}

.viewer-frame-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

form {
    display: grid;
    gap: 0.7rem;
    font-size: 0.86rem;
}

label {
    display: block;
    margin-bottom: 0.2rem;
    color: rgba(224, 231, 255, 0.92);
    font-size: 0.8rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.5rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(8, 12, 32, 0.98);
    color: var(--text);
    font: inherit;
    font-size: 0.86rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(46, 163, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(46, 163, 255, 0.6);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.7rem;
}

.helper-text {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.contact-meta-card {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: radial-gradient(circle at top left, rgba(46, 163, 255, 0.12), rgba(8, 12, 32, 0.98));
    border: 1px solid rgba(29, 39, 84, 0.92);
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-meta-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(224, 231, 255, 0.94);
    font-size: 0.9rem;
}

footer {
    border-top: 1px solid rgba(29, 39, 84, 0.9);
    padding: 1rem 1.5rem 1.4rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
}

footer a {
    color: rgba(224, 231, 255, 0.94);
}

@media (max-width: 880px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .viewer-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav-links {
        display: none;
    }

    main {
        padding-inline: 1.1rem;
    }

    .nav {
        padding-inline: 1.1rem;
    }
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top, #141b3b, #050814 60%);
    color: var(--text);
    font-size: 18px;
    /* increased base font size */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* Standard */
}

.section-heading {
    font-size: 1.4rem;
    /* bigger section titles */
}

.section-subtitle,
.card p,
.helper-text,
.viewer-note {
    font-size: 1rem;
    /* bigger body text in key areas */
}

input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}