:root {
    --bg-primary: #0A0F1C;
    --bg-secondary: #111827;
    --blue-primary: #1F6FEB;
    --blue-accent: #5BC0EB;
    --blue-dark: #1a5bdb;
    --text-heading: #E6EDF3;
    --text-body: #9CA3AF;
    --text-muted: #6B7280;
    --divider: #1F2937;
    --divider-light: #374151;
    --spacing-unit: 1rem;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.95) 0%, rgba(10, 15, 28, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(31, 111, 235, 0.1);
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    border-bottom-color: rgba(31, 111, 235, 0.15);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.logo {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.logo-text {
    letter-spacing: 0.05em;
}

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

.nav-link {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--blue-primary);
    background-color: rgba(31, 111, 235, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem var(--spacing-unit) 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.3), transparent);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 5rem;
    height: 5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-heading);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    max-width: 700px;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.button-primary {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: white;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #0f50d4 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.button-primary:active {
    transform: translateY(-2px);
}

/* What We Do Section */
.what-we-do {
    padding: 6rem var(--spacing-unit);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.2), transparent);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.05) 0%, transparent 100%);
    border: 1px solid var(--divider-light);
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(31, 111, 235, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    border-color: rgba(31, 111, 235, 0.3);
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.1) 0%, rgba(31, 111, 235, 0.02) 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* Contact Section */
.contact {
    padding: 6rem var(--spacing-unit);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.2), transparent);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--blue-primary);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(31, 111, 235, 0.3);
    background: rgba(31, 111, 235, 0.05);
    letter-spacing: 0.3px;
}

.email-link:hover {
    color: var(--blue-accent);
    background-color: rgba(31, 111, 235, 0.15);
    border-color: var(--blue-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    padding: 3rem var(--spacing-unit) 2rem;
    border-top: 1px solid var(--divider-light);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Responsive Design - Tablet (768px) */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .hero {
        padding: 10rem 2rem 8rem;
    }

    .hero-subtitle {
        font-size: 1.85rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 4rem;
    }
}

/* Responsive Design - Desktop (1024px) */
@media (min-width: 1024px) {
    .hero {
        padding: 12rem 2rem 10rem;
    }

    .hero-subtitle {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .card {
        padding: 3rem;
    }

    .contact-content h2 {
        font-size: 3rem;
    }
}

/* Utility Classes */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
