/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #101828;
    --text: #475467;
    --light-bg: #f8fafc;
    --border: #e4e7ec;
    --white: #ffffff;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



 /* Logo image sizing */
    .logo {
        display: inline-flex;
        align-items: center;
        height: 52px;
        text-decoration: none;
        flex-shrink: 0;
    }

    .logo-image {
        display: block;
        width: auto;
        height: 44px;
        max-width: 190px;
        object-fit: contain;
        object-position: left center;
    }

    .site-footer .logo {
        height: 48px;
        margin-bottom: 10px;
    }

    .site-footer .logo-image {
        height: 42px;
        max-width: 180px;
    }

    @media (max-width: 768px) {
        .logo {
            height: 46px;
        }

        .logo-image {
            height: 38px;
            max-width: 155px;
        }

        .site-footer .logo-image {
            height: 38px;
            max-width: 160px;
        }
    }

    @media (max-width: 480px) {
        .logo-image {
            height: 34px;
            max-width: 140px;
        }
    }
    
.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--dark);
}



.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 600;
    color: #475467;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 27px;
    cursor: pointer;
    color: var(--dark);
}


/* =========================================
   HERO
========================================= */

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.10), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 100px 0 110px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-badge {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 22px;
    border-radius: 30px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -2.5px;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero-content > p {
    max-width: 600px;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
}


/* =========================================
   CODE CARD
========================================= */

.hero-card {
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 470px;
    min-height: 350px;
    border-radius: 14px;
    overflow: hidden;
    background: #101828;
    box-shadow: 0 25px 60px rgba(16, 24, 40, 0.20);
    transform: rotate(1deg);
}

.window-header {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    background: #1d2939;
}

.window-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #98a2b3;
}

.code-content {
    padding: 32px;
    font-family: "Courier New", monospace;
    font-size: 16px;
    line-height: 2;
    color: #d0d5dd;
}

.code-blue {
    color: #60a5fa;
}

.code-purple {
    color: #c084fc;
}

.indent {
    padding-left: 25px;
}

.indent-two {
    padding-left: 50px;
    color: #d0d5dd;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2,
.why-content h2 {
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--dark);
    margin-bottom: 18px;
}

.section-heading p {
    color: var(--text);
    font-size: 17px;
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 15px 35px rgba(16, 24, 40, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--text);
    font-size: 15px;
}


/* =========================================
   WHY US
========================================= */

.why-us {
    background: var(--light-bg);
}

.why-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 20px;
}

.why-content > p {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 25px;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
}

.text-link:hover {
    color: var(--primary-dark);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature {
    display: flex;
    gap: 22px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-number {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature p {
    color: var(--text);
    font-size: 15px;
}


/* =========================================
   CTA
========================================= */

.cta {
    background: var(--primary);
    padding: 70px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta .section-label {
    color: #dbeafe;
}

.cta h2 {
    color: white;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.cta p {
    color: #dbeafe;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #101828;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding: 65px 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 800;
}

.footer-logo::after {
    content: ".";
    color: #60a5fa;
}

.footer-brand p {
    max-width: 350px;
    color: #98a2b3;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-column a,
.footer-column p {
    color: #98a2b3;
    font-size: 14px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1d2939;
    padding: 20px 0;
}

.footer-bottom p {
    color: #667085;
    font-size: 13px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .hero-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        width: 90%;
        margin: auto;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        text-align: center;
    }

    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .header-container {
        min-height: 68px;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 18px 5%;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 0;
    }

    .hero {
        padding: 70px 0 80px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-card {
        width: 100%;
    }

    .code-window {
        min-height: 290px;
    }

    .code-content {
        padding: 22px;
        font-size: 13px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .why-content h2 {
        font-size: 32px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 32px;
    }

}