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

:root {
    --primary: #2979E6;
    --primary-dark: #1E5DB8;
    --background: #FFFFFF;
    --background-light: #F5F5F5;
    --text: #1A1A1A;
    --text-muted: #666666;
    --border: #E0E0E0;
    --accent: #2979E6;
    --gray-light: #F9F9F9;
    --gray-medium: #E8E8E8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

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

.logo img {
    width: 40px;
    height: 40px;
    filter: brightness(1.2);
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--gray-light) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(41, 121, 230, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Page Hero */
.page-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--gray-light) 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3rem;
    position: relative;
}

section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1rem;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

.methodology {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
}

.methodology p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 900px;
}

.expertise {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
}

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

.expertise-card {
    padding: 2.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(41, 121, 230, 0.15);
    transform: translateY(-4px);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.featured-cases {
    background: var(--gray-light);
    border-bottom: 1px solid var(--border);
}

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

.case-card {
    padding: 2.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(41, 121, 230, 0.15);
    transform: translateY(-4px);
}

.case-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

/* Content Section */
.content-section {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
}

.content-section h2 {
    margin-top: 0;
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-section ul {
    color: var(--text-muted);
    line-height: 1.9;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 1rem;
}

.service-item {
    padding: 2.5rem;
    background: var(--gray-light);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 8px 16px rgba(41, 121, 230, 0.15);
    transform: translateX(4px);
}

.service-item h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.case-study {
    padding: 2.5rem;
    background: var(--gray-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.case-study:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(41, 121, 230, 0.15);
}

.case-study h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--accent);
}

.case-study p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.case-study strong {
    color: var(--accent);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--gray-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-form h2 {
    margin-top: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--background);
    color: var(--text);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(41, 121, 230, 0.1);
}

.submit-btn {
    background: var(--accent);
    color: var(--background);
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 16px rgba(41, 121, 230, 0.3);
    transform: translateY(-2px);
}

.contact-info {
    padding: 2.5rem;
    background: var(--gray-light);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-info h2 {
    margin-top: 0;
}

.info-item {
    margin-bottom: 2.5rem;
}

.info-item h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent);
}

/* Pages */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
    color: var(--background);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--primary-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--background);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--background);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .page-hero h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .expertise-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-link {
        padding: 0.5rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }
}
