@charset "utf-8";

/* ==========================================================================
   광고플러스 무료알림서비스 랜딩 리뉴얼 (Figma: 비씨카드x네이버 랜딩페이지_수정)
   - 402px 모바일 시안 기준, PC는 중앙 고정폭(max-width 480px)
   ========================================================================== */

/* Fonts (self-hosted)
   /agency/fonts/Paperlogy/Paperlogy-5Medium.woff2, -6SemiBold, -7Bold, -9Black
   /agency/fonts/Pretendard/PretendardVariable.woff2 (100~900 가변) */
@font-face {
    font-family: 'Paperlogy';
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Paperlogy/Paperlogy-5Medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Paperlogy';
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Paperlogy/Paperlogy-6SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Paperlogy';
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Paperlogy/Paperlogy-7Bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Paperlogy';
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/Paperlogy/Paperlogy-9Black.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Pretendard/PretendardVariable.woff2') format('woff2-variations');
}

/* Base ------------------------------------------------------------------- */
:root {
    --color-text: #2D3441;
    --color-red: #E83E44;
    --color-red-point: #FD2D34;
    --color-naver: #03C75A;
    --color-cta: #0EC060;
    --content-max-width: 420px; /* 배경은 풀폭, 콘텐츠만 제한 */
}

html, body {
    background: #FFFFFF;
}

body {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    color: var(--color-text);
    -webkit-text-size-adjust: 100%;
    word-break: keep-all; /* 한글 어절 단위 줄바꿈 */
}

/* 배경은 화면 전체, 콘텐츠는 각 섹션 내부에서 --content-max-width로 제한 */
#container {
    position: relative;
    width: 100%;
    background: #FFFFFF;
    overflow: hidden;
}

#container img {
    display: block;
}

/* 섹션 내 풀폭(stretch) 콘텐츠 제한 */
.event-table,
.faq-list,
.reward-pill-wrapper {
    max-width: var(--content-max-width);
}

.section-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--color-text);
}

.text-red { color: var(--color-red); }
.text-red-point { color: var(--color-red-point); }
.text-naver { color: var(--color-naver); }

/* 불릿 줄: 점은 ::before로 분리, 줄바꿈 시 텍스트 시작점 유지 */
.bul {
    position: relative;
    padding-left: 14px;
}

.bul::before {
    content: '·';
    position: absolute;
    left: 0;
}

/* Section 1. Hero -------------------------------------------------------- */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 50px 0 0;
    background: #F9FFFB;
}

.hero-logos {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-logos .logo-x {
    padding: 4px 3px;
}

.hero-txt {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.hero-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 900;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--color-text);
}

.hero-desc {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.5;
    text-align: center;
    color: var(--color-text);
}

.hero-desc .text-naver { font-weight: 500; }

.hero-img-wrap {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-img-wrap .sphere {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -47%);
    width: 375px;
    height: 375px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #7DF0AF 0%, var(--color-naver) 60%, #02A94D 100%);
    opacity: 0.1;
    filter: blur(30px);
    pointer-events: none;
}

.hero-img-wrap .hero-img {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Section 2. 네이버 안심 ---------------------------------------------------- */
.naver-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 60px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 42%, #85F6B7 100%);
}

.naver-section .tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.naver-section .section-title {
    font-weight: 700;
}

.naver-section .cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.naver-section .desc {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}

.naver-section .alarm-mockup {
    width: 100%;
    max-width: 415px;
}

/* Section 3. 네이버페이 이벤트 ----------------------------------------------- */
.event-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 70px 16px;
    background: #FAFAFA;
}

.event-section .npay-img {
    width: 290px;
}

.event-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.event-table .tr {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.event-table .th {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 36px;
    background: #EFEFEF;
    border-radius: 60px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    box-sizing: border-box;
}

.event-table .td {
    flex: 1;
    padding-top: calc((36px - 1.5em) / 2); /* 뱃지(36px) 세로 중앙 = 첫 줄 중앙 */
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
}

/* Section 4. 페이북 머니 ----------------------------------------------------- */
.reward-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 660px;
    padding: 70px 0 40px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.reward-section .cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.paybooc-wrap {
    position: relative;
    width: 249px;
    height: 249px;
}

.paybooc-wrap .paybooc-img {
    width: 100%;
    height: 100%;
}

.reward-circles {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px; /* 시안 절대좌표 기준(213-112=101) 근사 */
    margin: 40px 0 -20px; /* 타이틀과 띄우고(40) 이미지 쪽으로 당김(32-20=12px 간격) */
}

.reward-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: #FFEFF0;
    border: 1px solid #FFE3E3;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    color: var(--color-red-point);
    box-sizing: border-box;
}

.reward-circle .emoji { font-size: 19px; }

.reward-circle.watch {
    margin-top: 28px; /* 엇갈린 배치 */
    width: 112px;
    height: 111px;
}

.reward-circle.click {
    width: 109px;
    height: 108px;
}

.reward-pill-wrapper {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.reward-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--color-red-point);
    border-radius: 60px;
}

.reward-pill img {
    width: 24px;
    height: 24px;
}

.reward-pill span {
    font-weight: 700;
    font-size: 17px;
    line-height: 18px;
    color: #FFFFFF;
}

/* Section 5. FAQ --------------------------------------------------------- */
.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 60px 24px 110px; /* 하단 고정 CTA(약 74px)에 가려지는 만큼 포함 */
    background: #EFEFEF;
}

.faq-section .section-title {
    font-size: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.faq-list li {
    padding: 16px;
    background: #FFFFFF;
    border-radius: 8px;
}

.faq-list .faq-title {
    display: flex;
    align-items: center;
    min-height: 24px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    color: #000000;
}

.faq-list .faq-content {
    margin-top: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #727272;
}

.faq-list .faq-content .etc {
    margin-top: 8px;
    font-weight: 300;
    font-size: 13px;
}

/* Bottom fixed CTA ------------------------------------------------------- */
.cta-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

.cta-btn {
    display: block;
    width: 100%;
    padding: 24px 0;
    background: var(--color-cta);
    border: 0;
    cursor: pointer;
    font-family: 'Paperlogy', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
    color: #FFFFFF;
}

.cta-tooltip {
    position: absolute;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.cta-tooltip .box {
    padding: 8px 12px;
    background: #000000;
    border-radius: 8px;
    font-family: 'Paperlogy', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    color: #FFFFFF;
}

.cta-tooltip .arrow {
    width: 0;
    height: 0;
    margin-top: -1px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000000;
}

/* 소형 화면 보정 ----------------------------------------------------------- */
@media screen and (max-width: 360px) {
    .hero-title { font-size: 36px; }
    .section-title { font-size: 30px; }
    .cta-btn { font-size: 20px; }
    .reward-circles { gap: 32px; }
}

/* cashwalk 유입 분기 (body.src-cashwalk, adsignalBCC.jsp 에서 부여) ---------- */
body.src-cashwalk .event-section,
body.src-cashwalk .cta-tooltip {
    display: none;
}
