/* =========================================
   RESET & FONTS
========================================= */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

@font-face {
    font-family: "Love Diary Regular";
    src: local("Love Diary-Regular");
}

@font-face {
    font-family: "Love Diary";   
    src: url("Love\ Diary.otf") format("truetype"); 
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #fcf8f9;
    font-family: "Love Diary";
    overflow-x: hidden;
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR ORIGINAL DESIGN) 📱 ===== */
/* ============================================================ */
.mobile-only.faq-page {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: #fcf8f9;
    min-height: 100vh;
    padding-bottom: 40px;
    position: relative;
    display: block;
}

.mobile-only .faq-hero {
    position: relative;
    height: 280px;
    background-image: url(pic1.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.mobile-only .back-btn {
    position: absolute;
    top: 25px;
    left: 20px;
    font-size: 17px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
    text-decoration: none;
    transition: transform 0.3s ease;
    z-index: 10;
}
.mobile-only .back-btn:hover { transform: scale(1.1); }

.mobile-only .hero-text { text-align: center; z-index: 2; margin-bottom: 40px; }
.mobile-only .hero-text h1 {
    font-size: 34px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
    margin-bottom: 10px;
}
.mobile-only .hero-text p {
    font-size: 10px;
    color: #ffffff;
    -webkit-text-stroke: 0.4px #000000;
    width: 80%;
    margin: 0 auto;
}

.mobile-only .faq-grid {
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-only .faq-row {
    display: grid;
    grid-template-columns: 35px 1fr 1.2fr;
    gap: 12px;
    align-items: center;
    background-color: #ffffff;
    border: 1.43px solid #000000;
    border-radius: 29px;
    padding: 15px 18px;
    transition: all 0.3s ease;
}

.mobile-only .faq-row:hover {
    border-color: #ffd2e7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 210, 231, 0.15);
}

.mobile-only .faq-icon {
    font-size: 20px;
    text-align: center;
}

.mobile-only .faq-q {
    font-size: 12px;
    color: #000000;
    line-height: 1.3;
}

.mobile-only .faq-a {
    font-size: 9px;
    color: #555555;
    line-height: 1.5;
    background-color: #fff5f8;
    border: 1px solid #ffd2e7;
    border-radius: 20px;
    padding: 8px 12px;
    text-align: center;
}

.mobile-only .faq-cta {
    padding: 10px 15px 30px;
}

.mobile-only .cta-box {
    background-color: #ffffff;
    border-radius: 39.29px;
    border: 1.43px solid #000000;
    padding: 15px 10px;
    text-align: center;
}

.mobile-only .cta-box h2 {
    font-size: 22px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.5px #000000;
    margin-bottom: 10px;
}

.mobile-only .cta-box p {
    font-size: 11px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mobile-only .footer-wrapper {
    text-align: center;
    padding: 40px 15px 30px;
}

.mobile-only .footer-title {
    font-size: 30px;
    color: #ffd2e7;
    -webkit-text-stroke: 0.71px #000000;
    margin-bottom: 20px;
}

.mobile-only .footer-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.mobile-only .footer-icons img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.mobile-only .footer-icons img:hover { transform: scale(1.2) rotate(5deg); }

.mobile-only .footer-text {
    font-size: 9.3px;
    color: #ffffff;
    -webkit-text-stroke: 0.71px #000000;
    line-height: 1.8;
    max-width: 242px;
    margin: 0 auto;
}

.mobile-only .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-only .fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================ */
/* ===== 🖥️ BRAND NEW LAPTOP/TABLET DESIGN 🖥️ ===== */
/* ============================================================ */

/* Hide laptop version on phones */
@media (max-width: 767px) {
    .desktop-wrapper { display: none !important; }
}

/* Show laptop version on tablets and laptops */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    
    body {
        background: #fff0f6;
        display: flex;
        justify-content: center;
        padding: 40px;
    }

    .desktop-wrapper {
        max-width: 1200px;
        width: 100%;
        background: #fdfcfc;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(255, 210, 231, 0.1);
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "Love Diary", "Single Day", sans-serif;
        color: #5b1133;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffd2e7;
        margin-bottom: 40px;
    }
    .d-logo {
        font-family: "Love Diary";
        font-size: 28px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
    }
    .d-back-btn {
        font-family: "Love Diary";
        font-size: 16px;
        color: #5b1133;
        border: 1.5px solid #000000;
        padding: 8px 20px;
        border-radius: 30px;
        background: #ffffff;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    .d-back-btn:hover { background: #ffd2e7; color: #ffffff; transform: scale(1.05); }

    /* ===== HERO ===== */
    .d-hero {
        text-align: center;
        margin-bottom: 40px;
    }
    .d-hero-content h1 {
        font-family: "Love Diary";
        font-size: 48px;
        color: #ffd2e7;
        -webkit-text-stroke: 1px #000000;
        margin: 0 0 10px 0;
        line-height: 1.2;
    }
    .d-hero-content p {
        font-family: "Love Diary";
        font-size: 18px;
        color: #5b1133;
        margin-bottom: 20px;
    }
    .d-sparkle {
        font-size: 40px;
        color: #ffd2e7;
        animation: floatA 3s ease-in-out infinite;
        display: inline-block;
    }

    @keyframes floatA {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-10px) rotate(10deg); }
    }

    /* ===== FAQ GRID ===== */
    .d-section { margin-bottom: 50px; }
    .d-faq-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    .d-faq-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: #ffffff;
        border: 1.5px solid #000000;
        border-radius: 29px;
        padding: 25px 20px;
        transition: all 0.3s ease;
    }
    .d-faq-card:hover {
        border-color: #ffd2e7;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 210, 231, 0.15);
    }
    .d-faq-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .d-faq-q {
        font-family: "Love Diary";
        font-size: 16px;
        color: #000000;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .d-faq-a {
        font-family: "Love Diary";
        font-size: 13px;
        color: #555555;
        line-height: 1.5;
        background-color: #fff5f8;
        border: 1px solid #ffd2e7;
        border-radius: 20px;
        padding: 12px 18px;
        width: 100%;
    }

    /* ===== CTA ===== */
    .d-cta {
        margin: 0 auto 40px;
        max-width: 700px;
    }
    .d-cta-box {
        background-color: #ffffff;
        border-radius: 39px;
        border: 1.5px solid #000000;
        padding: 40px 30px;
        text-align: center;
    }
    .d-cta-box h2 {
        font-family: "Love Diary";
        font-size: 28px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
        margin-bottom: 15px;
    }
    .d-cta-box p {
        font-family: "Love Diary";
        font-size: 16px;
        color: #555555;
        line-height: 1.6;
    }

    /* ===== FOOTER ===== */
    .d-footer {
        text-align: center;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #ffd2e7;
    }
    .d-footer-title {
        font-family: "Love Diary";
        font-size: 32px;
        color: #ffd2e7;
        -webkit-text-stroke: 0.5px #000000;
        margin-bottom: 20px;
    }
    .d-footer-icons {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
    }
    .d-icon {
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    .d-icon:hover { transform: scale(1.2) rotate(5deg); }
    .d-footer-text {
        font-family: "Love Diary";
        font-size: 14px;
        color: #5b1133;
        line-height: 1.8;
        max-width: 500px;
        margin: 0 auto;
    }
}