:root {
    /* Serviqo - State of the Art Dark Theme */
    --primary: #00f2ff; /* Cyber Cyan */
    --primary-glow: rgba(0, 242, 255, 0.5);
    --secondary: #7000ff; /* Electric Purple */
    --secondary-glow: rgba(112, 0, 255, 0.3);
    
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 20, 0.7);
    --bg-nav: rgba(5, 5, 5, 0.8);
    
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dim: #606060;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(0, 242, 255, 0.3);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s 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-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
}

nav.scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.95);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #101015 0%, #050505 100%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1;
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-10px);
    background: rgba(20, 20, 25, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Systems Section (SpaceX, Starlink, AI Tech) */
.systems-section {
    background: #08080a;
}

.system-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

.system-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: var(--transition);
    filter: grayscale(0.3) brightness(0.6);
}

.system-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(0.7);
}

.system-content {
    position: relative;
    z-index: 2;
}

.system-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.system-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Page Header (for subpages) */
.page-header {
    padding: 160px 0 80px;
    background: radial-gradient(circle at top right, var(--secondary-glow), transparent 40%);
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid var(--border-color);
}

form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Footer */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-color);
    background: #030303;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links-col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 1rem;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        padding: 2rem;
    }
}
