:root {
    --primary-color: #0f172a; /* Slate 900 */
    --secondary-color: #1e293b; /* Slate 800 */
    --accent-color: #3b82f6; /* Blue 500 */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-glow: 0 0 20px rgba(59, 130, 246, 0.5);
    --text-color: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --bg-color: #f8fafc; /* Slate 50 */
    --card-bg: #ffffff;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 24px 0;
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav a {
    margin-left: 40px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text {
    font-size: 1.35rem;
    color: var(--text-light);
    max-width: 760px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.6);
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 80px;
    font-weight: 800;
    letter-spacing: -1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    padding: 40px;
    border-radius: 24px;
    background: var(--bg-color);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
    background: linear-gradient(to bottom right, #ffffff, #f1f5f9);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Clients Section */
.clients {
    padding: 120px 0;
    background-color: var(--bg-color);
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 140px 0;
    text-align: center;
    background: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.contact h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.contact p {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

.email-link {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: -1px;
}

.email-link:hover {
    transform: scale(1.05);
    text-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

/* Animation Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }

    .email-link {
        font-size: 1.75rem;
    }
    
    .card {
        padding: 30px;
    }
}
