﻿/* ================================================
   SITE STYLES
   Sections:
   1. Font Faces
   2. CSS Variables & Root
   3. Base / Global Styles
   4. Typography & Headings
   5. Buttons
   6. Lists & Links
   7. Feature List (Little Widgets)
   8. Content Boxes (Attachment, About)
   9. Thought Bubble
   10. Countdown Timer
   11. Couples Callout Section
   12. CTA Duo Buttons
   13. Upgrade Card & Option Rows
   14. How It Works — Step Cards
   15. iOS / Tap Fix
   16. Responsive Overrides
   ================================================ */


/* ------------------------------------------------
   1. FONT FACES
   ------------------------------------------------ */

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins/Poppins-Light.eot');
    src: local('☺'), url('../fonts/Poppins/Poppins-Light.woff') format('woff'), url('fonts/Poppins/Poppins-Light.ttf') format('truetype'), url('fonts/Poppins/Poppins-Light.svg') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+000-5FF;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-SemiBold.eot');
    src: local('☺'), url('/fonts/Poppins/Poppins-SemiBold.woff') format('woff'), url('/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype'), url('/fonts/Poppins/Poppins-SemiBold.svg') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+000-5FF;
}

@font-face {
    font-family: 'Fontjek';
    src: url('/fonts/Fontjek/Fontjek-RVJ6.eot');
    src: local('☺'), url('/fonts/Fontjek/Fontjek-RVJ6.woff') format('woff'), url('/fonts/Fontjek/Fontjek-RVJ6.ttf') format('truetype'), url('/fonts/Fontjek/Fontjek-RVJ6.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+000-5FF;
}


/* ------------------------------------------------
   2. CSS VARIABLES & ROOT
   ------------------------------------------------ */

:root {
    --bs-body-color: #132849;
}


/* ------------------------------------------------
   3. BASE / GLOBAL STYLES
   ------------------------------------------------ */

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    margin-bottom: 60px;
}

body,
button,
input,
select,
optgroup,
textarea {
    color: var(--default-black, #132849);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Focus ring for accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


/* ------------------------------------------------
   4. TYPOGRAPHY & HEADINGS
   ------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.1em;
    word-wrap: break-word;
}

.littleTitle {
    font-family: 'Fontjek', sans-serif;
    font-size: 40px;
    text-transform: inherit;
    text-align: center;
    padding: 0 5px;
    margin: 0;
    letter-spacing: 0;
    font-weight: 400;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.littleTitleBlack {
    color: var(--default-white, #FFF);
    font-size: 30pt;
    font-weight: 400;
    text-transform: inherit;
    background: var(--default-black, #132849);
    display: inline;
    line-height: 1.4em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 15px;
    position: relative;
    z-index: 3;
}


/* ------------------------------------------------
   5. BUTTONS
   ------------------------------------------------ */

.btn-black {
    background-color: #132849;
    color: white;
    border: none;
}

    .btn-black:hover {
        background-color: #333;
        color: white;
    }

.button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

    .button:hover {
        background: #0056b3;
    }


/* ------------------------------------------------
   6. LISTS & LINKS
   ------------------------------------------------ */

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

    .list-unstyled li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }

    .list-unstyled i {
        font-size: 1.2em;
        flex-shrink: 0;
    }

    .list-unstyled a {
        text-decoration: none;
        color: inherit;
    }

.no-underline {
    text-decoration: none !important;
}

.next-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .next-steps ul {
        list-style-type: none;
        padding-left: 0;
        text-align: left; /* keeps icon + text left-aligned within the centered block */
    }


/* ------------------------------------------------
   7. FEATURE LIST (Little Widgets)
   ------------------------------------------------ */

.little-widgets-feature-list-items-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.little-widgets-feature-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #9fd6ce;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

@media (hover: hover) {
    .little-widgets-feature-list-item:hover {
        transform: scale(1.05);
    }
}

.little-widgets-feature-list-item-icon i {
    font-size: 2rem;
    color: #132849;
    margin-bottom: 10px;
}

.little-widgets-feature-list-item-text h6 a {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #132849;
}

.little-widgets-feature-list-item-text p {
    font-size: 1rem;
    color: #132849;
}


/* ------------------------------------------------
   8. CONTENT BOXES (Attachment, About)
   ------------------------------------------------ */

.attachment-box {
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #9fd6ce;
    position: relative;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .attachment-box i {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 24px;
        color: #132849;
    }

    .attachment-box h4 {
        margin-bottom: 10px;
    }

.row .col-lg-3 {
    display: flex;
}

.about-box {
    position: relative;
    padding: 20px;
    padding-top: 50px;
    background-color: #9fd6ce;
}

    .about-box i {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        color: #132849;
    }


/* ------------------------------------------------
   9. THOUGHT BUBBLE
   ------------------------------------------------ */

.thought-bubble {
    position: relative;
    background: #9fd6ce;
    border-radius: 20px;
    padding: 12px 20px;
    text-align: center;
    max-width: 420px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

    .thought-bubble .lead {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    .thought-bubble:after {
        content: "";
        position: absolute;
        bottom: -14px;
        left: 50%;
        width: 28px;
        height: 28px;
        background: #9fd6ce;
        border-radius: 50%;
        transform: translateX(-50%);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .thought-bubble:before {
        content: "";
        position: absolute;
        bottom: -28px;
        left: 50%;
        width: 14px;
        height: 14px;
        background: #9fd6ce;
        border-radius: 50%;
        transform: translateX(-50%);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

.love-icon {
    font-size: 50px;
    color: #132849;
    margin-top: 20px;
}


/* ------------------------------------------------
   10. COUNTDOWN TIMER
   ------------------------------------------------ */

@keyframes subtlePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.countdown-timer {
    background-color: #fef9f6;
    border: 1px solid #f6e5e0;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 1.125rem;
    color: #403838;
    display: inline-block;
    margin: 1.25rem 0;
    box-shadow: 0 8px 20px rgba(139, 121, 114, 0.1);
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.02em;
}

    .countdown-timer strong {
        font-weight: 600;
        color: #c17878;
        margin-right: 0.4rem;
    }

    .countdown-timer .countdown-time {
        font-weight: 700;
        font-size: 1.25rem;
        color: #b25f5f;
        background-color: #fceeed;
        padding: 0.35rem 0.75rem;
        border-radius: 0.5rem;
        display: inline-block;
        min-width: 5rem;
        animation: subtlePulse 2.5s infinite;
    }


/* ------------------------------------------------
   11. COUPLES CALLOUT SECTION
   ------------------------------------------------ */

.couples-callout {
    background: linear-gradient(135deg, #eef8f7, #fde8f0);
    border: 1px solid #d4ecea;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    text-align: center;
}

    .couples-callout h3 {
        color: #132849;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
    }

    .couples-callout .couples-callout-icon {
        font-size: 2.5rem;
        color: #c17878;
        margin-bottom: 1rem;
        display: block;
    }

    .couples-callout .badge-pill-custom {
        background: #fff;
        border: 1px solid #d4ecea;
        color: #132849;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        display: inline-block;
        margin: 0.25rem;
        font-family: 'Poppins', sans-serif;
    }

        .couples-callout .badge-pill-custom i {
            color: #2e9e8f;
            margin-right: 0.3rem;
        }


/* ------------------------------------------------
   12. CTA DUO BUTTONS
   ------------------------------------------------ */

.cta-duo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.cta-duo-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

    .cta-duo-option .btn {
        min-width: 200px;
        position: relative;
    }

    .cta-duo-option .cta-sub {
        font-size: 0.8rem;
        color: #6c757d;
        margin: 0;
    }

.cta-divider {
    font-size: 0.8rem;
    color: #adb5bd;
    font-style: italic;
    align-self: center;
    padding-top: 0.5rem;
}

/* "Most Popular" badge */
.btn-couples-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #c17878;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}


/* ------------------------------------------------
   13. UPGRADE CARD & OPTION ROWS
   Used on QuizResults and CreateInvitation pages
   ------------------------------------------------ */

.upgrade-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 2px 24px rgba(19, 40, 73, 0.07);
}

.qlr-option {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .qlr-option:last-child {
        border-bottom: none;
    }

.upgrade-card input[type=checkbox] {
    width: 17px;
    height: 17px;
    accent-color: #132849;
    cursor: pointer;
    margin-top: 3px;
    flex-shrink: 0;
}

.upgrade-option-body {
    flex: 1;
}

    .upgrade-option-body strong {
        display: block;
        font-size: 0.9rem;
        color: #132849;
        margin-bottom: 3px;
    }

    .upgrade-option-body span {
        font-size: 0.8rem;
        color: #7a8a9a;
    }

.price-badge {
    background: #132849;
    color: white;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ------------------------------------------------
   14. HOW IT WORKS — STEP CARDS
   ------------------------------------------------ */

.step-card {
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
    .step-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(19, 40, 73, 0.1);
    }
}

.step-card-highlight {
    background-color: #eef8f7;
    border-color: #9fd6ce !important;
}

.step-badge-unique {
    font-size: 0.6rem;
    font-weight: 600;
    background: #f6c344;
    color: #132849;
    padding: 2px 8px;
    border-radius: 50px;
    vertical-align: middle;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}


/* ------------------------------------------------
   15. iOS / TAP FIX
   ------------------------------------------------ */

* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

button,
.btn,
label,
.form-check-label {
    -webkit-appearance: none !important;
    touch-action: manipulation;
    user-select: none;
}

    button:focus, button:active,
    .btn:focus, .btn:active,
    label:focus, label:active,
    .form-check-label:focus, .form-check-label:active {
        outline: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }

        .form-check-input:focus + .form-check-label .form-check-circle,
        .form-check-label:active .form-check-circle {
            box-shadow: none !important;
        }


/* ------------------------------------------------
   16. RESPONSIVE OVERRIDES
   ------------------------------------------------ */

/* Base font size bump on tablet and above */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* CTA duo goes horizontal on small screens and above */
@media (min-width: 576px) {
    .cta-duo {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .cta-divider {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }
}

/* Small mobile only */
@media (max-width: 575px) {
    .littleTitleBlack.littleTitle {
        font-size: 20pt;
        padding: 0 10px;
    }

    .couples-callout .badge-pill-custom {
        display: block;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }
}


/* ------------------------------------------------
   17. UNLOCK HEADER
   Used above upgrade card on QuizResults
   ------------------------------------------------ */

.unlock-header {
    text-align: center;
    padding: 10px 0 4px;
}

.unlock-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--navy, #132849);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 16px rgba(19, 40, 73, 0.18);
}

    .unlock-icon-wrap i {
        font-size: 1.4rem;
        color: #fff;
    }

.unlock-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy, #132849);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.unlock-subtitle {
    font-size: 0.875rem;
    color: var(--ink-50, #7a8a9a);
    margin-bottom: 0;
    line-height: 1.5;
}
