/* CSS Reset & Variables */
:root {
    --bg-dark: #050510;
    --bg-panel: #0a0a1f;
    --primary-blue: #00f3ff;
    --primary-purple: #bd00ff;
    --primary-cyan: #00ffd5;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

canvas#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary-blue);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 11px 27px;
    border-radius: 50px;
    font-weight: 600;
}

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

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--text-main);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    transform: translate(20%, -50%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 10;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 20px;
    width: 280px;
    text-align: center;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--primary-blue);
}

.loader-line {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--primary-purple);
    border-radius: 2px;
    animation: load 2s infinite ease-in-out;
}

/* Features */
.section {
    padding: 120px 10%;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-glow {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.icon-blue { color: var(--primary-blue); text-shadow: 0 0 15px var(--primary-blue); }
.icon-purple { color: var(--primary-purple); text-shadow: 0 0 15px var(--primary-purple); }
.icon-cyan { color: var(--primary-cyan); text-shadow: 0 0 15px var(--primary-cyan); }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* Solutions */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.check-list i {
    color: var(--primary-purple);
    margin-right: 10px;
}

.image-content {
    flex: 1;
    height: 400px;
    background: url('../assets/hero_background.png') center/cover no-repeat;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.image-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

/* Contact/CTA */
.cta-section {
    padding: 100px 10%;
    text-align: center;
}

.glass-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-form {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    width: 300px;
    outline: none;
}

.cta-form input:focus {
    border-color: var(--primary-blue);
}

/* Footer */
footer {
    padding: 60px 10%;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-panel);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.socials a {
    margin-left: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.socials a:hover {
    color: var(--primary-blue);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes load {
    0% { left: -40%; }
    100% { left: 140%; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 150px;
        text-align: center;
    }

    .hero h1 { font-size: 3rem; }
    .hero-content { margin-bottom: 60px; }
    .hero-btns { justify-content: center; }
    
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    
    .split-layout { flex-direction: column; }
    .image-content { width: 100%; }
}
