:root {
    --bg-start: #f4f1ff;
    --bg-mid: #ffd6e9;
    --bg-end: #e4f1ff;
    --text: #3a2b4a;
    --muted: #736b78;
    --brand: #ff4aa2;
    --brand-2: #7a5cff;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(28, 14, 62, .18);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 65% 30%, rgba(255, 133, 192, .25), transparent 60%),
        radial-gradient(900px 500px at 40% 70%, rgba(122, 92, 255, .25), transparent 60%),
        linear-gradient(180deg, var(--bg-start), var(--bg-end));
}

.legal-body {
    background: #ffffff !important;
}

.legal-body .site-header {
    background: #ffffff;
}

.home-body {
    background: url('assets/pic.png') center top / cover no-repeat fixed, #ffffff;
}

.contact-body {
    background: url('assets/pic.png') center top / cover no-repeat fixed, #ffffff;
}

.container {
    /* width: min(1120px, 92%); */
    margin: 0 auto;
}

.container.hero-grid {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.8vh;
    background: rgba(255, 242, 249, 1);
    z-index: 50;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 ;
    box-sizing: border-box;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    top: 6.2%;
    left: 7.3%;
    bottom: 26.2%;
    margin-right: auto;
}

.logo-img {
    width: clamp(80px, 6.04vw, 116px);
    height: clamp(28px, 2.08vw, 40px);
    /* margin-left: 140px; */
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    color: var(--text);
}

.menu {
    position: absolute;
    display: flex;
    gap: clamp(16px, 1.5vw, 28px);
    align-items: center;
    flex-shrink: 0;
    left: 61%;
    right: 7.3%;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
}

.menu-item {
    position: relative;
    height: clamp(24px, 2.5vh, 30px);
    opacity: 0.4;
    color: rgba(25, 25, 25, 1);
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.146vw, 22px);
    line-height: clamp(24px, 2.5vh, 30px);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.menu-item:hover {
    opacity: 0.7;
}

.menu-item.active {
    color: rgba(25, 25, 25, 1);
    opacity: 1;
}

.menu-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background-color: #ff4aa2;
    display: block;
    border-radius: 2px;
}

.menu-item,
.menu-item:hover,
.menu-item:focus,
.menu-item:active,
.menu-item.active,
.menu-item.active:hover,
.menu-item.active:focus {
    text-decoration: none !important;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 24px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(800px 400px at 30% 60%, rgba(122, 92, 255, .20), transparent 70%),
        radial-gradient(900px 500px at 80% 20%, rgba(255, 74, 162, .18), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(20px, 2.5vw, 40px);
    padding: clamp(20px, 5vh, 64px) clamp(20px, 3.3vw, 64px) clamp(20px, 5vh, 64px) clamp(20px, 1.25vw, 24px);
    width: 100%;
    max-width: 100%;
    min-height: min-content;
}

.hero-title {
    position: relative;
    color: rgba(111, 16, 52, 1);
    font-family: Spartan;
    font-weight: 800;
    font-size: clamp(32px, 3.5vw, 68px);
    line-height: 0.5;
    /* margin: 0 0 clamp(20px, 3vh, 40px) 0; */
    white-space: pre-line;
    margin-top: 19.1vh;
    margin-left: 7.3vw;
}

.hero-sub {
    margin: clamp(20px, 2.5vh, 40px) 0 0 clamp(20px, 7.3vw, 140px);
    position: relative;
    color: rgba(71, 69, 92, 1);
    font-family: "Open Sans";
    font-weight: 400;
    font-size: clamp(16px, 1.25vw, 24px);
    height: 132px;
    max-width: 843px;
    top: 2.7vh;
    /* margin-left: 140px; */
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    position: relative;
}

.store-wrap {
    position: relative;
    display: inline-block;

    margin-left: 7.3vw;
    margin-top: 5.8vh;
   
}

.store-btn img {
    width: 14.8vw;
    height: 8.1vh;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .12));
}

.qrcode {
    width: 160px;
    height: 160px;
    /* box-shadow: var(--shadow); */
    position: absolute;
    left: 50%;
    top: 100%;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) scale(.98);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.store-wrap:hover .qrcode,
.store-wrap:focus-within .qrcode {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
    
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-right {
    position: relative;
}

.phone-stack {
    position: relative;
    width: 40.6vw;
    height: 64.5vh;
    margin-left: 0;
    margin-top: 8.7vh;
}

.phone-stack img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(var(--shadow));
}

.phone.main {
    width: 280px;
    left: 160px;
    top: 80px;
    transform: rotate(-2deg);
    border-radius: 28px;
}


.card.small {
    width: 210px;
    right: 40px;
    top: 230px;
    transform: rotate(10deg);
    border-radius: 18px;
}

.avatar-float {
    width: 120px;
    left: 90px;
    top: 180px;
    border-radius: 18px;
    transform: rotate(-8deg);
}

.kiss {
    width: 120px;
    right: 30px;
    bottom: 40px;
    filter: drop-shadow(0 10px 18px rgba(255, 74, 162, .35));
}

/* Contact */
.contact-hero {
    padding: 0 0 32px;
    position: relative;
}

.page-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #6f1034;
    margin: 1.9vh auto 1.8vh auto;
    width: fit-content;
    font-family: 'Poppins', sans-serif;
}

.page-sub {
    text-align: center;
    color: #333333;
    margin: clamp(16px, 2vh, 28px) auto 0 auto;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    width: fit-content;
}

.contact-card {
    width: 57vw;
    height: 48.3vh;
    margin: 6.4vh 21.5vw 24.8vh 21.5vw;
    background: rgba(255, 255, 255, .75);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(4px);
    justify-content: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.contact-mail {
    font-size: 20px;
    font-weight: 600;
    color: #e04f9e;
    text-decoration: none;
}

/* Legal (Terms / Privacy) */
.legal-page {
    margin-top: 4.8vh ;
    
}

.legal-updated {
    /* text-align: center; */
    margin: 22.1vh 12.5vw 0 12.5vw;
    /* color: var(--muted); */
    /* margin: 0 0 16px; */
    font-size: 13px;
}

.legal-article {
    margin: 6.5vh 12.5vw  0 12.5vw;
    background: transparent;
    color: rgba(33, 33, 33, 1);
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
}

.legal-article h3 {
    margin: 22px 0 10px;
}

.legal-article p {
    margin: 0 0 0;
}

.legal-page .page-title {
    font-size: 34px;
    font-weight: bold;
    line-height: 49px;
    color: rgb(33, 33, 33);
    font-family: "Open Sans", sans-serif;
    vertical-align: top;
    text-align: center;
    margin: 8px auto 12px auto;
    width: fit-content;
}

/* Make Privacy page section headings look like regular text */
.privacy-body .legal-article h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 12px;
}

.legal-list {
    margin: 0 0 12px 1px;
}

.legal-note {
    /* font-weight: 600; */
    /* color: #5f5a9b; */
    /* background: rgba(122, 92, 255, .08); */
    padding: 5vh 0;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    /* padding: 40px 0; */
    color: #8b8792;
    text-align: center;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        right: 16px;
        top: 84px;
        background: rgba(255, 255, 255, .92);
        padding: 12px 16px;
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .menu.open {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: clamp(40px, 6vh, 80px) clamp(20px, 4vw, 64px);
        gap: clamp(20px, 3vh, 40px);
    }

    .hero-title {
        top: 320px;
        left: 7.3%;
        width: 754px;
        height: 152px;
        color: rgba(111, 16, 52, 1);
        font-family: Spartan;
        font-weight: 800;
        font-size: 68px;
        line-height: 0.5;
    }

    .hero-sub {
        margin-left: 0;
        margin-right: auto;
        max-width: 100%;
        text-align: center;
    }

    .store-wrap {
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
    }

    .phone-stack {
        width: 40.6vw !important;
        height: 64.5vh !important;
        margin-left: 4.4vw!important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(28px, 5vw, 48px);
    }

    .hero-sub {
        font-size: clamp(14px, 2vw, 20px);
        margin-top: clamp(15px, 2vh, 30px);
    }

    .phone-stack {
        width: min(60vw, 350px);
        height: min(60vw, 350px);
    }
}

@media (max-width: 560px) {
    .hero-cta {
        flex-wrap: wrap;
        justify-content: center;
    }

    .qrcode {
        width: 104px;
        height: 104px;
    }

    .phone-stack {
        width: min(55vw, 300px);
        height: min(55vw, 300px);
    }
}