* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004c99;
    --secondary: #00ccff;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-button-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.trusted-tech {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trusted-tech p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.tech-badge {
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--white);
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
}

.content-section:nth-child(even) {
    background: var(--light-gray);
}

.content-section:nth-child(odd) {
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 2rem;
}

.content-text p {
    margin-bottom: 1.5rem;
}

/* Problem List */
.problem-list {
    list-style: none;
    margin: 2rem 0;
}

.problem-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark);
}

.problem-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.system-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.system-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.system-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.12);
    border-color: var(--primary);
}

.system-logo {
    max-width: 140px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s;
}

.system-card:hover .system-logo {
    filter: grayscale(0%) opacity(1);
}

.system-card h4 {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
    margin: 0;
}

.service-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03), rgba(0, 204, 255, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--gray);
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Technologies Section */
.technologies {
    padding: 4rem 0;
    background: var(--light-gray);
}

.tech-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tech-item {
    text-align: center;
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item h4 {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: var(--gray);
    font-weight: 600;
}

/* Clients Section */
.clients {
    padding: 4rem 0;
    background: var(--white);
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.client-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.client-card {
    transition: all 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-logo {
    width: 160px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.client-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.client-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.client-type {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.client-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Approach Steps */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.approach-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.approach-step p {
    color: var(--gray);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.4s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.12);
    border-color: var(--primary);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.project-card ul {
    list-style: none;
    margin-top: 1rem;
}

.project-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--gray);
}

.project-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Client Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    border-left: 4px solid var(--primary);
}

.result-card h4 {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.result-card .result-item {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.result-card .result-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Why Work With Us */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.benefit-item strong {
    color: var(--primary);
}

/* Technical Capabilities */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}

.capability-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.capability-card ul {
    list-style: none;
}

.capability-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--gray);
}

.capability-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Pricing */
.pricing-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 204, 255, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.pricing-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.pricing-box p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pricing-box ul {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 2rem auto 0;
}

.pricing-box ul li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--dark);
}

.pricing-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQs */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    color: var(--white);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--white);
    background-clip: unset;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255,255,255,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.submit-button:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #0d0d0d;
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .systems-grid,
    .tech-grid,
    .clients-grid,
    .projects-grid,
    .results-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .system-card {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }

    .system-logo {
        max-width: 100px;
        height: 35px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* AI Badge */
.ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
}

/* Slide-out Contact Form */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-slideout {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: var(--white);
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.contact-slideout.active {
    right: 0;
}

.contact-slideout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.contact-slideout .slideout-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
}

.contact-slideout .close-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}

.contact-slideout .close-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.contact-slideout h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-slideout .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-slideout .contact-form {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-slideout {
        max-width: 100%;
    }
}

