/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(10, 10, 15, 0.8);
    --accent: #ff6b35;
    --accent-light: #ff8f5e;
    --accent-dark: #e55a28;
    --accent-glow: rgba(255, 107, 53, 0.3);
    --accent-subtle: rgba(255, 107, 53, 0.08);
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #5a5a6a;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
    --container-max: 1280px;
    --section-padding: 140px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== LIGHT THEME ===== */
:root[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f2f5;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.07);
    --bg-glass: rgba(248, 249, 250, 0.85);
    /* Accents remain the same for brand consistency */
    --accent: #e55a28;
    --accent-light: #ff6b35;
    --accent-dark: #c44015;
    --accent-glow: rgba(229, 90, 40, 0.15);
    --accent-subtle: rgba(229, 90, 40, 0.08);
    --text-primary: #1a1a24;
    --text-secondary: #5a5a6a;
    --text-muted: #8a8a9a;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.toggle-icon {
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

:root[data-theme="dark"] .toggle-icon.moon,
:root:not([data-theme="light"]) .toggle-icon.moon {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

:root[data-theme="light"] .toggle-icon.sun {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

html {
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: clip;
    line-height: 1.6;
    transition: background-color 0.8s ease;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-size: 3rem;
    color: var(--accent);
    animation: preloaderPulse 1s ease infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.preloader-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: var(--text-primary);
    margin-top: 16px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    margin-top: 24px;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0;
    background: var(--accent);
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
    to {
        width: 100%;
    }
}

/* ===== CURSOR ===== */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-dot.hovering {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.3);
}

/* ===== PARTICLES ===== */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(10, 10, 15, 0.95);
}

:root[data-theme="light"] .navbar.scrolled {
    background: rgba(248, 249, 250, 0.95);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.1rem;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-cta {
    color: var(--accent) !important;
    padding: 10px 24px;
    border: 1px solid var(--accent);
    border-radius: 100px;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Mobile-only Contact Us button in navbar */
.nav-contact-mobile {
    display: none;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-contact-mobile:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
}

/* Parallax floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 53, 0.1);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -5%;
    background: rgba(255, 107, 53, 0.03);
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 15%;
    border-color: rgba(255, 107, 53, 0.2);
}

.shape-4 {
    width: 300px;
    height: 300px;
    bottom: -10%;
    right: 20%;
    border-color: rgba(255, 107, 53, 0.05);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 40px;
}

/* ===== HERO FLANKING TOWERS ===== */
.hero-tower {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: none;
    width: 0;
    height: 0;
}

.hero-tower .tower-visual {
    position: absolute;
    bottom: -30px;
    /* Aligns the golden block (which is at 30px from bottom) exactly to the anchor */
    left: -50px;
    /* Center the 100px tower horizontally on the anchor */
    transform: scale(0.85);
    transform-origin: center calc(100% - 30px);
    /* Mathematical center of the gold motor! */
}

/* Responsive scaling for the hero towers */
@media (max-width: 1400px) {
    .hero-tower .tower-visual {
        transform: scale(0.75);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(24px, 6vw, 34px);
    }

    .hero-subtitle {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(18px, 5.5vw, 26px);
    }

    .hero-subtitle {
        font-size: 0.66rem;
    }
}


@media (max-width: 1280px) {
    .hero-tower .tower-visual {
        transform: scale(0.65);
    }
}

@media (max-width: 1024px) {
    .hero-tower .tower-visual {
        transform: scale(0.5);
    }
}

@media (max-width: 768px) {
    .hero-tower .tower-visual {
        transform: scale(0.4);
    }
}

@media (max-width: 480px) {
    .hero-tower .tower-visual {
        transform: scale(0.3);
    }
}

@media (max-width: 360px) {
    .hero-tower .tower-visual {
        transform: scale(0.25);
    }
}

.hero-tower .part-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
}

.hero-tower-left {
    top: 50%;
    left: 50%;
    margin-left: max(-45vw, -700px);
    margin-top: 40px;
    /* Downward shift to align with beam */
    transform: translateX(-400px);
    /* JS animates this to 0 */
}

.hero-tower-right {
    top: 50%;
    right: 50%;
    margin-right: max(-45vw, -700px);
    margin-top: 40px;
    /* Downward shift to align with beam */
    transform: translateX(400px);
    /* JS animates this to 0 */
}

/* ===== HERO WIRE RAY (Cutting Effect) ===== */
.hero-wire-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    max-width: 1400px;
    height: 4px;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.hero-wire-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%) scaleX(0);
    background: linear-gradient(90deg,
            transparent 0%,
            #ff6b35 8%,
            #ff8c42 20%,
            #ffaa00 40%,
            #ffcc33 50%,
            #ffaa00 60%,
            #ff8c42 80%,
            #ff6b35 92%,
            transparent 100%);
    transform-origin: center;
}

.hero-wire-glow {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 30px;
    transform: translateY(-50%) scaleX(0);
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 107, 53, 0.3) 10%,
            rgba(255, 170, 0, 0.5) 35%,
            rgba(255, 204, 51, 0.6) 50%,
            rgba(255, 170, 0, 0.5) 65%,
            rgba(255, 107, 53, 0.3) 90%,
            transparent 100%);
    filter: blur(12px);
    transform-origin: center;
    animation: heroWireFlicker 3s ease-in-out infinite;
}

@keyframes heroWireFlicker {

    0%,
    100% {
        opacity: 0.7;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    75% {
        opacity: 1;
    }
}

/* ===== TEXT CUTTING EFFECT ===== */
.cut-text-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    white-space: nowrap;
}

.cut-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transform-origin: center center;
}

.cut-layer.top-layer {
    /* Top half cut relative to the 0deg rotated layer */
    clip-path: polygon(-50% -50%, 150% -50%, 150% 50%, -50% 50%);
}

.cut-layer.bottom-layer {
    /* Bottom half cut relative to the 0deg rotated layer */
    clip-path: polygon(-50% 50%, 150% 50%, 150% 150%, -50% 150%);
}

.cut-inner {
    transform: rotate(0deg);
    transform-origin: center center;
    display: inline-block;
    white-space: nowrap !important;
    width: max-content;
    flex-shrink: 0;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-subtle);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-title .smaller-text {
    font-size: 0.6em;
    /* You can change 0.6 to any size you want */
    display: inline-block;
    color: var(--accent);
}


.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotateX(40deg);
}

/* Accent color for "Cutting." */
.hero-title .char.accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-light);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ===== MATERIALS SLIDER ===== */
.materials-slider-section {
    padding: 100px 0 80px;
    overflow: hidden;
    position: relative;
}

.materials-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.materials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: orangered;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: visible;
}

.materials-carousel:hover .carousel-nav {
    opacity: 8;
    visibility: visible;
}

.carousel-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

.materials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    transition: transform 0.5s ease;
}

@keyframes materialsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.material-slide {
    flex-shrink: 0;
    width: 380px;
    text-align: center;
}

.material-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.4s ease;
    cursor: pointer;
}

.material-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

.material-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.material-card:hover img {
    transform: scale(1.05);
}

.material-label {
    padding: 16px 10px 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    text-align: center;
    transition: color 0.3s ease;
}

.material-slide:hover .material-label {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .materials-slider-section {
        padding: 80px 0 60px;
    }

    .material-slide {
        width: 330px;
    }

    .material-card img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .materials-slider-section {
        padding: 60px 0 50px;
    }

    .material-slide {
        width: 280px;
    }

    .material-card img {
        height: 200px;
    }

    .material-label {
        font-size: 0.92rem;
        padding: 12px 8px 6px;
    }

    .materials-track {
        gap: 22px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        opacity: 0.8;
        visibility: visible;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .materials-slider-section {
        padding: 50px 0 40px;
    }

    .material-slide {
        width: 240px;
    }

    .material-card img {
        height: 170px;
    }

    .material-label {
        font-size: 0.82rem;
        padding: 10px 6px 4px;
    }

    .materials-track {
        gap: 16px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 0 50px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== SECTION COMMON ===== */
.section-header {
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.products-header {
    text-align: center;
    margin-bottom: 30px;
}

.highlight {
    color: var(--accent);
    font-style: normal;
}

.giant-text {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* Split text chars */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
}

.split-text .char-space {
    display: inline-block;
    width: 0.3em;
}

/* ===== BIG TEXT MARQUEE ===== */
.big-text-section {
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.big-text-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: bigTextScroll 20s linear infinite;
    width: max-content;
    white-space: nowrap;
}

.big-text-item {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    letter-spacing: 4px;
    transition: all 0.4s ease;
}

.big-text-item:hover {
    -webkit-text-stroke-color: var(--accent);
    color: rgba(255, 107, 53, 0.1);
    text-shadow: 0 0 40px var(--accent-glow);
}

.big-text-dot {
    color: var(--accent);
    font-size: 1.5rem;
}

@keyframes bigTextScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== COLOR REVEAL TEXT ===== */
.color-reveal-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.color-reveal-text .word {
    display: inline-block;
    transition: color 0.3s ease;
}

.color-reveal-text .word.revealed {
    color: var(--text-primary);
}

/* ===== ABOUT ===== */
.about {
    padding: var(--section-padding) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease-out-expo);
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Scale-in animation class */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
}

/* ===== MACHINE IMAGE REVEAL ===== */
/* ===== PRODUCTS SHOWCASE ===== */
.after-hero-products-heading {
    padding: 40px 0 10px;
    position: relative;
}

.after-hero-products-heading .products-header {
    margin-bottom: 20px;
}

.products-showcase-section {
    padding: 0;
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.products-showcase-section>.container {
    width: 100%;
    margin-top: -90px;
    /* Reduced upper space */
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
    align-items: stretch;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    background: #f2f2f2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info {
    padding: 24px 20px 14px;
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.product-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 16px;
}

.product-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-product-learn {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1a1a2e;
    border: 1.5px solid #1a1a2e;
    border-radius: 100px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-product-learn:hover {
    background: #1a1a2e;
    color: #fff;
    transform: translateY(-2px);
}

.btn-product-buy {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    background: #1a1a2e;
    border: 1.5px solid #1a1a2e;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-product-buy:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.product-image-area {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px 15px 0;
    min-height: 240px;
}

.product-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.02);
}

/* Coming Soon Card */
.coming-soon-area {
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.coming-soon-placeholder {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.coming-soon-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.4;
    animation: pulse 2s infinite;
}

.coming-soon-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #999;
}

.coming-soon-sub {
    font-size: 0.85rem;
    color: #bbb;
    max-width: 200px;
}

/* ===== FEATURES ===== */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.features-header-pin {
    position: sticky;
    top: 120px;
}

.features-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px) scale(1.01);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-inner {
    padding: 36px;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 20px;
    align-items: start;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    opacity: 0.5;
}

.feature-icon-wrap {
    flex-shrink: 0;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent-subtle);
    color: var(--accent);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: white;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    grid-column: 3;
}

/* ===== HORIZONTAL SCROLL PROCESS ===== */
.process-section {
    padding: 0;
    position: relative;
    background: var(--bg-primary);
    z-index: 5;
    height: 300vh;
}

.process-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.horizontal-scroll-wrapper {
    overflow: visible;
    position: relative;
    margin-top: 60px;
    padding: 0;
    display: flex;
    justify-content: center;
}

.h-scroll-nav {
    display: none;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

.horizontal-track {
    display: flex;
    gap: clamp(16px, 2vw, 32px);
    padding: 0 clamp(16px, 4vw, 40px);
    width: max-content;
}

.h-card {
    width: clamp(240px, 22vw, 340px);
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 36px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.h-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.h-card:hover {
    border-color: var(--accent-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.h-card:hover::after {
    opacity: 1;
}

.h-card-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
    margin-bottom: 24px;
}

.h-card-icon {
    color: var(--accent);
    margin-bottom: 24px;
}

.h-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.h-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Cover Card */
.cover-card {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -10px;
    transform: translate(-50%, -50%);
    width: 340px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 20;
}

.cover-card-inner {
    color: white;
}

.cover-card .cover-logo {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.cover-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--accent-light);
}

/* ===== SPECS ===== */
.specs {
    padding: var(--section-padding) 0;
    position: relative;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.spec-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-glow);
    transform: translateY(-6px);
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 8px;
}

.spec-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-light);
}

.spec-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.spec-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== MARQUEE ===== */
.applications {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.app-marquee {
    overflow: hidden;
    margin-top: 30px;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
}

.app-marquee.reverse .marquee-track {
    animation-direction: reverse;
    animation-duration: 40s;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    padding: 12px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.4s ease;
}

.marquee-item.outlined {
    background: transparent;
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.04);
}

.marquee-item:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-subtle);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--section-padding) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    color: var(--accent);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TILT CARD 3D ===== */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 800px;
}

/* ===== RESPONSIVE ===== */

/* --- Large desktops & high-res screens --- */
@media (min-width: 1441px) {
    :root {
        --container-max: 1400px;
    }

    .hero-content {
        max-width: 1100px;
    }
}

/* --- Standard laptops & small desktops (up to 1280px) --- */
@media (max-width: 1280px) {
    .container {
        padding: 0 32px;
    }

    .nav-container {
        padding: 0 32px;
    }

    .nav-links {
        gap: 24px;
    }



    .hero-wire-ray {
        width: 95vw;
    }

    .products-grid {
        max-width: 100%;
    }

    .features-layout {
        gap: 50px;
    }
}

/* --- Tablets & small laptops (up to 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    :root {
        --section-padding: 100px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-header-pin {
        position: relative;
        top: 0;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .assembly-stage {
        width: 500px;
        height: 350px;
    }

    .base-platform {
        width: 420px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-contact-mobile {
        display: inline-flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px 40px;
        border-bottom: 1px solid var(--border);
        gap: 20px;
        z-index: 999;
    }

    .process-section {
        height: auto;
        padding: var(--section-padding) 0;
    }

    .process-sticky {
        height: auto;
        position: relative;
        overflow: visible;
    }

    .horizontal-track {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 24px;
        padding: 0 16px;
    }

    .cover-card {
        display: none;
    }

    .h-card {
        width: 100%;
        max-width: 400px;
    }

    .assembly-bg-text {
        font-size: clamp(3rem, 15vw, 5rem);
        letter-spacing: 5px;
    }



    .tower-visual {
        width: 25px;
        height: 80px;
    }

    .tower-rail {
        height: 100px;
    }

    .thermocol-block {
        width: 15px;
        height: 60px;
    }

    /* Products grid goes to 2 col with less gap */
    .products-grid {
        gap: 20px;
    }

    .product-info {
        padding: 24px 20px 18px;
    }

    .product-image-area {
        min-height: 240px;
    }

    /* Feature card inner goes simpler on tablet */
    .feature-card-inner {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }

    .feature-number {
        display: none;
    }

    .feature-card p {
        grid-column: 2;
    }

    /* Section header spacing */
    .section-header {
        margin-bottom: 60px;
    }

    /* Contact value text wrap */
    .contact-value {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* --- Tablets portrait & large phones (up to 768px) --- */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --section-padding: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links.active {
        padding: 24px 20px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.1rem);
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .feature-card-inner {
        grid-template-columns: 1fr;
    }

    .feature-card p {
        grid-column: 1;
    }

    .assembly-stage {
        width: 90vw;
        height: 300px;
    }

    .base-platform {
        width: 85vw;
    }



    .tower-visual {
        width: 12px;
        height: 40px;
        border-radius: 3px;
    }

    .tower-rail {
        height: 60px;
        width: 1px;
    }

    .thermocol-block {
        height: 30px;
        width: 6px;
    }

    .assembly-scroll-progress {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .cursor-glow,
    .cursor-dot {
        display: none;
    }

    .faq-list {
        max-width: 100%;
    }

    .products-showcase-section {
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 60px 0;
    }

    .products-showcase-section>.container {
        margin-top: 0;
    }

    /* Products grid stays 2 columns for 100vh snap */
    .products-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        max-width: 100%;
        gap: 12px;
    }

    .products-header {
        margin-bottom: 20px;
    }

    .products-header .section-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .product-info {
        padding: 16px 14px 10px;
    }

    .product-name {
        font-size: clamp(1rem, 3vw, 1.3rem);
        margin-bottom: 4px;
    }

    .product-tagline {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    .product-buttons {
        gap: 8px;
    }

    .btn-product-learn,
    .btn-product-buy {
        padding: 7px 14px;
        font-size: 0.75rem;
    }

    .product-image-area {
        min-height: 160px;
        padding: 10px 10px 0;
    }

    .coming-soon-area {
        padding: 20px 16px;
        min-height: 300px;
    }

    .coming-soon-icon {
        font-size: 1.8rem;
    }

    .coming-soon-text {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .coming-soon-sub {
        font-size: 0.75rem;
    }

    /* Contact info adjustments */
    .contact-card {
        padding: 28px 24px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    /* Section spacing */
    .section-header {
        margin-bottom: 50px;
    }

    /* H cards */
    .h-card {
        max-width: 100%;
        padding: 36px 28px;
    }

    /* Hero subtitle */
    .hero-subtitle {
        font-size: 0.76rem;
        line-height: 1.7;
    }

    /* Big text marquee */
    .big-text-item {
        font-size: clamp(1.5rem, 4vw, 3rem);
        letter-spacing: 2px;
    }

    /* Marquee items */
    .marquee-item {
        font-size: clamp(1rem, 2vw, 1.4rem);
        padding: 10px 20px;
    }

    /* About card */
    .about-card {
        padding: 28px;
    }

    /* Spec cards */
    .spec-value {
        font-size: 2.5rem;
    }

    /* Industry cards */
    .industry-card {
        padding: 28px 24px;
    }

    /* FAQ adjustments */
    .faq-question {
        padding: 20px 24px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 24px 20px;
    }
}

/* --- Small phones (up to 600px) --- */
@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .h-card,
    .cover-card {
        width: 100%;
        max-width: 100%;
        padding: 32px 22px;
        min-height: auto;
    }

    .cover-card {
        width: 280px;
        min-height: 400px;
        margin-top: 0;
    }

    .h-card-number {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    /* Cut text wrapper - allow wrapping on small screens */
    .cut-text-wrapper {
        white-space: normal;
    }

    .cut-inner {
        white-space: normal !important;
    }

    /* Hero stat number */
    .stat-number {
        font-size: 2rem;
    }

    /* Product buttons stack */
    .product-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-product-learn,
    .btn-product-buy {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Contact value font size */
    .contact-value {
        font-size: 0.88rem;
    }

    /* Feature card icon */
    .feature-icon {
        width: 48px;
        height: 48px;
    }

    /* Spec card */
    .spec-card {
        padding: 28px 20px;
    }

    .spec-value {
        font-size: 2.2rem;
    }
}

/* --- Extra small phones (up to 480px) --- */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 12px;
    }

    .hero-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 0.72rem;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .nav-links.active {
        padding: 24px 16px;
    }

    .assembly-stage {
        transform: scale(0.65);
        transform-origin: center center;
    }

    .assembly-progress {
        bottom: 20px;
    }

    .asm-step h3 {
        font-size: 1rem;
    }

    .asm-step p {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        max-width: 100%;
        gap: 10px;
    }

    .products-header {
        margin-bottom: 16px;
    }

    .product-info {
        padding: 14px 10px 8px;
    }

    .product-name {
        font-size: clamp(0.9rem, 4vw, 1.15rem);
        margin-bottom: 2px;
    }

    .product-tagline {
        font-size: 0.72rem;
        margin-bottom: 8px;
    }

    .btn-product-learn,
    .btn-product-buy {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .product-image-area {
        min-height: 120px;
        padding: 8px 8px 0;
    }

    .coming-soon-area {
        padding: 16px 10px;
        min-height: 260px;
    }

    .coming-soon-icon {
        font-size: 1.5rem;
    }

    .coming-soon-text {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .coming-soon-sub {
        font-size: 0.7rem;
        max-width: 150px;
    }

    .spec-card {
        padding: 24px 16px;
    }

    .contact-card {
        padding: 24px 16px;
    }

    .contact-item {
        gap: 12px;
        padding: 16px 0;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .contact-label {
        font-size: 0.75rem;
    }

    .contact-value {
        font-size: 0.85rem;
    }

    .industry-card {
        padding: 24px 20px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
        gap: 12px;
    }

    .faq-answer {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }

    .section-title,
    .giant-text {
        letter-spacing: -1px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-tag {
        font-size: 0.7rem;
        letter-spacing: 2px;
        padding-left: 24px;
    }

    .section-tag::before {
        width: 14px;
    }

    /* Feature card padding */
    .feature-card-inner {
        padding: 28px 20px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* About cards */
    .about-card {
        padding: 24px 20px;
    }

    .about-card h3 {
        font-size: 1.15rem;
    }

    .about-card p {
        font-size: 0.9rem;
    }

    /* H-card process cards */
    .h-card {
        padding: 28px 20px;
    }

    .h-card h3 {
        font-size: 1.1rem;
    }

    .h-card p {
        font-size: 0.9rem;
    }

    /* Big text */
    .big-text-item {
        font-size: clamp(1.2rem, 4vw, 2rem);
        letter-spacing: 1px;
    }

    .big-text-dot {
        font-size: 1rem;
    }

    /* Buttons slightly smaller */
    .btn {
        padding: 13px 24px;
        font-size: 0.85rem;
    }

    .btn-primary {
        box-shadow: 0 0 20px var(--accent-glow);
    }

    /* Hero badge */
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
        letter-spacing: 0.5px;
        margin-bottom: 24px;
    }

    /* Footer adjustments */
    .footer {
        padding: 40px 0 30px;
    }

    .footer-links {
        gap: 12px 20px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    /* Preloader */
    .preloader-text {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .preloader-logo {
        font-size: 2.5rem;
    }

    /* Marquee items */
    .marquee-item {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        padding: 8px 16px;
    }
}

/* --- Very small phones (up to 360px) --- */
@media (max-width: 360px) {
    :root {
        --section-padding: 50px;
    }

    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .hero-content {
        padding: 0 8px;
    }

    .hero-title {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }

    .hero-subtitle {
        font-size: 0.66rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 5px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .giant-text {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .spec-value {
        font-size: 1.8rem;
    }

    .spec-label {
        font-size: 0.88rem;
    }

    .spec-desc {
        font-size: 0.78rem;
    }

    .nav-logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .product-info {
        padding: 20px 16px 14px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-tagline {
        font-size: 0.85rem;
    }

    .btn-product-learn,
    .btn-product-buy {
        padding: 9px 18px;
        font-size: 0.8rem;
    }

    .product-image-area {
        min-height: 130px;
    }

    .product-info {
        padding: 20px 16px 14px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-tagline {
        font-size: 0.85rem;
    }

    .btn-product-learn,
    .btn-product-buy {
        padding: 9px 18px;
        font-size: 0.8rem;
    }

    .contact-item {
        gap: 10px;
    }

    .contact-value {
        font-size: 0.8rem;
    }

    .industry-card h3 {
        font-size: 1rem;
    }

    .industry-card p {
        font-size: 0.85rem;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.88rem;
    }

    .faq-answer {
        padding: 0 16px 16px;
        font-size: 0.85rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.82rem;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .about-card {
        padding: 20px 16px;
    }

    .feature-card-inner {
        padding: 24px 16px;
    }

    .h-card {
        padding: 24px 16px;
    }
}

/* --- Industries responsive (standalone) --- */
@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.faq-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 16px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item[open] {
    background: var(--bg-card-hover);
    border-color: rgba(255, 107, 53, 0.2);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-answer {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer ul {
    margin-top: 12px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-answer ul li {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent);
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--accent-light);
}

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out-expo);
}

.industry-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.industry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.industry-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== INDUSTRIES RESPONSIVE ===== */
@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .h-card,
    .cover-card {
        width: 280px;
        padding: 36px 24px;
        min-height: 400px;
    }

    .cover-card {
        width: 280px;
        min-height: 400px;
        margin-top: 0;
    }

    .h-card-number {
        font-size: 3rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    }

    .hero-subtitle {
        font-size: 0.76rem;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-links.active {
        padding: 24px 16px;
    }

    .assembly-stage {
        transform: scale(0.65);
        transform-origin: center center;
    }

    .assembly-progress {
        bottom: 20px;
    }

    .asm-step h3 {
        font-size: 1rem;
    }

    .asm-step p {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 8px;
    }

    .product-info {
        padding: 12px 8px 6px;
    }

    .product-image-area {
        min-height: 110px;
        padding: 6px 6px 0;
    }

    .spec-card {
        padding: 24px 16px;
    }

    .contact-card,
    .industry-card {
        padding: 24px 20px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
        gap: 12px;
    }

    .faq-answer {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }

    .section-title,
    .giant-text {
        letter-spacing: -1px;
    }
}

/* TOWER VISUAL (Restored for Hero Section) */
.part-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.part-visual {
    position: relative;
}

.tower-visual {
    position: relative;
    width: 100px;
    height: 300px;
}

.tower-base {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #8B6914, #c9a84c);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tower-motor {
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: 60px;
    height: 50px;
    background: linear-gradient(135deg, #777, #aaa, #777);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tower-rail {
    position: absolute;
    bottom: 60px;
    left: 20px;
    width: 6px;
    height: 220px;
    background: linear-gradient(180deg, #bbb, #888);
    border-radius: 3px;
}

.tower-rail.rail-2 {
    left: 70px;
}

.tower-plate {
    position: absolute;
    top: 0;
    left: 5px;
    width: 90px;
    height: 18px;
    background: linear-gradient(135deg, #333, #555, #333);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}