/* =========================================
   SCANSHIELD — LUXURY PASTEL UI
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background:
        radial-gradient(circle at 10% 10%, #f8e9f2 0, transparent 30%),
        radial-gradient(circle at 90% 20%, #e4f0ed 0, transparent 30%),
        radial-gradient(circle at 50% 100%, #eee7f7 0, transparent 35%),
        #faf9f7;
    color: #292832;
    line-height: 1.6;
    min-height: 100vh;
}

/* =========================================
   HEADER
   ========================================= */

header {
    width: 100%;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(120, 110, 130, 0.12);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #4a4056;
}

.logo span {
    color: #9b7fa8;
}

/* =========================================
   NAVIGATION
   ========================================= */

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #625d69;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

nav a:hover {
    color: #987fa7;
}

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

.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    padding: 90px 8%;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    color: #393343;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #9c7fa8;
}

.hero p {
    font-size: 18px;
    color: #706a76;
    max-width: 560px;
    margin-bottom: 35px;
}

/* =========================================
   BUTTONS
   ========================================= */

button,
.btn {
    border: none;
    outline: none;
    cursor: pointer;

    padding: 14px 28px;
    border-radius: 14px;

    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;

    color: white;

    background: linear-gradient(
        135deg,
        #9d82aa,
        #7e9b94
    );

    box-shadow:
        0 10px 25px rgba(126, 110, 145, 0.20);

    transition: all 0.3s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(126, 110, 145, 0.28);
}

/* Secondary button */

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #665c70;

    border: 1px solid rgba(130, 115, 140, 0.18);

    box-shadow: none;
}

.btn-secondary:hover {
    background: #f4edf6;
}

/* =========================================
   CARDS
   ========================================= */

.card {
    background: rgba(255, 255, 255, 0.75);

    border: 1px solid rgba(150, 135, 155, 0.14);

    border-radius: 24px;

    padding: 30px;

    box-shadow:
        0 15px 45px rgba(70, 60, 80, 0.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition: all 0.35s ease;
}

.card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 55px rgba(70, 60, 80, 0.12);
}

.card h2,
.card h3 {
    color: #403847;
    margin-bottom: 10px;
}

.card p {
    color: #77717b;
}

/* =========================================
   SECTION
   ========================================= */

section {
    padding: 90px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    color: #403847;
}

.section-title p {
    color: #817a84;
    margin-top: 10px;
}

/* =========================================
   FEATURES
   ========================================= */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.78);
    border-radius: 24px;
    padding: 32px;

    border: 1px solid rgba(150, 135, 155, 0.13);

    box-shadow:
        0 12px 35px rgba(80, 70, 90, 0.06);

    transition: 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: linear-gradient(
        135deg,
        #f1dce8,
        #dcece7
    );

    color: #705b76;

    font-size: 24px;

    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    color: #403847;
    margin-bottom: 10px;
}

.feature-card p {
    color: #77717c;
}

/* =========================================
   SCAN BOX
   ========================================= */

.scan-box {
    max-width: 650px;
    margin: 0 auto;

    padding: 45px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.9),
            rgba(248,241,247,0.8)
        );

    border: 1px solid rgba(145, 125, 155, 0.15);

    border-radius: 30px;

    box-shadow:
        0 25px 60px rgba(70,60,80,0.09);
}

.scan-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #403847;
    margin-bottom: 12px;
}

.scan-box p {
    color: #7b747e;
    margin-bottom: 25px;
}

/* =========================================
   INPUTS
   ========================================= */

input,
textarea,
select {
    width: 100%;

    padding: 15px 18px;

    border-radius: 13px;

    border: 1px solid rgba(130, 115, 140, 0.18);

    background: rgba(255,255,255,0.8);

    color: #403847;

    font-family: 'DM Sans', sans-serif;

    outline: none;

    transition: 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #a68caf;

    box-shadow:
        0 0 0 4px rgba(166,140,175,0.10);
}

/* =========================================
   STATUS / RESULT
   ========================================= */

.result {
    margin-top: 25px;
    padding: 20px;

    border-radius: 18px;

    background: #edf5f1;

    border: 1px solid #d4e7df;

    color: #506e63;
}

.warning {
    background: #fbf2e7;
    border: 1px solid #f0dcc3;
    color: #876c4e;
}

.danger {
    background: #f8e9ed;
    border: 1px solid #efd0d9;
    color: #875866;
}

/* =========================================
   BADGES
   ========================================= */

.badge {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    background: #eee6f2;
    color: #725c7c;
}

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

footer {
    margin-top: 80px;

    padding: 35px 8%;

    text-align: center;

    background: rgba(247, 243, 247, 0.75);

    border-top: 1px solid rgba(130,115,140,0.10);

    color: #7b747e;
}

footer strong {
    font-family: 'Playfair Display', serif;
    color: #4b4054;
}

/* =========================================
   GLASS EFFECT
   ========================================= */

.glass {
    background: rgba(255,255,255,0.62);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.65);

    box-shadow:
        0 20px 50px rgba(70,60,80,0.08);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
    }

    .hero-content {
        max-width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    nav {
        gap: 15px;
    }
}

@media (max-width: 600px) {

    header {
        padding: 18px 5%;
    }

    nav {
        display: none;
    }

    section {
        padding: 65px 5%;
    }

    .hero {
        padding: 65px 5%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .scan-box {
        padding: 30px 20px;
    }
}
