:root {
    --primary-color: #0f172a;
    --accent-color: #2563eb;
    --dark-color: #0f172a;
    --light-bg: #f8fafc;
    --border-radius: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

body {
    background-color: #f1f5f9;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-bottom: 90px;
}

header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 32px 20px 28px;
    text-align: center;
}

/* 아파트 정식 계약 배지 (왕대형 강조) */
.official-badge-hero {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2.5px solid #f59e0b;
    color: #78350f;
    font-size: 1.15rem;
    font-weight: 900;
    padding: 12px 18px;
    border-radius: 35px;
    margin-bottom: 16px;
    display: inline-block;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.98rem;
    color: #93c5fd;
    font-weight: 500;
}

section {
    padding: 24px 20px;
    border-bottom: 8px solid #f1f5f9;
}

.section-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    padding: 14px 16px;
}

.feature-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
}

.price-group {
    margin-bottom: 24px;
}

.group-header {
    background-color: #eff6ff;
    color: #1e40af;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 10px;
    border-left: 4px solid #2563eb;
}

.price-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info .name {
    font-weight: bold;
    font-size: 1rem;
    color: #1e293b;
}

.price-info .cars {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

.price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2563eb;
}

.info-box {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--border-radius);
    padding: 14px 16px;
    font-size: 0.88rem;
    color: #475569;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.info-box li:last-child {
    margin-bottom: 0;
}

.info-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #2563eb;
}

.btn-submit {
    width: 100%;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--border-radius);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-top: 10px;
}

.floating-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 12px 20px;
    display: flex;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.btn-call {
    flex: 1;
    background-color: #0f172a;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-kakao {
    flex: 2;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
}
