/* Midtown SP Styles - Integration & Connectivity Focus */

/* Color Palette */
:root {
    --primary: #1E40AF;
    --primary-light: #3B82F6;
    --accent: #60A5FA;
    --accent-light: #93C5FD;
    --dark: #1E3A8A;
    --text-dark: #0F172A;
    --text-gray: #475569;
    --light-bg: #F8FAFC;
    --white: #ffffff;
    --border: #E2E8F0;
    --shadow: rgba(30, 64, 175, 0.1);
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-pin {
    font-size: 1.125rem;
}

.location-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* Integration Visual */
.integration-visual {
    position: relative;
    max-width: 600px;
    height: 350px;
    margin: 0 auto;
}

.integration-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.node-left {
    left: 0;
    top: 50px;
}

.node-right {
    right: 0;
    top: 50px;
}

.node-bottom {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.node-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px var(--shadow);
}

.node-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.integration-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.center-hub {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
    position: relative;
    z-index: 10;
}

.hub-text {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.connection-line {
    position: absolute;
    background: var(--accent-light);
    z-index: 1;
}

.line-1 {
    width: 180px;
    height: 3px;
    left: -180px;
    top: 50%;
    transform: translateY(-50%);
}

.line-2 {
    width: 180px;
    height: 3px;
    right: -180px;
    top: 50%;
    transform: translateY(-50%);
}

.line-3 {
    width: 3px;
    height: 120px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -120px;
}

/* Value Proposition */
.value-prop {
    padding: 5rem 0;
    background: var(--white);
}

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

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.value-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.service-categories {
    display: grid;
    gap: 2rem;
}

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

.category:hover {
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--accent);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.category-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary);
}

.category-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.category-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.category-list li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.category-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

/* Platforms Section */
.platforms {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
}

.platforms-title {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.platforms-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.platform-tag {
    background: var(--light-bg);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.platform-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: var(--light-bg);
}

.why-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.why-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.why-icon {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

.why-heading {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.why-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--primary);
    color: var(--white);
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.contact-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-location {
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-divider {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 2.5rem 0;
    color: var(--white);
}

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-copy {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

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

    .integration-visual {
        height: 300px;
        transform: scale(0.85);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-divider {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .integration-visual {
        transform: scale(0.7);
    }
}

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

    .hero-title {
        font-size: 1.75rem;
    }

    .category {
        padding: 1.75rem;
    }

    .platform-tags {
        gap: 0.75rem;
    }

    .platform-tag {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .integration-visual {
        transform: scale(0.6);
    }
}
