:root {
    --bg-color: #05050A;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(139, 92, 246, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Glowing Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.glow-2 {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

h1 span {
    background: linear-gradient(135deg, #a78bfa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

p {
    color: var(--text-secondary);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: white;
    color: var(--bg-color);
}

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

.navbar.scrolled {
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

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

.logo span {
    color: var(--accent-purple);
}

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

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

.nav-links a:not(.btn):hover {
    color: white;
}

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

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* 3D Sphere Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4c1d95, #1e3a8a, #0f172a);
    box-shadow: 
        0 0 60px rgba(139, 92, 246, 0.4),
        inset -20px -20px 40px rgba(0, 0, 0, 0.5),
        inset 20px 20px 40px rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(60deg);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-purple);
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation: spin 10s linear infinite;
}

.ring-2 {
    width: 480px;
    height: 480px;
    border-top-color: transparent;
    border-right-color: var(--accent-blue);
    animation: spin 15s linear infinite reverse;
}

.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-1 {
    top: 10%;
    left: -20%;
    animation: float 5s ease-in-out infinite 1s;
}

.card-2 {
    bottom: 20%;
    right: -10%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.card-3 {
    top: 60%;
    left: -10%;
    animation: float 6s ease-in-out infinite 2s;
}

.icon {
    font-size: 1.5rem;
}

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

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

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.main-service-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.panel-content {
    padding: 4rem;
    border-right: 1px solid var(--glass-border);
}

.panel-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-top: 2rem;
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

.feature-list li strong {
    color: white;
}

.panel-features {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateX(-5px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
}

.cta-box {
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.4), rgba(15, 23, 42, 0.4));
}

.cta-box p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-form .input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus {
    border-color: var(--accent-purple);
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

.footer-logo span {
    color: var(--accent-purple);
}

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

@keyframes spin {
    from { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

/* Intersection Observer Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    h1 { font-size: 3rem; }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }
    
    .main-service-panel {
        grid-template-columns: 1fr;
    }
    
    .panel-content {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 3rem 2rem;
    }
    
    .contact-form .input-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }
    
    h1 { font-size: 2.5rem; }
    
    .sphere-container {
        width: 250px;
        height: 250px;
    }
    
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }
}
