/* assets/pages/index.css */

/* 히어로 */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding-top: 80px; text-align: center;
    position: relative; overflow: hidden;
}
.hero-content {
    max-width: 680px; position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center;
}
.hey-girl {
    font-family: var(--script); font-size: 1.6rem; color: var(--pink);
    transform: rotate(-5deg); display: inline-block; margin-bottom: 6px;
}
.hero-badge {
    display: inline-block; background: var(--white);
    padding: 7px 16px; border-radius: 20px;
    font-size: 0.88rem; font-weight: 500; color: var(--light);
    margin-bottom: 22px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transform: rotate(-2deg);
}
.hero h1 { font-size: 3.2rem; line-height: 1.35; margin-bottom: 22px; letter-spacing: -0.02em; }
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl::after {
    content: ''; position: absolute; bottom: 4px; left: -4px; right: -4px;
    height: 11px; background: linear-gradient(135deg,#FF8C42,#FF540F); opacity: 0.5;
    z-index: -1; border-radius: 8px; transform: rotate(-1deg);
}
.hero p { font-size: 1.1rem; color: var(--light); margin-bottom: 34px; max-width: 460px; }

.daisy-garden { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.daisy { position: absolute; bottom: -40px; transform-origin: bottom center; }
.daisy-1 { left: 3%;  width: 300px; animation: sway  6s ease-in-out infinite; }
.daisy-2 { right: 2%; width: 240px; animation: swayr 7s ease-in-out infinite; opacity: 0.8; filter: blur(1px); }
.daisy-3 { right: 14%; width: 360px; animation: sway 8s ease-in-out infinite 1s; }
@keyframes sway  { 0%,100%{transform:rotate(-5deg)} 50%{transform:rotate(5deg)} }
@keyframes swayr { 0%,100%{transform:rotate(4deg)}  50%{transform:rotate(-4deg)} }

/* 고민 섹션 */
.problem { padding: 110px 0; background: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.3rem; margin-top: 8px; margin-bottom: 10px; }
.section-header p { color: var(--light); }

.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
.card {
    background: var(--bg); padding: 36px 28px; border-radius: 16px;
    box-shadow: var(--shadow); position: relative; transition: transform 0.3s, z-index 0s;
}
.card::before {
    content: ''; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 14px; background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card:nth-child(1) { transform: rotate(-2deg); }
.card:nth-child(2) { transform: translateY(18px) rotate(1deg); background: #FF9A75; }
.card:nth-child(2) .card-num { color: #7A3010; }
.card:nth-child(2) h3 { color: #5C2008; }
.card:nth-child(2) p  { color: #7A3A18; }
.card:nth-child(3) { transform: rotate(2.5deg); }
.card:hover { transform: translateY(-4px) scale(1.02) !important; z-index: 10; }
.card-num { font-family: var(--script); font-size: 1.9rem; color: var(--pink); display: block; margin-bottom: 8px; }
.card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.card p  { color: var(--light); font-size: 0.93rem; }

/* 서비스 섹션 */
.services { padding: 110px 0; background: var(--bg); }
.service-row { display: flex; align-items: center; gap: 56px; margin-bottom: 80px; }
.service-row:nth-child(even) { flex-direction: row-reverse; }

.svc-visual {
    flex: 1; height: 380px;
    position: relative; display: flex; align-items: center; justify-content: center;
}
.svc-blob {
    position: absolute; width: 80%; height: 80%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}
.step-1 .svc-blob { background: #FF9A75; animation: blob 8s ease-in-out infinite; }
.step-2 .svc-blob { background: var(--blue);   animation: blob 7s ease-in-out infinite reverse; }
.step-3 .svc-blob { background: var(--pink);   animation: blob 9s ease-in-out infinite; }
@keyframes blob {
    0%,100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34%      { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67%      { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}
.svc-icon {
    width: 110px; height: 110px; border-radius: 50%;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); position: relative; z-index: 2;
}
.svc-icon svg { width: 48px; height: 48px; stroke: var(--text); stroke-width: 1.5; fill: none; }

.svc-content { flex: 1; }
.svc-tag { font-family: var(--script); font-size: 1.4rem; color: var(--light); margin-bottom: 8px; }
.svc-content h3 { font-size: 1.9rem; margin-bottom: 14px; }
.svc-content p  { color: var(--light); font-size: 1.05rem; margin-bottom: 14px; }
.svc-list { list-style: none; }
.svc-list li { padding-left: 22px; position: relative; margin-bottom: 8px; font-size: 0.93rem; }
.svc-list li::before { content: '♡'; position: absolute; left: 0; color: var(--pink); }

/* 후기 */
.testimonials {
    padding: 110px 0; background: var(--white);
    background-image: radial-gradient(var(--bg) 2px, transparent 2px);
    background-size: 30px 30px;
}
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 48px; }
.testi-card {
    background: var(--white); border: 2px dashed #EAE0DD;
    padding: 36px; border-radius: 24px; position: relative;
}
.quote-mark {
    font-family: var(--serif); font-size: 3.6rem; color: var(--yellow);
    opacity: 0.5; position: absolute; top: 8px; left: 18px; line-height: 1;
}
.testi-text { font-size: 1.05rem; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar {
    width: 46px; height: 46px; border-radius: 50%; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--script); font-size: 1.4rem; color: var(--pink);
}
.author-info strong { display: block; }
.author-info span { font-size: 0.83rem; color: var(--light); }

/* CTA 섹션 */
.cta-section {
    padding: 140px 0; text-align: center;
    background: linear-gradient(135deg,#F2956A,#FF540F); position: relative; overflow: hidden;
}
.cta-section h2 { font-size: 2.8rem; margin-bottom: 18px; color: #fff; }
.cta-section p  { font-size: 1.1rem; margin-bottom: 36px; color: rgba(255,255,255,0.88); }
.cta-deco { position: absolute; opacity: 0.18; pointer-events: none; }
.cta-deco-1 { top: -40px; left: 8%; width: 180px; transform: rotate(45deg); }
.cta-deco-2 { bottom: -80px; right: 4%; width: 260px; transform: rotate(-20deg); }

/* 벚꽃 캔버스 */
#sakura { position: fixed; inset: 0; pointer-events: none; z-index: -1; }

/* 스크롤 reveal */
.reveal { opacity: 1; transform: none; }
.reveal.animate { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.animate.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* 서울로 오고 싶은데 섹션 */
.local-banner { padding: 100px 0; background: linear-gradient(135deg,#2D2328 0%,#3E2D28 100%); overflow: hidden; position: relative; }
.local-banner::before { content:''; position:absolute; top:-80px; right:-80px; width:400px; height:400px; border-radius:50%; background:rgba(255,84,15,0.06); pointer-events:none; }
.local-header { text-align: center; margin-bottom: 72px; }
.local-header .eyebrow { font-family: var(--script); font-size: 1.4rem; color: #FF540F; margin-bottom: 10px; display: block; }
.local-header h2 { font-family: var(--serif); font-size: 2.2rem; line-height: 1.4; color: #fff; margin-bottom: 14px; }
.local-header h2 span { color: #FF540F; }
.local-header p { font-size: 0.95rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.worry-steps { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.worry-step { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; opacity: 0; transform: translateY(40px); transition: opacity 0.65s ease, transform 0.65s ease; }
.worry-step.visible { opacity: 1; transform: translateY(0); }
.worry-step:nth-child(2) { transition-delay: 0.12s; }
.worry-step:nth-child(3) { transition-delay: 0.24s; }
.worry-step:nth-child(4) { transition-delay: 0.36s; }
.worry-step:nth-child(5) { transition-delay: 0.48s; }
.worry-q { background: rgba(255,255,255,0.09); border: 1.5px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.worry-emoji { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.worry-q p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; font-weight: 500; }
.worry-divider { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; align-self: center; }
.worry-divider span { width: 2px; height: 8px; background: rgba(255,84,15,0.4); border-radius: 2px; }
.worry-divider .arr { color: #FF540F; font-size: 1.2rem; font-weight: 700; }
.worry-a { background: rgba(255,84,15,0.18); border: 1.5px solid rgba(255,84,15,0.4); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.worry-a-tag { font-size: 0.68rem; font-weight: 700; color: #FF540F; letter-spacing: 0.08em; margin-bottom: 8px; display: block; }
.worry-a strong { display: block; font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 5px; line-height: 1.5; }
.worry-a p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.local-cta { text-align: center; margin-top: 48px; }

/* 반응형 */
@media (max-width: 860px) {
    .hero h1 { font-size: 2.4rem; }
    .cards-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .service-row,
    .service-row:nth-child(even) { flex-direction: column; gap: 28px; }
    .svc-visual { height: 260px; }
    .testi-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .hero { padding-top: 68px; padding-bottom: 52px; min-height: 100svh; }
    .hero h1 { font-size: 1.85rem; }
    .hero p  { font-size: 0.95rem; }
    .hey-girl { font-size: 1.3rem; }
    .hero-badge { font-size: 0.8rem; }
    .daisy-garden { opacity: 0.28; }
    .daisy-1 { width: 200px; }
    .daisy-2 { width: 160px; }
    .daisy-3 { width: 240px; }

    .problem, .testimonials {
        min-height: 100svh;
        display: flex; flex-direction: column; justify-content: center;
        padding: 70px 0;
    }
    .services {
        min-height: 100svh;
        display: flex; flex-direction: column; justify-content: center;
        padding: 70px 0;
    }
    .service-row {
        min-height: auto;
        display: flex; flex-direction: column;
        padding: 0;
        margin-bottom: 48px;
    }
    .cta-section {
        min-height: 100svh;
        display: flex; flex-direction: column; justify-content: center;
        padding: 80px 0;
    }

    .section-header h2 { font-size: 1.6rem; }
    .cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .card:nth-child(1),
    .card:nth-child(2),
    .card:nth-child(3) { transform: none; }

    .svc-visual { flex: none; width: 160px; height: 160px; margin: 0 auto; display: flex; }
    .svc-blob   { width: 100%; height: 100%; display: block; }
    .svc-content h3 { font-size: 1.4rem; }
    .svc-content p  { font-size: 0.95rem; }

    .testi-grid { gap: 16px; }
    .testi-card { padding: 28px 18px; }
    .testi-text { font-size: 0.92rem; }

    .cta-section h2 { font-size: 1.75rem; }
    .cta-section p  { font-size: 0.95rem; }

    .worry-step { grid-template-columns: 1fr; gap: 0; }
    .worry-q { border-radius: 20px 20px 0 0; border-bottom: none; }
    .worry-a { border-radius: 0 0 20px 20px; border-top: 2px dashed rgba(255,84,15,0.4); }
    .worry-divider { display: none; }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 1.55rem; }
    .section-header h2 { font-size: 1.4rem; }
}
