:root {
    --bg-color: #040d1a;
    --panel-bg: rgba(10, 25, 47, 0.6);
    --panel-border: rgba(0, 168, 255, 0.2);
    --text-primary: #f0f4f8;
    --text-secondary: #a0aec0;
    --brand-primary: #0056b3;
    --brand-secondary: #00a8ff;
    --gradient-primary: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(4, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--panel-border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-il {
    color: var(--text-primary);
}

.logo-text {
    color: var(--brand-secondary);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--brand-secondary);
}

.btn-secondary:hover {
    background: rgba(0, 168, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

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

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--brand-primary);
    top: -100px;
    left: -100px;
}

.sphere-2 {
    width: 300px;
    height: 300px;
    background: var(--brand-secondary);
    bottom: 10%;
    right: 5%;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-logo {
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 2rem;
}

.main-dashboard {
    padding: 0;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.main-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.dashboard-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-bottom: 1px solid var(--panel-border);
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.dashboard-body {
    padding: 2rem;
}

.code-block {
    font-family: monospace;
    font-size: 1rem;
    color: var(--text-primary);
}

.keyword { color: #ff7b72; }
.variable { color: #79c0ff; }
.string { color: #a5d6ff; }
.function { color: #d2a8ff; }

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.1);
    border-color: var(--brand-secondary);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-secondary);
}

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

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

/* Future Tech Section */
.future-tech {
    padding: 5rem 0;
    position: relative;
}

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

.tech-card {
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.neon-border {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 168, 255, 0.3);
}

.neon-border:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.4), inset 0 0 10px rgba(0, 168, 255, 0.1);
    border-color: var(--brand-secondary);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.6));
}

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

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

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

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--panel-border);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.tagline {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-secondary);
}

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

/* Canvas Particles */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Partners Carousel */
.partners {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-carousel::before,
.partners-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.partners-track {
    display: flex;
    width: calc(200px * 12);
    animation: scroll 30s linear infinite;
}

.partner-logo {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.partner-logo:hover {
    color: var(--brand-secondary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6)); }
}

/* Floating AI Widget */
.ai-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
}

.ai-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 168, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--brand-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
}

.ai-bubble:hover {
    background: rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.5);
    transform: scale(1.05);
}

.ai-avatar {
    font-size: 1.5rem;
}

.ai-bubble span {
    font-weight: 600;
    color: #fff;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .contact-panel {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--panel-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
