:root {
    --bg-color: #0b0f19;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    letter-spacing: -0.03em;
}

.accent {
    color: var(--accent-color);
}

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

.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

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

.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(139,92,246,0.2));
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.glass-card {
    position: relative;
    width: 320px;
    height: 220px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: float 5s ease-in-out infinite 1s;
}

.code-line {
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    width: 100%;
}
.w-75 { width: 75%; }
.w-50 { width: 50%; }

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

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 2px, transparent 2px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
    will-change: transform;
}

/* About Section */
.about {
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-color), #111827);
}

.about h2, .services h2, .contact h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    text-align: left;
}

.glass-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
}

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

/* Services */
.services {
    text-align: center;
}
.section-subtitle {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Ambient Glows */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}
.glow-left {
    top: 10%;
    left: -20%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 60%);
}
.glow-right {
    bottom: -10%;
    right: -20%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 60%);
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(to top, var(--bg-color), #111827);
}

.contact-box {
    max-width: 500px;
    margin: 0 auto;
}

.contact-box .email {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.contact-box a {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-top: 1rem;
    transition: color 0.3s;
}

.contact-box a:hover {
    color: var(--accent-hover);
}

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

/* 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: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    nav {
        display: none; /* simple mobile nav for now, just CTA */
    }
    
    .glass-header {
        justify-content: center;
    }
}
