@charset "utf-8";

/* 1. 기본 및 전역 설정 */
:root {
    --primary-color: #222;
    --point-blue-color: #007AFF;
    --point-gradient: linear-gradient(90deg, #007AFF, #5856D6);
    --point-gradient-red: linear-gradient(to right, #FF6B6B, #F06A8C);
    --text-color: #212529;
    --text-light-color: #6C757D;
    --border-color: #DEE2E6;
    --white-color: #FFFFFF;
    --off-white-color: #F8F9FA;
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    word-break: keep-all;
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--point-gradient);
    border-radius: 2px;
}
.section-description { font-size: 1.1rem; color: var(--text-light-color); text-align: center; max-width: 600px; margin: 0 auto 40px auto; }
.section-subtitle { font-size: 1rem; font-weight: 700; color: var(--point-blue-color); text-align: center; margin-bottom: 10px; }
.cta-btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; }

/* 애니메이션 기본 상태 */
.reveal-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-child.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 헤더 --- */
#main-header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 14px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background-color 0.3s;
}
#main-header.scrolled {
    border-bottom-color: var(--border-color);
}
#main-header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo {
    font-size: 1.6rem;
    font-weight: 850;
    color: var(--primary-color);
    text-decoration: none;
}
.header-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.header-nav a { text-decoration: none; color: var(--text-light-color); font-weight: 600; transition: color 0.3s; }
.header-nav a:hover { color: var(--point-blue-color); }
.header-cta { background: var(--point-gradient); color: var(--white-color); border: none; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); }

/* --- 히어로 섹션 --- */
#hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #222;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.hero-content-container {
    position: relative;
    z-index: 3;
    color: var(--white-color);
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0.9;
}
.hero-main-cta {
    position: relative;
    font-size: 1.1rem;
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.hero-main-cta:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* --- 이상형 찾기 섹션 --- */
#ideal-finder {
    padding: 80px 0;
    background-color: var(--off-white-color);
}
#ideal-finder .section-title {
    font-size: 2.2rem;
}
.finder-subtitle {
    text-align: center;
    color: var(--text-light-color);
    margin-top: -10px;
    margin-bottom: 30px;
}
#ideal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}
.sentence-builder {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 2.0;
    text-align: center;
}
.sentence-builder .line-break {
    display: none;
}
.finder-message {
    font-size: 0.9rem;
    color: var(--text-light-color);
    font-weight: 500;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}
.finder-message.visible {
    opacity: 1;
    max-height: 50px;
}
.finder-submit-btn {
    background: var(--point-gradient);
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
    width: auto;
}
.finder-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

/* --- 회원 직업 --- */
#social-proof {
    padding: 40px 0 60px 0;
    background-color: var(--white-color);
}
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}
.marquee {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}
.marquee-wrapper:hover .marquee {
    animation-play-state: paused;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    padding: 0 40px;
}
.logo-item img {
    max-height: 30px;
    max-width: 120px;
    opacity: 0.8;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- 지역 전문성 강조 섹션 --- */
#regional-focus { background-color: var(--off-white-color); }
.regional-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}
.regional-item {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.regional-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}
.regional-icon .material-symbols-outlined {
    font-size: 3rem;
    color: var(--point-blue-color);
    margin-bottom: 15px;
}
.regional-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.regional-desc {
    font-size: 0.95rem;
    color: var(--text-light-color);
    line-height: 1.6;
}

/* --- 프리미엄 라운지 섹션 --- */
#offices {
    background-color: var(--white-color);
}
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}
.office-card {
    position: relative;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.office-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(-8px);
}
.office-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease-out;
}
.office-card:hover .office-bg-image {
    transform: scale(1.05);
}
.office-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, transparent 100%);
    z-index: 2;
}
.office-content {
    position: relative;
    z-index: 3;
    padding: 25px;
    color: var(--white-color);
}
.office-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.office-content p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}
.office-content p .material-symbols-outlined {
    font-size: 1.1rem;
}
.office-hover-info {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease-out;
}
.office-card:hover .office-hover-info {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
    margin-top: 15px;
}
.office-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--point-gradient);
    color: var(--white-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 4;
}

/* --- '썸온은...' 섹션 --- */
#features {
    padding-bottom: 100px;
    background-color: var(--off-white-color);
}
.feature-sticky-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.graphic-area {
    width: 100%;
    background-color: var(--white-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: sticky;
    top: 120px;
}
.graphic-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}
.feature-sticky-text {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 20px 0;
}
.feature-item {
    opacity: 0.4;
    transition: opacity 0.4s;
}
.feature-item.active {
    opacity: 1;
}
.feature-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.feature-description { color: var(--text-color); }
.feature-item-image { 
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* --- 매칭 플랜 --- */
#plans { background-color: var(--white-color); }
.plans-container {
    width: 100%;
    overflow: hidden;
}
.plans-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    margin-top: 20px; 
}
.plans-container:hover .plans-grid {
    animation-play-state: paused;
}
.plan-card {
    background-color: var(--off-white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.plan-card.featured { border-color: var(--point-blue-color); background-color: var(--white-color); position: relative; }
.featured-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--point-gradient); color: var(--white-color); font-size: 0.8rem; padding: 5px 12px; border-radius: 20px; font-weight: 600; }
.plan-header { text-align: center; margin-bottom: 20px; }
.plan-title { font-size: 1.4rem; font-weight: 700; margin-top: 0;}
.plan-for-whom {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}
.plan-for-whom h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; text-align: left; }
.plan-for-whom ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--text-color); text-align: left; }
.plan-for-whom ul li { margin-bottom: 5px; position: relative; padding-left: 15px; overflow-wrap: break-word; }
.plan-for-whom ul li::before { content: '▪'; color: var(--point-blue-color); position: absolute; left: 0; top: 0; font-size: 0.7em; line-height: 1.6; }
.plan-features { list-style: none; text-align: left; margin: 0 0 30px; padding: 0; font-size: 0.95rem;}
.plan-features li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.plan-features li::before { content: '✔'; color: var(--point-blue-color); margin-right: 8px; font-size: 0.9em; position: absolute; left: 0; top: 1px; }
.plan-cta { background-color: var(--primary-color); border: 1px solid var(--primary-color); color: var(--white-color); width: 100%; text-align: center; margin-top: auto; padding: 10px 20px;}
.plan-card.featured .plan-cta { background: var(--point-gradient); border-color: transparent; color: var(--white-color); }
.plan-cta:hover { background-color: var(--point-blue-color); border-color: var(--point-blue-color); }

/* --- 상담 신청 폼 --- */
#consultation { background-color: var(--off-white-color); }
.consultation-box { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--white-color); padding: 60px; border-radius: 20px; align-items: center; box-shadow: 0 20px 50px rgba(0,0,0,0.07); }
.consultation-text .section-title, .consultation-text .section-description { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.consultation-text .section-title { margin-bottom: 15px; padding-bottom: 20px; }
.consultation-text .section-title::after { left: 0; transform: translateX(0); }
.consultation-text .section-description { margin-bottom: 40px; }
.consultation-channels { display: flex; flex-direction: column; gap: 15px; }
.channel-link { text-decoration: none; color: inherit; }
.channel-item { display: flex; align-items: flex-start; gap: 20px; background: var(--off-white-color); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s; }
.channel-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); background-color: var(--white-color); }
.channel-item .material-symbols-outlined { font-size: 2.2rem; color: var(--point-blue-color); margin-top: 3px;}
.channel-item h3 { font-size: 1.2rem; margin: 0 0 5px 0; font-weight: 700; color: var(--text-color); }
.channel-item p { font-size: 0.95rem; color: var(--text-light-color); margin: 0; line-height: 1.6; }
.consultation-form { background: var(--white-color); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); }
.consultation-form h3 { text-align: center; font-size: 1.5rem; margin-bottom: 30px; font-weight: 700; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.privacy-agree { display: flex; align-items: center; gap: 8px; margin-bottom: 25px; }
.privacy-agree label { margin: 0; font-size: 0.9rem; }
.form-submit-btn { width: 100%; padding: 15px; font-size: 1.1rem; background: var(--point-gradient); color: var(--white-color); border: none; cursor: pointer; }
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); }
.form-submit-btn:disabled { background: var(--text-light-color); cursor: not-allowed; }

/* --- 썸온이 걸어온 길 --- */
#history { background-color: var(--white-color); }
.history-slider-wrapper { margin-top: 60px; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.history-slider-wrapper:hover .history-slider-track { animation-play-state: paused; }
.history-slider-track { display: flex; width: fit-content; animation: history-slide 40s linear infinite; }
.history-slide { flex-shrink: 0; width: 300px; margin: 0 15px; padding: 30px; background-color: var(--off-white-color); border: 1px solid var(--border-color); border-radius: 12px; text-align: center; }
.history-year { display: inline-block; padding: 5px 15px; background: var(--point-gradient); color: var(--white-color); border-radius: 20px; font-weight: 700; font-size: 0.9rem; margin-bottom: 20px; }
.history-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.history-desc { color: var(--text-light-color); font-size: 0.95rem; line-height: 1.6; }
@keyframes history-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- 성혼 스토리 --- */
#stories { background-color: var(--off-white-color); }
.stories-slider-wrapper { margin-top: 60px; width: 100%; overflow: hidden; }
.stories-slider-wrapper:hover .stories-slider-track { animation-play-state: paused; }
.stories-slider-track { display: flex; width: fit-content; animation: stories-slide 60s linear infinite; }
.story-card { 
    flex-shrink: 0; 
    width: 350px; 
    margin: 0 15px; 
    background-color: var(--white-color); 
    border-radius: 12px; 
    padding: 30px; 
    display: flex; 
    flex-direction: column; 
    border: 1px solid var(--border-color); 
    transition: transform 0.3s, box-shadow 0.3s; 
}
.story-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.story-image-wrapper { 
    width: 100%; 
    aspect-ratio: 16 / 9;
    border-radius: 12px; 
    overflow: hidden; 
    margin: 0 auto 25px auto; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    background-color: var(--off-white-color); 
}
.story-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.story-quote { font-size: 1rem; font-weight: 500; line-height: 1.7; margin-bottom: 25px; font-style: italic; flex-grow: 1; color: var(--text-color); }
.story-author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.author-info strong { display: block; font-weight: 700; font-size: 1rem; }
.author-info span { color: var(--text-light-color); font-size: 0.85rem; }
@keyframes stories-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- FAQ 섹션 --- */
#faq { background-color: var(--white-color); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.faq-tab-button { padding: 10px 25px; font-size: 1rem; font-weight: 600; border: 1px solid var(--border-color); background-color: var(--off-white-color); color: var(--text-light-color); border-radius: 30px; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.faq-tab-button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); color: var(--primary-color); }
.faq-tab-button.active { background: var(--point-gradient); color: var(--white-color); border-color: transparent; box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); transform: translateY(-2px); }
.faq-tab-content { display: none; }
.faq-tab-content.active { display: block; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white-color); border: 1px solid var(--border-color); border-radius: 12px; transition: box-shadow 0.3s ease; }
.faq-item summary { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
    border-radius: 11px; 
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background-color: var(--off-white-color); }
.faq-item[open] > summary { background-color: var(--off-white-color); font-weight: 700; color: var(--point-blue-color); }
.faq-item p { padding: 0 20px 20px 20px; line-height: 1.8; color: var(--text-light-color); margin: 0; border-top: 1px solid var(--border-color); animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 최종 CTA 섹션 --- */
#final-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}
#final-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
#final-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}
.final-cta-btn {
    background-color: #FEE500; /* 카카오 노란색 */
    color: #191919;
    border: none;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.final-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* --- 푸터 --- */
#main-footer { background-color: #1c1c1e; color: #8e8e93; padding: 80px 0; font-size: 0.9rem; border-top: 1px solid #3a3a3c; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-col.brand .footer-logo { color: var(--white-color); font-size: 1.5rem; font-weight: 900; text-decoration: none; }
.footer-col p { margin-top: 15px; }
.footer-col h4 { font-size: 1rem; color: var(--white-color); margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #8e8e93; text-decoration: none; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--point-blue-color); }
.footer-col address { font-style: normal; }
.footer-bottom { border-top: 1px solid #3a3a3c; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; }
.legal-links a { color: #8e8e93; text-decoration: none; margin-right: 20px; }
.legal-links a:hover { color: var(--white-color); }

/* --- 커스텀 드롭다운 및 FAQ 토글 --- */
.select-wrapper {
    position: relative;
    display: inline-block; 
    vertical-align: baseline; 
}
.custom-select-trigger {
    position: relative;
    display: inline-block;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color); 
    border-radius: 0;
    padding: 5px 28px 1px 4px;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    color: var(--text-light-color);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    user-select: none;
}
.custom-select-trigger.selected {
    color: var(--point-blue-color);
}
.custom-select-trigger.is-next {
    border-radius: 6px;
    animation: glowing-border 1.5s infinite;
}
@keyframes glowing-border {
    0% { box-shadow: 0 0 -5px rgba(0, 122, 255, 0.3); }
    40% { box-shadow: 0 0 12px 3px rgba(0, 122, 255, 0.6); }
    60% { box-shadow: 0 0 12px 3px rgba(0, 122, 255, 0.6); }
    100% { box-shadow: 0 0 -5px rgba(0, 122, 255, 0.3); }
}
.custom-select-trigger:hover,
.select-wrapper.open .custom-select-trigger {
    border-bottom-color: var(--point-blue-color);
}
.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-70%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-light-color);
    border-bottom: 2px solid var(--text-light-color);
    transition: transform 0.3s, border-color 0.3s;
}
.select-wrapper.open .custom-select-trigger::after {
    transform: translateY(-30%) rotate(225deg);
    border-color: var(--point-blue-color);
}
.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 10;
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    min-width: 150px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.select-wrapper.open .custom-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.custom-options li {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.custom-options li:hover {
    background-color: var(--point-blue-color);
    color: var(--white-color);
}
.sentence-builder select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}
.faq-toggle {
    width: 44px;
    height: 24px;
    position: relative;
}
.toggle-track {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 50px;
    transition: background-color 0.3s;
}
.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out;
}
.faq-item:hover .faq-toggle .toggle-track,
.faq-item[open] .faq-toggle .toggle-track {
    background: var(--point-gradient);
}
.faq-item:hover .faq-toggle .toggle-thumb,
.faq-item[open] .faq-toggle .toggle-thumb {
    transform: translateX(20px);
}

/* 1111css.css 파일 맨 아래에 추가 */

/* 이상형 찾기 결과 컨테이너 */
.ideal-result-container {
    padding: 60px 20px;
    text-align: center;
    animation: fadeInResult 0.7s ease-in-out;
}

@keyframes fadeInResult {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ideal-result-container .section-title {
    font-size: 2.2rem;
}

.user-selection-summary {
    background-color: var(--off-white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
}

.user-selection-summary h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.user-selection-summary p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light-color);
    font-style: italic;
}

.user-selection-summary p strong {
    color: var(--point-blue-color);
    font-weight: 600;
}

.kakao-login-btn {
    background-color: #FEE500;
    color: #191919;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.kakao-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* --- 반응형 --- */
@media (min-width: 993px) {
    .sentence-builder .line-break {
        display: block;
        content: "";
        height: 0;
    }
}
@media (max-width: 992px) {
    .header-nav { display: none; }
    .consultation-box { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .regional-grid, .office-grid { grid-template-columns: 1fr; }
    
    .feature-sticky-container { 
        position: static; 
        height: auto; 
        grid-template-columns: 1fr; 
    }
    .feature-sticky-graphic { display: none; }
    .feature-sticky-text { 
        gap: 0;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
    }
    .feature-item {
        opacity: 1 !important; 
        transform: none !important; 
        background-color: var(--white-color); 
        padding: 25px; 
        border-radius: 0;
        margin-bottom: 0;
    }
    .feature-item:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }
    .feature-item-image { 
        display: block; 
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .section-title, .consultation-text .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    #hero { height: 100vw; min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    .consultation-box { padding: 30px 15px; }
    .consultation-form { padding: 30px 15px; }
    
    .plans-container:hover .plans-grid {
        animation-play-state: paused;
    }
    .plans-grid { 
        grid-template-columns: none;
        display: flex;
        width: fit-content;
        animation: plans-slide 40s linear infinite;
        padding-bottom: 15px;
    }
    @keyframes plans-slide {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }
    .plan-card {
        width: 85vw;
        flex-shrink: 0;
        margin: 0 10px;
    }

    .stories-slider-track { flex-wrap: nowrap; }
    .stories-slider-wrapper { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-bottom: 20px; }
    .stories-slider-wrapper:hover .stories-slider-track {
        animation-play-state: running;
    }
    .story-card { width: 85vw; }
    .faq-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 15px; -ms-overflow-style: none; scrollbar-width: none; }
    .faq-tabs::-webkit-scrollbar { display: none; }
    
    #ideal-form {
        background-color: var(--white-color);
        padding: 30px 25px;
        border-radius: 16px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    }
    .sentence-builder {
        font-size: 1.5rem;
        line-height: 2.5;
    }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .sentence-builder { text-align: left; }
}