body{
    background:#8397b4;
    font-family:'Segoe UI',sans-serif;
}

.card{
    border:none;
    border-radius:18px;
}

.card img{
    border-radius:18px 18px 0 0;
}

.btn{
    border-radius:10px;
}

.navbar-brand{
    font-size:24px;
    font-weight:bold;
}

h2{
    font-weight:bold;
}

.alert{
    border-radius:12px;
}

.publish-checklist{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.publish-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    border-radius:14px;

    background:#fafafa;

    border:1px solid #eee;

}

.publish-item span:first-child{

    font-size:22px;

}

/* =========================================
   MOMENT TYVIE - AUTH
========================================= */

.auth-page {

    min-height: calc(100vh - 100px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px 15px;

}


.auth-container {

    width: 100%;

    max-width: 460px;

}


.auth-brand {

    text-align: center;

    margin-bottom: 25px;

}


.auth-logo {

    width: 62px;

    height: 62px;

    margin: 0 auto 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );

    color: white;

    font-size: 28px;

    box-shadow:
        0 10px 25px rgba(102,126,234,.25);

}


.auth-brand h1 {

    margin: 0;

    font-size: 30px;

    font-weight: 800;

}


.auth-brand p {

    margin-top: 7px;

    color: #777;

}


.auth-card {

    background: rgba(255,255,255,.96);

    border-radius: 24px;

    padding: 35px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);

    border: 1px solid rgba(0,0,0,.05);

}


.auth-header {

    text-align: center;

    margin-bottom: 28px;

}


.auth-header h2 {

    margin-bottom: 8px;

    font-weight: 750;

}


.auth-header p {

    margin: 0;

    color: #777;

}


.auth-field {

    margin-bottom: 18px;

}


.auth-label {

    display: block;

    margin-bottom: 7px;

    font-weight: 600;

    font-size: 14px;

}


.auth-input-wrapper {

    position: relative;

}


.auth-input-wrapper > i {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #777;

    z-index: 2;

}


.auth-input {

    height: 50px;

    padding-left: 43px;

    padding-right: 45px;

    border-radius: 13px;

    border: 1px solid #ddd;

}


.auth-input:focus {

    border-color: #667eea;

    box-shadow:
        0 0 0 4px rgba(102,126,234,.12);

}


.password-toggle {

    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: #777;

    cursor: pointer;

    z-index: 3;

}


.password-toggle:hover {

    color: #667eea;

}


.auth-button {

    width: 100%;

    height: 50px;

    border: none;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );

    color: white;

    font-weight: 700;

    font-size: 15px;

    transition: .2s ease;

}


.auth-button:hover {

    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(102,126,234,.25);

    color: white;

}


.auth-error {

    display: flex;

    gap: 10px;

    padding: 12px 14px;

    margin-bottom: 18px;

    border-radius: 12px;

    background: #fff1f1;

    color: #c0392b;

    font-size: 13px;

}


.auth-submit {

    margin-top: 8px;

}


.auth-footer {

    text-align: center;

    margin-top: 24px;

    font-size: 14px;

    color: #777;

}


.auth-footer a {

    margin-left: 5px;

    font-weight: 700;

    text-decoration: none;

    color: #667eea;

}


.auth-footer a:hover {

    color: #764ba2;

}


.auth-bottom {

    text-align: center;

    margin-top: 20px;

    font-size: 12px;

    color: #999;

}


@media (max-width: 576px) {

    .auth-card {

        padding: 25px 20px;

    }

    .auth-brand h1 {

        font-size: 26px;

    }

}
/* =====================================================
   MOMENT TYVIE - HOME LANDING PAGE
===================================================== */

.moment-home {
    margin: 0;
    background: #ffffff;
    color: #17152a;
    font-family: 'Segoe UI', sans-serif;
}


/* =====================================================
   NAVBAR
===================================================== */

.home-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #f1eef7;
}

.home-nav-container {
    max-width: 1180px;
    margin: auto;
    min-height: 76px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #17152a;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
}

.home-brand-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #7256e8,
        #e34ea6
    );

    color: white;
    font-size: 18px;

    box-shadow:
        0 7px 20px rgba(114,86,232,.22);
}

.home-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.home-nav-links a {
    color: #565263;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: .2s;
}

.home-nav-links a:hover {
    color: #7655e8;
}

.home-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-login {
    padding: 10px 20px;

    border: 1px solid #d8b8f5;
    border-radius: 12px;

    color: #7655e8;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.home-register {
    padding: 11px 20px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #7052e8,
        #d94ca5
    );

    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(112,82,232,.22);
}

.home-mobile-button {
    display: none;

    border: none;
    background: none;

    font-size: 28px;
    color: #29253b;
}

.home-mobile-menu {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.home-hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(180,145,255,.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #fbf7ff
        );

    padding: 90px 20px 100px;
}

.home-hero-container {
    max-width: 1180px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-small-badge {
    display: inline-block;

    padding: 9px 15px;

    border-radius: 30px;

    background: #f5efff;
    color: #6749d7;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 20px;
}

.home-hero h1 {
    margin: 0;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;
}

.home-hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #6850e6,
        #d54ba4
    );

    -webkit-background-clip: text;
    background-clip: text;
}

.home-hero-content > p {
    max-width: 570px;

    margin: 25px 0;

    color: #6c6878;

    font-size: 17px;
    line-height: 1.8;
}

.home-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}

.home-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 23px;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #704fe9,
        #d84ca5
    );

    color: white;
    text-decoration: none;

    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(112,79,233,.25);

    transition: .2s;
}

.home-primary-button:hover {
    color: white;
    transform: translateY(-2px);
}

.home-secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 14px 21px;

    border-radius: 13px;

    border: 1px solid #e5dced;

    background: white;

    color: #6149bc;

    text-decoration: none;

    font-weight: 700;
}

.home-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 25px;
}

.home-trust span {
    color: #777180;
    font-size: 12px;
}

.home-trust i {
    color: #7654e8;
    margin-right: 4px;
}


/* =====================================================
   HERO PREVIEW
===================================================== */

.home-preview-area {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-preview-window {
    position: relative;
    z-index: 2;

    width: min(100%, 500px);

    border-radius: 25px;

    background: white;

    box-shadow:
        0 30px 70px rgba(90,61,140,.18);

    overflow: hidden;

    transform: rotate(1deg);
}

.preview-top {
    height: 48px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    border-bottom: 1px solid #eee8f5;

    background: #fcfbfe;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #d9d1e4;
}

.preview-title {
    margin: auto;

    color: #9991a6;

    font-size: 11px;
}

.preview-content {
    padding: 35px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f1ff
        );
}

.preview-label {
    color: #7958dd;

    font-size: 12px;
    font-weight: 700;
}

.preview-content h3 {
    margin: 8px 0;

    font-size: 25px;
    font-weight: 800;
}

.preview-content p {
    max-width: 330px;

    margin: 0 auto 20px;

    color: #777181;

    font-size: 12px;
    line-height: 1.6;
}

.preview-photo-grid {
    display: grid;

    grid-template-columns:
        1.2fr
        1fr
        1fr;

    gap: 8px;

    margin-bottom: 20px;
}

.preview-photo {
    height: 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 40px;

    background:
        linear-gradient(
            135deg,
            #eee2ff,
            #fce4f4
        );
}

.photo-one {
    font-size: 45px;
}

.photo-two {
    background:
        linear-gradient(
            135deg,
            #fce0ef,
            #eee0ff
        );
}

.photo-three {
    background:
        linear-gradient(
            135deg,
            #ffe6d6,
            #eee0ff
        );
}

.preview-music {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px;

    border-radius: 14px;

    background: white;

    box-shadow:
        0 5px 20px rgba(0,0,0,.05);

    text-align: left;
}

.music-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eee6ff;

    color: #7353e6;
}

.music-info {
    flex: 1;
}

.music-info strong,
.music-info small {
    display: block;
}

.music-info strong {
    font-size: 11px;
}

.music-info small {
    color: #999;

    font-size: 9px;
}

.music-line {
    height: 3px;

    margin-top: 5px;

    border-radius: 5px;

    background: #eee8f5;
}

.music-line span {
    display: block;

    width: 45%;
    height: 100%;

    border-radius: 5px;

    background: linear-gradient(
        90deg,
        #7352e8,
        #db4da6
    );
}

.preview-floating {
    position: absolute;
    z-index: 3;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: white;

    box-shadow:
        0 15px 35px rgba(80,50,120,.18);

    font-size: 23px;
}

.floating-heart {
    top: 70px;
    left: 5%;
    color: #e54c8f;
}

.floating-music {
    right: 2%;
    bottom: 80px;
    color: #7152e7;
}

.home-decoration {
    position: absolute;

    color: #c3a8ff;

    font-size: 35px;
}

.decoration-one {
    top: 30px;
    right: 10%;
}

.decoration-two {
    bottom: 25px;
    left: 8%;
}


/* =====================================================
   SECTIONS
===================================================== */

.home-section {
    padding: 90px 20px;
}

.home-section-heading {
    max-width: 700px;

    margin: 0 auto 50px;

    text-align: center;
}

.home-section-heading > span {
    color: #7653df;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.home-section-heading h2 {
    margin: 12px 0;

    font-size: 38px;
    line-height: 1.2;

    font-weight: 800;
}

.home-section-heading h2 strong {
    background: linear-gradient(
        90deg,
        #7252e6,
        #d94ca5
    );

   -webkit-background-clip: text;
    background-clip: text;
}

.home-section-heading p {
    color: #777180;

    line-height: 1.7;
}


/* =====================================================
   MOMENT TYPES
===================================================== */

.moments-section {
    background: #ffffff;
}

.moment-type-grid {
    max-width: 1180px;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 15px;
}

.moment-type-card {
    padding: 25px 18px;

    text-align: center;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #f0ebf6;

    box-shadow:
        0 10px 35px rgba(40,25,70,.05);

    transition: .25s;
}

.moment-type-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(90,60,140,.12);
}

.moment-type-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 22px;

    font-size: 37px;
}

.birthday-icon {
    background: #fff0f2;
}

.graduation-icon {
    background: #f1edff;
}

.anniversary-icon {
    background: #ffeef7;
}

.celebration-icon {
    background: #fff4e7;
}

.other-icon {
    background: #f1efff;
}

.moment-type-card h3 {
    margin-bottom: 9px;

    font-size: 17px;
    font-weight: 800;
}

.moment-type-card p {
    min-height: 45px;

    color: #827d8a;

    font-size: 12px;
    line-height: 1.6;
}

.moment-type-card a {
    color: #7654df;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
}

.moment-type-card a i {
    margin-left: 4px;
}


/* =====================================================
   FEATURES
===================================================== */

.features-section {
    background: #fbf9fe;
}

.feature-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 25px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #f0eaff;

    color: #7454e4;

    font-size: 24px;
}

.feature-item h3 {
    font-size: 15px;
    font-weight: 800;
}

.feature-item p {
    color: #85808e;

    font-size: 11px;
    line-height: 1.6;
}


/* =====================================================
   PRICING
===================================================== */

.pricing-section {
    background: white;
}

.pricing-grid {
    max-width: 900px;
    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 22px;
}

.pricing-card {
    position: relative;

    padding: 32px;

    border-radius: 22px;

    border: 1px solid #eee8f5;

    background: white;

    box-shadow:
        0 12px 35px rgba(40,25,70,.06);
}

.premium-pricing {
    border: 2px solid #e5c9f4;

    background:
        linear-gradient(
            145deg,
            #fffaff,
            #fff5fb
        );
}

.premium-badge {
    position: absolute;

    top: -13px;
    right: 22px;

    padding: 6px 12px;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #7252e7,
        #db4ca6
    );

    color: white;

    font-size: 10px;
    font-weight: 800;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 800;
}

.pricing-header p {
    color: #85808d;

    font-size: 13px;
}

.pricing-price {
    margin: 25px 0;
}

.pricing-price span {
    font-size: 30px;
    font-weight: 800;
}

.pricing-price small {
    color: #999;

    font-size: 12px;
}

.pricing-card ul {
    padding: 0;

    margin: 0 0 25px;

    list-style: none;
}

.pricing-card li {
    padding: 8px 0;

    color: #65606f;

    font-size: 13px;
}

.pricing-card li i {
    margin-right: 8px;

    color: #7654e5;
}

.pricing-button {
    display: block;

    width: 100%;

    padding: 13px;

    text-align: center;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;
}

.free-button {
    border: 1px solid #7654e5;

    color: #7654e5;
}

.premium-button {
    background: linear-gradient(
        135deg,
        #7252e7,
        #d94ca5
    );

    color: white;
}


/* =====================================================
   FINAL CTA
===================================================== */

.home-final-cta {
    padding: 90px 20px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255,255,255,.3),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #eee7ff,
            #ffeaf6
        );

    text-align: center;
}

.final-cta-content {
    max-width: 600px;
    margin: auto;
}

.final-heart {
    font-size: 40px;
    margin-bottom: 10px;
}

.home-final-cta h2 {
    margin: 0;

    font-size: 38px;
    font-weight: 800;
}

.home-final-cta p {
    margin: 10px 0 25px;

    color: #716b7d;

    font-size: 17px;
}


/* =====================================================
   FOOTER
===================================================== */

.home-footer {
    padding: 35px 20px;

    background: #17152a;

    color: white;
}

.footer-container {
    max-width: 1180px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand .home-brand {
    color: white;
}

.footer-brand p {
    margin: 10px 0 0;

    color: #aaa5b7;

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: #bbb6c7;

    text-decoration: none;

    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    color: #888393;

    font-size: 11px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .home-nav-links {
        display: none;
    }

    .home-mobile-button {
        display: block;
    }

    .home-nav-actions {
        margin-left: auto;
        margin-right: 12px;
    }

    .home-hero-container {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 40px;
    }

    .home-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-buttons {
        justify-content: center;
    }

    .home-trust {
        justify-content: center;
    }

    .moment-type-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .home-preview-area {
        max-width: 600px;
        width: 100%;
        margin: auto;
    }

}


@media (max-width: 700px) {

    .home-register,
    .home-login {
        display: none;
    }

    .home-mobile-menu {
        padding: 15px 25px 20px;

        background: white;

        border-top: 1px solid #eee;

        box-shadow:
            0 10px 20px rgba(0,0,0,.05);
    }

    .home-mobile-menu.show {
        display: flex;

        flex-direction: column;

        gap: 5px;
    }

    .home-mobile-menu a {
        padding: 11px 5px;

        color: #444;

        text-decoration: none;

        font-weight: 600;
    }

    .home-hero {
        padding-top: 60px;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .home-preview-window {
        width: 95%;
    }

    .preview-content {
        padding: 25px 18px;
    }

    .home-section {
        padding: 65px 18px;
    }

    .home-section-heading h2 {
        font-size: 30px;
    }

    .moment-type-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 30px 15px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

}


@media (max-width: 450px) {

    .home-nav-container {
        min-height: 65px;
    }

    .home-brand {
        font-size: 17px;
    }

    .home-brand-icon {
        width: 33px;
        height: 33px;
    }

    .home-hero h1 {
        font-size: 36px;
    }

    .home-hero-content > p {
        font-size: 14px;
    }

    .home-primary-button,
    .home-secondary-button {
        width: 100%;
    }

    .moment-type-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .home-preview-area {
        min-height: 400px;
    }

    .preview-photo {
        height: 90px;
    }

}