/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f59e0b;
    --charcoal: #0f172a;
    --charcoal-light: #1e293b;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    letter-spacing: -0.2px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    padding: 160px 0 140px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 50%, var(--gray-100) 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--gray-900);
    margin-bottom: 28px;
    letter-spacing: -2.5px;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 720px;
}

.hero-clients {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.clients-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clients-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.clients-list span {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.clients-list span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -14px;
    color: var(--gray-300);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Section Layouts
   =================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 72px;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.6;
    font-weight: 400;
}

/* ===================================
   Expertise Section
   =================================== */
.expertise {
    background-color: var(--white);
}

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

.expertise-card {
    padding: 48px 40px;
    background-color: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.expertise-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-light);
}

.expertise-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.expertise-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, var(--accent), #22d3ee);
}

.expertise-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, var(--accent-pink), #f472b6);
}

.card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    color: var(--white);
    margin-bottom: 28px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.card-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.services-content {
    max-width: 1100px;
    margin: 0 auto;
}

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

.service-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background-color: var(--white);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.service-icon-small {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: 10px;
    color: var(--primary);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
}

/* ===================================
   Approach Section
   =================================== */
.approach {
    background-color: var(--white);
}

.approach-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 56px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 80px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item:nth-child(1) .timeline-marker {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.timeline-item:nth-child(2) .timeline-marker {
    background: linear-gradient(135deg, var(--accent), #22d3ee);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.timeline-item:nth-child(3) .timeline-marker {
    background: linear-gradient(135deg, var(--accent-pink), #f472b6);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.timeline-marker {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.timeline-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.timeline-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding-top: 20px;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 10px;
    color: var(--white);
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-900);
}

.detail-value a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-value a:hover {
    color: var(--accent);
}

/* ===================================
   Contact Form
   =================================== */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: -0.1px;
}

.form-input {
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--gray-900);
    padding: 60px 0;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 400;
}

.footer-copyright {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 24px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-title {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-clients {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

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

    .timeline-item {
        gap: 24px;
    }

    .timeline-item::after {
        left: 23px;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
    }

    .timeline-number {
        font-size: 18px;
    }

    .timeline-title {
        font-size: 24px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

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

    .nav {
        padding: 16px 0;
    }

    .nav-logo {
        font-size: 24px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-link-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .clients-list {
        gap: 16px;
    }

    .clients-list span {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .expertise-card {
        padding: 32px 24px;
    }

    .service-item {
        padding: 24px;
        gap: 16px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}
