:root {
    --bg-dark: #050508;
    --bg-card: rgba(20, 20, 28, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    /* Gradients & Accents */
    --accent-1: #3b82f6; /* Blueish */
    --accent-2: #8b5cf6; /* Purpleish */
    --accent-3: #10b981; /* Greenish */
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --gradient-hover: linear-gradient(135deg, #4d8df6, #9f75f7);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Background Blobs */
.blob {
    position: fixed;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, rgba(5,5,8,0) 70%);
}

.blob-2 {
    top: 30%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, rgba(5,5,8,0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16,185,129,0.3) 0%, rgba(5,5,8,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-padding {
    padding: 8rem 0;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

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

.nav-links a:hover:not(.btn-primary-sm) {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary, .btn-primary-sm, .btn-secondary {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.7);
}

.btn-primary-sm {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.75rem;
    font-size: 0.95rem;
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px -5px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

.w-100 {
    width: 100%;
}

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

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
}

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

/* Sections Structure */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--accent-1);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-2);
}

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

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

/* Careers/Jobs */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-1);
    transform: translateX(10px);
}

.job-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.job-location {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-action {
    color: var(--accent-1);
    font-weight: 600;
    transition: transform 0.3s;
}

.job-card:hover .job-action {
    transform: translateX(5px);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    backdrop-filter: blur(10px);
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item .icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
}

.detail-item p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.hidden {
    display: none !important;
}

.form-success {
    text-align: center;
    padding: 3rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    background: var(--accent-3);
    color: white;
    border-radius: 50%;
    font-size: 32px;
    line-height: 64px;
    margin-bottom: 1.5rem;
}

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

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

/* Footer */
footer {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Animations */
.hidden-onload {
    opacity: 0;
    transform: translateY(30px);
}

.loaded .hidden-onload {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}
