* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    overflow-x: hidden;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1a1a2e;
    letter-spacing: 0.5px;
}

/* Gear Logo */
.gear-logo {
    position: relative;
    width: 36px;
    height: 36px;
}

.gear-outer {
    width: 36px;
    height: 36px;
    border: 3px solid #e8740c;
    border-radius: 50%;
    position: relative;
    animation: gearSpin 8s linear infinite;
}

.gear-outer::before,
.gear-outer::after {
    content: '';
    position: absolute;
    background: #e8740c;
}

.gear-outer::before {
    width: 8px;
    height: 3px;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    border-radius: 2px;
    box-shadow:
        32px 0 0 #e8740c,
        16px -16px 0 #e8740c,
        16px 16px 0 #e8740c;
}

.gear-outer::after {
    width: 3px;
    height: 8px;
    left: 50%;
    top: -6px;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow:
        0 32px 0 #e8740c;
}

.gear-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #e8740c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes gearSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #e8740c;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e8740c;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #1a1a2e;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
}

.industrial-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Gear animations in hero */
.gear-anim {
    position: absolute;
    border: 3px solid rgba(232, 116, 12, 0.4);
    border-radius: 50%;
    animation: gearFloat 8s ease-in-out infinite;
}

.gear-anim::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    background: rgba(232, 116, 12, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.gear-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.gear-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.gear-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 25%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.gear-4 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 25%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.piston {
    position: absolute;
    width: 4px;
    height: 80px;
    background: rgba(232, 116, 12, 0.15);
    border-radius: 2px;
    animation: pistonMove 3s ease-in-out infinite;
}

.piston-1 {
    right: 15%;
    top: 40%;
    animation-delay: 0s;
}

.piston-2 {
    left: 40%;
    bottom: 25%;
    animation-delay: 1.5s;
}

@keyframes gearFloat {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
    25% { transform: rotate(90deg) scale(1.05); opacity: 0.8; }
    50% { transform: rotate(180deg) scale(1); opacity: 0.6; }
    75% { transform: rotate(270deg) scale(1.05); opacity: 0.8; }
}

@keyframes pistonMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 2rem;
}

.tech-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    padding: 8px 24px;
    border: 1px solid rgba(232, 116, 12, 0.5);
    border-radius: 50px;
    color: #e8740c;
    background: rgba(232, 116, 12, 0.08);
}

.main-title {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.1;
}

.sub-title {
    display: block;
    font-size: 1.6rem;
    font-weight: 300;
    opacity: 0.85;
    color: #ccd6e0;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #e8740c;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ============================================
   SECTION HEADERS
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.left-align {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e8740c;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 0 0 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #e8740c;
    transform: translateY(-50%);
}

.section-header h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    padding: 120px 0;
    background: #fafafa;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e8740c;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-svg {
    opacity: 0.9;
}

.about-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   SERVICES SECTION
============================================ */
.services {
    padding: 120px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-item {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8740c, #f5a623);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-item:hover::after {
    transform: scaleX(1);
}

.service-item.service-main {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.service-item.service-main .service-number {
    color: #e8740c;
}

.service-item.service-main h3 {
    color: white;
}

.service-item.service-main p {
    color: rgba(255, 255, 255, 0.75);
}

.service-item.service-main .service-list li {
    color: rgba(255, 255, 255, 0.65);
}

.service-item.service-main .service-list li::before {
    background: #e8740c;
}

.service-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #eee;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.service-content h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.35rem 0;
    color: #555;
    font-size: 0.9rem;
    position: relative;
    padding-left: 18px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #e8740c;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ============================================
   PRODUCTION SECTION
============================================ */
.production {
    padding: 120px 0;
    background: #fafafa;
}

.production-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.production-text p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.production-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prod-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.prod-feature:hover {
    border-color: #e8740c;
    box-shadow: 0 4px 15px rgba(232, 116, 12, 0.1);
}

.prod-feature-icon {
    flex-shrink: 0;
}

.prod-feature span {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

/* Machine Illustration */
.production-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.machine-illustration {
    width: 320px;
    height: 380px;
    position: relative;
}

.machine-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.machine-top {
    width: 280px;
    height: 40px;
    background: #2d3436;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.light-green {
    background: #00b894;
    animation: blink 2s ease-in-out infinite;
}

.light-orange {
    background: #e8740c;
    animation: blink 2s ease-in-out infinite 1s;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.machine-screen {
    width: 280px;
    height: 180px;
    background: #0a1628;
    border: 3px solid #2d3436;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    gap: 15px;
}

.screen-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e8740c, #f5a623);
    border-radius: 2px;
    animation: screenScan 3s ease-in-out infinite;
    opacity: 0.7;
}

.screen-line.short {
    width: 60%;
    animation-delay: 0.5s;
}

@keyframes screenScan {
    0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.machine-base {
    width: 300px;
    height: 120px;
    background: linear-gradient(180deg, #2d3436, #636e72);
    border-radius: 0 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.gear-visual {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(232, 116, 12, 0.5);
    border-radius: 50%;
    position: relative;
}

.gear-v1 {
    animation: gearSpin 4s linear infinite;
}

.gear-v2 {
    animation: gearSpin 4s linear infinite reverse;
}

.gear-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    background: rgba(232, 116, 12, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
    padding: 120px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.contact-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 116, 12, 0.08);
    border-radius: 10px;
}

.contact-item span {
    color: #444;
    font-size: 0.95rem;
}

/* Company Badges */
.company-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    padding: 6px 16px;
    background: rgba(232, 116, 12, 0.08);
    color: #e8740c;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e8740c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232, 116, 12, 0.08);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #e8740c;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d06a0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 116, 12, 0.25);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.footer-logo .gear-outer {
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-logo .gear-outer::before {
    background: rgba(255, 255, 255, 0.4);
    box-shadow:
        32px 0 0 rgba(255, 255, 255, 0.4),
        16px -16px 0 rgba(255, 255, 255, 0.4),
        16px 16px 0 rgba(255, 255, 255, 0.4);
}

.footer-logo .gear-outer::after {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 32px 0 rgba(255, 255, 255, 0.4);
}

.footer-logo .gear-inner {
    background: rgba(255, 255, 255, 0.4);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e8740c;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item.service-main {
        grid-template-columns: 1fr;
    }

    .production-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .production-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem 20px;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .sub-title {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITIES & GLOBAL
============================================ */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e8740c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d06a0b;
}

/* Selection color */
::selection {
    background: rgba(232, 116, 12, 0.2);
    color: #1a1a2e;
}
