/**
 * Technoplast Premium - Main High-Tech Industrial Stylesheet
 * Global Style Guide, Tokens, Base Layouts, blueprint matrix patterns, and animations.
 */

:root {
    --primary-blue: #0067b2;
    --accent-red: #ef3125;
    --dark-bg: #0b1622;
    --light-bg: #f8fafc;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(11, 22, 34, 0.7);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --font-headings: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-blue-glow: 0 0 25px rgba(0, 103, 178, 0.2);
    --shadow-red-glow: 0 0 25px rgba(239, 49, 37, 0.2);
}

/* -----------------------------------------------------------------------------
 * 1. BASE LAYOUT & TYPOGRAPHY RESET
 * ---------------------------------------------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    background-color: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-light);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--text-light);
}

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

/* -----------------------------------------------------------------------------
 * 2. INDUSTRIAL UTILITY SYSTEMS & BLUEPRINT PATTERNS
 * ---------------------------------------------------------------------------*/
.blueprint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 103, 178, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 103, 178, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.glow-ambient {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 103, 178, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.industrial-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
    width: 100%;
    margin: 4rem 0;
}

/* Glassmorphism panel base */
.glass-panel-base {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

/* Section Padding & Containers */
.section-padding {
    padding: 6rem 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* -----------------------------------------------------------------------------
 * 3. BUTTON SYSTEMS (.btn-primary, .btn-accent, .btn-outline, .btn-whatsapp)
 * ---------------------------------------------------------------------------*/
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    background: var(--primary-blue);
    color: var(--text-light);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: var(--shadow-blue-glow);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    background: var(--accent-red);
    color: var(--text-light);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-accent:hover {
    background: transparent;
    border-color: var(--accent-red);
    color: var(--accent-red);
    box-shadow: var(--shadow-red-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: var(--shadow-blue-glow);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    background: #25d366;
    color: #ffffff;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-whatsapp:hover {
    background: transparent;
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.2);
}

/* -----------------------------------------------------------------------------
 * 4. BREADCRUMBS & HERO BASE STYLES
 * ---------------------------------------------------------------------------*/
.inner-hero-banner {
    position: relative;
    padding: 180px 0 90px;
    background: radial-gradient(circle at 70% 30%, #0d213a 0%, var(--dark-bg) 100%);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 22, 34, 0.5) 0%, var(--dark-bg) 100%);
    pointer-events: none;
    z-index: 1;
}

.inner-hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.inner-hero-title {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inner-breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    font-size: 0.9rem;
    font-weight: 500;
}

.inner-breadcrumb a {
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}
.inner-breadcrumb a:hover {
    color: var(--text-light);
}

.inner-breadcrumb .separator {
    color: var(--text-muted);
    margin: 0 12px;
    display: inline-flex;
    align-items: center;
}

.inner-breadcrumb .current-page {
    color: var(--text-light);
}

/* -----------------------------------------------------------------------------
 * 5. SCREEN LOADER, SCROLL-TO-TOP & FLOATING WIDGETS
 * ---------------------------------------------------------------------------*/
/* Screen Page Loader Overlay */
#technoplast-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#technoplast-screen-loader.hide-loader {
    opacity: 0;
    visibility: hidden;
}

.loader-pulse-matrix {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 103, 178, 0.1);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: loaderSpinner 1s linear infinite;
}

@keyframes loaderSpinner {
    to { transform: rotate(360deg); }
}

/* Floating WhatsApp Pulsing CTA */
.whatsapp-floating-pulse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-floating-pulse:hover {
    transform: scale(1.1) rotate(10deg);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll-To-Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(11, 22, 34, 0.8);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-blue-glow);
    transform: translateY(-3px);
}
