/* ============================================================
   RENEWAL CSS - 초대장만들기 리뉴얼 디자인
   모든 클래스 접두어: rn-
   롤백: 이 파일 링크 한 줄만 제거하면 원래 디자인 복원
   ============================================================ */

/* === 1. CSS Custom Properties === */
:root {
    --rn-primary: #f472b6;
    --rn-primary-dark: #ec4899;
    --rn-primary-light: #fda4af;
    --rn-accent: #fb923c;
    --rn-accent-dark: #f59e0b;
    --rn-bg-rose: #fff1f2;
    --rn-bg-rose-50: rgba(255,241,242,0.5);
    --rn-bg-orange-50: rgba(255,247,237,0.3);
    --rn-bg-dark: #111827;
    --rn-text-primary: #1f2937;
    --rn-text-secondary: #6b7280;
    --rn-text-muted: #9ca3af;
    --rn-border-rose: rgba(251,113,133,0.15);
    --rn-shadow-rose: rgba(251,113,133,0.15);
    --rn-shadow-rose-hover: rgba(251,113,133,0.25);
    --rn-radius: 1rem;
    --rn-radius-lg: 1.5rem;
    --rn-radius-full: 9999px;
    --rn-font-serif: 'Noto Serif KR', serif;
    --rn-font-sans: 'Noto Sans KR', sans-serif;
    --rn-gradient-primary: linear-gradient(to right, #fb7185, #ec4899);
    --rn-gradient-bg: linear-gradient(to bottom, var(--rn-bg-rose-50), #fff, var(--rn-bg-orange-50));
}

/* === 2. Font === */
/* Noto Serif KR & Noto Sans KR loaded via <link> in _top.php */

/* === 3. Keyframe Animations === */
@keyframes rn-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes rn-pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
@keyframes rn-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes rn-fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rn-icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    75% { transform: translateY(-15px) rotate(-5deg); }
}

/* === 4. Utility Classes === */
.rn-gradient-text {
    background: linear-gradient(to right, #fb7185, #ec4899, #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rn-glass {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.2);
}
.rn-soft-shadow {
    box-shadow: 0 4px 20px -2px var(--rn-shadow-rose),
                0 8px 40px -4px rgba(251,113,133,0.1);
}
.rn-hover-lift {
    transition: all 0.3s ease-out;
}
.rn-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px var(--rn-shadow-rose-hover);
}
.rn-animate-float { animation: rn-float 3s ease-in-out infinite; }
.rn-animate-pulse { animation: rn-pulse-soft 2s ease-in-out infinite; }
.rn-animate-fade-in { animation: rn-fade-in-up 0.6s ease-out forwards; }
.rn-font-serif { font-family: var(--rn-font-serif) !important; }

/* Scroll-triggered animation */
.rn-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.rn-animate-on-scroll.rn-visible {
    opacity: 1;
    transform: translateY(0);
}
.rn-animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.rn-animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.rn-animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.rn-animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.rn-animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Selection */
::selection { background: var(--rn-primary); color: #fff; }
::-moz-selection { background: var(--rn-primary); color: #fff; }

/* Screen reader only (SEO accessible hidden) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }


/* ============================================================
   5. GLOBAL OVERRIDES
   ============================================================ */

/* Background */
#bg {
    background: var(--rn-gradient-bg) !important;
}
#mobile {
    background: transparent !important;
    overflow-x: hidden !important;
}
#all {
    overflow-x: hidden;
}
#mobile::-webkit-scrollbar-thumb {
    background: rgba(251,113,133,0.3);
    border-radius: 4px;
}
#mobile::-webkit-scrollbar-thumb:hover {
    background: rgba(251,113,133,0.5);
}

/* Section background & min-height reset */
section {
    background: transparent !important;
    min-height: 0 !important;
    min-height: unset !important;
}
section.rn-cta {
    background: var(--rn-gradient-primary) !important;
}
section.rn-section-alt {
    background: linear-gradient(to bottom, #fff, var(--rn-bg-rose)) !important;
}

/* === Header / Navigation === */
header.header {
    padding: 12px 0 8px;
    box-shadow: none;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}
header.header.scrolled {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 8px rgba(251,113,133,0.08);
}
.text_logo {
    font-family: var(--rn-font-serif) !important;
    font-size: 20px !important;
    font-weight: 600;
    color: var(--rn-text-primary) !important;
}

/* Hamburger button - remove white box */
.hd .hd-hamburger {
    background: transparent !important;
}

/* Hamburger menu overlay */
.ham_wrap {
    background: rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.ham_wrap li a {
    color: var(--rn-text-primary) !important;
    border-bottom-color: rgba(0,0,0,0.06) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}
.ham_wrap li a:hover {
    color: var(--rn-primary-dark) !important;
}

/* === Free-form button (자유양식) === */
.new_card_write {
    z-index: 1 !important;
    background: var(--rn-gradient-primary) !important;
    border-radius: var(--rn-radius) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(251,113,133,0.3) !important;
    margin-bottom: 24px !important;
}

/* === Buttons === */
.card_confirm_layer .confirm {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px var(--rn-shadow-rose);
}
.card_confirm_layer .confirm:hover {
    box-shadow: 0 8px 25px var(--rn-shadow-rose-hover);
    transform: translateY(-1px);
}

/* Card list buttons */
.card_list_swiper .flex.btw .write_btn,
.appreciation_list_swiper .flex.btw .write_btn {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 4px 14px var(--rn-shadow-rose);
    transition: all 0.3s ease;
}
.card_list_swiper .flex.btw .write_btn:hover,
.appreciation_list_swiper .flex.btw .write_btn:hover {
    box-shadow: 0 8px 25px var(--rn-shadow-rose-hover);
    transform: translateY(-1px);
}
.card_list_swiper .flex.btw a,
.appreciation_list_swiper .flex.btw a {
    border-radius: var(--rn-radius) !important;
    transition: all 0.3s ease;
}

/* Write/submit buttons */
.card_write .write_ok {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 4px 14px var(--rn-shadow-rose);
    transition: all 0.3s ease;
}
.card_write .write_ok:hover {
    box-shadow: 0 8px 25px var(--rn-shadow-rose-hover);
    transform: translateY(-1px);
}
.card_write .write_ok:disabled {
    background: #ededed !important;
    box-shadow: none;
    transform: none;
}

/* Preset/list new card write button */
.card_list .new_card_write,
.card_preset .new_card_write,
.appreciation_list .new_card_write {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 8px 25px var(--rn-shadow-rose);
}

/* Card preset write button */
.card_preset ul li .write_btn {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius) !important;
}

/* Record action buttons */
.card_record li .btn_wrap button {
    border-radius: var(--rn-radius) !important;
    transition: all 0.3s ease;
}
.card_record li .btn_wrap button:not(.card_send) {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px var(--rn-shadow-rose);
}

/* Preview layer buttons */
.preview_layer .btn_wrap a {
    background: var(--rn-gradient-primary) !important;
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 4px 14px var(--rn-shadow-rose) !important;
}

/* Flower payment */
.flower_payment .pay_btn {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 4px 14px var(--rn-shadow-rose);
}
.flower_list .inquiry {
    background: var(--rn-gradient-primary) !important;
    color: #fff !important;
    border-radius: var(--rn-radius-full) !important;
}

/* === Cards & Containers === */
.card_list_swiper,
.appreciation_list_swiper {
    border-radius: var(--rn-radius-lg) !important;
    border-color: var(--rn-border-rose) !important;
    box-shadow: 0 4px 20px -2px var(--rn-shadow-rose) !important;
}
.card_preset ul li {
    border-radius: var(--rn-radius-lg) !important;
    border-color: var(--rn-border-rose) !important;
    box-shadow: 0 4px 20px -2px var(--rn-shadow-rose) !important;
}
.card_write .bw_wrap {
    border-radius: var(--rn-radius-lg) !important;
    box-shadow: 0 2px 12px rgba(251,113,133,0.08) !important;
    border: 1px solid var(--rn-border-rose);
}
.card_record li .card_preview {
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 2px 12px rgba(251,113,133,0.1) !important;
    border: 1px solid var(--rn-border-rose) !important;
    transition: border-color 0.3s ease;
}
.card_record li .card_preview:hover {
    border-color: var(--rn-primary) !important;
}
.flower_list_ul li {
    border-radius: var(--rn-radius-lg) !important;
    box-shadow: 0 4px 20px -2px var(--rn-shadow-rose) !important;
}
.flower_payment .item_info {
    border-radius: var(--rn-radius-lg) !important;
    box-shadow: 0 4px 20px -2px var(--rn-shadow-rose) !important;
}
.orderlist li {
    border-radius: var(--rn-radius) !important;
    border-color: var(--rn-border-rose) !important;
}
.preview_wrap {
    border-radius: var(--rn-radius-lg) !important;
    box-shadow: 0 20px 60px -12px rgba(0,0,0,0.25) !important;
}

/* === Modals / Layers === */
.layer,
.card_confirm_layer {
    border-radius: var(--rn-radius-lg) !important;
    box-shadow: 0 20px 60px -12px rgba(0,0,0,0.25) !important;
    overflow: hidden;
}
.layer .top,
.card_confirm_layer .top {
    border-bottom: 1px solid var(--rn-border-rose);
}
.card_confirm_layer .bc_box input {
    border-radius: var(--rn-radius) !important;
    border-color: rgba(251,113,133,0.2) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.card_confirm_layer .bc_box input:focus {
    border-color: var(--rn-primary) !important;
    box-shadow: 0 0 0 3px rgba(251,113,133,0.1);
    outline: none;
}

/* === Form Inputs === */
.card_write .bw_wrap input,
.card_write .bw_wrap textarea,
.card_write .bw_wrap .select_wrap,
.card_write .bw_wrap .select_wrap select {
    border-radius: 8px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.card_write .bw_wrap input:focus,
.card_write .bw_wrap textarea:focus {
    border-color: var(--rn-primary) !important;
    box-shadow: 0 0 0 3px rgba(251,113,133,0.1);
    outline: none;
}
.flower_payment .fp_box input {
    border-radius: 8px !important;
}
.flower_payment .fp_box input:focus {
    border-color: var(--rn-primary) !important;
    box-shadow: 0 0 0 3px rgba(251,113,133,0.1);
    outline: none;
}

/* === FAQ Styles === */
.main_faq_wrap li,
.card_faq li {
    border-radius: var(--rn-radius) !important;
    box-shadow: 0 2px 12px rgba(251,113,133,0.08) !important;
    border: 1px solid var(--rn-border-rose);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.main_faq_wrap li:hover,
.card_faq li:hover {
    border-color: rgba(251,113,133,0.3);
    box-shadow: 0 4px 20px rgba(251,113,133,0.15) !important;
}

/* === Notice Styles === */
.card_notice li {
    border-bottom-color: var(--rn-border-rose);
}
.notice_title {
    font-weight: 600;
}

/* === Background for list pages === */
.card_list,
.card_preset,
.appreciation_list,
.card_record,
.card_write {
    background: linear-gradient(to bottom, #fff, var(--rn-bg-rose)) !important;
}

/* === Dim overlay === */
.dim {
    background: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* === PC View Updates === */

/* Background - rose gradient instead of blue */
#bg {
    background: linear-gradient(160deg, #fff5f7 0%, #fce7f3 30%, #fdf2f8 50%, #fff7ed 70%, #fff1f2 100%) !important;
}

/* PC container */
#pc {
    background: transparent;
}

/* Hide old decoration images, replace with subtle CSS gradient orbs */
#pc .pc_bg_bottom,
#pc .pc_bg_top {
    background-image: none !important;
}
#pc .pc_bg_bottom {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,113,133,0.06) 0%, transparent 70%) !important;
    filter: blur(60px);
    bottom: -60px;
    left: -60px;
}
#pc .pc_bg_top {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,72,153,0.05) 0%, transparent 70%) !important;
    filter: blur(60px);
    top: -40px;
    right: 10%;
}

/* Hide Swiper default large arrow */
#pc .swiper-button-next::after,
#pc .swiper-button-prev::after {
    display: none !important;
}

/* Logo in slides */
#pc .swiper-slide .text_logo {
    font-family: var(--rn-font-serif) !important;
    color: var(--rn-text-secondary);
    font-size: 20px !important;
    position: relative;
    margin-bottom: 40px !important;
    letter-spacing: -0.5px;
    opacity: 0.7;
}

/* Slide badge (slide 1) */
#pc .pc-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(251,113,133,0.1), rgba(236,72,153,0.1));
    border: 1px solid rgba(251,113,133,0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rn-primary-dark);
    margin-bottom: 28px;
    animation: rn-fade-in-up 0.6s ease;
}
#pc .pc-slide-badge .fa {
    color: #fb7185;
    font-size: 12px;
}

/* Gradient text helper */
#pc .pc-gradient-text {
    background: var(--rn-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slide description text */
#pc .pc-slide-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 48px;
    animation: rn-fade-in-up 0.8s ease 0.3s both;
}

/* Main title (slide 1) */
#pc .swiper-slide .s1_title {
    font-family: var(--rn-font-serif) !important;
    font-size: 52px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    color: #1f2937 !important;
    margin-bottom: 24px !important;
    -webkit-text-fill-color: initial;
    animation: rn-fade-in-up 0.7s ease 0.1s both;
}
#pc .swiper-slide .s1_title .pc-gradient-text {
    -webkit-text-fill-color: transparent;
}

/* Subtitle (slides 2, 3, 4) */
#pc .swiper-slide .s2_title {
    font-family: var(--rn-font-serif) !important;
    font-size: 42px !important;
    font-weight: 700;
    line-height: 1.45 !important;
    color: #1f2937 !important;
    margin-bottom: 48px !important;
    margin-top: 0 !important;
}

/* 3 step icons (slide 2) */
#pc .swiper-slide .s2_ul {
    margin-left: calc(-25vw + 300px);
}
#pc .swiper-slide .s2_ul li {
    text-align: center;
}
#pc .swiper-slide .s2_ul li div {
    width: 110px !important;
    height: 110px !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(251,113,133,0.15) !important;
    background-image: none !important;
    background-color: #fff !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#pc .swiper-slide .s2_ul li div .fa {
    font-size: 40px;
    background: var(--rn-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#pc .swiper-slide .s2_ul li:hover div {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(251,113,133,0.25) !important;
}
#pc .swiper-slide .s2_ul li p {
    color: var(--rn-text-primary) !important;
    font-weight: 600;
    font-size: 16px !important;
    margin-top: 6px;
}
#pc .pc-step-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fb7185;
    margin-top: 4px;
    opacity: 0.7;
}
/* Arrow between icons - rose color */
#pc .swiper-slide .s2_ul li::after {
    opacity: 0.3;
    filter: hue-rotate(320deg) saturate(1.5);
}

/* Trust cards (slide 3) */
#pc .pc-trust-cards {
    display: flex;
    gap: 24px;
}
#pc .pc-trust-card {
    width: 180px;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(251,113,133,0.1);
    border: 1px solid rgba(251,113,133,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#pc .pc-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(251,113,133,0.2);
}
#pc .pc-trust-card .fa {
    font-size: 32px;
    background: var(--rn-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 14px;
}
#pc .pc-trust-card strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}
#pc .pc-trust-card span {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

/* CTA wrap (slide 4) */
#pc .pc-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
#pc .pc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--rn-gradient-primary);
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(251,113,133,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#pc .pc-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(251,113,133,0.4);
}
#pc .pc-cta-btn .fa {
    font-size: 16px;
}

/* Mouse scroll animation - rose theme */
#pc .swiper-slide .wheel_ani .mouse {
    border-color: rgba(251,113,133,0.5) !important;
    border-width: 2px;
}
#pc .swiper-slide .wheel_ani .mouse::before {
    background: #fb7185 !important;
}
#pc .swiper-slide .wheel_ani .down {
    display: none !important;
}

/* FAQ link - rose styled */
#pc .swiper-slide .s3_a {
    color: var(--rn-primary-dark) !important;
    font-size: 15px !important;
    font-weight: 500;
    padding: 10px 32px 10px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}
#pc .swiper-slide .s3_a::before {
    border-color: var(--rn-primary-dark) !important;
}
#pc .swiper-slide .s3_a::after {
    border-color: var(--rn-primary-dark) !important;
}
#pc .swiper-slide .s3_a:hover {
    background: rgba(251,113,133,0.12);
    padding-right: 40px !important;
}

/* Pagination dots */
#pc .swiper-pagination span.swiper-pagination-bullet {
    background: rgba(251,113,133,0.25);
    width: 10px;
    height: 10px;
    opacity: 1;
    transition: all 0.3s ease;
}
#pc .swiper-pagination span.swiper-pagination-bullet-active {
    background: var(--rn-primary) !important;
    height: 28px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(251,113,133,0.3);
}

/* Mobile container - softer scrollbar */
#mobile::-webkit-scrollbar-thumb {
    background: rgba(251,113,133,0.3) !important;
}
#mobile::-webkit-scrollbar-track {
    background: #fdf2f8 !important;
}


/* ============================================================
   6. HERO SECTION (index.php)
   ============================================================ */
.rn-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 0 40px;
    overflow: hidden;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    height:calc(100vh - 66px);
}

/* Gradient orbs */
.rn-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.rn-orb-1 { top: 15%; left: -60px; width: 200px; height: 200px; background: rgba(251,113,133,0.25); }
.rn-orb-2 { bottom: 20%; right: -60px; width: 200px; height: 200px; background: rgba(236,72,153,0.25); }
.rn-orb-3 { top: 40%; left: 30%; width: 300px; height: 300px; background: rgba(255,237,213,0.3); }

/* Dot pattern */
.rn-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, rgba(251,113,133,0.5) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Floating decorative icons - hidden (too distracting) */
.rn-floating-icon {
    display: none;
}

/* Badge */
.rn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--rn-radius-full);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--rn-border-rose);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--rn-text-secondary);
    position: relative;
    z-index: 1;
}
.rn-hero-badge i {
    color: var(--rn-primary);
}

/* Hero title */
.rn-hero-title {
    font-family: var(--rn-font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--rn-text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.rn-hero-title span { display: block; }

/* Subtitle */
.rn-hero-subtitle {
    font-size: 16px;
    color: var(--rn-text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

/* CTA buttons */
.rn-hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}
.rn-btn-primary {
    display: block;
    text-align: center;
    padding: 14px 32px;
    background: var(--rn-gradient-primary);
    color: #fff !important;
    border-radius: var(--rn-radius-full);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 25px var(--rn-shadow-rose);
    transition: all 0.3s ease;
    text-decoration: none;
}
.rn-btn-primary:hover {
    box-shadow: 0 12px 35px var(--rn-shadow-rose-hover);
    transform: translateY(-2px);
}
.rn-btn-outline {
    display: block;
    text-align: center;
    padding: 14px 32px;
    border: 2px solid rgba(251,113,133,0.3);
    color: var(--rn-text-primary) !important;
    border-radius: var(--rn-radius-full);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}
.rn-btn-outline:hover {
    background: var(--rn-bg-rose);
    border-color: var(--rn-primary);
}

/* Stats */
.rn-hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--rn-radius-lg);
    padding: 16px 8px;
    border: 1px solid rgba(251,113,133,0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.rn-stat {
    text-align: center;
    flex: 1;
    position: relative;
}
.rn-stat + .rn-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(251,113,133,0.15);
}
.rn-stat span:first-child {
    display: block;
    font-size: 22px;
    font-weight: 700;
}
.rn-stat span:last-child {
    font-size: 11px;
    color: var(--rn-text-secondary);
    margin-top: 2px;
    display: block;
}

/* Bottom gradient fade */
.rn-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
}


/* ============================================================
   7. SECTIONS COMMON
   ============================================================ */
.rn-section {
    padding: 50px 0;
    position: relative;
}
.rn-section + .rn-section {
    
}
.rn-section-alt {
    background: linear-gradient(to bottom, #fff, var(--rn-bg-rose)) !important;
    margin: 0 -16px;
    padding: 50px 16px;
}
.rn-section-header {
    text-align: center;
    margin-bottom: 24px;
}
.rn-section-header h3 {
    font-family: var(--rn-font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--rn-text-primary);
    line-height: 1.4;
    margin: 0;
    word-break:auto-phrase;
}
.rn-section-header p {
    font-size: 15px;
    color: var(--rn-text-secondary);
    margin-top: 8px;
    line-height: 1.6;
}
.rn-section-header-sm {
    margin-bottom: 12px;
}
.rn-section-header-sm h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}
.rn-section-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: var(--rn-text-primary) !important;
    text-decoration: none;
}
.rn-section-link span {
    font-size: 13px;
    color: var(--rn-text-muted);
}

/* Badge */
.rn-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--rn-radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}
.rn-badge-rose { background: rgba(251,113,133,0.1); color: #e11d48; }
.rn-badge-orange { background: rgba(251,146,60,0.1); color: #ea580c; }
.rn-badge-cyan { background: rgba(34,211,238,0.1); color: #0891b2; }


/* ============================================================
   8. FEATURES GRID
   ============================================================ */
.rn-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.rn-feature-card {
    background: #fff;
    border-radius: var(--rn-radius-lg);
    padding: 20px 16px;
    box-shadow: 0 2px 12px rgba(251,113,133,0.08);
    border: 1px solid var(--rn-border-rose);
    text-decoration: none !important;
    color: var(--rn-text-primary) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
    display: block;
}
.rn-feature-card:hover {
    border-color: rgba(251,113,133,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px var(--rn-shadow-rose-hover);
}
.rn-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.rn-feature-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--rn-text-primary);
}
.rn-feature-card p {
    font-size: 13px;
    color: var(--rn-text-secondary);
    line-height: 1.5;
    margin: 0;
}


/* ============================================================
   9. HOW IT WORKS
   ============================================================ */
.rn-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rn-step {
    background: #fff;
    border-radius: var(--rn-radius-lg);
    padding: 28px 16px 20px;
    box-shadow: 0 4px 16px rgba(251,113,133,0.08);
    border: 1px solid rgba(251,113,133,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease-out;
}
.rn-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px var(--rn-shadow-rose-hover);
}
.rn-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: var(--rn-gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px var(--rn-shadow-rose);
    text-align: center;
}
.rn-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.rn-step h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--rn-text-primary);
}
.rn-step p {
    font-size: 13px;
    color: var(--rn-text-secondary);
    line-height: 1.5;
    margin: 0;
}
.rn-steps-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--rn-text-secondary);
    font-size: 14px;
}
.rn-steps-footer .rn-highlight {
    color: var(--rn-primary-dark);
    font-weight: 500;
}


/* ============================================================
   10. NOTICE LIST (index.php)
   ============================================================ */
.rn-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rn-notice-list li {
    border-bottom: 1px solid var(--rn-border-rose);
}
.rn-notice-list li a {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 46px;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--rn-text-primary);
    transition: color 0.3s ease;
}
.rn-notice-list li a:hover {
    color: var(--rn-primary-dark);
}


/* ============================================================
   11. FAQ LIST (index.php)
   ============================================================ */
.rn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rn-faq-item {
    background: #fff;
    border-radius: var(--rn-radius);
    box-shadow: 0 2px 12px rgba(251,113,133,0.08);
    border: 1px solid var(--rn-border-rose);
    padding: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.rn-faq-item:hover {
    border-color: rgba(251,113,133,0.3);
    box-shadow: 0 4px 20px rgba(251,113,133,0.15);
}
.rn-faq-item .p1 {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: var(--rn-text-primary);
}
.rn-faq-item .p1::before {
    content: '';
    display: block;
    width: 14px;
    height: 8px;
    margin-right: 12px;
    flex-shrink: 0;
    background: url('/img/card/down.png') no-repeat center/100%;
    transition: all 0.3s ease;
}
.rn-faq-item .p1.active::before {
    transform: rotateZ(-180deg);
}
.rn-faq-item .art {
    font-size: 14px;
    color: var(--rn-text-secondary);
    font-weight: 400;
    margin-top: 12px;
    padding-left: 26px;
    display: none;
    line-height: 1.6;
}


/* ============================================================
   12. CTA SECTION
   ============================================================ */
.rn-cta {
    background: var(--rn-gradient-primary);
    border-radius: var(--rn-radius-lg);
    padding: 32px 20px;
    text-align: center;
    color: #fff;
    margin: 24px -4px;
    position: relative;
    overflow: hidden;
}
.rn-cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}
.rn-cta-floating {
    position: absolute;
    color: rgba(255,255,255,0.15);
    font-size: 48px;
    pointer-events: none;
}
.rn-cta-floating:nth-child(1) { top: 10px; left: 10px; animation: rn-float 5s ease-in-out infinite; }
.rn-cta-floating:nth-child(2) { top: 20px; right: 20px; animation: rn-float 4s ease-in-out infinite 0.5s; }
.rn-cta-floating:nth-child(3) { bottom: 20px; left: 20px; animation: rn-float 3s ease-in-out infinite 1s; }
.rn-cta-floating:nth-child(4) { bottom: 10px; right: 10px; animation: rn-float 6s ease-in-out infinite 1.5s; }

.rn-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--rn-radius-full);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 13px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.rn-cta h3 {
    font-family: var(--rn-font-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}
.rn-cta > p {
    opacity: 0.85;
    font-size: 15px;
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}
.rn-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: var(--rn-primary-dark) !important;
    border-radius: var(--rn-radius-full);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-decoration: none;
}
.rn-cta-btn:hover {
    background: var(--rn-bg-rose);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
.rn-cta-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}
.rn-cta-trust span {
    font-size: 13px;
    opacity: 0.75;
}


/* ============================================================
   13. CUSTOMER SERVICE
   ============================================================ */
.rn-cs-wrap {
    margin-bottom: 16px;
    padding-top: 16px;
}
.rn-cs-wrap h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--rn-text-primary);
}
.rn-cs-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 15px;
    background: #fff;
    border-radius: var(--rn-radius-lg);
    box-shadow: 0 4px 20px -2px var(--rn-shadow-rose);
    border: 1px solid var(--rn-border-rose);
    text-decoration: none;
    transition: all 0.3s ease;
}
.rn-cs-card:hover {
    border-color: var(--rn-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--rn-shadow-rose-hover);
}
.rn-cs-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--rn-text-primary);
    letter-spacing:-0.2px;
}
.rn-cs-time {
    font-size: 12px;
    color: var(--rn-text-secondary);
    padding: 6px 14px;
    background: var(--rn-bg-rose);
    border-radius: var(--rn-radius-full);
    letter-spacing:-0.2px;
}


/* ============================================================
   14. FOOTER (footer.php)
   ============================================================ */
.rn-footer {
    position: sticky !important;
    top:100%;
    transform: none !important;
    background: linear-gradient(180deg, #fff5f7 0%, #fce7f3 100%) !important;
    color: #6b7280 !important;
    padding: 0 !important;
    margin: 20px -16px 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    height: auto !important;
    border: 0 !important;
    border-top: 1px solid rgba(251,113,133,0.12) !important;
}
.rn-footer::before,
.rn-footer::after { display: none !important; }

/* Top area - logo + desc */
.rn-footer-top {
    padding: 28px 20px 16px;
    text-align: center;
}
.rn-footer-logo {
    font-family: var(--rn-font-serif) !important;
    font-size: 18px;
    font-weight: 600;
    color: var(--rn-text-primary);
    display: block;
    margin-bottom: 6px;
}
.rn-footer .rn-footer-desc {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    max-width: none;
}

/* Nav links - inline */
.rn-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 0;
    padding: 0 20px 16px;
}
.rn-footer-nav a {
    color: #6b7280 !important;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding: 0 10px;
}
.rn-footer-nav a::before { display: none !important; }
.rn-footer-nav a + a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: rgba(251,113,133,0.2);
}
.rn-footer-nav a:hover {
    color: var(--rn-primary-dark) !important;
}

/* Info area */
.rn-footer-info {
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid rgba(251,113,133,0.08);
    font-style: normal;
}
.rn-footer-info p {
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

/* Copyright */
.rn-footer-copy {
    padding: 0 20px 24px;
    text-align: center;
    color: #333;
    font-size: 10px;
}


/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 360px) {
    .rn-hero-title { font-size: 26px; }
    .rn-features-grid { grid-template-columns: 1fr; }
    .rn-steps { grid-template-columns: 1fr; }
    .rn-hero-stats { flex-wrap: wrap; gap: 16px; }
}
