:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --neon-color: #bb86fc;
    --neon-glow: 0 0 10px rgba(187, 134, 252, 0.4), 0 0 20px rgba(187, 134, 252, 0.2);
    --neon-glow-intense: 0 0 15px #bb86fc, 0 0 30px rgba(187, 134, 252, 0.6);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --bg-footer: #050505;
}

body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f6f9;
    --bg-tertiary: #ffffff;
    --text-main: #2b2b2b;
    --text-muted: #5a5a5a;
    --neon-color: #aa85b6;
    --neon-glow: 0 4px 15px rgba(170, 133, 182, 0.3);
    --neon-glow-intense: 0 8px 25px rgba(170, 133, 182, 0.4);
    --bg-footer: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)),
        url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><rect width="40" height="40" fill="none" stroke="%23bb86fc" stroke-width="0.05" stroke-opacity="0.2"/></svg>');
    background-attachment: fixed;
}

body.light-mode {
    background-image: none;
    background: linear-gradient(135deg, #ffffff 0%, #f4eef5 100%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--neon-color);
    box-shadow: var(--neon-glow);
}

.section-title.center {
    display: block;
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--neon-color);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--neon-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(187, 134, 252, 0.2);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-color);
    text-transform: uppercase;
    text-shadow: var(--neon-glow);
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-color);
    transition: var(--transition);
    box-shadow: var(--neon-glow);
}

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

.nav-links a:hover {
    color: var(--neon-color);
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    text-shadow: var(--neon-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--neon-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: 1px solid var(--neon-color);
    color: var(--neon-color);
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(187, 134, 252, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    box-shadow: var(--neon-glow-intense);
    text-shadow: var(--neon-glow);
    background: rgba(187, 134, 252, 0.1);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.btn-secondary:hover {
    border-color: var(--neon-color);
    color: var(--neon-color);
    box-shadow: var(--neon-glow);
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 3rem;
}

.main-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Geometric Tech Sights in Hero */
.tech-sights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sight-line {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--neon-color);
    opacity: 0.5;
}

.sight-line.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.sight-line.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.vision-card {
    background: var(--bg-tertiary);
    padding: 3rem;
    border: 1px solid rgba(187, 134, 252, 0.2);
    position: relative;
    transition: var(--transition);
}

.vision-card:hover {
    box-shadow: var(--neon-glow-intense);
    border-color: var(--neon-color);
}

.vision-card h3 {
    color: var(--neon-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.corner-accents {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--neon-color);
    border-right: 2px solid var(--neon-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

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

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--neon-color);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--neon-color);
    box-shadow: var(--neon-glow-intense);
    transform: translateY(-5px);
}

.service-card:hover::before {
    height: 100%;
}

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

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

.icon-placeholder {
    width: 40px;
    height: 40px;
    border: 1px solid var(--neon-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.icon-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--neon-color);
    box-shadow: var(--neon-glow);
}

/* Clientele Section */
.clientele-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.client-logo {
    padding: 2rem 3rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    text-align: center;
    min-width: 200px;
}

.client-logo:hover {
    color: var(--neon-color);
    border-color: var(--neon-color);
    box-shadow: var(--neon-glow-intense);
}

.partners-scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(187, 134, 252, 0.2);
    border-bottom: 1px solid rgba(187, 134, 252, 0.2);
}

.partners-track {
    display: inline-flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
}

.partner-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.partner-item:hover {
    color: var(--neon-color);
    text-shadow: var(--neon-glow);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
.footer {
    padding: 80px 0 20px;
    background: var(--bg-footer);
    border-top: 2px solid var(--neon-color);
}

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

.logo.large {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.contact-list {
    list-style: none;
    margin-top: 1.5rem;
}

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

.contact-list .icon {
    color: var(--neon-color);
    font-size: 1.2rem;
}

.contact-list a:hover {
    color: var(--neon-color);
}

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

/* Particles / Background Effects */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    display: block;
}

body.light-mode #particle-container {
    display: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-color);
    border-radius: 50%;
    box-shadow: var(--neon-glow);
    animation: float 10s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Responsive */
@media (max-width: 992px) {
    .main-title { font-size: 3.5rem; }
    .about-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .nav-links { display: none; }
    .btn-secondary { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 2rem;
        border-bottom: 1px solid var(--neon-color);
    }
}
