/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #04070c 0%, #0a141f 100%);
    color: #cfe6f5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

/* Scan line - original thin gradient */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5fc8ff, #2f80c9, transparent);
    z-index: 1000;
    animation: scan 3s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Grid lines */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(95, 200, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(95, 200, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(95, 200, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(90deg, #5fc8ff, #2f80c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.logo-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5fc8ff;
    box-shadow: 0 0 10px #5fc8ff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

.nav a {
    color: #8fb0c8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover {
    color: #5fc8ff;
    background: rgba(95, 200, 255, 0.1);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5fc8ff;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

/* Hero */
.hero {
    padding: 6rem 0;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(90deg, #5fc8ff, #2f80c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8fb0c8;
    margin-bottom: 3rem;
    max-width: 600px;
}

.highlight {
    color: #5fc8ff;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #5fc8ff, #2f80c9);
    color: #0a0a0f;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 200, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #5fc8ff;
    border-color: #5fc8ff;
}

.btn-secondary:hover {
    background: rgba(95, 200, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 200, 255, 0.2);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(95, 200, 255, 0.05);
    border: 1px solid rgba(95, 200, 255, 0.3);
    border-radius: 10px;
}

.front  { transform: translateZ(100px); }
.back   { transform: translateZ(-100px) rotateY(180deg); }
.left   { transform: translateX(-100px) rotateY(-90deg); }
.right  { transform: translateX(100px) rotateY(90deg); }
.top    { transform: translateY(-100px) rotateX(90deg); }
.bottom { transform: translateY(100px) rotateX(-90deg); }

@keyframes rotate {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #2f80c9;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 4s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 50%; left: 80%; animation-delay: 0.5s; }
.particle:nth-child(3) { top: 80%; left: 40%; animation-delay: 1s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 60%; left: 10%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #5fc8ff, #2f80c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #8fb0c8;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(20, 20, 30, 0.7);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(95, 200, 255, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: #5fc8ff;
    box-shadow: 0 15px 30px rgba(95, 200, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #5fc8ff;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #eaf6ff;
}

.feature-text {
    color: #8fb0c8;
    line-height: 1.5;
}

/* Solution Cards */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(95, 200, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #2f80c9;
    box-shadow: 0 20px 40px rgba(47, 128, 201, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(47, 128, 201, 0.1) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-glow {
    opacity: 1;
}

.card-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #eaf6ff;
}

.card-text {
    color: #8fb0c8;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(95, 200, 255, 0.1);
    color: #5fc8ff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact */
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(20, 20, 30, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #5fc8ff;
}

.contact-item i {
    font-size: 2rem;
    color: #5fc8ff;
}

.contact-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #eaf6ff;
}

.contact-link, .contact-item p {
    color: #8fb0c8;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #5fc8ff;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 20, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fc8ff;
    font-size: 1.8rem;
    border: 2px solid rgba(95, 200, 255, 0.3);
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #5fc8ff;
    color: #0a0a0f;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(95, 200, 255, 0.5);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(95, 200, 255, 0.1);
    text-align: center;
    background: rgba(10, 10, 15, 0.9);
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #5fc8ff, #2f80c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #8fb0c8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.copyright {
    color: #5a7690;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav {
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .contact-info {
        width: 100%;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
    }
    .section {
        padding: 3rem 0;
    }
}
