/* =========================================
   TECHBYPRESH LANDING PAGE
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #101828;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* =========================================
   HEADER
   ========================================= */

.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #635bff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #475467;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #635bff;
}

.nav-btn {
    background: #635bff;
    color: white;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #5148df;
    transform: translateY(-2px);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 720px;
    padding: 150px 0 90px;
    background:
        radial-gradient(circle at 80% 20%, rgba(99, 91, 255, 0.15), transparent 30%),
        linear-gradient(135deg, #f8f9ff, #ffffff);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: #eeeeff;
    color: #5148df;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(45px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #635bff;
}

.hero-text > p {
    max-width: 600px;
    font-size: 17px;
    color: #667085;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 23px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-btn {
    background: #635bff;
    color: white;
}

.primary-btn:hover {
    background: #5148df;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #d0d5dd;
    background: white;
    color: #344054;
}

.secondary-btn:hover {
    border-color: #635bff;
    color: #635bff;
}

.hero-note {
    margin-top: 25px;
    font-size: 12px;
    color: #667085;
    display: flex;
    gap: 9px;
    align-items: center;
}

.hero-note span {
    color: #12b76a;
    font-weight: bold;
}


/* =========================================
   HERO GRAPHIC
   ========================================= */

.hero-card {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    width: 390px;
    min-height: 285px;
    background: #101828;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(16, 24, 40, 0.22);
    overflow: hidden;
    transform: rotate(2deg);
}

.window-top {
    height: 42px;
    background: #1d2939;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 18px;
}

.window-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #667085;
}

.code-content {
    padding: 30px;
    font-family: monospace;
    font-size: 16px;
    color: #f2f4f7;
    line-height: 2;
}

.indent {
    padding-left: 25px;
}

.purple {
    color: #c084fc;
}

.blue {
    color: #60a5fa;
}

.green {
    color: #4ade80;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.12);
    z-index: 2;
}

.floating-card span {
    font-size: 25px;
}

.floating-card strong {
    display: block;
    font-size: 13px;
}

.floating-card small {
    color: #98a2b3;
    font-size: 11px;
}

.card-one {
    top: 35px;
    left: 0;
}

.card-two {
    bottom: 35px;
    right: 0;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.section-label {
    display: block;
    color: #635bff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
}

.section-heading h2,
.about-text h2 {
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.section-heading h2 span,
.about-text h2 span {
    color: #635bff;
}

.section-heading p,
.about-text p {
    color: #667085;
}


/* =========================================
   SERVICES
   ========================================= */

.services {
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 30px;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    transition: 0.3s;
    background: white;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
    border-color: #d9d6ff;
}

.service-card.featured {
    background: #635bff;
    color: white;
}

.service-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    color: #667085;
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card.featured p {
    color: #e4e1ff;
}

.service-card a {
    color: #635bff;
    font-size: 13px;
    font-weight: 700;
}

.service-card.featured a {
    color: white;
}


/* =========================================
   ABOUT
   ========================================= */

.about {
    background: #f8f9fc;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-box {
    width: 350px;
    height: 350px;
    border-radius: 25px;
    background: #635bff;
    color: white;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 30px 70px rgba(99, 91, 255, 0.25);
    transform: rotate(-4deg);
}

.about-symbol {
    font-size: 65px;
    font-family: monospace;
    font-weight: bold;
    margin-bottom: 25px;
}

.about-box h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.about-box p {
    color: #e8e7ff;
    font-size: 14px;
}

.about-text > p {
    margin-bottom: 17px;
}

.check-list {
    margin-top: 28px;
    display: grid;
    gap: 13px;
}

.check-list div {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.check-list span {
    color: #635bff;
    font-weight: 800;
}


/* =========================================
   CTA
   ========================================= */

.cta {
    background: #101828;
    color: white;
    padding: 75px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta h2 {
    max-width: 650px;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.cta p {
    color: #98a2b3;
}

.white-btn {
    background: white;
    color: #101828;
    white-space: nowrap;
}

.white-btn:hover {
    transform: translateY(-3px);
}


/* =========================================
   CONTACT
   ========================================= */

.contact-grid {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    padding: 35px;
    text-align: center;
    border: 1px solid #eaecf0;
    border-radius: 15px;
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
    font-size: 14px;
    color: #667085;
}

.contact-card a {
    color: #635bff;
    font-weight: 600;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    border-top: 1px solid #eaecf0;
    padding-top: 35px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
}

.footer p {
    font-size: 13px;
    color: #98a2b3;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    font-size: 13px;
    color: #667085;
}

.footer-links a:hover {
    color: #635bff;
}

.copyright {
    border-top: 1px solid #eaecf0;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #98a2b3;
}


/* =========================================
   WHATSAPP
   ========================================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-note {
        justify-content: center;
    }

    .hero-card {
        margin-top: 20px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-text {
        text-align: center;
    }

    .check-list {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}


@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .nav-btn {
        padding: 9px 14px;
        font-size: 12px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-text > p {
        font-size: 15px;
    }

    .hero-card {
        height: 330px;
    }

    .code-window {
        width: 300px;
        min-height: 230px;
    }

    .code-content {
        padding: 20px;
        font-size: 12px;
    }

    .floating-card {
        padding: 10px 13px;
    }

    .card-one {
        left: -5px;
    }

    .card-two {
        right: -5px;
    }

    .section {
        padding: 70px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-box {
        width: 290px;
        height: 290px;
        padding: 35px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .whatsapp {
        right: 18px;
        bottom: 18px;
    }
}