:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary: #7c3aed; /* Vibrant Purple */
    --primary-hover: #6d28d9;
    --secondary: #06b6d4; /* Neon cyan */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.08), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
}

.gradient-text {
    background: linear-gradient(to right, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100;
}

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

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

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

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

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary-outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid var(--border-glass);
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    transition: all 0.3s;
}

.btn-primary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Typography elements */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 5% 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 99px;
    color: #a78bfa;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
    /* Aspect ratio for the generated abstract image */
    aspect-ratio: 16/9;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glow-orb {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: inset 0 0 100px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Services */
.services {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.card {
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 45, 0.5);
}

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

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

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits .section-title {
    text-align: left;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1.5rem;
}

.check {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefits-list p {
    color: var(--text-muted);
    line-height: 1.5;
}

.benefits-visual {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefits-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat h3 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    font-weight: 600;
}

/* Contact */
.contact {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    padding: 4rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.contact-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

input, select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
}

select option {
    background: var(--bg-dark);
    color: white;
}

.form-btn {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--secondary);
}

/* Footer */
footer {
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero p {
        margin: 0 auto 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .benefits .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-links a:not(.btn-primary-outline) {
        display: none;
    }
    
    .contact-container {
        padding: 2rem;
    }
}
