:root {
    --primary: #00f2ff;
    --secondary: #7b2ff7;
    --bg: #050510;
    --glass: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'PingFang SC', sans-serif; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; }

#star-canvas { position: fixed; top: 0; left: 0; z-index: -1; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }

/* Navbar */
.navbar { position: fixed; width: 100%; top: 0; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(5,5,16,0.9); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo { font-size: 1.4rem; font-weight: bold; }
.highlight { color: var(--primary); font-size: 0.9rem; margin-left: 5px; border: 1px solid var(--primary); padding: 2px 5px; border-radius: 4px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: #ccc; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; }
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1.2; }
.hero h1 { font-size: 3.8rem; margin-bottom: 20px; line-height: 1.1; }
.gradient-text { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.1rem; color: #aaa; margin-bottom: 35px; line-height: 1.8; }

.btn { padding: 12px 28px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; display: inline-block; margin-right: 15px; }
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,242,255,0.4); }
.btn-outline { border: 1px solid #444; color: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Tech Sphere */
.tech-sphere { width: 250px; height: 250px; border: 1px solid rgba(0,242,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.ring1 { position: absolute; width: 110%; height: 110%; border: 1px dashed var(--primary); border-radius: 50%; animation: spin 20s linear infinite; }
.core { font-size: 4rem; color: var(--primary); text-shadow: 0 0 20px var(--primary); }

/* Services Grid */
.section-header { margin-bottom: 50px; }
.section-title { font-size: 2.2rem; margin-bottom: 10px; }
.section-desc { color: #666; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card { padding: 40px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.service-card:hover { border-color: var(--primary); background: rgba(255,255,255,0.02); }
.service-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; display: block; }
.service-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.service-card p { color: #888; font-size: 0.95rem; line-height: 1.6; }

/* Tech Advantage */
.dark-bg { background: #020208; }
.tech-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
.tech-item h4 { color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.tech-item p { color: #777; max-width: 300px; }

/* Contact */
.contact-box { padding: 60px; text-align: center; border-radius: 20px; }
.contact-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.contact-details { display: flex; justify-content: center; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.detail-item i { color: var(--primary); margin-right: 10px; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid #111; color: #444; font-size: 0.8rem; }

/* Animations */
@keyframes spin { 100% { transform: rotate(360deg); } }
[data-scroll] { opacity: 0; transform: translateY(30px); transition: 0.8s; }
[data-scroll].visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
@keyframes fadeIn { to { opacity: 1; } }

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .tech-sphere { width: 150px; height: 150px; }
}