/* Reset & Variables */
:root {
    --primary-color: #d97706; /* Warm Amber / Golden Honey */
    --primary-hover: #b45309;
    --accent-color: #f43f5e; /* Rose Coral for CTA */
    --accent-yellow: #f59e0b;
    --bg-color: #fefdf9; /* Soft Warm Cream */
    --text-color: #3b3531; /* Soft Warm Charcoal */
    --text-muted: #78716c;
    --white: rgba(255, 255, 255, 0.90); /* Slightly transparent warm white */
    --border-color: rgba(254, 243, 199, 0.85); /* Soft yellow-cream border */
    --font-family: 'Noto Sans KR', sans-serif;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; 
    position: relative;
}

/* Animated Background (Warm Feminine Pastel Blobs with Butter Yellow) */
.bg-animation {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: #fdfaf2; /* Soft warm butter-ivory base */
}

.blob {
    position: absolute;
    filter: blur(65px);
    opacity: 0.82;
    animation: float 14s infinite ease-in-out alternate;
}

.blob-1 {
    top: -5%; left: -5%;
    width: 60vw; height: 60vw;
    background: #fef08a; /* Warm sunny pastel yellow */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%; right: -10%;
    width: 58vw; height: 58vw;
    background: #ffd3b6; /* Warm soft peach/apricot */
    animation-delay: -4s;
}

.blob-3 {
    top: 30%; left: 45%;
    width: 50vw; height: 50vw;
    background: #ffccd5; /* Soft blush warm rose */
    animation-delay: -7s;
}

.blob-4 {
    bottom: 25%; left: -5%;
    width: 45vw; height: 45vw;
    background: #fed7aa; /* Cozy butter cream yellow */
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -100px) scale(1.2); }
    66% { transform: translate(-60px, 80px) scale(0.85); }
    100% { transform: translate(0, 0) scale(1); }
}

a { text-decoration: none; }

/* Utilities */
.container {
    max-width: 600px;
    margin: 0 auto;
}

.section-padding {
    padding: 20px 20px; /* Minimized vertical padding */
}

.glass {
    background: var(--white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px; /* Minimized bottom margin */
    color: #1e293b;
    word-break: keep-all;
}

/* Hero Section */
.hero {
    padding: 100px 20px 140px; /* Added bottom padding for the absolute gift image */
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    width: 320px;
    height: 420px;
    border-radius: 160px 160px 20px 20px; /* Arch shape */
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background-color: #fff;
    transform: rotate(2deg); /* slight playful tilt */
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-gift-wrapper {
    position: absolute;
    bottom: -120px; /* Positioned below the person photo without overlapping */
    right: 50%;
    transform: translateX(50%); /* Centered horizontally */
    z-index: 10;
    text-align: center;
}

.event-gift-img {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    animation: bounce-gift 3s infinite ease-in-out;
}

@keyframes bounce-gift {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-12px) rotate(-2deg); }
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #0f172a;
    word-break: keep-all;
}

.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
    word-break: keep-all;
    margin-bottom: 20px;
}

.applicant-counter {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    margin-bottom: 24px;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.counter-label {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #f43f5e);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.counter-text {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 40px; 
    }
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-image-wrapper {
        width: 280px;
        height: 380px;
        border-radius: 140px 140px 20px 20px;
    }
    .event-gift-wrapper {
        bottom: -90px;
    }
    .event-gift-img {
        width: 220px;
    }
}

/* Pain Points Section */
.check-list {
    list-style: none;
    margin-bottom: 20px;
}

.check-list li {
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 8px; /* Minimized margin */
    font-weight: 500;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.check-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.pain-conclusion {
    text-align: center;
    font-size: 1.35rem;
    margin-top: 24px;
    color: #475569;
}
.pain-conclusion strong { color: var(--primary-color); }

/* Profile Section */
.profile-section {
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
    overflow: hidden;
}

.profile-img-wrapper {
    width: 100%;
    height: 350px; /* Make it very large */
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    margin-top: 0; 
    background: #cbd5e1;
}

.profile-img { width: 100%; height: 100%; object-fit: cover; }

.profile-info {
    padding: 30px 20px 40px;
}
.profile-info h3 { font-size: 1.7rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.profile-info p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 20px; word-break: keep-all; }

.trust-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.trust-badges span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-hover);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Testimonials */
.testimonial-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.review-card { 
    padding: 24px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.stars { color: #fbbf24; margin-bottom: 10px; letter-spacing: 2px;}
.review-text { font-size: 1.25rem; font-weight: 500; font-style: italic; margin-bottom: 12px; color: #334155; }
.review-author { font-size: 1.1rem; color: var(--text-muted); text-align: right; }

/* Process */
.process-steps { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.step {
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 15px 20px 15px 60px; /* Highly compact padding */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-number {
    position: absolute;
    left: 15px; top: 15px;
    width: 32px; height: 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}
.step h4 { font-size: 1.45rem; margin-bottom: 6px; color: #1e293b; }
.step p { font-size: 1.15rem; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { 
    padding: 20px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

.btn-details {
    background: #e2e8f0;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-details:hover {
    background: #cbd5e1;
    color: #1e293b;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    color: #94a3b8;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover,
.close-btn:focus {
    color: #0f172a;
    text-decoration: none;
}
.faq-q { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    list-style: none; /* remove default details arrow in some browsers */
}
.faq-q::-webkit-details-marker { display: none; }
.faq-item[open] .faq-q { margin-bottom: 12px; }
.faq-a { 
    font-size: 1.15rem; 
    color: var(--text-muted); 
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

/* Form Section */
.form-section { padding: 40px 20px 60px; max-width: 600px; margin: 0 auto; }
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; color: #1e293b; }
.form-header p { color: var(--text-muted); font-size: 0.95rem; }

.lead-form { padding: 30px 20px; }
.input-group { margin-bottom: 24px; }
.input-group label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 1.25rem; }
.required { color: var(--accent-color); }

input[type="text"], input[type="tel"], textarea, input[type="password"] {
    width: 100%; padding: 14px;
    border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 1.25rem; font-family: inherit;
    background: rgba(255,255,255,0.9);
    transition: all 0.2s;
}
input:focus, textarea:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); background: #fff;
}

/* Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 1.25rem;
    color: #475569;
    user-select: none;
    line-height: 1.5;
}
.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    position: absolute; top: 2px; left: 0; height: 22px; width: 22px;
    background-color: rgba(255,255,255,0.8); border: 1px solid #cbd5e1; border-radius: 6px; transition: all 0.2s ease;
}
.checkbox-container input:checked ~ .checkmark { background-color: var(--primary-color); border-color: var(--primary-color); }
.checkmark:after { content: ""; position: absolute; display: none; }
.checkbox-container input:checked ~ .checkmark:after { display: block; }
.checkbox-container .checkmark:after {
    left: 7px; top: 3px; width: 5px; height: 10px;
    border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Submit Button */
.btn-submit {
    width: 100%; background: var(--accent-color); color: #fff;
    border: none; padding: 16px; font-size: 1.1rem; font-weight: 800;
    border-radius: 8px; cursor: pointer; transition: transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 6px 15px rgba(244, 63, 94, 0.3); margin-top: 10px;
}
.btn-submit:active { transform: translateY(2px); box-shadow: 0 2px 5px rgba(244, 63, 94, 0.3); }

/* Footer */
footer { text-align: center; padding: 20px; color: #94a3b8; font-size: 0.8rem; margin-bottom: 40px; }

/* Sticky CTA */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    padding: 12px 20px; background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.3);
    z-index: 100; transform: translateY(100%); transition: transform 0.3s ease-in-out;
    display: flex; justify-content: center;
}
.sticky-cta.show { transform: translateY(0); }
.btn-sticky {
    display: block; width: 100%; max-width: 600px;
    background: var(--primary-color); color: #fff; text-align: center;
    padding: 16px; border-radius: 8px; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 6px 15px rgba(224, 122, 139, 0.35);
}

/* Desktop */
@media (min-width: 768px) {
    .hero { padding: 100px 20px 80px; }
    .hero h1 { font-size: 3rem; }
    .sticky-cta { display: none; }
    body { padding-bottom: 0; }
}


/* Trust Stats Section */
.stats-grid {
    display: flex;
    justify-content: space-around;
    padding: 24px 15px;
    text-align: center;
}
.stat-item {
    flex: 1;
}
.stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-num span {
    font-size: 1.1rem;
    font-weight: 700;
}
.stat-desc {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    word-break: keep-all;
}

/* Blog Showcase Section */
.blog-banner-card {
    padding: 28px 22px;
    position: relative;
    overflow: hidden;
}
.blog-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.blog-tag {
    background: #03c75a; /* Naver Green */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.blog-subscriber {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 600;
}
.blog-banner-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.blog-banner-text {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.5;
}
.blog-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.6);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.highlight-item .h-icon {
    font-size: 1.2rem;
    line-height: 1.2;
}
.highlight-item .h-text strong {
    font-size: 0.95rem;
    color: #1e293b;
    display: block;
}
.highlight-item .h-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}
.btn-blog-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #03c75a;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(3, 199, 90, 0.25);
    text-decoration: none;
}
.btn-blog-link:hover {
    background: #02b150;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(3, 199, 90, 0.35);
}
.btn-blog-link .arrow {
    font-size: 1.2rem;
    font-weight: bold;
}


/* Hero CTA Button */
.btn-primary-hero {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.45);
}


/* Kakao Elements Styling */
.kakao-form-alt {
    margin-top: 25px;
    text-align: center;
}

.divider-text {
    position: relative;
    text-align: center;
    margin: 20px 0 15px;
}
.divider-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}
.divider-text span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.kakao-alt-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 12px;
    word-break: keep-all;
}

.btn-kakao-wide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background-color: #fee500;
    color: #191919;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
    transition: all 0.2s ease;
}
.btn-kakao-wide:hover {
    background-color: #fada0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 229, 0, 0.5);
}

/* Floating Kakao Button */
.kakao-floating-btn {
    position: fixed;
    right: 20px;
    bottom: 95px; /* Above the mobile sticky CTA */
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background-color: #fee500;
    color: #191919;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(254, 229, 0, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float-pulse 3s infinite ease-in-out;
}

.kakao-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.kakao-floating-label {
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 1px;
    color: #3c1e1e;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (min-width: 768px) {
    .kakao-floating-btn {
        bottom: 35px;
        right: 35px;
        width: 68px;
        height: 68px;
    }
    .kakao-floating-label {
        font-size: 0.7rem;
    }
}
