:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Elements */
h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.gradient-text {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--text-main);
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--card-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 15, 0.7);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    transition: padding 0.3s;
}

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

.logo span {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 10;
    margin-top: 80px; /* offset navbar */
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

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

.hero-graphics {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite alternate;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: 10%;
    right: 30%;
    animation: float 10s ease-in-out infinite alternate-reverse;
}

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

/* Services */
.services {
    padding: 8rem 5%;
    background-color: var(--bg-darker);
}

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

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 8rem 5%;
    position: relative;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Contact */
.contact {
    padding: 6rem 5%;
    background-color: var(--bg-darker);
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    gap: 1rem;
}

.icp-info a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.icp-info a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

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

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

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .nav-links, .nav-btn {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-graphics {
        width: 100%;
        opacity: 0.5;
    }
}
