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

:root {
    --bg-primary: #0a1128;
    --bg-secondary: #141b35;
    --bg-card: rgba(30, 40, 65, 0.75);
    --text-primary: #e8eef7;
    --text-secondary: #a8b5c8;
    --accent: #4F8CFF;
    --accent-hover: #6ba3ff;
    --border: rgba(79, 140, 255, 0.15);
    --border-hover: rgba(79, 140, 255, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Subtle Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 140, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 140, 255, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(79, 140, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 140, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 0 140px;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 17, 40, 0.85) 0%, rgba(10, 17, 40, 0.75) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(79, 140, 255, 0.25);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 140, 255, 0.4);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-description {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.75;
    text-align: center;
    font-weight: 400;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
    position: relative;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 140, 255, 0.12), 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(30, 40, 65, 0.85);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--bg-primary);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.about-text {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 32px;
}

.about-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    max-width: 600px;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    width: 100%;
    max-width: 400px;
    height: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 17, 40, 0.6) 0%, rgba(10, 17, 40, 0.75) 100%);
    pointer-events: none;
}

/* How We Work Section */
.how-we-work {
    background: var(--bg-secondary);
    position: relative;
}

.how-we-work::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Why Us Section */
.why-us {
    background: var(--bg-primary);
    position: relative;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.differentiators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.differentiator {
    text-align: center;
}

.differentiator-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.differentiator-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Industries Section */
.industries {
    background: var(--bg-secondary);
    position: relative;
}

.industries::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.industry-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.industry-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 140, 255, 0.12), 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(30, 40, 65, 0.85);
}

.industry-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.industry-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-text {
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 400;
    color: var(--text-secondary);
}

.contact-text a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-text a:hover {
    color: var(--accent-hover);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 50px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-legal {
    text-align: right;
}

.legal-text {
    font-size: 11px;
    color: rgba(168, 181, 200, 0.5);
    line-height: 1.7;
    margin-bottom: 10px;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-description {
        max-width: 100%;
        text-align: center;
    }

    .hero {
        background-attachment: scroll;
    }
}

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

    .header {
        padding: 16px 0;
    }

    .hero {
        padding: 140px 0 100px;
        min-height: 90vh;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .services-grid,
    .differentiators,
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .footer-legal {
        text-align: left;
    }

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

    .about-content {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        margin-bottom: 24px;
    }

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

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

    .service-card,
    .industry-item {
        padding: 28px 24px;
    }

    .footer-logo {
        width: 120px;
        height: auto;
    }

    .about-image-wrapper {
        max-width: 100%;
        height: 240px;
    }

    .logo {
        width: 120px;
        height: auto;
    }
}
