/* =====================================================
   ROOT
===================================================== */

:root {

    --cream: #fffaf5;
    --paper: #fffdf9;
    --white: #ffffff;

    --ink: #2d2525;
    --muted: #7d7070;

    --pink: #f4b6bd;
    --pink-light: #fde7e8;

    --red: #d95b65;
    --red-dark: #b9434d;

    --brown: #6d5150;
    --line: #eadfda;

    --yellow: #f5df9b;
    --green: #9fc5a7;

    --shadow: 0 20px 50px rgba(65, 42, 42, 0.10);

    --radius: 24px;
}


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {

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

    background: var(--cream);

    color: var(--ink);

    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    width: 100%;

    height: 82px;

    display: flex;
    align-items: center;

    justify-content: space-between;

    padding: 0 6%;

    background: rgba(255, 250, 245, 0.94);

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

    position: sticky;

    top: 0;

    z-index: 100;

    backdrop-filter: blur(12px);
}


.logo {

    font-family: "Playfair Display", serif;

    font-size: 26px;

    font-weight: 600;

    display: flex;

    align-items: center;

    gap: 7px;
}

.logo span:last-child {
    font-style: italic;
}

.logo-heart {
    color: var(--red);
    font-size: 22px;
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 38px;

    margin-left: 80px;
}

.nav-links a {

    font-size: 14px;

    color: var(--muted);

    position: relative;

    padding: 10px 0;

    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-links a.active::after {

    content: "";

    position: absolute;

    width: 5px;

    height: 5px;

    background: var(--red);

    border-radius: 50%;

    bottom: 1px;

    left: 50%;

    transform: translateX(-50%);
}


.nav-right {

    display: flex;

    align-items: center;

    gap: 20px;
}

.notification-btn {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--white);

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

    color: var(--brown);

    position: relative;

    transition: 0.3s ease;
}

.notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.notification-dot {

    width: 7px;
    height: 7px;

    background: var(--red);

    border-radius: 50%;

    position: absolute;

    top: 9px;
    right: 10px;
}


.mini-profile {

    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;
}

.mini-avatar {

    width: 38px;
    height: 38px;

    background: var(--pink-light);

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

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-family: "Playfair Display", serif;

    font-weight: 600;

    color: var(--red);
}

.mini-profile i {
    font-size: 10px;
    color: var(--muted);
}


.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    background: var(--white);

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

    border-radius: 50%;
}


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

.mobile-menu {

    position: fixed;

    inset: 0;

    background: var(--cream);

    z-index: 200;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 28px;

    transform: translateX(100%);

    transition: 0.5s cubic-bezier(.77,0,.18,1);
}

.mobile-menu.show {
    transform: translateX(0);
}

.mobile-menu a {

    font-family: "Playfair Display", serif;

    font-size: 34px;

    font-style: italic;
}

.close-menu {

    position: absolute;

    top: 25px;
    right: 25px;

    width: 45px;
    height: 45px;

    background: var(--white);

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

    border-radius: 50%;
}


/* =====================================================
   FLOATING HEARTS
===================================================== */

.floating-heart {

    position: fixed;

    color: var(--pink);

    font-size: 22px;

    pointer-events: none;

    z-index: 0;

    animation: floatHeart 5s ease-in-out infinite;
}

.heart-1 {
    top: 18%;
    left: 3%;
}

.heart-2 {
    top: 60%;
    right: 4%;
    animation-delay: 1s;
}

.heart-3 {
    top: 38%;
    right: 2%;
    animation-delay: 2s;
}

.heart-4 {
    bottom: 10%;
    left: 4%;
    animation-delay: 3s;
}

@keyframes floatHeart {

    0%,
    100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-15px) rotate(8deg);
    }
}


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

.hero {

    min-height: calc(100vh - 82px);

    padding: 80px 8% 90px;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;

    max-width: 1500px;

    margin: auto;
}


.hero-content {
    position: relative;
    z-index: 2;
}


.eyebrow,
.small-label {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--red);

    display: flex;

    align-items: center;

    gap: 10px;
}

.eyebrow span {

    width: 25px;
    height: 1px;

    background: var(--red);
}


.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 6vw, 92px);

    line-height: 0.98;

    font-weight: 500;

    max-width: 720px;

    margin: 25px 0;
}

.hero h1 em,
h2 em {

    color: var(--red);

    font-weight: 500;

    font-style: italic;
}


.hero-text {

    max-width: 500px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 32px;
}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 25px;
}


.primary-btn {

    background: var(--red);

    color: white;

    padding: 16px 23px;

    border-radius: 50px;

    display: inline-flex;

    align-items: center;

    gap: 13px;

    font-weight: 600;

    transition: 0.35s ease;

    box-shadow: 0 10px 25px rgba(217, 91, 101, 0.20);
}

.primary-btn:hover {

    background: var(--red-dark);

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(217, 91, 101, 0.28);
}

.primary-btn i {
    transition: 0.3s ease;
}

.primary-btn:hover i {
    transform: translateX(4px);
}


.text-btn {

    background: transparent;

    color: var(--brown);

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 600;
}

.text-btn i {
    color: var(--red);
    font-size: 20px;
}


.tiny-note {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 50px;
}

.tiny-note p {

    color: var(--muted);

    font-size: 12px;
}

.tiny-note strong {
    color: var(--ink);
}


.tiny-avatars {

    display: flex;
}

.tiny-avatars span {

    width: 30px;
    height: 30px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    margin-left: -7px;

    border: 2px solid var(--cream);

    background: var(--pink-light);

    color: var(--red);

    font-size: 10px;

    font-weight: 700;
}

.tiny-avatars span:first-child {
    margin-left: 0;
}


/* =====================================================
   HERO JOURNAL CARD
===================================================== */

.hero-visual {

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}


.journal-card {

    width: min(410px, 90%);

    background: var(--paper);

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

    padding: 25px;

    box-shadow: 25px 30px 70px rgba(70, 44, 44, 0.13);

    transform: rotate(2deg);

    position: relative;

    z-index: 3;

    transition: 0.5s ease;
}

.journal-card:hover {

    transform: rotate(0deg) translateY(-8px);

    box-shadow: 25px 40px 80px rgba(70, 44, 44, 0.17);
}


.journal-top {

    display: flex;

    justify-content: space-between;

    color: #a49391;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


.tape {

    position: absolute;

    width: 90px;
    height: 23px;

    background: #f3dfb5;

    opacity: 0.8;

    top: -10px;
}

.tape-left {
    left: 35px;
    transform: rotate(-7deg);
}

.tape-right {
    right: 35px;
    transform: rotate(7deg);
}


.profile-photo {

    height: 350px;

    overflow: hidden;

    position: relative;
}

.profile-photo img {

    height: 100%;

    object-fit: cover;

    transition: 0.7s ease;
}

.journal-card:hover .profile-photo img {
    transform: scale(1.04);
}


.online-status {

    position: absolute;

    bottom: 15px;
    right: 15px;

    width: 12px;
    height: 12px;

    background: #82b88d;

    border-radius: 50%;

    border: 3px solid white;
}


.profile-info {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 20px;
}

.profile-info h2 {

    font-family: "Playfair Display", serif;

    font-size: 27px;

    font-weight: 600;
}

.profile-info p {

    color: var(--muted);

    font-size: 11px;

    margin-top: 4px;
}

.profile-info p i {
    color: var(--red);
}


.verified {

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: var(--red);

    color: white;

    display: grid;

    place-items: center;

    font-size: 11px;
}


.profile-description {

    margin: 18px 0;

    padding-left: 15px;

    border-left: 2px solid var(--pink);
}

.profile-description p {

    color: var(--brown);

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: 14px;

    line-height: 1.5;
}


.interest-row {

    display: flex;

    gap: 7px;

    flex-wrap: wrap;
}

.interest-row span {

    background: var(--pink-light);

    padding: 7px 10px;

    font-size: 10px;

    border-radius: 20px;

    color: var(--brown);
}


.compatibility {

    margin-top: 20px;
}

.compatibility-top {

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    letter-spacing: 1.5px;

    color: var(--muted);

    margin-bottom: 7px;
}

.compatibility-top strong {

    color: var(--red);

    font-size: 12px;
}


.compatibility-bar {

    width: 100%;

    height: 5px;

    background: #f0e6e2;

    overflow: hidden;
}

.compatibility-bar span {

    display: block;

    width: 94%;

    height: 100%;

    background: var(--red);

    animation: loadBar 1.4s ease forwards;
}

@keyframes loadBar {

    from {
        width: 0;
    }

    to {
        width: 94%;
    }
}


.card-actions {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 20px;
}

.card-action {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: white;

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

    transition: 0.3s ease;
}

.card-action:hover {
    transform: translateY(-5px);
}

.card-action.dislike {
    color: var(--muted);
}

.card-action.like {
    background: var(--red);
    color: white;
}


.floating-note {

    position: absolute;

    background: white;

    padding: 13px 17px;

    box-shadow: 0 15px 35px rgba(70, 44, 44, 0.12);

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

    font-size: 11px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 9px;

    animation: noteFloat 4s ease-in-out infinite;
}

.note-one {

    top: 18%;

    right: 0;

    transform: rotate(4deg);
}

.note-two {

    bottom: 19%;

    left: 0;

    transform: rotate(-4deg);

    animation-delay: 1s;
}

.floating-note span {
    color: var(--red);
}

@keyframes noteFloat {

    0%,
    100% {
        transform: translateY(0) rotate(4deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}


/* =====================================================
   DISCOVERY
===================================================== */

.discovery-section {

    padding: 110px 8%;

    max-width: 1500px;

    margin: auto;
}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 45px;
}

.section-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 60px);

    font-weight: 500;

    line-height: 1;

    margin-top: 12px;
}


.round-arrow {

    width: 50px;
    height: 50px;

    border-radius: 50%;

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

    background: white;

    transition: 0.3s ease;
}

.round-arrow:hover {

    background: var(--red);

    color: white;

    transform: rotate(-45deg);
}


.profile-grid {

    display: grid;

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

    gap: 20px;
}


.discover-card {

    background: white;

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

    transition: 0.4s ease;

    overflow: hidden;
}

.discover-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);
}


.discover-image {

    height: 330px;

    position: relative;

    overflow: hidden;
}

.discover-image img {

    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;
}

.discover-card:hover img {
    transform: scale(1.05);
}


.distance,
.match-label {

    position: absolute;

    top: 13px;

    left: 13px;

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

    padding: 7px 10px;

    font-size: 9px;

    letter-spacing: 1px;

    border-radius: 20px;
}


.match-label {

    background: var(--red);

    color: white;

    font-weight: 700;
}


.save-btn {

    position: absolute;

    right: 13px;

    top: 13px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: white;

    color: var(--brown);

    transition: 0.3s ease;
}

.save-btn:hover {

    background: var(--red);

    color: white;

    transform: scale(1.1);
}


.discover-content {

    padding: 18px;
}

.name-row {

    display: flex;

    align-items: center;

    gap: 8px;
}

.name-row h3 {

    font-family: "Playfair Display", serif;

    font-size: 21px;
}

.online {

    width: 7px;
    height: 7px;

    background: #84b68d;

    border-radius: 50%;
}

.discover-content > p {

    font-size: 11px;

    color: var(--muted);

    margin: 6px 0 15px;
}


.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 5px;
}

.tags span {

    font-size: 9px;

    padding: 6px 8px;

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

    border-radius: 20px;

    color: var(--brown);
}


/* =====================================================
   MATCHES
===================================================== */

.matches-section {

    background: #f7e8e5;

    padding: 110px 8%;
}

.matches-container {

    max-width: 1300px;

    margin: auto;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;

    align-items: center;
}


.match-copy h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 5vw, 70px);

    font-weight: 500;

    line-height: 1;

    margin: 20px 0;
}

.match-copy > p {

    color: var(--muted);

    line-height: 1.8;

    max-width: 450px;

    margin-bottom: 30px;
}


.outline-btn {

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

    background: transparent;

    padding: 14px 20px;

    border-radius: 50px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    transition: 0.3s ease;
}

.outline-btn:hover {

    background: var(--brown);

    color: white;
}


.match-board {

    background: var(--paper);

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

    padding: 25px;

    box-shadow: 15px 25px 50px rgba(80, 50, 50, 0.08);
}


.board-header {

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1.5px;

    padding-bottom: 20px;

    border-bottom: 1px dashed var(--line);
}

.board-header i {
    color: var(--red);
}


.match-person {

    display: grid;

    grid-template-columns: 90px 1fr auto;

    gap: 20px;

    align-items: center;

    padding: 22px 0;

    border-bottom: 1px dashed var(--line);
}

.match-person:last-child {
    border-bottom: none;
}


.match-image {

    width: 90px;
    height: 90px;

    position: relative;
}

.match-image img {

    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


.match-percent {

    position: absolute;

    bottom: -4px;

    right: -5px;

    background: var(--red);

    color: white;

    font-size: 8px;

    padding: 5px 6px;

    border-radius: 20px;

    font-weight: 700;
}


.match-details h3 {

    font-family: "Playfair Display", serif;

    font-size: 22px;
}

.match-details p {

    color: var(--muted);

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: 13px;

    margin: 5px 0 12px;
}


.match-stats {

    display: flex;

    gap: 18px;

    color: var(--muted);

    font-size: 9px;
}

.match-stats i {
    color: var(--red);
}


.match-heart {

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--pink-light);

    color: var(--red);

    transition: 0.3s ease;
}

.match-heart:hover {

    background: var(--red);

    color: white;

    transform: scale(1.1);
}


/* =====================================================
   HOW IT WORKS
===================================================== */

.how-section {

    padding: 120px 8%;

    max-width: 1400px;

    margin: auto;
}

.centered {

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.centered p {

    color: var(--muted);

    max-width: 500px;

    line-height: 1.7;

    margin-top: 15px;
}


.steps {

    display: grid;

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

    gap: 60px;

    margin-top: 80px;
}

.step {

    text-align: center;

    position: relative;
}

.step:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 45px;

    right: -35px;

    width: 70px;

    border-top: 1px dashed #d8c7c2;
}


.step-number {

    font-family: "Playfair Display", serif;

    font-style: italic;

    color: var(--pink);

    font-size: 18px;

    margin-bottom: 10px;
}


.step-icon {

    width: 75px;
    height: 75px;

    border-radius: 50%;

    background: var(--pink-light);

    color: var(--red);

    display: grid;

    place-items: center;

    margin: auto;

    font-size: 24px;

    transition: 0.4s ease;
}

.step:hover .step-icon {

    transform: rotate(-8deg) scale(1.08);

    background: var(--red);

    color: white;
}


.step h3 {

    font-family: "Playfair Display", serif;

    font-size: 23px;

    margin: 20px 0 10px;
}

.step p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    max-width: 260px;

    margin: auto;
}


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

.message-section {

    padding: 100px 8%;

    background: var(--brown);

    color: white;
}

.message-wrapper {

    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;

    position: relative;
}


.message-left .small-label {
    color: var(--pink);
}

.message-left h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1;

    font-weight: 500;

    margin: 20px 0;
}

.message-left h2 em {
    color: var(--pink);
}

.message-left > p {

    color: #d9cbca;

    line-height: 1.8;

    max-width: 440px;

    margin-bottom: 30px;
}


.chat-preview {

    background: var(--paper);

    color: var(--ink);

    box-shadow: 20px 30px 60px rgba(0,0,0,0.15);

    transform: rotate(1deg);

    transition: 0.4s ease;
}

.chat-preview:hover {
    transform: rotate(0deg) translateY(-5px);
}


.chat-header {

    padding: 17px;

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

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.chat-person {

    display: flex;

    align-items: center;

    gap: 10px;
}

.chat-avatar {

    width: 38px;
    height: 38px;

    background: var(--pink-light);

    color: var(--red);

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-family: "Playfair Display", serif;
}

.chat-person strong {

    display: block;

    font-size: 12px;
}

.chat-person small {

    color: #76a67e;

    font-size: 9px;
}


.chat-header button {

    background: transparent;

    color: var(--muted);
}


.chat-body {

    padding: 20px;

    min-height: 320px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    justify-content: center;
}

.date-divider {

    text-align: center;

    font-size: 8px;

    letter-spacing: 2px;

    color: #aaa;

    margin-bottom: 10px;
}

.received-message,
.sent-message {

    max-width: 75%;

    padding: 12px 15px;

    font-size: 11px;

    line-height: 1.5;
}

.received-message {

    background: #f5eeee;

    align-self: flex-start;

    border-radius: 4px 18px 18px 18px;
}

.sent-message {

    background: var(--red);

    color: white;

    align-self: flex-end;

    border-radius: 18px 4px 18px 18px;
}


.chat-input {

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

    padding: 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #aaa;

    font-size: 10px;
}

.chat-input button {

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: var(--red);

    color: white;
}


.message-decoration {

    position: absolute;

    top: -60px;

    left: -60px;

    font-size: 80px;

    color: rgba(255,255,255,0.05);

    font-family: "Playfair Display", serif;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {

    padding: 120px 8%;

    text-align: center;

    background: var(--cream);
}


.cta-paper {

    max-width: 800px;

    margin: auto;

    background: var(--yellow);

    padding: 75px 30px;

    position: relative;

    box-shadow: 10px 15px 35px rgba(80,50,30,0.08);

    transform: rotate(-1deg);
}


.cta-heart {

    font-size: 40px;

    color: var(--red);

    margin-bottom: 15px;

    animation: heartbeat 1.8s infinite;
}

@keyframes heartbeat {

    0%, 100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.15);
    }

    20% {
        transform: scale(1);
    }
}


.cta-paper .small-label {

    justify-content: center;

    color: var(--red);
}


.cta-paper h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 6vw, 72px);

    line-height: 1;

    font-weight: 500;

    margin: 20px auto;

    max-width: 650px;
}

.cta-paper p {

    color: var(--brown);

    max-width: 480px;

    margin: auto auto 30px;

    line-height: 1.7;

    font-size: 14px;
}


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

footer {

    background: #251f1f;

    color: white;

    padding: 70px 8% 25px;
}


.footer-top {

    max-width: 1300px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 60px;

    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand p {

    color: #aaa;

    font-size: 12px;

    margin-top: 15px;

    max-width: 200px;

    line-height: 1.6;
}


.footer-links {

    display: flex;

    gap: 100px;
}

.footer-links div {

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-links h4 {

    font-size: 11px;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.footer-links a {

    color: #aaa;

    font-size: 11px;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: white;
}


.footer-bottom {

    max-width: 1300px;

    margin: 20px auto 0;

    display: flex;

    justify-content: space-between;

    color: #777;

    font-size: 9px;
}


/* =====================================================
   MODAL
===================================================== */

.modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(35,25,25,0.55);

    backdrop-filter: blur(8px);

    display: grid;

    place-items: center;

    z-index: 500;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s ease;
}

.modal-overlay.show {

    opacity: 1;

    visibility: visible;
}


.join-modal {

    background: var(--paper);

    width: min(450px, 90%);

    padding: 45px;

    position: relative;

    text-align: center;

    transform: translateY(25px) scale(0.97);

    transition: 0.4s ease;

    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.modal-overlay.show .join-modal {

    transform: translateY(0) scale(1);
}


.modal-close {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: #f4eeee;

    color: var(--brown);
}


.modal-icon {

    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: var(--pink-light);

    color: var(--red);

    display: grid;

    place-items: center;

    margin: auto auto 20px;

    font-size: 24px;
}


.join-modal .small-label {
    justify-content: center;
}

.join-modal h2 {

    font-family: "Playfair Display", serif;

    font-size: 38px;

    font-weight: 500;

    line-height: 1;

    margin: 15px 0;
}

.join-modal h2 em {
    color: var(--red);
}

.join-modal > p {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;

    margin-bottom: 25px;
}


.modal-input {

    text-align: left;

    margin-bottom: 20px;
}

.modal-input label {

    font-size: 10px;

    display: block;

    margin-bottom: 7px;

    color: var(--brown);

    font-weight: 600;
}

.modal-input input {

    width: 100%;

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

    background: white;

    padding: 14px;

    outline: none;

    transition: 0.3s ease;
}

.modal-input input:focus {

    border-color: var(--red);

    box-shadow: 0 0 0 3px var(--pink-light);
}

.full-btn {
    width: 100%;
    justify-content: center;
}


/* =====================================================
   TOAST
===================================================== */

.toast {

    position: fixed;

    bottom: 25px;

    right: 25px;

    background: #292020;

    color: white;

    padding: 14px 18px;

    border-radius: 50px;

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 11px;

    z-index: 700;

    transform: translateY(100px);

    opacity: 0;

    transition: 0.4s ease;

    box-shadow: 0 15px 30px rgba(0,0,0,0.18);
}

.toast.show {

    transform: translateY(0);

    opacity: 1;
}

.toast i {
    color: var(--pink);
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1100px) {

    .nav-links {
        margin-left: 20px;
        gap: 20px;
    }

    .hero {

        grid-template-columns: 1fr 0.85fr;

        gap: 30px;

        padding-left: 5%;
        padding-right: 5%;
    }

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

    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .matches-container {
        gap: 50px;
    }

    .footer-links {
        gap: 50px;
    }
}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 768px) {

    .navbar {

        height: 70px;

        padding: 0 5%;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    .menu-btn {
        display: grid;
        place-items: center;
    }


    .hero {

        grid-template-columns: 1fr;

        padding: 65px 6% 80px;

        gap: 30px;
    }

    .hero h1 {

        font-size: clamp(48px, 14vw, 70px);

        max-width: 600px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .tiny-note {
        margin-top: 30px;
    }


    .hero-visual {

        min-height: 560px;
    }

    .journal-card {
        width: min(390px, 90%);
    }

    .profile-photo {
        height: 300px;
    }

    .floating-note {
        display: none;
    }


    .discovery-section,
    .how-section,
    .cta-section {

        padding: 80px 6%;
    }

    .section-heading {

        align-items: flex-start;

        gap: 20px;
    }

    .section-heading h2 {
        font-size: 43px;
    }

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

    .discover-image {
        height: 420px;
    }


    .matches-section {
        padding: 80px 6%;
    }

    .matches-container {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .match-copy h2 {
        font-size: 48px;
    }


    .steps {

        grid-template-columns: 1fr;

        gap: 50px;

        margin-top: 50px;
    }

    .step:not(:last-child)::after {
        display: none;
    }


    .message-section {
        padding: 80px 6%;
    }

    .message-wrapper {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .cta-paper {
        padding: 60px 20px;
    }


    .footer-top {

        flex-direction: column;

        gap: 50px;
    }

    .footer-links {

        display: grid;

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

        gap: 20px;
    }

    .footer-bottom {

        flex-direction: column;

        gap: 10px;
    }

}


/* =====================================================
   RESPONSIVE — SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .logo {
        font-size: 23px;
    }

    .hero {
        padding-top: 45px;
    }

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

    .hero-visual {
        min-height: 500px;
    }

    .journal-card {
        padding: 18px;
    }

    .profile-photo {
        height: 280px;
    }

    .match-board {
        padding: 16px;
    }

    .match-person {
        grid-template-columns: 65px 1fr auto;

        gap: 10px;
    }

    .match-image {

        width: 65px;
        height: 65px;
    }

    .match-stats {
        flex-direction: column;
        gap: 5px;
    }

    .match-heart {

        width: 38px;
        height: 38px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .join-modal {
        padding: 35px 25px;
    }
}