/* =========================================
   CREAM & ANGEL THEME (Strict Static Mode)
   Analysis Report v1.0 Compliance
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* Note: ALL CSS Variables Removed per Report Requirements */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: #FDFCF8; /* Cream BG */
    color: #5D4037; /* Text Color */
    line-height: 1.7;
    word-break: keep-all;
}

h1, h2, h3, h4, .hero-title {
    font-family: 'Gowun Dodum', sans-serif;
}

a { text-decoration: none; color: inherit; transition: all 0.2s; }
ul, li { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   Utilities (Line Breaks)
   ============================ */
.pc-br { display: block; }
.mo-br { display: none; }
.text-primary { color: #F57C00; }
.bg-cream { background-color: #F7F2E8; }

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #5D4037;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: #FFB347; /* Primary */
}

.gnb { display: flex; gap: 40px; }
.gnb a {
    font-size: 16px;
    font-weight: 500;
    color: #5D4037;
    position: relative;
}

.gnb a:hover {
    color: #F57C00;
}

.gnb a::after {
    content: '';
    position: absolute;
    bottom: -4px; right: 0;
    width: 0%; height: 2px;
    background: #FFB347;
    transition: width 0.3s;
}
.gnb a:hover::after { width: 100%; left: 0; }

/* ============================
   Hero Section
   ============================ */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF8E1 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-block;
    padding: 8px 16px;
    background: #FFECB3;
    color: #5D4037;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(255,179,71, 0.2);
}

.hero-title {
    font-size: 56px; /* REPORT COMPLIANCE: PC 56px */
    line-height: 1.3;
    margin-bottom: 24px;
    color: #5D4037;
}

.hero-title span {
    position: relative;
    z-index: 1;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0; width: 100%; height: 18px;
    background: rgba(255, 179, 71, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 20px;
    color: #8D6E63;
    margin-bottom: 50px;
}

.hero-btn {
    background: #FFB347;
    color: white;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 179, 71, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 179, 71, 0.6);
}

/* Abstract Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}
.b-1 { top: -50px; left: -50px; width: 300px; height: 300px; background: rgba(255,204,128, 0.3); }
.b-2 { bottom: 50px; right: -50px; width: 400px; height: 400px; background: rgba(255,224,178, 0.3); }

/* ============================
   Rates Section
   ============================ */
.section-common {
    padding: 100px 0;
}

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

.sec-head { margin-bottom: 60px; }
.sec-head h2 { font-size: 30px; margin-bottom: 16px; color: #5D4037; } /* REPORT COMPLIANCE: 30px */
.sec-head p { font-size: 18px; color: #8D6E63; } /* REPORT COMPLIANCE: 18px */

.rates-box {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.05); /* Soft Shadow */
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #EFEBE9;
}

.rate-tabs {
    display: flex;
    background: #F7F2E8;
    padding: 10px;
    gap: 10px;
}

.rate-tab {
    flex: 1;
    padding: 16px;
    text-align: center;
    border-radius: 16px;
    color: #8D6E63;
    font-weight: 600;
    font-size: 16px;
    transition: 0.2s;
}

.rate-tab.active {
    background: white;
    color: #F57C00;
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.03);
}

.rate-list {
    padding: 40px;
    background: white;
    min-height: 400px;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px dashed #EFEBE9;
    transition: 0.2s;
}

.rate-row:hover {
    background: #FDFCF8;
}

.col-name {
    flex: 2;
    font-weight: 600;
    font-size: 18px;
    color: #5D4037;
    text-align: left;
}

.col-buy, .col-sell {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-val { font-weight: 700; font-size: 20px; }
.txt-blue { color: #F57C00; } /* Mapping 'blue' to Primary Orange for theme consistency, or use specific Blue if specifically requested. Standard logic: Buy=Primary */
.txt-red { color: #E57373; } /* Sell usually lower or warning color */

.price-rate {
    font-size: 14px;
    font-weight: 400;
    color: #8D6E63;
}

/* Loader */
.loading-box {
    text-align: center;
    padding: 60px;
    color: #8D6E63;
}

/* ============================
   Features (Icon Cards)
   ============================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feat-card {
    background: white;
    padding: 40px 24px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.03);
    transition: 0.3s;
    border: 1px solid transparent;
}

.feat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.05);
    border-color: #FFCC80;
}

.icon-circle {
    width: 80px; height: 80px;
    background: #F7F2E8;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #FFB347;
    transition: 0.3s;
}

.feat-card:hover .icon-circle {
    background: #FFB347;
    color: white;
}

.feat-card h3 {
    font-size: 22px; /* REPORT COMPLIANCE: 22px */
    margin-bottom: 12px;
    color: #5D4037;
}

.feat-card p {
    font-size: 15px;
    color: #8D6E63;
    margin-bottom: 16px;
    line-height: 1.6;
}

.feat-tag {
    font-size: 12px;
    display: inline-block;
    padding: 4px 10px;
    background: #FDFCF8;
    border: 1px solid #EFEBE9;
    border-radius: 10px;
    color: #8D6E63;
}

/* ============================
   Process
   ============================ */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: #EFEBE9;
    z-index: 0;
}

.proc-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.proc-icon {
    width: 80px; height: 80px;
    background: white;
    border: 2px solid #EFEBE9;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #8D6E63;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.proc-step:hover .proc-icon {
    border-color: #FFB347;
    color: #FFB347;
    transform: scale(1.1);
}

.proc-step h4 { font-size: 18px; margin-bottom: 8px; color: #5D4037; }
.proc-step p { font-size: 15px; color: #8D6E63; }

/* ============================
   Location & Contact
   ============================ */
.map-frame {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    background: #EEE;
    margin-bottom: 50px;
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.03);
}

/* Fix for Daum map container height */
.root_daum_roughmap { width: 100% !important; height: 100% !important; }
.root_daum_roughmap .wrap_map { height: 100% !important; }

.info-box {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.05);
}

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

.info-row i {
    font-size: 32px;
    color: #FFB347;
    margin-bottom: 16px;
    display: block;
}

.info-row strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.info-row span {
    font-size: 16px;
    color: #8D6E63;
}


/* ============================
   Footer
   ============================ */
#footer {
    background: #4E342E; /* Very Dark Brown */
    color: rgba(255,255,255,0.7);
    padding: 60px 0;
    font-size: 15px;
}

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

.footer-company h4 {
    font-size: 22px;
    color: white;
    font-family: 'Gowun Dodum', sans-serif;
    margin-bottom: 20px;
}

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

/* ============================
   Floating Actions (Quick Menu)
   ============================ */
/* Desktop FAB */
.desktop-fab {
    position: fixed;
    bottom: 40px; right: 40px;
    z-index: 990;
}

.fab-btn {
    height: 60px;
    padding: 0 24px;
    border-radius: 30px;
    background: #FFB347;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
    border: 2px solid white;
}

.fab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 179, 71, 0.4);
    background: #F57C00;
}

/* Mobile Quick Bar */
.mobile-float-nav {
    display: none; /* Desktop default hidden */
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 380px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 2000;
    border: 1px solid rgba(255,255,255,0.5);
    gap: 8px;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    gap: 8px;
    transition: 0.2s;
}

.nav-item.basic {
    background: #5D4037;
    color: white;
}

.nav-item.highlight {
    background: #FFB347;
    color: white;
}

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

/* ============================
   Responsive (Refactoring Report Compliance)
   ============================ */
@media (max-width: 1024px) {
    /* Tablet */
    .hero-title { font-size: 42px; }
    .sec-head h2 { font-size: 26px; }
}

@media (max-width: 900px) {
    .gnb { display: none; }
    .feature-grid { grid-template-columns: 1fr 1fr; }

    .process-steps { flex-direction: column; gap: 40px; }
    .process-line { display: none; }

    .info-box { flex-direction: column; gap: 30px; }
    .desktop-fab { display: none; }
    .mobile-float-nav { display: flex; }
}

@media (max-width: 768px) {
    /* Mobile Line Breaks */
    .pc-br { display: none; }
    .mo-br { display: block; }

    /* Mobile Typography */
    .hero-title { font-size: 32px; }
    .sec-head h2 { font-size: 22px; }
    .sec-head p { font-size: 15px; } /* Report says 15px for Body, applied to desc too */
    .feat-card h3 { font-size: 18px; }

    /* Layout Adjustments */
    .hero-section { padding-top: 140px; padding-bottom: 80px; }
    .hero-desc { font-size: 16px; word-break: keep-all; }
}

@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .rate-row { flex-direction: column; gap: 4px; align-items: flex-start; }
    .col-name { width: 100%; margin-bottom: 8px; }
    .col-buy, .col-sell {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #eee;
        padding-bottom: 4px;
        margin-bottom: 4px;
    }
    .col-buy::before { content: '매입가'; font-size: 13px; color: #aaa; }
    .col-sell::before { content: '판매가'; font-size: 13px; color: #aaa; }

    .footer-inner { flex-direction: column; gap: 20px; }
}