:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f4c75;
    --highlight-color: #3282b8;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
}

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

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

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

/* Header */
header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    display: block;
    width: min(42vw, 420px);
    max-width: 420px;
    max-height: 84px;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    display: block;
    width: min(34vw, 260px);
    max-width: 260px;
    max-height: 72px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 0.6rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 2rem;
}

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

nav a:hover {
    color: var(--highlight-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero .description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--text-light);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Capabilities Section */
.capabilities {
    padding: 5rem 0;
    background: var(--gray-light);
}

.capabilities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.capability-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.metric {
    background: var(--accent-color);
    color: var(--text-light);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.capability-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.problem, .solution, .result {
    margin-bottom: 1.5rem;
}

.problem strong, .solution strong, .result strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.capability-card ul {
    list-style-position: inside;
    margin-top: 0.5rem;
}

.capability-card li {
    margin-bottom: 0.5rem;
}

/* Technical Edge Section */
.technical-edge {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.technical-edge h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.technical-edge .intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-feature h4 {
    color: var(--highlight-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tech-feature p {
    line-height: 1.8;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    text-align: center;
    background: var(--gray-light);
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact > .container > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img {
        width: min(88vw, 280px);
        max-width: 280px;
        max-height: 58px;
    }

    .footer-logo {
        width: min(72vw, 220px);
        max-width: 220px;
        max-height: 62px;
    }
    
    nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem 0.75rem;
        justify-items: center;
        align-items: center;
        padding: 0 0.25rem;
    }

    nav a {
        font-size: 0.9rem;
        line-height: 1.2;
        text-align: center;
        width: 100%;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero .description {
        font-size: 1rem;
    }
    
    .capability-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
}
