@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: #fffafa;

    color: #2d1b22;

    font-family: "DM Sans", sans-serif;

    overflow-x: hidden;

}


/* BACKGROUND */

.background-glow {

    position: fixed;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: .3;

    pointer-events: none;

    z-index: -1;

}


.glow-1 {

    background: #ffc0d3;

    top: -200px;

    left: -200px;

}


.glow-2 {

    background: #f5c6ff;

    bottom: -200px;

    right: -200px;

}


/* NAVBAR */

.navbar {

    width: 100%;

    max-width: 1200px;

    margin: auto;

    padding: 24px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    text-decoration: none;

    color: #2d1b22;

    font-family: "Playfair Display", serif;

    font-size: 22px;

    font-weight: 600;

}


.logo span {

    color: #e65787;

    font-size: 28px;

    margin-right: 5px;

}


.nav-btn {

    padding: 10px 20px;

    border-radius: 30px;

    background: #2d1b22;

    color: white;

    text-decoration: none;

    font-size: 13px;

}


/* HERO */

.hero {

    min-height: 75vh;

    max-width: 900px;

    margin: auto;

    padding: 80px 25px 100px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

}


.hero-badge {

    padding: 8px 15px;

    background: white;

    border: 1px solid #f2dce4;

    border-radius: 30px;

    color: #9a6276;

    font-size: 12px;

    margin-bottom: 25px;

    box-shadow: 0 10px 30px rgba(100, 30, 50, .05);

}


.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 8vw, 90px);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -3px;

}


.hero h1 span {

    display: block;

    color: #dc5c87;

    font-style: italic;

}


.hero p {

    max-width: 540px;

    margin-top: 25px;

    color: #876b75;

    line-height: 1.8;

    font-size: 16px;

}


.main-btn {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding: 15px 23px;

    border-radius: 40px;

    background: #df5d88;

    color: white;

    text-decoration: none;

    font-size: 13px;

    box-shadow: 0 15px 30px rgba(223, 93, 136, .2);

    transition: .3s;

}


.main-btn:hover {

    transform: translateY(-3px);

}


.main-btn span {

    font-size: 18px;

}


/* FLOATING */

.floating-hearts {

    position: absolute;

    inset: 0;

    pointer-events: none;

}


.floating-hearts span {

    position: absolute;

    color: #ed9ab5;

    opacity: .5;

    font-size: 35px;

}


.floating-hearts span:nth-child(1) {

    top: 20%;

    left: 8%;

}


.floating-hearts span:nth-child(2) {

    right: 8%;

    top: 35%;

}


.floating-hearts span:nth-child(3) {

    left: 20%;

    bottom: 10%;

}


/* TEMPLATES */

.templates {

    max-width: 1200px;

    margin: auto;

    padding: 80px 30px;

}


.section-heading {

    max-width: 600px;

    margin-bottom: 50px;

}


.section-heading > span {

    color: #db668d;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 600;

}


.section-heading h2 {

    margin-top: 12px;

    font-family: "Playfair Display", serif;

    font-size: 42px;

    line-height: 1.2;

}


.section-heading p {

    margin-top: 15px;

    color: #8e707a;

    line-height: 1.7;

}


/* GRID */

.template-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;

}


.template-card {

    position: relative;

    background: white;

    border-radius: 24px;

    overflow: hidden;

    text-decoration: none;

    color: inherit;

    border: 1px solid #f1e3e7;

    transition: .35s;

}


.template-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 25px 60px rgba(80, 30, 45, .1);

}


.card-image {

    height: 220px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.reasons-bg {

    background:

        radial-gradient(circle at 30% 30%, #ffb6cc, transparent 30%),

        linear-gradient(135deg, #fbe4eb, #eeb6c9);

}


.unlock-bg {

    background:

        radial-gradient(circle at 50% 40%, #f5b4ce, transparent 20%),

        linear-gradient(135deg, #2c1020, #7d244b);

}


.album-bg {

    background:

        radial-gradient(circle at 60% 30%, #ffe1ad, transparent 25%),

        linear-gradient(135deg, #7c513a, #d5a07c);

}


.flower-bg {

    background:

        radial-gradient(circle at 40% 40%, #ffd1e2, transparent 25%),

        linear-gradient(135deg, #f5d6f0, #dcb1e0);

}


.card-number {

    position: absolute;

    top: 18px;

    left: 20px;

    color: rgba(255,255,255,.8);

    font-size: 11px;

    letter-spacing: 2px;

}


.card-icon {

    font-size: 70px;

    filter: drop-shadow(0 15px 20px rgba(0,0,0,.12));

    transition: .4s;

}


.template-card:hover .card-icon {

    transform: scale(1.15) rotate(-5deg);

}


.lock-icon {

    filter: drop-shadow(0 15px 20px rgba(0,0,0,.4));

}


/* CONTENT */

.card-content {

    padding: 25px;

}


.card-top {

    display: flex;

    justify-content: space-between;

    color: #d77a99;

    font-size: 9px;

    letter-spacing: 2px;

}


.card-content h3 {

    margin-top: 13px;

    font-family: "Playfair Display", serif;

    font-size: 27px;

}


.card-content p {

    margin-top: 12px;

    color: #876c76;

    font-size: 13px;

    line-height: 1.8;

}


.card-footer {

    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #f2e5e9;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #a84c6e;

    font-size: 12px;

}


.card-footer strong {

    font-size: 20px;

}


/* FEATURED */

.popular-label {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 2;

    padding: 7px 12px;

    border-radius: 20px;

    background: rgba(255,255,255,.15);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,.2);

    color: white;

    font-size: 10px;

}


/* CUSTOM */

.custom-section {

    max-width: 1200px;

    margin: auto;

    padding: 30px 30px 100px;

}


.custom-box {

    padding: 50px;

    border-radius: 30px;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 35px;

    background:

        radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 30%),

        linear-gradient(135deg, #351322, #70213f);

    color: white;

}


.custom-heart {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.1);

    font-size: 35px;

}


.mini-title {

    color: #efa1bb;

    font-size: 10px;

    letter-spacing: 3px;

}


.custom-box h2 {

    margin-top: 10px;

    font-family: "Playfair Display", serif;

    font-size: 35px;

}


.custom-box p {

    margin-top: 10px;

    color: #d9b8c4;

    font-size: 13px;

    line-height: 1.7;

}


.custom-btn {

    padding: 15px 22px;

    background: white;

    color: #5c1834;

    border-radius: 30px;

    text-decoration: none;

    font-size: 12px;

    white-space: nowrap;

}


/* FOOTER */

footer {

    padding: 50px 25px;

    text-align: center;

    border-top: 1px solid #f1e5e8;

}


.footer-logo {

    font-family: "Playfair Display", serif;

    font-size: 22px;

}


footer p {

    margin-top: 10px;

    color: #a3838d;

    font-size: 12px;

}


/* MOBILE */

@media (max-width: 768px) {

    .navbar {

        padding: 20px;

    }

    .hero {

        min-height: 70vh;

        padding-top: 60px;

    }

    .hero h1 {

        letter-spacing: -2px;

    }

    .template-grid {

        grid-template-columns: 1fr;

    }

    .section-heading h2 {

        font-size: 34px;

    }

    .custom-box {

        grid-template-columns: 1fr;

        text-align: center;

        padding: 40px 25px;

    }

    .custom-heart {

        margin: auto;

    }

    .custom-btn {

        display: inline-block;

        justify-self: center;

    }

}