/* =========================================================
   LOVECOACH AI — GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 50% -10%,
            #3a153d 0,
            #160d20 35%,
            #09070e 70%
        );

    color: #ffffff;

    min-height: 100vh;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.page {
    overflow: hidden;
}


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

.navbar {
    max-width: 1200px;
    margin: 0 auto;

    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 22px;
    font-weight: 800;
}

.logo-heart {
    color: #ff4f91;
    font-size: 28px;
}

.logo-ai {
    color: #ff70aa;
}

.nav-status {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #aaa1ad;

    font-size: 13px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #48e6a0;

    box-shadow:
        0 0 12px rgba(72, 230, 160, .8);
}


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

.hero {
    max-width: 1200px;
    margin: 0 auto;

    min-height: 690px;

    padding:
        65px 24px
        100px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    gap: 70px;

    align-items: center;
}

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

.coming-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 14px;

    border:
        1px solid rgba(255, 90, 150, .35);

    background:
        rgba(255, 79, 145, .08);

    border-radius: 100px;

    color: #ff76aa;

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

    letter-spacing: .08em;
}

h1 {
    max-width: 700px;

    margin: 22px 0;

    font-size:
        clamp(42px, 5.2vw, 72px);

    line-height: 1.02;

    letter-spacing: -.055em;
}

h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ff4f91,
            #ff8ec0
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-text {
    max-width: 590px;

    margin-bottom: 35px;

    color: #b9b0bc;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   SIGNUP CARD
========================================================= */

.signup-card {
    max-width: 520px;

    padding: 25px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.35);

    backdrop-filter: blur(20px);
}

.signup-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 22px;
}

.signup-header h2 {
    margin: 0 0 5px;

    font-size: 20px;
}

.signup-header p {
    margin: 0;

    color: #918897;

    font-size: 13px;
}

.card-heart {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        rgba(255,79,145,.12);

    color: #ff5797;

    font-size: 20px;
}


/* =========================================================
   FORM
========================================================= */

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;

    margin-bottom: 7px;

    color: #c7bdc9;

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

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #ff619d;

    font-weight: 700;
}

input {
    width: 100%;

    padding:
        14px 15px
        14px 42px;

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

    border-radius: 12px;

    outline: none;

    background:
        rgba(0,0,0,.25);

    color: white;

    transition:
        border-color .2s,
        box-shadow .2s;
}

input::placeholder {
    color: #645c68;
}

input:focus {
    border-color:
        rgba(255,79,145,.65);

    box-shadow:
        0 0 0 3px
        rgba(255,79,145,.08);
}

.join-button,
.final-button {
    width: 100%;

    padding: 15px;

    border: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            #ff3f89,
            #ff6fa8
        );

    color: white;

    font-weight: 800;

    box-shadow:
        0 12px 30px
        rgba(255,63,137,.25);

    transition:
        transform .2s,
        box-shadow .2s;
}

.join-button:hover,
.final-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 35px
        rgba(255,63,137,.35);
}

.join-button:disabled {
    opacity: .7;

    cursor: wait;
}

.privacy-note {
    margin: 12px 0 0;

    text-align: center;

    color: #655d68;

    font-size: 11px;
}

.form-message {
    min-height: 18px;

    margin-top: 10px;

    text-align: center;

    font-size: 13px;
}

.form-message.success {
    color: #63e6a7;
}

.form-message.error {
    color: #ff789d;
}

.hidden {
    display: none !important;
}

.spinner {
    width: 17px;
    height: 17px;

    display: inline-block;

    border:
        2px solid rgba(255,255,255,.35);

    border-top-color: white;

    border-radius: 50%;

    animation:
        spin .7s linear infinite;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   PHONE VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(70px);

    pointer-events: none;
}

.glow-one {
    width: 260px;
    height: 260px;

    top: 15%;
    right: 10%;

    background:
        rgba(255,55,130,.25);
}

.glow-two {
    width: 180px;
    height: 180px;

    bottom: 15%;
    left: 10%;

    background:
        rgba(145,65,255,.2);
}

.phone {
    position: relative;

    width: 300px;
    height: 580px;

    border:
        7px solid #27232c;

    border-radius: 42px;

    background: #0f0d13;

    box-shadow:
        0 40px 100px rgba(0,0,0,.6),
        0 0 60px rgba(255,62,135,.13);

    overflow: hidden;

    transform: rotate(4deg);
}

.phone-notch {
    position: absolute;

    z-index: 5;

    width: 110px;
    height: 25px;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    border-radius:
        0 0 18px 18px;

    background: #27232c;
}

.phone-header {
    height: 75px;

    padding:
        28px 18px 10px;

    display: flex;

    align-items: center;

    gap: 10px;

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

.avatar {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ff679f,
            #a04fff
        );

    font-weight: 800;
}

.phone-header strong {
    display: block;

    font-size: 13px;
}

.phone-header small {
    color: #55d89a;

    font-size: 10px;
}

.phone-more {
    margin-left: auto;

    color: #77707c;
}

.chat {
    height: 435px;

    padding: 22px 15px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.message {
    max-width: 78%;

    padding: 10px 13px;

    border-radius: 15px;

    font-size: 12px;

    line-height: 1.4;
}

.received {
    align-self: flex-start;

    border-bottom-left-radius: 4px;

    background: #252129;

    color: #ddd4df;
}

.sent {
    align-self: flex-end;

    border-bottom-right-radius: 4px;

    background:
        linear-gradient(
            135deg,
            #ff438c,
            #d942a8
        );
}

.playful {
    border:
        1px solid rgba(255,79,145,.18);

    background:
        rgba(255,79,145,.12);
}

.ai-tip {
    margin-top: 14px;

    padding: 12px;

    display: flex;

    gap: 9px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(255,79,145,.11),
            rgba(128,74,255,.08)
        );
}

.ai-icon {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: #ff4f91;

    font-size: 11px;
}

.ai-tip strong {
    font-size: 10px;
}

.ai-tip p {
    margin: 3px 0 0;

    color: #a79daa;

    font-size: 9px;

    line-height: 1.4;
}

.phone-input {
    position: absolute;

    bottom: 12px;
    left: 12px;
    right: 12px;

    height: 40px;

    padding: 0 13px;

    display: flex;

    align-items: center;

    border-radius: 20px;

    background: #211d25;

    color: #645d69;

    font-size: 10px;
}

.phone-input b {
    margin-left: auto;

    color: #ff5a99;
}


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

.waitlist-section {
    max-width: 1200px;

    margin: 0 auto;

    padding:
        80px 24px;
}

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.live-label {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #61dfa0;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
}

.live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #61dfa0;

    box-shadow:
        0 0 12px rgba(97,223,160,.8);
}

.section-heading h2 {
    margin: 9px 0 7px;

    font-size:
        clamp(28px, 4vw, 42px);

    letter-spacing: -.04em;
}

.section-heading p {
    margin: 0;

    color: #8f8792;
}

.member-count {
    min-width: 110px;

    text-align: right;
}

.member-count strong {
    display: block;

    color: #ff6da7;

    font-size: 38px;
}

.member-count span {
    color: #756c79;

    font-size: 12px;
}


/* =========================================================
   MEMBER WALL
========================================================= */

.members-wall {
    display: grid;

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

    gap: 12px;
}


/* =========================================================
   MEMBER CARD
   Desktop structure:

   ┌──────────────────────────────┐
   │ [AV]  @alias                 │
   │ [AV]  12 aug. 2026, 15:23    │
   │ [AV]  📍 Craiova             │
   └──────────────────────────────┘

   The avatar spans all three rows.
========================================================= */

.member-card {
    width: 100%;
    min-width: 0;
    min-height: 92px;

    padding: 13px;

    display: grid;

    grid-template-columns: 40px minmax(0, 1fr);

    grid-template-rows:
        auto
        auto
        auto;

    column-gap: 11px;

    align-items: center;

    border:
        1px solid rgba(255,255,255,.075);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.025)
        );

    overflow: hidden;

    animation:
        memberIn .35s ease;

    transition:
        transform .2s,
        border-color .2s,
        background .2s;
}

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

    border-color:
        rgba(255,79,145,.20);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.03)
        );
}

@keyframes memberIn {

    from {
        opacity: 0;

        transform:
            translateY(8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   MEMBER AVATAR
========================================================= */

.member-avatar {
    width: 40px;
    height: 40px;

    grid-column: 1;

    grid-row: 1 / 4;

    justify-self: start;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ff4f91,
            #814aff
        );

    color: white;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   MEMBER INFO
   "display: contents" lets the alias and city become
   direct grid items of .member-card.
========================================================= */

.member-info {
    min-width: 0;

    display: contents;
}


/* =========================================================
   ALIAS
   ROW 1

   NEVER wraps.
========================================================= */

.member-info strong,
.member-name {
    min-width: 0;

    max-width: 100%;

    grid-column: 2;
    grid-row: 1;

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.25;

    font-weight: 750;
}


/* =========================================================
   DATE
   ROW 2
========================================================= */

.member-date {
    min-width: 0;

    max-width: 100%;

    grid-column: 2;
    grid-row: 2;

    display: block;

    margin: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #716875;

    font-size: 9px;

    line-height: 1.35;

    text-align: left;
}


/* The "înscris" and date are kept together visually. */

.member-date span,
.member-date strong {
    display: inline;

    font-size: inherit;

    font-weight: 500;

    color: inherit;
}

.member-date span {
    margin-right: 3px;
}


/* =========================================================
   CITY
   ROW 3
========================================================= */

.member-info span {
    min-width: 0;

    max-width: 100%;

    grid-column: 2;
    grid-row: 3;

    display: block;

    margin: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #968c99;

    font-size: 11px;

    line-height: 1.25;
}


/* =========================================================
   SUPPORT FOR OLD .member-name / .member-city HTML
========================================================= */

.member-name {
    grid-column: 2;
    grid-row: 1;
}

.member-city {
    grid-column: 2;
    grid-row: 3;

    margin: 0;

    min-width: 0;
    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #968c99;

    font-size: 11px;

    line-height: 1.25;
}


/* =========================================================
   OLD .member-new DATE SUPPORT
========================================================= */

.member-new {
    grid-column: 2;
    grid-row: 2;

    min-width: 0;
    max-width: 100%;

    display: block;

    margin: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #716875;

    font-size: 9px;

    line-height: 1.35;

    font-weight: 500;

    text-align: left;
}


/* =========================================================
   LOADING
========================================================= */

.loading-card {
    grid-column: 1 / -1;

    padding: 50px;

    text-align: center;

    color: #77707b;
}

.loading-spinner {
    width: 25px;
    height: 25px;

    margin:
        0 auto 12px;

    border:
        2px solid rgba(255,255,255,.1);

    border-top-color:
        #ff5a99;

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}

.wall-empty {
    padding: 35px;

    text-align: center;

    color: #817985;
}


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

.features {
    max-width: 1200px;

    margin: auto;

    padding:
        40px 24px 100px;

    display: grid;

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

    gap: 18px;
}

.feature {
    padding: 28px;

    border:
        1px solid rgba(255,255,255,.06);

    border-radius: 20px;

    background:
        rgba(255,255,255,.025);
}

.feature-icon {
    margin-bottom: 17px;

    font-size: 28px;
}

.feature h3 {
    margin:
        0 0 9px;

    font-size: 17px;
}

.feature p {
    margin: 0;

    color: #817985;

    font-size: 13px;

    line-height: 1.6;
}


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

.final-cta {
    max-width: 760px;

    margin: 0 auto;

    padding:
        80px 24px 120px;

    text-align: center;
}

.final-heart {
    width: 55px;
    height: 55px;

    margin:
        0 auto 20px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background:
        rgba(255,79,145,.1);

    color: #ff5797;

    font-size: 25px;
}

.final-cta h2 {
    margin:
        0 0 12px;

    font-size:
        clamp(28px, 4vw, 44px);

    letter-spacing: -.04em;
}

.final-cta p {
    margin-bottom: 25px;

    color: #817985;
}

.final-button {
    width: auto;

    padding:
        14px 25px;
}


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

footer {
    max-width: 1200px;

    margin: auto;

    padding:
        25px 24px 35px;

    display: flex;

    justify-content: space-between;

    border-top:
        1px solid rgba(255,255,255,.06);

    color: #625a66;

    font-size: 11px;
}

.footer-logo {
    color: #8c8490;

    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .members-wall {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


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

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;

        padding-top: 45px;

        text-align: center;
    }

    .hero-content {
        margin: auto;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .signup-card {
        margin: 0 auto;

        text-align: left;
    }

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

    .members-wall {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 600px) {

    .navbar {
        padding: 18px;
    }

    .nav-status {
        display: none;
    }

    .hero {
        padding:
            35px 18px
            60px;
    }

    h1 {
        font-size:
            clamp(40px, 12vw, 58px);
    }

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

    .signup-card {
        padding: 19px;

        border-radius: 18px;
    }

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

    .phone {
        width: 275px;
        height: 535px;

        transform: rotate(2deg);
    }

    .chat {
        height: 390px;
    }

    .waitlist-section {
        padding:
            60px 18px;
    }

    .section-heading {
        align-items: flex-start;

        gap: 15px;
    }

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

    .section-heading p {
        font-size: 12px;

        line-height: 1.5;
    }

    .member-count {
        min-width: 65px;
    }

    .member-count strong {
        font-size: 28px;
    }

    .member-count span {
        font-size: 10px;
    }


    /* =====================================================
       MOBILE MEMBER WALL
    ===================================================== */

    .members-wall {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .member-card {
        min-height: 76px;

        padding: 9px;

        grid-template-columns:
            32px minmax(0, 1fr);

        column-gap: 8px;

        border-radius: 13px;
    }


    .member-avatar {
        width: 32px;
        height: 32px;

        grid-column: 1;
        grid-row: 1 / 4;

        font-size: 10px;
    }


    .member-info strong,
    .member-name {
        grid-column: 2;
        grid-row: 1;

        font-size: 10px;

        line-height: 1.2;

        white-space: nowrap;
    }


    .member-date,
    .member-new {
        grid-column: 2;
        grid-row: 2;

        font-size: 8px;

        line-height: 1.2;

        white-space: nowrap;
    }


    .member-info span,
    .member-city {
        grid-column: 2;
        grid-row: 3;

        margin: 0;

        font-size: 9px;

        line-height: 1.2;

        white-space: nowrap;
    }


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

        padding:
            20px 18px 70px;
    }

    footer {
        padding:
            22px 18px;

        flex-direction: column;

        gap: 8px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .members-wall {
        grid-template-columns: 1fr;
    }

    .member-card {
        min-height: 76px;

        grid-template-columns:
            36px minmax(0, 1fr);

        column-gap: 9px;
    }

    .member-avatar {
        width: 36px;
        height: 36px;
    }

    .member-info strong,
    .member-name {
        font-size: 11px;
    }

    .member-city,
    .member-info span {
        font-size: 9px;
    }

    .member-date,
    .member-new {
        font-size: 8px;
    }

}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}