/* =========================================
   ANGEL PRIME THEME (Modern Clean)
   ========================================= */
:root {
    --primary: #a53fff; /* Vivid Angel Orange */
    --primary-dark: #8a4ac1;
    --secondary: #1F2937; /* Dark Charcoal */
    --accent-blue: #0EA5E9; /* Trust Blue for subtle accents */

    --bg-body: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-dark: #111827;

    --text-main: #111827;
    --text-sub: #4B5563;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;

    --border: #E5E7EB;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    word-break: keep-all;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul, li {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Header
   ========================================= */
.header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.gnb {
    display: flex;
    gap: 40px;
}

.gnb a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.gnb a:hover {
    color: var(--primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    background:url("/img/main.jpg") no-repeat 50% 20%;
    position: relative;
    overflow: hidden;
}


.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(242, 0, 255, 0.1);
    color: var(--primary);
    font-weight: 700;
    border-radius: 100px;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(242, 0, 255, 0.2);
    z-index: -1;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-sub);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    height: 60px;
    padding: 0 40px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 18px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(242, 0, 255, 0.2);
    transition: transform 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(242, 0, 255, 0.4);
}

/* Hero abstract elements */
.circle-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}
.c-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(242, 0, 255, 0.05);
}
.c-2 {
    bottom: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.05);
}

/* =========================================
   Rates Section
   ========================================= */
.section-rates {
    padding: 100px 0;
    background: var(--bg-body);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-head p {
    font-size: 18px;
    color: var(--text-sub);
}

.rate-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
}

.rate-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-gray);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-sub);
    transition: 0.2s;
}

.tab-btn:hover {
    background: rgba(0,0,0,0.02);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.rate-list-wrapper {
    padding: 30px;
    min-height: 300px;
}

.rate-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    transition: 0.2s;
}

.rate-row:hover {
    background: var(--bg-gray);
    border-color: var(--border);
}

.col-name {
    flex: 2;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main);
}

.col-buy, .col-sell {
    flex: 1;
    text-align: right;
    font-weight: 700;
    font-size: 18px;
}

.col-buy { color: var(--accent-blue); }
.col-sell { color: #EF4444; }

.col-buy::after, .col-sell::after {
    content: '원';
    font-size: 14px;
    font-weight: 400;
    margin-left: 4px;
    color: var(--text-light);
}

.rate-loader {
    text-align: center;
    padding: 50px;
    color: var(--text-light);
    font-size: 14px;
}

/* =========================================
   Features Section
   ========================================= */
.section-features {
    padding: 100px 0;
    background: var(--bg-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.f-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.f-blue { background: #E0F2FE; color: #0284C7; }
.f-green { background: #DCFCE7; color: #16A34A; }
.f-orange { background: #FFEDD5; color: #EA580C; }
.f-purple { background: #F3E8FF; color: #9333EA; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
    margin-bottom: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--bg-gray);
    color: var(--text-sub);
    border-radius: 4px;
}

/* =========================================
   Process Section
   ========================================= */
.section-process {
    padding: 100px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    counter-reset: step;
}

.process-card {
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.process-card::before {
    counter-increment: step;
    content: counter(step);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 18px;
    box-shadow: 0 0 0 8px rgba(242, 0, 255, 0.1);
}

.process-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 16px;
    color: var(--text-sub);
}

.process-icon {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 15px;
    opacity: 0.5;
}

.process-icon i {font-size:80px;}

/* =========================================
   Location & Footer
   ========================================= */
.location-container {
    padding: 100px 0;
    background: var(--bg-body);
}

.map-wide {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    background: #eee;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-item {
    text-align: center;
}

.info-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.info-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-item p {
    color: var(--text-sub);
    font-size: 16px;
}

/* Footer */
#footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0;
    font-size: 14px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-company h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 8px;
}



@media (max-width: 1024px) {
    .header-wrap { height: 60px; }
    .gnb { display: none; }

    .hero-title { font-size: 42px; }
    .feature-grid, .process-grid, .info-grid {
        grid-template-columns: 1fr;
    }

    .rate-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .col-buy, .col-sell {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .col-buy::before { content: '매입가'; color: #999; font-weight: normal; font-size: 14px; }
    .col-sell::before { content: '판매가'; color: #999; font-weight: normal; font-size: 14px; }


}



  .root_daum_roughmap .cont {display:none;}

	.root_daum_roughmap { width: 100% !important; height: 100% !important; }


/* 맵 내부의 래퍼도 높이 100% 유지 */
.root_daum_roughmap .wrap_map { height:100% !important; }


 /* =========================================
           Desktop FAB (Modern Square Style)
           ========================================= */
        .desktop-fab {
            position: fixed;
            bottom: 40px;
            right: 40px;
            z-index: 990;
            display: flex;
            align-items: center;
        }

        .fab-btn {
            height: 60px;
            padding: 0 24px;
            /* Soft Square 형태 */
            border-radius: 16px; /* var(--radius-soft) 대체 */
            background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%); /* var(--primary-gradient) 대체 */
            color: white;
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); /* var(--shadow-soft) 대체 */
            font-weight: 600;
            font-size: 17px;
            letter-spacing: -0.02em; /* 폰트 자간 조절로 모던함 강조 */
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .fab-btn i {
            font-size: 24px;
        }

        .fab-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3); /* var(--shadow-hover) 대체 */
            border-radius: 12px; /* 호버 시 살짝 더 각지게 변형 (옵션) */
        }

        /* =========================================
           Mobile Floating Dock (Island Style)
           ========================================= */
        .mobile-float-nav {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            /* 폭 조절 */
            width: auto;
            min-width: 320px;
            max-width: 90%;

            background: rgba(255, 255, 255, 0.85); /* var(--glass-bg) 대체 */
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);

            padding: 6px; /* 패딩을 줄여서 더 타이트하게 */
            border-radius: 20px; /* 컨테이너 Radius */

            display: none;
            grid-template-columns: 1fr 1.2fr; /* 문의하기 버튼을 더 넓게 */
            gap: 6px;

            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); /* var(--shadow-soft) 대체 */
            z-index: 2000;
            border: 1px solid rgba(255, 255, 255, 0.6); /* var(--glass-border) 대체 */
            animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideUp {
            from { transform: translate(-50%, 120%); opacity: 0; }
            to { transform: translate(-50%, 0); opacity: 1; }
        }

        .nav-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 52px;
            /* 버튼 내부 Radius: Soft Square */
            border-radius: 12px; /* var(--radius-inner) 대체 */
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        /* Nav Item Icons */
        .nav-item i {
            font-size: 22px;
            transition: transform 0.2s;
        }

        /* 1. Basic Button (전화) */
        .nav-item.basic {
            background:#111827;
            border-radius: 12px;
            color: white;
        }

        .nav-item.basic:hover {
            background: #a53fff;
        }

        /* 2. Highlight Button (문의) */
        .nav-item.highlight {
            background: #a53fff; /* var(--text-main) 대체 */
            color: white;
            /* 미세한 그라디언트 텍스처 */
            background-image: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0));
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .nav-item.highlight i {
            color: #fff; /* 아이콘에 포인트 컬러 (Duotone 효과 극대화) */
        }

        .nav-item:active {
            transform: scale(0.97);
        }

        /* 반응형 */
        @media (max-width: 1024px) {
            .desktop-fab { display: none; }
            .mobile-float-nav { display: grid; }
        }