@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@font-face {
    font-family: 'Jalnan';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Variables */
:root {
    --primary-color: #00C851;
    /* Vibrant Green */
    --primary-dark: #007E33;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --footer-bg: #1a1a1a;
    --footer-text: #888888;
    --kakao-color: #FEE500;
    --naver-color: #03C75A;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Dotum', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
li {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Utilities */
.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.header {
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 24px;
    font-weight: 900;
}

.logo-badge {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: -0.5px;
}

.logo-text {
    color: #222;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    padding: 40px 0;
    background-color: #fff;
}

.container.hero-container {
    padding: 0;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-tags span {
    color: #313131;
    margin-right: 8px;
    font-size: 14px;
    letter-spacing: -0.5px;
}

.hero-illustration {
    margin: 20px 0;
    display: none;
    /* Hidden on mobile by default or small */
}

/* Hero Form Card */
/* Hero Form Card */
.hero-form-card {
    background: linear-gradient(to bottom, #f5f5f5, #ebebeb);
    border: none;
    border-radius: 0;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-form-card h3 {
    display: none;
    /* Hidden on mobile */
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.5px;
}

.quote-form .form-group {
    margin: 0 auto 20px auto;
    max-width: 85%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-form label {
    display: block;
    font-size: 17px;
    margin-bottom: 0;
    font-weight: 700;
    color: #444;
    width: auto;
    min-width: 65px;
    white-space: nowrap;
    /* Fixed width for labels */
    flex-shrink: 0;
}

.quote-form input[type="text"],
.quote-form input[type="number"],
.quote-form input[type="tel"] {
    width: 100%;
    height: 48px;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding: 0 20px;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.2s ease;
    color: #333;
}

.quote-form select {
    width: 100%;
    height: 48px;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding: 0 40px 0 20px;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.2s ease;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
}

.quote-form input[type="text"]:focus,
.quote-form input[type="number"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form select:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 200, 81, 0.1);
}

#bg-birth {
    padding-right: 90px;
}

/* Hide number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Form specific layouts */
.input-with-toggle {
    display: flex;
    flex: 1;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding-right: 5px;
}

.input-with-toggle:focus-within {
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 200, 81, 0.1);
    border: 1px solid var(--primary-color);
}

.input-with-toggle input[type="text"],
.input-with-toggle input[type="number"],
.input-with-toggle input[type="tel"] {
    flex: 1;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 48px;
    padding-left: 20px;
}

.input-with-toggle input[type="text"]:focus,
.input-with-toggle input[type="number"]:focus,
.input-with-toggle input[type="tel"]:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.input-suffix {
    padding: 0 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    border-left: 1px solid #eee;
    height: 30px;
    display: flex;
    align-items: center;
}

.input-prefix {
    display: flex;
    align-items: center;
    border-right: 1px solid #eee;
}

.input-prefix select {
    border: none !important;
    background: transparent !important;
    width: 80px !important;
    height: 48px !important;
    padding: 0 10px 0 20px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}





.gender-toggle {
    display: flex;
    background: transparent;
    /* Slightly darker than input bg */
    border-radius: 20px;
    padding: 2px;
    flex-shrink: 0;
    margin-right: 5px;
    align-items: center;
    justify-content: center;
}

.gender-toggle label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    border-radius: 18px;
    color: #888;
    background: transparent;
    border: 1px solid #ccc;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    margin: 0 2px;
}

.gender-toggle input[type="radio"] {
    display: none;
    /* Hide the radio button itself */
}

.gender-toggle input[type="radio"]:checked+label {
    background: #444;
    /* Dark gray */
    color: #fff;
    border-color: #444;
    box-shadow: none;
}

.phone-input,
.auth-input {
    display: flex;
    gap: 8px;
    flex: 1;
}

.phone-input input::placeholder {
    font-size: 12px;
    letter-spacing: -0.5px;
}

.phone-input select {
    width: 90px;
    flex: none;
    padding: 0 25px 0 15px !important;
    background-position: right 8px center;
}

.auth-input input {
    flex: 1;
}

/* Base button styles override */
.btn-dark {
    background: #444;
    color: #fff;
    padding: 0 15px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    height: 48px;
    /* Match input height */
    line-height: normal;
    /* Reset line-height if needed */
    transition: background 0.2s;
    border: none;
}

.btn-dark:hover {
    background: #333;
}

.suffix {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* Let clicks pass through to input */
}

.input-container {
    position: relative;
    width: 100%;
    /* For mobile styling */
    flex: 1;
}

.form-group.row {
    /* Existing styles maintained by .quote-form .form-group */
    position: relative;
}

/* Adjust row layout for specific fields if needed */
/* .form-group.row>label handled by generic label rule */

.btn-primary {
    background: #00C851;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    height: 54px;
    border-radius: 27px;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 200, 81, 0.4);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Jalnan', sans-serif;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 200, 81, 0.3);
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 5px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.form-check label {
    margin: 0 0 0 6px;
    font-weight: normal;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.social-login {
    /* margin-top: 20px; */
    border-top: none;
    /* Reference image doesn't show a strong border, maybe subtle or none? sticking to none or keeping dashed if preferred. Reference seems to not have a visible line, or very subtle. Let's keep it clean as per reference which looks like a card content. Actually, let's keep it but make it flex. */
    /* Wait, the reference image has a line? Hard to see. Let's assume no line or subtle. The prompt just said "match reference". */
    border-top: 1px solid #f5f5f5;
    padding: 20px 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: left;
    gap: 15px;
}

.social-login p {
    font-size: 20px;
    padding-top: 5px;
    margin-bottom: 0;
    line-height: 1.3;
}

.social-btns {
    display: flex;
    /* gap: 5px; */
    /* margin: 0 40px; */
    padding: 0 -10px;
    justify-content: space-evenly;
}

.btn-kakao,
.btn-naver {
    width: clamp(70px, 22vw, 110px);
    height: clamp(70px, 22vw, 110px);
    border-radius: 50%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-kakao {
    background: url('/assets/kakao.png') no-repeat center/cover;
    color: transparent;
    border: none;
}

.btn-naver {
    background: url('/assets/naver.png') no-repeat center/cover;
    color: transparent;
    border: none;
}

/* Sections Common */
.section-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}

/* Hero Category Slider */
.hero-category-slider {
    position: relative;
    width: 100%;
    margin: 20px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
    padding: 15px 0;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 8px;
    padding: 0 40px;
}

.slider-item {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 12px 10px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.slider-item.active {
    border: 1px solid #00C851;
    color: #00C851;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 200, 81, 0.4);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 15px;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.slider-arrow.prev {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.slider-arrow.next {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

/* Insurance Type Section */
.insurance-type-section {
    display: none;
    /* 모바일 기본 숨김 */
    padding: 30px 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

@media (min-width: 1024px) {
    .insurance-type-section {
        display: block;
    }
}

.insurance-type-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    min-width: 80px;
    white-space: nowrap;
}

.insurance-type-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.insurance-type-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.ins-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 10px;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.ins-btn:focus,
.ins-btn:focus-visible {
    outline: none;
}

.ins-btn:hover {
    background: #f0fff5;
}

.ins-btn.active {
    border: none;
    background: #fff;
    box-shadow:
        0 0 6px 2px rgba(0, 200, 81, 0.5),
        0 0 16px 4px rgba(0, 200, 81, 0.25),
        0 0 30px 6px rgba(0, 200, 81, 0.1);
}

.ins-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.ins-label {
    font-size: 16px;
    color: #444;
    font-weight: 700;
    white-space: nowrap;
}

.ins-btn.active .ins-label {
    color: #00C851;
    font-weight: 700;
}

/* Brands Section */
.brands-section {

    padding: 40px 0;
    background: #f0f0f0;
}

.brands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.brand-card {
    background: #fff;
    padding: 30px 20px 20px;
    /* Increase top padding for badge space if needed, or just keep it */
    border: 1px solid #eee;
    text-align: center;
    border-radius: 8px;
    position: relative;
    /* For badge positioning */
    overflow: hidden;
    /* Optional: clips content */
}

.recommend-badge {
    position: absolute;
    top: 0;
    left: 15px;
    background: #00C851;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 8px 8px 15px;
    /* Extra bottom padding for the tail */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
    width: 40px;
    box-sizing: border-box;
}

.brand-logo {
    height: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.price-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.price-text strong {
    color: #d00;
    font-size: 16px;
}

.btn-outline {
    border: 1px solid #ddd;
    background: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
}

.mobile-dots {
    text-align: center;
    margin-top: 20px;
}

.mobile-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 4px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.mobile-dots span.active {
    background: #00C851;
}

/* Features Section */
.features-section {
    padding: 40px 0;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    /* font-size: 24px; Removed strictly for image use, or keep if text fallback needed */
    margin-right: 20px;
    width: 80px;
    height: 80px;
    /* Fixed height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 13px;
    color: var(--text-light);
}

/* Categories Section */
.categories-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.category-card {
    border: 1px solid #eee;
    padding: 20px 15px;
    text-align: center;
    border-radius: 8px;
    min-width: 0;
    overflow: hidden;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.product-name {
    font-size: 15px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-age {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    min-height: 18px;
}

.btn-green-solid {
    display: inline-block;
    background: #00C851;
    color: #fff;
    padding: 8px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.btn-green-solid:hover {
    background: #00b548;
}

/* Bottom Consultation Form */
/* Bottom Consultation Form */
.consult-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.consult-box {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Text Area */
.consult-text {
    text-align: center;
}

.consult-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.consult-text h3 {
    font-size: 24px;
    color: #00C851;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 10px;
}

.consult-sub-arrow {
    font-size: 13px;
    color: #888;
}

.consult-divider {
    display: none;
    /* Hidden on mobile */
}

/* Form Area */
.consult-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.input-name,
.input-full {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding: 0 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.gender-radio-group {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.gender-radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}

.phone-group,
.code-group {
    display: flex;
    gap: 5px;
    width: 100%;
}

.phone-group select {
    width: 70px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    padding: 0 5px;
}

.phone-group input,
.code-group input {
    flex: 1;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    padding: 0 10px;
    box-sizing: border-box;
    min-width: 0;
}

.btn-verify,
.btn-confirm {
    background: #444;
    color: #fff;
    border: none;
    border-radius: 20px;
    height: 40px;
    padding: 0 15px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

/* Submit Button */
.consult-submit-wrapper {
    text-align: right;
    margin-top: 20px;
}

.btn-consult-submit {
    width: 100%;
    height: 60px;
    background: #00C851;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.icon-search {
    font-size: 20px;
    margin-bottom: 2px;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
    font-size: 11px;
    line-height: 1.6;
}

.footer strong {
    color: #ccc;
}


/* =========================================
   Mobile Styles (max-width: 1023px)
   ========================================= */
@media (max-width: 1023px) {
    .hero-content {
        text-align: center;
        padding: 20px 10px;
        margin: 0;
    }

    .hero-brands-slider {
        overflow: hidden;
        width: 100%;
        margin-top: -80px;
        margin-bottom: -20px;
    }

    .hero-brands-track {
        display: flex;
        gap: 0px;
        animation: brandScroll 8s linear infinite;
        width: max-content;
    }

    .hero-brands-track .brand-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        line-height: 0;
    }

    .hero-brands-track .brand-icon {
        width: 200px;
        height: 150px;
        object-fit: contain;
    }

    .hero-title {
        font-size: clamp(32px, 12vw, 56px);
        font-weight: 1000;
        line-height: 1.1;
        margin-bottom: 10px;
        margin-top: 0px;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
    }

    .hero-tags {
        text-align: center;
        margin-bottom: 0;
    }

    .hero-tags span {
        color: #313131;
        margin-right: 6px;
        font-size: clamp(14px, 5vw, 24px);
        letter-spacing: -0.5px;
        font-weight: 700;
    }

    .slider-item {
        min-width: 76px;
        padding: 8px 8px;
        font-size: 13px;
    }

    .gender-toggle label {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
        font-size: 12px;
    }

    .social-login p {
        font-size: clamp(17px, 5.5vw, 22px);
    }

    .arrow-extra,
    .social-euro-text,
    .social-sub-text {
        display: none;
    }

    .brands-section {
        background: transparent;
    }

    /* Consult Section Mobile */
    .consult-section {
        padding: 20px 0;
        border-top: none;
    }

    .consult-box {
        border: none;
        border-radius: 0;
        padding: 0;
        background: #fff;
    }

    .consult-text {
        background: transparent;
        padding: 20px;
        margin: 0 -20px;
    }

    .consult-text .consult-sub {
        display: none;
    }

    .consult-text h3 {
        color: #000;
        font-size: 40px;
        font-family: 'Pretendard', sans-serif;
        text-align: center;
        margin-bottom: 0;
    }

    .consult-sub-arrow {
        display: none;
    }

    .consult-form {
        padding: 20px 15px;
        background: #fff;
    }

    .consult-form .form-row {
        margin-bottom: 15px;
    }

    .consult-form .input-name,
    .consult-form .input-full,
    .consult-form .phone-group input,
    .consult-form .code-group input {
        border: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0;
        outline: none;
        background: transparent;
    }

    .consult-form .code-group input {
        font-size: 18px;
    }

    .consult-form .input-name {
        font-size: 18px;
    }

    .consult-form .phone-group {
        border-bottom: 1px solid #ccc;
        align-items: center;
        font-size: 18px;
    }

    .consult-form .phone-group input {
        border-bottom: none !important;
        font-size: 18px;
    }

    .consult-form .phone-group select {
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .consult-form .btn-verify,
    .consult-form .btn-confirm {
        padding: 0 30px;
        font-size: 18px;
    }

    .consult-gender-row {
        display: flex;
        gap: 0;
    }

    .consult-gender-btn {
        flex: 1;
        height: 44px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 15px;
        font-weight: 700;
        color: #333;
        cursor: pointer;
    }

    .consult-gender-btn.active {
        background: #00C851;
        color: #fff;
        border-color: #00C851;
    }

    .consult-birth-row {
        position: relative;
    }

    .consult-birth-row .input-full {
        font-size: 18px;
    }

    .consult-age-suffix {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        color: #00C851;
        font-weight: bold;
    }

    .phone-prefix {
        font-size: 18px;
        font-weight: 500;
        white-space: nowrap;
    }

    .phone-dot {
        font-size: 14px;
        color: #999;
    }

    .consult-terms-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 15px;
        color: #666;
        margin-top: 5px;
    }

    .consult-terms-row label {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .terms-link {
        font-size: 14px;
        color: #999;
        border: 1px solid #ddd;
        padding: 4px 10px;
        border-radius: 3px;
    }

    .consult-section .btn-consult-submit {
        width: 100%;
        height: 54px;
        background: linear-gradient(to bottom, #2edf6e, #00C851, #00a843);
        color: #fff;
        font-weight: 700;
        font-size: 30px;
        border-radius: 27px;
        border: none;
        border-bottom: 4px solid #008c38;
        margin-top: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        line-height: normal;
        box-shadow: 0 4px 10px rgba(0, 200, 81, 0.4);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .consult-submit-wrapper {
        display: none;
    }
}


/* =========================================
   PC Styles (Desktop First Override) 
   ========================================= */
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding: 0;
    }

    /* Header */
    .header {
        height: 80px;
    }

    /* Hero */
    .hero {
        padding: 80px 0;
        background: linear-gradient(135deg, rgba(0, 200, 81, 0.03) 0%, rgba(0, 200, 81, 0.01) 50%, rgba(255, 255, 255, 0) 100%);
        /* Slightly specific bg for PC if needed */
    }

    .hero-container {
        display: flex;
        justify-content: space-evenly;
        gap: 10px;
        align-items: center;
        max-width: 900px;

        margin: 0 auto;
    }

    .hero-content {
        padding-top: 40px;
        align-self: flex-cneter;
        font-family: 'Pretendard', sans-serif;
        /* flex: 1; */
        min-width: 500px;
        margin-left: auto;
        margin-top: auto;
        text-align: lefr;
    }

    .hero-title {
        font-size: 55px;
        line-height: 1.4;
        margin-bottom: 10px;
        margin-top: 30px;
        font-weight: 700;
        -webkit-text-stroke: 2px;
    }

    .hero-tags span {
        font-size: 18px;
        margin-right: 10px;
        /* Reduced from 15px */
    }

    .hero-brands-slider {
        display: none;
    }

    .hero-illustration {
        display: block;
        margin-top: 20px;
        width: 420px;
        margin-left: 0;
        margin-right: 10;
    }

    .illustration-placeholder {
        width: 300px;
        height: 300px;
        background: #eee;
        border-radius: 50%;
        /* Just to simulate content */
        margin: 0 auto 0 0;
    }

    .hero-form-card {
        width: 480px;
        padding: 30px 30px;
        position: relative;

        /* If we want it overlapping or fixed relative to something, but flex is safer. Let's stick to flex flow logic from before. */
        /* Assuming 'hero-container' is flex, this just sizes it. */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        z-index: 10;
        margin-right: 50px;
        background: #fff;
        border: 1px solid #e1e1e1;
        border-radius: 20px;
        flex-shrink: 0;
    }

    .hero-form-card h3 {
        display: block;
        /* Ensure title is shown on PC if hidden */
    }

    .hero-form-card .quote-form input[type="text"],
    .hero-form-card .quote-form input[type="tel"],
    .hero-form-card .quote-form input[type="number"],
    .hero-form-card .quote-form select {
        background-color: #f2f2f2;
        border: none;
    }

    .hero-form-card .input-with-toggle input[type="text"] {
        background-color: #f2f2f2 !important;
        border-radius: 24px;
    }

    .gender-toggle {
        margin-right: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
        width: auto;
        flex: none;
        gap: 4px;
        display: flex;
        align-items: center;
    }

    .gender-toggle label {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px;
        min-height: 42px;
        border-radius: 50% !important;
        font-size: 13px;
        margin: 0;
        padding: 0;
        border: 1px solid #ccc;
        background: #eee;
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quote-form .form-group {
        max-width: 100%;
    }

    .form-group.row {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .quote-form .form-group.row>label {
        width: 60px;
        /* Fixed label width increased for consistent alignment */
        flex-shrink: 0;
        /* Prevent label from shrinking */
        margin-bottom: 0;
        text-align: left;
        padding-top: 13px;
        align-self: flex-start;
    }


    .quote-form .form-group.row .input-container,
    .quote-form .form-group.row .input-with-toggle,
    .quote-form .form-group.row>input,
    .quote-form .form-group.row>select,
    .quote-form .form-group.row>.phone-input,
    .quote-form .form-group.row>.auth-input {
        flex: 1;
        /* Take remaining space */
    }

    .social-login {
        width: 100%;
        padding: 20px 0;
        box-sizing: border-box;
        justify-content: space-around;
        gap: 25px;
    }

    .social-login p {
        font-size: 16px;
    }

    .btn-kakao,
    .btn-naver {
        width: clamp(70px, 8vw, 90px);
        height: clamp(70px, 8vw, 90px);
    }

    /* Fix gender toggle positioning relative to name input */
    /* This might be tricky without changing HTML structure. 
       HTML: 
       <div class="form-group row">
            <label>Name</label>
            <input>
            <div toggle>...</div>
       </div>
       We need input and toggle to share the 'flex:1' space or similar.
    */



    /* Separate Name Input and Gender Toggle on PC */
    .input-with-toggle {
        display: contents;
    }

    .input-with-toggle input[type="text"],
    .input-with-toggle input[type="number"],
    .input-with-toggle input[type="tel"] {
        background-color: #eee !important;
        border: none !important;
        border-radius: 24px;
        padding-right: 20px;
        flex: 1;
        height: 48px;
        padding-left: 20px;
    }

    .input-with-toggle input[type="text"]:focus,
    .input-with-toggle input[type="number"]:focus,
    .input-with-toggle input[type="tel"]:focus {
        background-color: #fff !important;
        box-shadow: 0 0 0 3px rgba(0, 200, 81, 0.1) !important;
        border: 1px solid var(--primary-color) !important;
        outline: none;
    }

    .gender-toggle {
        margin-right: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
        width: auto;
        flex: none;
        gap: 4px;
    }

    .gender-toggle label {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px;
        min-height: 42px;
        border-radius: 50% !important;
        font-size: 13px;
        margin: 0;
        padding: 0;
        border: 1px solid #ccc;
        background: #eee;
        aspect-ratio: 1 / 1;
    }

    .btn-primary {
        box-shadow: 0 10px 20px rgba(0, 200, 81, 0.4);
        font-size: 22px;
    }

    /* Categories Grid PC */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .category-card {
        padding: 20px 15px;
    }


    /* Brands */
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .brand-card {
        padding: 30px 20px;
    }

    .mobile-dots {
        display: none;
    }

    /* Insurance Type PC */
    .insurance-type-section {
        padding: 24px 0;
    }

    .insurance-type-inner {
        gap: 24px;
    }

    .insurance-type-title {
        min-width: 100px;
    }

    .insurance-type-grid {
        flex: 1;
        grid-template-columns: repeat(7, 1fr);
    }

    /* Features */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 1200px) {
        .features-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    .feature-item {
        display: block;
        text-align: center;
        padding: 30px 20px;
    }

    .feature-icon {
        margin: 0 auto 20px;
        font-size: 40px;
    }

    /* Categories */


    /* Bottom Consult Form PC */
    .consult-section {
        border-top: none;
    }

    .consult-box {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 40px 50px;
        width: 100%;
        margin: 0 auto;
    }

    .consult-text {
        text-align: left;
        width: 220px;
        flex-shrink: 0;
    }

    .consult-text .consult-sub {
        display: block;
        font-weight: 700;
        font-size: 18px;
    }

    .consult-text h3 {
        font-size: 28px;
        font-family: 'Pretendard', sans-serif;
        margin-bottom: 15px;
        font-size: 0;
    }

    .consult-text h3::after {
        content: '정보 입력하고\A지금 바로 알아보기';
        white-space: pre-wrap;
        font-size: 28px;
    }

    .consult-sub-arrow {
        display: block;
        font-weight: 600;
        font-size: 13px;
    }

    .consult-divider {
        display: block;
        width: 1px;
        align-self: stretch;
        background: #ddd;
    }

    .consult-form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        flex: 1;
        max-width: 380px;
    }

    .consult-form .form-row {
        grid-column: 1 / 3;
    }

    .consult-form .form-row:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .consult-form .form-row.consult-gender-row {
        grid-column: 2;
        grid-row: 1;
    }

    .consult-section .btn-consult-submit {
        width: 160px;
        height: 160px !important;
        flex-shrink: 0;
        font-size: 0 !important;
        color: transparent !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #00C851;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        box-shadow: none;
        text-shadow: none;
        border-bottom: none;
        margin-left: 20px;
    }

    .consult-section .btn-consult-submit::before {
        content: '';
        display: block;
        width: 32px;
        height: 32px;
        margin-bottom: 5px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center;
        background-size: contain;
    }

    .consult-section .btn-consult-submit::after {
        content: '보험료\A확인하기';
        white-space: pre-wrap;
        font-size: 22px;
        font-weight: 800;
        color: #fff;
        text-align: center;
        line-height: 1.3;
    }

    .consult-gender-row {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .consult-gender-btn {
        background: none;
        border: none;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .consult-gender-btn::before {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid #ccc;
        background: #fff;
    }

    .consult-gender-btn.active::before {
        border-color: #333;
        background: #333;
        box-shadow: inset 0 0 0 3px #fff;
    }

    .consult-gender-btn.active {
        background: none;
        color: #333;
    }

    .consult-birth-row {
        position: relative;
    }

    .consult-age-suffix {
        display: none;
    }

    .consult-terms-row {
        display: none;
    }

    .phone-dot {
        display: none;
    }

    .form-row {
        gap: 10px;
    }

    .input-name,
    .input-full,
    .phone-group select,
    .phone-group input,
    .code-group input,
    .btn-verify,
    .btn-confirm,
    .phone-prefix {
        height: 38px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .phone-prefix {
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
    }

    .input-name {
        flex: 1;
    }

    .icon-search {
        font-size: 36px;
        margin-bottom: 10px;
    }
}

@media (max-width: 330px) {
    .social-login p {
        display: none;
    }
}
@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Loading & Completion Modal Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dimmed background */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.loading-overlay.show {
    opacity: 1;
}
.overlay-img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    display: block;
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.loading-overlay.show .overlay-img {
    transform: scale(1);
}
.overlay-img.clickable {
    cursor: pointer;
}
