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

body {
    font-family: 'Inter', sans-serif;
    color: #1A1A2E;
    line-height: 1.6;
    background: #FFFFFF;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #1B3A6B;
    line-height: 1.2;
}

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

button, a, input, textarea, .card, .service-card, .product-card, .stat-card, .process-step, .logo-item, .repo-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Header */
header {
    background: #FFFFFF;
    padding: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #1B3A6B;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #1A1A2E;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.nav-links a:hover {
    color: #1B3A6B;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F4A832;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: #FFFFFF;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 24px;
    color: #1B3A6B;
}

.hero-subtext {
    font-size: 20px;
    color: #1A1A2E;
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background: #1B3A6B;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.2);
}

.btn-primary:hover {
    background: #152d54;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 58, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1B3A6B;
    border: 2px solid #1B3A6B;
}

.btn-secondary:hover {
    background: #1B3A6B;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-gold {
    background: #F4A832;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(244, 168, 50, 0.2);
}

.btn-gold:hover {
    background: #e09820;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 168, 50, 0.3);
}

.btn-ghost {
    background: transparent;
    color: #1B3A6B;
    border: 2px solid #e8ecf4;
    padding: 12px 24px;
    font-size: 14px;
}

.btn-ghost:hover {
    border-color: #1B3A6B;
    background: rgba(27, 58, 107, 0.05);
}

.hero-illustration {
    position: relative;
    height: 500px;
}

.geometric-shape {
    position: absolute;
    border-radius: 20px;
}

.shape-1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #1B3A6B 0%, #2d5994 100%);
    top: 20px;
    right: 100px;
    transform: rotate(15deg);
    box-shadow: 0 20px 40px rgba(27, 58, 107, 0.2);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #F4A832 0%, #f5b954 100%);
    bottom: 80px;
    right: 50px;
    transform: rotate(-15deg);
    box-shadow: 0 15px 30px rgba(244, 168, 50, 0.3);
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #F7F9FC 0%, #e8ecf4 100%);
    top: 150px;
    right: 20px;
    transform: rotate(25deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Services Section */
.services {
    background: #F7F9FC;
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.service-column h3 {
    font-size: 32px;
    margin-bottom: 32px;
    color: #1B3A6B;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1B3A6B 0%, #2d5994 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    flex-shrink: 0;
}

.service-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1B3A6B;
}

.product-showcase {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-showcase:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #F7F9FC 0%, #e8ecf4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-icons {
    display: flex;
    gap: 16px;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1B3A6B 0%, #2d5994 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.3);
}

.app-icon:nth-child(2) {
    background: linear-gradient(135deg, #F4A832 0%, #f5b954 100%);
    transform: translateY(-10px);
}

.product-info h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.product-info p {
    color: #1A1A2E;
    opacity: 0.8;
    line-height: 1.6;
}

/* Open Source Section */
.opensource {
    background: #1B3A6B;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.opensource .section-header h2 {
    color: #FFFFFF;
}

.opensource .section-header p {
    color: #FFFFFF;
    opacity: 0.9;
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.repo-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.repo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.repo-name {
    font-family: 'Roboto Mono', monospace;
    font-size: 18px;
    font-weight: 500;
    color: #1B3A6B;
    margin-bottom: 8px;
}

.repo-description {
    font-size: 15px;
    color: #1A1A2E;
    opacity: 0.8;
    line-height: 1.6;
    flex-grow: 1;
}

.repo-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.language-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
}

.tag-typescript {
    background: #3178c6;
}

.tag-python {
    background: #3776ab;
}

.tag-go {
    background: #00add8;
}

.tag-javascript {
    background: #f0db4f;
    color: #323330;
}

.repo-stats {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #1A1A2E;
    opacity: 0.7;
    font-size: 14px;
    margin-top: 8px;
}

.repo-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.repo-stat i {
    font-size: 14px;
}

.contribution-graph {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.contrib-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contrib-cell {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.contrib-cell.level-1 {
    background: rgba(34, 197, 94, 0.3);
}

.contrib-cell.level-2 {
    background: rgba(34, 197, 94, 0.5);
}

.contrib-cell.level-3 {
    background: rgba(34, 197, 94, 0.7);
}

.contrib-cell.level-4 {
    background: rgba(34, 197, 94, 0.9);
}

.opensource-cta {
    text-align: center;
}

/* Stats Section */
.stats {
    background: #FFFFFF;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: #F7F9FC;
    border-radius: 12px;
    border: 2px solid transparent;
}

.stat-card:hover {
    border-color: #F4A832;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(244, 168, 50, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #1B3A6B;
    margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label {
    font-size: 16px;
    color: #1A1A2E;
    font-weight: 500;
}

/* Process Section */
.process {
    background: #F7F9FC;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 16px;
    color: #1B3A6B;
}

.section-header p {
    font-size: 18px;
    color: #1A1A2E;
    opacity: 0.8;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    background: #FFFFFF;
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #F4A832 0%, #f5b954 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 auto 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.process-step h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1B3A6B;
}

.process-step p {
    font-size: 15px;
    color: #1A1A2E;
    opacity: 0.8;
    line-height: 1.6;
}

/* Trust Section */
.trust {
    background: #FFFFFF;
    padding: 100px 0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-top: 60px;
    align-items: center;
}

.logo-item {
    background: #F7F9FC;
    padding: 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.client-card {
    background: #F7F9FC;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.client-card h4 {
    font-size: 22px;
    color: #1B3A6B;
}

.client-type {
    font-size: 13px;
    font-weight: 600;
    color: #F4A832;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-desc {
    font-size: 15px;
    color: #1A1A2E;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 4px;
}

.logo-placeholder {
    font-size: 14px;
    color: #1B3A6B;
    font-weight: 600;
    text-align: center;
}

/* Contact Section */
.contact {
    background: #F7F9FC;
    padding: 100px 0;
}

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

.contact-form {
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1B3A6B;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1A1A2E;
    background: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1B3A6B;
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #1B3A6B;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.2);
}

.submit-btn:hover {
    background: #152d54;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 58, 107, 0.3);
}

/* Footer */
footer {
    background: #1B3A6B;
    color: #FFFFFF;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    color: #FFFFFF;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    color: #F4A832;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.8;
    font-size: 15px;
}

.footer-links a:hover {
    opacity: 1;
    color: #F4A832;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* 404 Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 100px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: clamp(100px, 15vw, 180px);
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #1B3A6B 0%, #F4A832 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}

.error-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1B3A6B;
}

.error-content p {
    font-size: 18px;
    color: #1A1A2E;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

    .hero-illustration {
        height: 350px;
    }

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

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero h1 {
        font-size: 36px;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .services, .opensource, .process, .trust, .contact {
        padding: 60px 0;
    }

    .contribution-graph {
        height: 80px;
        padding: 12px;
        gap: 2px;
    }

    .contrib-cell {
        border-radius: 1px;
    }

    .error-buttons {
        flex-direction: column;
    }
}