/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #182230;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================
   VARIABLES
========================================= */

:root {

    --primary: #155eef;
    --primary-dark: #1046b8;

    --dark: #101828;
    --text: #475467;

    --light: #f8faff;
    --border: #e4e7ec;

    --white: #ffffff;

    --radius: 15px;

    --shadow:
        0 10px 40px rgba(16, 24, 40, 0.08);

}


/* =========================================
   GENERAL
========================================= */

.container {
    width: min(1150px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin: 12px 0 18px;
    color: var(--dark);
}

.section-heading h2 span,
.about-text h2 span,
.hero h1 span,
.cta h2 span,
.contact-info h2 span {
    color: var(--primary);
}

.section-heading p {
    color: var(--text);
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 24px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid var(--border);
    background: white;
}

.secondary-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* =========================================
   HEADER
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar a {
    font-size: 14px;
    font-weight: 600;
    color: #344054;

    transition: 0.3s;
}

.navbar a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white;

    padding: 11px 20px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;
}

.menu-btn {
    display: none;

    border: none;
    background: transparent;

    font-size: 24px;
    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            #e7efff 0,
            transparent 35%
        ),
        #f8faff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    padding: 90px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #eaf1ff;
    color: var(--primary);

    padding: 7px 13px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
}

.hero-tag i {
    font-size: 7px;
}

.hero h1 {
    margin: 20px 0;

    font-size: clamp(40px, 5vw, 64px);

    line-height: 1.05;

    color: var(--dark);
}

.hero-text > p {
    max-width: 580px;

    color: var(--text);

    font-size: 17px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 35px;
}

.hero-trust strong {
    display: block;
}

.hero-trust small {
    color: var(--text);
}

.trust-users {
    display: flex;
}

.trust-users div {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    margin-left: -7px;

    border: 2px solid white;
    border-radius: 50%;

    background: var(--primary);
    color: white;

    font-size: 10px;
    font-weight: 700;
}

.trust-users div:first-child {
    margin-left: 0;
}


/* HERO MOCKUP */

.hero-image {
    position: relative;

    min-height: 430px;

    display: grid;
    place-items: center;
}

.code-card {
    width: 440px;
    max-width: 90%;

    overflow: hidden;

    border-radius: 15px;

    background: #101828;

    box-shadow:
        0 30px 70px rgba(16, 24, 40, 0.25);

    transform: rotate(2deg);
}

.code-top {
    display: flex;
    gap: 7px;

    padding: 15px;

    background: #1d2939;
}

.code-top span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #667085;
}

.code-content {
    padding: 45px 35px;
}

.code-content pre {
    color: #98a2b3;

    font-size: 22px;

    line-height: 2;
}

.code-content b {
    color: #53b1fd;
}

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px;

    background: white;

    border-radius: 12px;

    box-shadow: var(--shadow);
}

.floating-card i {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: #eaf1ff;

    color: var(--primary);

    border-radius: 8px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card small {
    color: var(--text);
}

.card-one {
    left: 0;
    bottom: 65px;
}

.card-two {
    right: 0;
    top: 55px;
}


/* =========================================
   STATS
========================================= */

.stats {
    background: var(--dark);
    color: white;

    padding: 45px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    text-align: center;
}

.stat {
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat:last-child {
    border: none;
}

.stat h2 {
    font-size: 34px;
}

.stat p {
    color: #98a2b3;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    min-height: 470px;

    position: relative;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #155eef,
            #7f56d9
        );

        background-image: url('../img/backend.jpg');

    overflow: hidden;
}

.about-image::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(255,255,255,0.1);

    top: -80px;
    right: -80px;
}

.about-box {
    position: absolute;

    bottom: 40px;
    left: 40px;

    width: 240px;

    padding: 25px;

    background: rgba(255,255,255,0.95);

    border-radius: 15px;

    box-shadow: var(--shadow);
}

.about-box i {
    font-size: 30px;

    color: var(--primary);

    margin-bottom: 15px;
}

.about-box h3 {
    margin-bottom: 7px;
}

.about-box p {
    font-size: 13px;
    color: var(--text);
}

.experience {
    position: absolute;

    right: 35px;
    bottom: 40px;

    color: white;

    text-align: center;
}

.experience strong {
    display: block;

    font-size: 55px;

    line-height: 1;
}

.experience span {
    font-size: 12px;
}

.about-text h2 {
    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.15;

    margin: 15px 0 25px;
}

.about-text > p {
    color: var(--text);

    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin: 25px 0 30px;
}

.about-features div {
    font-size: 14px;
    font-weight: 600;
}

.about-features i {
    color: var(--primary);

    margin-right: 7px;
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: var(--light);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    padding: 30px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #b2ccff;

    box-shadow: var(--shadow);
}

.service-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #eaf1ff;

    color: var(--primary);

    font-size: 22px;

    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text);

    font-size: 14px;

    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   WHY US
========================================= */

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.why-card {
    position: relative;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.why-card > span {
    position: absolute;

    top: 20px;
    right: 20px;

    color: #d0d5dd;

    font-weight: 800;
}

.why-card i {
    color: var(--primary);

    font-size: 25px;

    margin: 25px 0 20px;
}

.why-card h3 {
    margin-bottom: 12px;
}

.why-card p {
    font-size: 13px;

    color: var(--text);
}


/* =========================================
   PROCESS
========================================= */

.process {
    background: var(--light);
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.process-card {
    position: relative;

    padding: 30px;

    background: white;

    border-radius: var(--radius);

    border: 1px solid var(--border);
}

.process-number {
    color: var(--primary);

    font-weight: 800;

    font-size: 14px;
}

.process-card > i {
    display: block;

    font-size: 28px;

    color: var(--primary);

    margin: 25px 0 15px;
}

.process-card p {
    color: var(--text);

    font-size: 14px;
}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.project {
    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: 0.3s;
}

.project:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.project-image {
    height: 260px;

    display: flex;
    align-items: flex-end;

    padding: 20px;
}

.project-image span {
    padding: 7px 12px;

    border-radius: 5px;

    background: rgba(255,255,255,0.9);

    font-size: 11px;

    font-weight: 700;
}

.project-one {
    background:
        linear-gradient(
            135deg,
            #155eef,
            #98a2b3
        );
}

.project-two {
    background:
        linear-gradient(
            135deg,
            #7f56d9,
            #e9d7fe
        );
}

.project-three {
    background:
        linear-gradient(
            135deg,
            #079455,
            #84ca9c
        );
}

.project-info {
    padding: 22px;
}

.project-info p {
    color: var(--text);

    font-size: 13px;

    margin: 5px 0 15px;
}

.project-info a {
    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================
   PRICING
========================================= */

.pricing {
    background: var(--light);
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    align-items: stretch;
}

.price-card {
    position: relative;

    background: white;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 18px;
}

.price-card.featured {
    border: 2px solid var(--primary);

    transform: scale(1.03);

    box-shadow: var(--shadow);
}

.popular {
    position: absolute;

    top: 0;
    right: 25px;

    padding: 6px 12px;

    background: var(--primary);

    color: white;

    font-size: 10px;

    font-weight: 800;

    border-radius: 0 0 6px 6px;
}

.price-card > p {
    color: var(--text);

    font-size: 13px;

    margin: 5px 0 20px;
}

.price-card h2 {
    font-size: 35px;

    margin-bottom: 25px;
}

.price-card ul {
    list-style: none;

    margin-bottom: 30px;
}

.price-card li {
    padding: 9px 0;

    border-bottom: 1px solid #f2f4f7;

    font-size: 13px;
}

.price-card li::before {
    content: "✓";

    color: var(--primary);

    font-weight: 800;

    margin-right: 8px;
}

.price-btn {
    display: block;

    text-align: center;

    padding: 13px;

    border: 1px solid var(--primary);

    color: var(--primary);

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;
}

.featured .price-btn {
    background: var(--primary);
    color: white;
}


/* =========================================
   TESTIMONIALS
========================================= */

.testimonial-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.testimonial {
    padding: 30px;

    background: var(--light);

    border-radius: 15px;
}

.stars {
    color: #fdb022;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.testimonial > p {
    color: var(--text);

    font-size: 14px;

    margin-bottom: 25px;
}

.client {
    display: flex;

    align-items: center;

    gap: 12px;
}

.client-avatar {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-size: 12px;

    font-weight: 700;
}

.client strong,
.client small {
    display: block;
}

.client small {
    color: var(--text);

    font-size: 11px;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 75px 0;

    background:
        linear-gradient(
            110deg,
            #101828,
            #155eef
        );

    color: white;
}

.cta-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

.cta .section-tag {
    color: #b2ccff;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 45px);

    margin: 10px 0;
}

.cta h2 span {
    color: #b2ccff;
}

.cta p {
    color: #d0d5dd;
}

.cta-btn {
    flex-shrink: 0;

    background: white;

    color: var(--primary);
}

.cta-btn:hover {
    transform: translateY(-3px);
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background: white;
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;
}

.contact-info h2 {
    font-size: clamp(32px, 5vw, 45px);

    line-height: 1.15;

    margin: 15px 0 20px;
}

.contact-info > p {
    color: var(--text);

    margin-bottom: 35px;
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.contact-item > i {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: #eaf1ff;

    color: var(--primary);

    border-radius: 8px;
}

.contact-item small,
.contact-item strong {
    display: block;
}

.contact-item small {
    color: var(--text);

    font-size: 11px;
}

.contact-item strong {
    font-size: 14px;
}

.contact-form {
    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #d0d5dd;

    border-radius: 7px;

    padding: 12px 14px;

    outline: none;

    background: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(21, 94, 239, 0.1);
}

.form-btn {
    border: none;

    cursor: pointer;

    width: 100%;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #101828;

    color: white;

    padding-top: 70px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.footer .logo {
    color: white;
}

.footer-about p {
    max-width: 320px;

    color: #98a2b3;

    font-size: 13px;

    margin: 20px 0;
}

.socials {
    display: flex;

    gap: 8px;
}

.socials a {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    background: #1d2939;

    border-radius: 6px;

    transition: 0.3s;
}

.socials a:hover {
    background: var(--primary);
}

.footer-column h3 {
    font-size: 14px;

    margin-bottom: 20px;
}

.footer-column a {
    display: block;

    color: #98a2b3;

    font-size: 13px;

    margin-bottom: 12px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #344054;

    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: #98a2b3;

    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .navbar {
        gap: 15px;
    }

    .nav-btn {
        display: none;
    }

    .hero-content {
        gap: 30px;
    }

    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }


    /* NAV */

    .navbar {
        display: none;
    }

    .menu-btn {
        display: block;
    }


    /* HERO */

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 70px 0;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        min-height: 350px;
    }

    .code-card {
        transform: none;
    }

    .floating-card {
        transform: scale(0.85);
    }

    .card-one {
        left: -5px;
    }

    .card-two {
        right: -5px;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr 1fr;

        gap: 25px;
    }

    .stat {
        border-right: none;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image {
        min-height: 400px;
    }


    /* SERVICES */

    .services-grid,
    .why-grid,
    .process-grid,
    .portfolio-grid,
    .pricing-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }


    /* ABOUT FEATURES */

    .about-features {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta-content {
        flex-direction: column;

        align-items: flex-start;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-form {
        padding: 25px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom .container {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero-image {
        min-height: 300px;
    }

    .code-content {
        padding: 30px 20px;
    }

    .code-content pre {
        font-size: 17px;
    }

    .floating-card {
        padding: 10px;
    }

    .floating-card i {
        width: 32px;
        height: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}