:root {
    /* Color Palette */
    --bg-dark: #101114; /* Deep Metallic Charcoal */
    --bg-panel: rgba(22, 22, 26, 0.7);
    --text-main: #e2e2e5;
    --text-muted: #8b8b99;
    
    /* Metallics */
    --metal-light: #d1d1d6; /* Brushed Silver */
    --metal-base: #8e8e99;
    --metal-dark: #4a4a52;
    
    /* Accents */
    --accent-orange: #ff4500;
    --accent-red: #ff2a00;
    --accent-glow: rgba(255, 69, 0, 0.6);
    
    /* Fonts */
    --font-heading: 'Expletus Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: radial-gradient(circle at 50% 0%, #1c1d24 0%, var(--bg-dark) 70%);
}

#circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(142, 142, 153, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--metal-light);
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 0 5px rgba(255,255,255,0.2);
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--metal-light);
    text-shadow: 0 0 8px rgba(209, 209, 214, 0.5);
}

.nav-links .nav-cta {
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.2);
    transition: all 0.3s;
}

.nav-links .nav-cta:hover {
    background: rgba(255, 69, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
    color: #fff;
    text-shadow: 0 0 8px var(--accent-orange);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 0;
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 2;
}

.logo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.2));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.2) 0%, transparent 60%);
    z-index: 1;
    animation: pulse 4s infinite alternate ease-in-out;
}

.hero-headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--metal-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* Primary Button */
.btn-primary {
    position: relative;
    display: inline-flex;
    padding: 16px 40px;
    background: transparent;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary .btn-text {
    position: relative;
    z-index: 2;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--accent-glow);
    transition: all 0.3s;
}

.btn-primary .btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-red)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    box-shadow: inset 0 0 20px rgba(255, 69, 0, 0.2), 0 0 20px rgba(255, 69, 0, 0.2);
    transition: all 0.3s;
}

.btn-primary:hover .btn-border {
    box-shadow: inset 0 0 30px rgba(255, 69, 0, 0.4), 0 0 30px rgba(255, 69, 0, 0.4);
}
.btn-primary:hover .btn-text {
    color: #fff;
    text-shadow: 0 0 12px var(--accent-orange);
}

/* Base sections padding */
section:not(#hero) {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animations */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none; /* simple mobile nav for now */
    }
    .services-grid, .features-grid, .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Sections Global */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--metal-light);
}

/* Trust Section */
.trust-section {
    padding: 80px 20px 40px !important;
    text-align: center;
    position: relative;
    z-index: 10;
}

.trust-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.logo-cloud {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.placeholder-logo {
    padding: 15px 30px;
    background: rgba(30, 30, 35, 0.5);
    border: 1px solid var(--metal-dark);
    border-radius: 4px;
    color: var(--metal-base);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    filter: grayscale(100%) opacity(0.6);
}

.placeholder-logo:hover {
    filter: grayscale(0%) opacity(1);
    border-color: var(--metal-light);
    color: var(--metal-light);
    box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

/* Services */
.services-section {
    position: relative;
    z-index: 10;
    /* CSS circuit pattern background */
    background-image: 
        linear-gradient(rgba(255,69,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,69,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
}

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

.metallic-panel {
    background: linear-gradient(135deg, rgba(35, 35, 40, 0.9) 0%, rgba(20, 20, 25, 0.95) 100%);
    border: 1px solid var(--metal-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.metallic-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(209, 209, 214, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}

.metallic-panel:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 15px 40px rgba(0,0,0,0.8), 0 0 15px rgba(255, 69, 0, 0.2);
    border-color: var(--metal-base);
}

.metallic-panel:hover::before {
    left: 200%;
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-orange);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255,69,0,0.5));
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--metal-light);
    font-size: 1.5rem;
}

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

/* Features (Connect, Innovate, Secure) */
.features-section {
    background: transparent;
    padding: 80px 20px !important;
    border-top: 1px solid rgba(74, 74, 82, 0.2);
    border-bottom: 1px solid rgba(74, 74, 82, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.glow-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    color: var(--metal-light);
    transition: all 0.3s;
}

.feature-item:hover .glow-icon {
    color: var(--accent-red);
    filter: drop-shadow(0 0 10px var(--accent-orange));
    transform: scale(1.1);
}

.feature-item h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-main);
}

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

/* Tech Stack */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-badge {
    padding: 12px 25px;
    background: rgba(40, 40, 45, 0.4);
    border: 1px solid var(--metal-dark);
    border-radius: 4px;
    color: var(--metal-base);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.tech-badge:hover {
    color: var(--metal-light);
    border-color: var(--metal-base);
    background: rgba(60, 60, 65, 0.6);
    box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

/* Contact / Lead Gen */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.glow-border {
    border: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.1), inset 0 0 20px rgba(255, 69, 0, 0.05);
}

.contact-container h2 {
    margin-bottom: 10px;
}

.contact-container p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.lead-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--metal-base);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid var(--metal-dark);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.2);
    background: rgba(15, 15, 18, 0.9);
}

.lead-form .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
}

/* Footer (optional simple footer) */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--metal-dark);
    margin-top: 50px;
    background: rgba(10, 11, 14, 0.8);
}

.footer-slogan {
    color: var(--metal-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
