/* CSS Variables for Premium Metal-Mechanical Theme */
:root {
    --bg-dark: #070b14;
    --bg-surface: #0f1626;
    --bg-surface-elevated: #151f32;
    --primary-cyan: #00A3FF;
    --primary-glow: rgba(0, 163, 255, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-metal: #475569;
    --glass-bg: rgba(15, 22, 38, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-cyan);
    text-transform: uppercase;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-cyan);
    margin-bottom: 3rem;
    box-shadow: 0 0 10px var(--primary-glow);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-section { margin-top: 5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: #33b8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--primary-cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-cyan);
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--primary-cyan);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #111a2f 0%, #070b14 100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(7, 11, 20, 0.8), rgba(7, 11, 20, 0.9)),
        url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z" fill="rgba(255,255,255,0.02)" fill-rule="evenodd"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.3);
    color: var(--primary-cyan);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #fff, #8cb5df);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-cyan);
    font-style: italic;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Sections */
.section {
    padding: 6rem 0;
}

.dark-section {
    background-color: var(--bg-surface);
}

/* Company Info Grid */
.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--bg-surface-elevated);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 163, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.lead-text {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.mv-card {
    background: var(--bg-surface-elevated);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-cyan);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.mv-icon {
    background: rgba(0, 163, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
    color: var(--primary-cyan);
}

.mv-card h3 {
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.value-item:hover {
    background: var(--bg-surface-elevated);
    transform: translateY(-5px);
}

.value-icon {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Process Timeline */
.process-section {
    position: relative;
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-metal);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.2);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.6);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Capabilities Grid */
.core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.core-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.core-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-cyan);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.core-card:hover {
    background: var(--bg-surface-elevated);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.core-card:hover::before {
    transform: scaleY(1);
}

.core-icon {
    color: var(--primary-cyan);
    width: 36px;
    height: 36px;
    margin-bottom: 1.5rem;
}

.core-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.core-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Detailed Capabilities Sections */
.detail-section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.detail-section.alt-bg {
    background-color: var(--bg-surface);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-grid.reverse .detail-content {
    order: 2;
}

.detail-grid.reverse .detail-visual {
    order: 1;
}

.detail-title {
    font-size: 2rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.detail-lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.detail-list li i {
    color: var(--primary-cyan);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.detail-list li strong {
    color: var(--text-main);
}

.detail-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.detail-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(0, 163, 255, 0.2);
    transition: var(--transition-smooth);
}

.detail-img:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 40px rgba(0, 163, 255, 0.3);
}

.bg-white {
    background-color: #ffffff;
}

.p-2 {
    padding: 0.5rem;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.1), rgba(15, 22, 38, 0.8));
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 163, 255, 0.05), 0 20px 40px rgba(0,0,0,0.5);
    transform: rotate(5deg);
    transition: var(--transition-smooth);
}

.abstract-shape:hover {
    transform: rotate(0deg) scale(1.05);
    border-color: rgba(0, 163, 255, 0.5);
    box-shadow: inset 0 0 50px rgba(0, 163, 255, 0.1), 0 20px 40px rgba(0,0,0,0.8);
}

.huge-icon {
    width: 100px;
    height: 100px;
    color: var(--primary-cyan);
    opacity: 0.8;
}

/* Welding Cards Special Section */
.welding-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* --- LASER CUTTING LOGO ANIMATION --- */
.laser-cut {
    stroke-dasharray: 280;
    stroke-dashoffset: 280;
    animation: laser-cutting 3s linear infinite;
    filter: drop-shadow(0 0 3px var(--primary-cyan));
    transition: all 0.3s ease;
}

.logo:hover .laser-cut {
    animation: laser-cutting-fast 0.8s linear infinite, laser-spark 0.05s alternate infinite;
    stroke: #ffffff;
    stroke-width: 8;
}

@keyframes laser-spark {
    0% { filter: drop-shadow(0 0 5px var(--primary-cyan)) drop-shadow(0 0 15px var(--primary-cyan)); }
    100% { filter: drop-shadow(0 0 20px #ffffff) drop-shadow(0 0 40px var(--primary-cyan)) drop-shadow(0 0 60px #ffffff); }
}

@keyframes laser-cutting-fast {
    0% { stroke-dashoffset: 280; }
    100% { stroke-dashoffset: -280; }
}

@keyframes laser-cutting {
    0% {
        stroke-dashoffset: 280;
    }
    40% {
        stroke-dashoffset: 0;
    }
    60% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -280;
    }
}

.welding-card {
    background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.welding-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.welding-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-10px);
}

.welding-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.welding-card h3 {
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.welding-card p {
    color: var(--text-muted);
}

/* Quote Section */
.quote-section {
    background: linear-gradient(rgba(7, 11, 20, 0.9), rgba(7, 11, 20, 0.9)), url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z" fill="rgba(0,163,255,0.03)" fill-rule="evenodd"/></svg>');
    padding: 8rem 0;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: rgba(0, 163, 255, 0.3);
    margin-bottom: 2rem;
}

.main-quote {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.main-quote span {
    color: var(--primary-cyan);
    font-weight: 600;
}

.quote-author {
    color: var(--primary-cyan);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: #04070d;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--primary-cyan);
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-style: italic;
}

.footer-contact h3 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-links li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.contact-links i {
    color: var(--primary-cyan);
    width: 18px;
    height: 18px;
}

.contact-links a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--accent-metal);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid, .detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .detail-grid.reverse .detail-content, .detail-grid.reverse .detail-visual {
        order: unset;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .timeline-dot {
        margin: 0;
        flex-shrink: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-surface-elevated);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .main-quote {
        font-size: 1.8rem;
    }
}
