/* 
    FiberTech Splicing & Testing Stylesheet
    Theme: Modern Dark / Tech Blue
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=JetBrains+Mono&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #0a0c10;
    --bg-alt: #11141b;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --blue-primary: #00d0ff;
    --blue-glow: rgba(0, 208, 255, 0.3);
    --blue-dark: #0088aa;
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography Helpers */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-blue { color: var(--blue-primary); }
.font-mono { font-family: var(--font-mono); }

/* Layout Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    height: 4px;
    width: 60px;
    background: var(--blue-primary);
    margin: 0 auto;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--blue-primary);
    text-shadow: 0 0 10px var(--blue-glow);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--blue-primary);
    opacity: 1;
}

/* Language Switcher */
.lang-switch-wrapper {
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--blue-primary);
    color: var(--blue-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--blue-primary);
    color: #000;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-sans);
    text-align: center;
}

.btn-primary {
    background-color: var(--blue-primary);
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 20px var(--blue-glow);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--blue-primary);
    color: var(--blue-primary);
}

.btn-outline:hover {
    background-color: var(--blue-primary);
    color: #000;
}

.w-full { width: 100%; }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(0, 208, 255, 0.1) 0%, transparent 60%);
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid var(--text-muted);
    border-radius: 100px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--blue-primary);
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 25px; }
}

/* Services */
.services {
    padding: 8rem 0;
}

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

.service-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
    color: var(--blue-primary);
    margin-bottom: 1.5rem;
}

.service-icon.highlight {
    color: #ff4444;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* About Section */
.alternate-bg {
    background-color: var(--bg-alt);
}

.about {
    padding: 8rem 0;
}

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

.about-image {
    position: relative;
    height: 400px;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.placeholder-img {
    opacity: 0.4;
}

.img-stencil {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.stencil-line {
    position: absolute;
    background: var(--blue-primary);
    opacity: 0.3;
}

.stencil-line:nth-child(1) { top: 20px; left: 0; width: 40px; height: 1px; }
.stencil-line:nth-child(2) { top: 0; left: 20px; width: 1px; height: 40px; }

.why-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.why-icon {
    color: var(--blue-primary);
    font-weight: bold;
}

/* Workflow */
.workflow {
    padding: 8rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    padding: 2rem;
    border-left: 2px solid var(--border-color);
    transition: var(--transition);
}

.step:hover {
    border-left-color: var(--blue-primary);
}

.step-num {
    font-family: var(--font-mono);
    color: var(--blue-primary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 208, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
}

.contact-method h4 { font-size: 1rem; }
.contact-method p { color: var(--text-muted); }

.contact-form-wrapper {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

.hidden { display: none; }

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success h3 { margin: 1.5rem 0 0.5rem; }
.form-success p { color: var(--text-muted); margin-bottom: 2rem; }

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-group ul {
    list-style: none;
}

.footer-group ul li {
    margin-bottom: 0.8rem;
}

.footer-group a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-group a:hover { color: var(--blue-primary); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .about-container, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--bg-alt);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1001;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .burger { display: block; z-index: 1002; }
    
    .hero { text-align: center; justify-content: center; }
    .hero-btns { justify-content: center; }
    .hero-subtitle { margin-inline: auto; }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 3rem; }
    .footer-links { flex-direction: column; gap: 2rem; }
}

@media screen and (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
}
