
/* =========================================
   1. HEADER AND NAVIGATION
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--heading-color);
    white-space: nowrap;
}

.logo-number {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #475467;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--primary-color);
}

.nav-links .nav-contact {
    padding: 10px 17px;
    color: #ffffff;
    background: var(--primary-color);
    border-radius: 7px;
}

.nav-links .nav-contact:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--heading-color);
    font-size: 28px;
}


/* =========================================
   2. HERO SECTION
========================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(37, 99, 235, 0.10),
            transparent 30%
        ),
        linear-gradient(180deg, #ffffff, #f8faff);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 24px;
    color: var(--heading-color);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -2.5px;
}

.hero h1 span {
    display: block;
    color: var(--primary-color);
}

.hero-description {
    max-width: 560px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    margin-top: 24px;
    color: #98a2b3;
    font-size: 13px;
}


/* =========================================
   3. HERO VISUAL
========================================= */

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(37, 99, 235, 0.12);
    filter: blur(70px);
    border-radius: 50%;
}

.visual-card-main {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5eaf5;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.12);
    transform: rotate(-2deg);
}

.visual-window {
    display: flex;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.visual-window span {
    width: 9px;
    height: 9px;
    background: #d0d5dd;
    border-radius: 50%;
}

.visual-window span:first-child {
    background: #f87171;
}

.visual-window span:nth-child(2) {
    background: #fbbf24;
}

.visual-window span:nth-child(3) {
    background: #34d399;
}

.visual-code {
    display: grid;
    gap: 15px;
    padding: 35px 5px;
}

.code-line {
    height: 10px;
    background: #dce7ff;
    border-radius: 10px;
}

.code-short {
    width: 35%;
    background: #93b4ff;
}

.code-medium {
    width: 65%;
}

.code-long {
    width: 90%;
}

.visual-caption {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(16, 24, 40, 0.09);
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.floating-card-top {
    top: 40px;
    right: -5px;
}

.floating-card-bottom {
    bottom: 35px;
    left: -5px;
}

.floating-icon {
    color: var(--primary-color);
    font-size: 20px;
}


/* =========================================
   4. INTRODUCTION
========================================= */

.intro-section {
    border-bottom: 1px solid var(--border-color);
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.intro-layout .section-title {
    max-width: 470px;
}

.intro-content .section-description {
    margin-bottom: 22px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--primary-dark);
}


/* =========================================
   5. SERVICES
========================================= */

.services-section {
    background: var(--light-background);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.section-heading .section-title {
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #b7ccff;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.07);
}

.service-number {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 13px;
    color: var(--heading-color);
    font-size: 20px;
}

.service-card p {
    margin-bottom: 22px;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.9;
}

.service-card a {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   6. TECHNOLOGY
========================================= */

.technology-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.technology-layout .section-description {
    margin-bottom: 25px;
    line-height: 1.9;
}

.technology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.technology-tags span {
    padding: 12px 16px;
    color: #344054;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}

.technology-tags span:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #f5f8ff;
}


/* =========================================
   7. CONTACT CTA
========================================= */

.cta-section {
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(255, 255, 255, 0.14),
            transparent 35%
        ),
        #173b91;
    color: #ffffff;
    text-align: center;
}

.cta-content {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cta-section .eyebrow {
    color: #bcd0ff;
}

.cta-section h2 {
    max-width: 700px;
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.cta-section p:not(.eyebrow) {
    margin-bottom: 28px;
    color: #dbe5ff;
}

.btn-light {
    color: #173b91;
    background: #ffffff;
}

.btn-light:hover {
    background: #eaf0ff;
    transform: translateY(-2px);
}



/* =========================================
   8. CLEAN PROFESSIONAL FOOTER
========================================= */

.site-footer {
    padding: 55px 0 0;
    background: #f8faff;
    color: #172033;
    border-top: 1px solid #e8edf5;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 65px;
    padding-bottom: 42px;
}

.footer-logo {
    color: #101828;
    font-size: 27px;
}

.footer-tagline {
    margin-top: 12px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.footer-description {
    max-width: 340px;
    margin-top: 15px;
    color: #667085;
    font-size: 14px;
    line-height: 1.9;
}

.footer-main h3 {
    margin-bottom: 20px;
    color: #101828;
    font-size: 16px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: #667085;
    font-size: 14px;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-cta:hover {
    color: #2563eb;
}

.footer-contact p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
}

.footer-label {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 600;
}

.footer-value {
    color: #667085;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e4e9f2;
}

.footer-bottom p {
    color: #98a2b3;
    font-size: 12px;
}

.footer-cta {
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* Tablet */

@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* Mobile */

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================
   9. TABLET AND MOBILE
========================================= */

@media (max-width: 1000px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero-layout {
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(40px, 5vw, 54px);
    }

    .service-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5% 20px;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 12px 25px rgba(16, 24, 40, 0.06);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 13px 0;
        font-size: 14px;
    }

    .nav-links .nav-contact {
        margin-top: 8px;
        padding: 12px 16px;
        text-align: center;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-layout,
    .intro-layout,
    .technology-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero h1 {
        font-size: clamp(40px, 9vw, 56px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .visual-card-main {
        width: min(85%, 390px);
    }

    .floating-card-top {
        right: 0;
    }

    .floating-card-bottom {
        left: 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px;
    }

    .technology-layout {
        gap: 28px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 400px) {
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .floating-card {
        padding: 10px 12px;
        font-size: 11px;
    }
}
