/* ==========================================
   MSEIVIO Website
   Version: 1.0
========================================== */


/* ---------- GOOGLE FONT ---------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* ---------- RESET ---------- */

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


/* ---------- ROOT COLORS ---------- */

:root {

    --background: #ffffff;

    --text: #111827;

    --text-light: #6b7280;

    --blue: #2563eb;

    --blue-hover: #1d4ed8;

    --border: #e5e7eb;

    --container: 1200px;

}


/* ---------- BODY ---------- */

body {

    font-family: 'Inter', sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.8;

    -webkit-font-smoothing: antialiased;

}


/* ---------- LINKS ---------- */

a {

    text-decoration: none;

}


/* ---------- IMAGES ---------- */

img {

    max-width: 100%;

    display: block;

}


/* ---------- CONTAINER ---------- */

.container {

    width: min(92%, var(--container));

    margin: auto;

}


/* ---------- SECTIONS ---------- */

section {

    padding: 120px 0;

}


/* ---------- HEADINGS ---------- */

h1 {

    font-size: 4.5rem;

    font-weight: 700;

    letter-spacing: -2px;

}


h2 {

    font-size: 2.2rem;

    font-weight: 600;

}


h3 {

    font-size: 1.25rem;

    font-weight: 600;

}


p {

    color: var(--text-light);

    font-size: 1.05rem;

}


/* ---------- BUTTON ---------- */

.button {

    display: inline-block;

    background: var(--blue);

    color: white;

    padding: 15px 32px;

    border-radius: 12px;

    font-weight: 600;

    transition: .30s;

}


.button:hover {

    background: var(--blue-hover);

}


/* ==========================================
   HERO
========================================== */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 0;

}


.hero .container {

    max-width: 700px;

}


.hero h1 {

    font-size: clamp(3rem, 8vw, 5.5rem);

    letter-spacing: -3px;

    margin-bottom: 18px;

}


.hero h2 {

    font-size: clamp(1.6rem, 4vw, 2.8rem);

    font-weight: 500;

    color: var(--text);

    margin-bottom: 30px;

}


.hero p {

    max-width: 640px;

    margin: 0 auto;

    font-size: 1.2rem;

    line-height: 1.9;

    margin-bottom: 45px;

}


.button {

    box-shadow: 0 12px 30px rgba(37, 99, 235, .18);

}

.button:hover {

    transform: translateY(-2px);

}



/* ==========================================
   ABOUT
========================================== */

#about {

    background: #f8fafc;

}


#about .container {

    max-width: 850px;

    text-align: center;

}


#about h2 {

    margin-bottom: 30px;

}


#about p {

    font-size: 1.15rem;

}


/* ==========================================
   PRODUCTS
========================================== */

.cards {

    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

}


.cards article {

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 40px;

    transition: .35s;

}


.cards article:hover {

    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);

}


.cards h3 {

    margin-bottom: 18px;

}


/* ==========================================
   CONTACT
========================================== */

#contact {

    text-align: center;

}


#contact h2 {

    margin-bottom: 25px;

}


#contact p {

    font-size: 1.2rem;

}


/* ==========================================
   FOOTER
========================================== */

footer {

    border-top: 1px solid var(--border);

    padding: 40px 0;

    text-align: center;

    color: var(--text-light);

}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px) {

    section {

        padding: 90px 0;

    }

    .cards {

        grid-template-columns: 1fr;

    }

    h1 {

        font-size: 3rem;

    }

}