:root {
    --primary-color: #c5a059; /* 고급스러운 골드 */
    --secondary-color: #e0c070; /* 밝은 골드 */
    --text-color: #222222; /* 어두운 텍스트 */
    --bg-color: #ffffff; /* 밝은 배경 */
    --card-bg: #f8f9fa; /* 밝은 카드 배경 */
    --white: #ffffff;
    --gold-gradient: linear-gradient(135deg, #c5a059 0%, #f1d38e 50%, #c5a059 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Pretendard', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-bottom: 70px;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background-color: var(--bg-color);
}

.sticky-logo-area {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 0 8px;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

.header-btns-area {
    padding: 10px 0 12px;
    background-color: #f4f4f4;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    text-align: center;
    color: var(--text-color);
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo-subtext {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: block;
    margin-top: 2px;
    color: #666;
}

.yellow-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.header-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 340px;
    justify-content: center;
}

.header-btns-desc {
    font-size: 0.75rem;
    color: #888;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}

/* 타원형 버튼 스타일 */
.header-blog-btn, .header-kakao-btn, .header-land-btn, .header-place-btn {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    gap: 4px; white-space: nowrap; color: var(--white); opacity: 0.9;
}

.header-blog-btn { background-color: #03c75a; }
.header-kakao-btn { background-color: #fee500; color: #3c1e1e; }
.header-land-btn { background-color: #2db400; }
.header-place-btn { background-color: #0475f4; }

.price-inquiry.highlight {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1rem;
    margin-top: 8px;
    text-shadow: 0 0 5px rgba(197, 160, 89, 0.1);
}

.listing-btn-desc {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-top: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1514565131-fce0801e5785?auto=format&fit=crop&w=1920&q=80') center center no-repeat;
    background-size: cover;
    color: var(--text-color);
    padding: 70px 0 100px;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 15px;
}

.highlight { 
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.2);
}

.sub-copy {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 1;
    margin-bottom: 40px;
    word-break: keep-all;
    font-weight: 500;
    color: #444;
}

.call-action-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 25px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.listing-action-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.big-call-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e31e24 0%, #b3191e 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 12px 25px;
    border-radius: 50px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
}

.simple-listing-btn {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    border: none;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 900;
    padding: 14px 25px;
    border-radius: 50px;
    width: 100%;
    max-width: 320px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.2);
}

.simple-listing-btn:active {
    transform: scale(0.97);
    filter: brightness(0.9);
}

/* Registration View */
.registration-view {
    padding: 40px 0;
    background-color: var(--bg-color);
    min-height: 80vh;
}

.reg-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 40px;
}

.reg-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reg-header h2 i {
    font-size: 1.3rem;
}

.reg-header-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.reg-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 6px;
    font-weight: 500;
}

.reg-subtitle .highlight {
    color: var(--primary-color);
    font-weight: 800;
}

.back-btn {
    position: absolute;
    left: 0;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px 0;
}

.reg-form {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.reg-section {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.reg-section.no-border {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.section-title i {
    font-size: 0.95rem;
}

.section-title .sub-info {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
}

.form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.flex-1 { flex: 1; }

.col-name { flex: 1.5; }
.col-telecom { flex: 1.5; }
.col-phone { flex: 3; }
.col-phone-full { flex: 4.5; }

/* 모바일 대응 */
@media (max-width: 480px) {
    .form-row {
        flex-wrap: wrap;
    }
    .form-row > .form-group {
        flex: 1 1 calc(50% - 8px);
    }
    .form-row > .form-group.flex-1 {
        flex: 1 1 30%;
    }
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group label .required {
    color: #e31e24;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background-color: var(--white);
    color: var(--text-color);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(197, 160, 89, 0.2);
}

.submit-btn {
    width: 100%;
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:active {
    filter: brightness(0.8);
}

.reg-footer-info {
    margin-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

.reg-footer-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Features Section */
.features { padding: 60px 0; background-color: #f9f9f9; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-item { text-align: center; }
.icon-circle {
    width: 55px; height: 55px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px; font-size: 1.3rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.05);
}
.feature-item h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 8px; color: var(--primary-color); }
.feature-item p { font-size: 0.8rem; color: #666; line-height: 1.4; }

/* Footer */
/* Card Section */
.card-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    perspective: 1000px;
}

.card-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.business-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.house-icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.office-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.office-subtext {
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
}

.registration-no {
    font-size: 0.75rem;
    color: #888;
    margin-top: 10px;
    text-align: center;
    display: block;
}

.representative {
    margin-bottom: 15px;
}

.representative .name {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 2px;
}

.representative .title {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 5px;
}

.card-body .divider {
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px 0;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list li i {
    width: 18px;
    color: var(--primary-color);
    text-align: center;
}

.phone-highlight {
    font-size: 1.2rem !important;
    font-weight: 800;
    color: var(--text-color) !important;
}

.contact-list li a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.card-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.address {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.address i {
    color: var(--primary-color);
    margin-top: 3px;
}

.gold-text {
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .business-card {
        padding: 30px 20px;
    }
    .representative .name {
        font-size: 1.8rem;
    }
}

/* Footer & Expanded Card */
footer {
    background-color: #f4f4f4;
    color: #666;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-card {
    max-width: 600px !important; /* 사이즈 확대 */
    margin-bottom: 50px !important;
}

.wide-card {
    text-align: left;
}

.center-align {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.right-align {
    text-align: right;
}

.full-divider {
    width: 100%; /* 끝까지 채우기 */
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 15px 0 25px;
    opacity: 0.6;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 5px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-item {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--primary-color);
}

.phone-main {
    font-weight: 800;
    color: var(--text-color);
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-top: none; /* 젤 밑 바로가기 위 라인 삭제 */
    padding-top: 0;
}

.footer-links a {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Mobile Fixed Buttons Bar */
.mobile-fixed-btns {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    display: flex;
    height: 65px;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.fixed-call-btn, .fixed-listing-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: filter 0.2s;
}

.fixed-call-btn {
    background: linear-gradient(135deg, #1d8233 0%, #156126 100%);
    color: var(--white);
}

.fixed-listing-btn {
    background: var(--gold-gradient);
    color: #000;
}

.fixed-call-btn:active, .fixed-listing-btn:active {
    filter: brightness(0.8);
}

.mobile-br {
    display: none;
}

@media (max-width: 480px) {
    .logo { font-size: 1.8rem; }
    .header-btns { gap: 6px; }
    .hero h2 { font-size: 1.6rem; }
    
    /* 비즈니스 카드 모바일 최적화 */
    .contact-row {
        flex-direction: row; /* 2개씩 한 줄에 배치 */
        justify-content: flex-end; /* 우측 정렬 */
        flex-wrap: wrap; /* 필요시 자동 줄바꿈으로 최적화 */
        gap: 12px;
    }
    .contact-item {
        font-size: 0.8rem; /* 2개씩 넣기 위해 폰트 크기 최적화 */
        justify-content: flex-end;
        width: auto; /* 가로 폭 자동 조절 */
    }
    .address {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .mobile-br {
        display: block;
    }
}
