
:root {
    --bg-app: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --primary-navy: #0a1128;
    --accent-blue: #1d4ed8;
    --accent-cyan: #0284c7;
    --accent-orange: #ea580c;
    --border-color: #e2e8f0;
    --gold: #d97706;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    margin: 0; padding: 0; 
    color: var(--text-primary); 
    background-color: #0b0f19; /* Sleek dark backdrop for PC */
    line-height: 1.5; 
}

/* Mobile App Frame - Responsive for both Mobile and PC */
.app-viewport {
    width: 100%;
    max-width: 480px; /* Perfect Phone Aspect Ratio on PC */
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--bg-app);
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    padding-bottom: 75px; /* space for bottom 7 buttons */
    overflow-x: hidden;
}

/* Header */
header { 
    background: #ffffff; 
    padding: 12px 16px; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid var(--border-color); 
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); 
}
.header-row { display: flex; justify-content: space-between; align-items: center; }
.logo-wrap { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-icon { 
    width: 32px; height: 32px; 
    background: var(--primary-navy); 
    color: white; 
    border-radius: 6px; 
    display: flex; justify-content: center; align-items: center; 
    font-weight: 900; font-size: 0.9rem; 
    border: 2px solid var(--accent-cyan);
}
.logo-title { font-size: 1.35rem; font-weight: 900; color: var(--primary-navy); letter-spacing: -0.5px; line-height: 1.1; }
.logo-title span { color: var(--accent-cyan); }
.logo-slogan { 
    font-size: 0.68rem; 
    font-weight: 700; 
    color: var(--accent-orange); 
    letter-spacing: 0.4px; 
    display: block; 
    margin-top: 2px;
}

.header-tools { display: flex; align-items: center; gap: 6px; }
.btn-top-about { 
    background: #f1f5f9; 
    border: 1px solid var(--border-color); 
    padding: 5px 10px; 
    border-radius: 6px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: var(--primary-navy); 
    cursor: pointer; 
    text-decoration: none;
}

/* Address Banner */
.address-banner { 
    background: #ffffff; 
    border-bottom: 1px solid var(--border-color); 
    padding: 7px 16px; 
    font-size: 0.73rem; 
    color: var(--text-secondary); 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

/* Strategic PR Banner */
.pr-banner { 
    background: #fff1f2; 
    border-bottom: 2px solid #f43f5e; 
    padding: 10px 16px; 
    display: flex; 
    align-items: flex-start; 
    gap: 8px; 
}
.pr-badge { 
    background: #e11d48; 
    color: white; 
    font-size: 0.62rem; 
    font-weight: 900; 
    padding: 2px 6px; 
    border-radius: 4px; 
    white-space: nowrap;
    text-transform: uppercase;
}
.pr-headline { 
    font-size: 0.78rem; 
    font-weight: 800; 
    color: #9f1239; 
    line-height: 1.35;
}

/* Hero Section */
.hero-box { 
    position: relative; 
    padding: 35px 20px 25px 20px; 
    background: linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.88)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=800&q=80') center/cover; 
    color: white; 
    text-align: center; 
}
.hero-tag { 
    display: inline-block; 
    background: var(--accent-orange); 
    color: white; 
    font-size: 0.7rem; 
    font-weight: 800; 
    padding: 3px 10px; 
    border-radius: 20px; 
    margin-bottom: 10px; 
    letter-spacing: 0.8px; 
}
.hero-box h1 { font-size: 1.65rem; font-weight: 900; margin: 0 0 8px 0; line-height: 1.25; }
.hero-box p { font-size: 0.85rem; margin: 0; opacity: 0.9; }
.hero-contact { font-size: 1.7rem; font-weight: 900; margin-top: 15px; letter-spacing: 1px; color: #ffffff; }
.hero-kakao { font-size: 0.9rem; font-weight: bold; color: #fde047; margin-top: 2px; }

/* Ask Susan Banner */
.susan-banner { 
    background: #eff6ff; 
    border: 1px solid #bfdbfe; 
    border-radius: 12px; 
    padding: 12px 14px; 
    margin: 14px 16px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    cursor: pointer; 
    box-shadow: 0 2px 6px rgba(37,99,235,0.06); 
}
.susan-profile { display: flex; align-items: center; gap: 10px; }
.susan-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent-blue); object-fit: cover; background: white;}
.susan-meta h4 { margin: 0; color: var(--accent-blue); font-size: 0.98rem; font-weight: 900; }
.susan-meta p { margin: 1px 0 0 0; font-size: 0.75rem; color: var(--text-secondary); }
.susan-btn { width: 34px; height: 34px; background: var(--accent-blue); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1rem; }

/* Showcase Container */
.feed-container { padding: 5px 16px 20px 16px; }
.feed-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin: 20px 0 10px 0; 
}
.feed-title { font-size: 1.2rem; font-weight: 900; color: var(--primary-navy); }
.feed-badge { font-size: 0.72rem; font-weight: 700; color: var(--accent-blue); background: #eff6ff; padding: 3px 8px; border-radius: 4px; }

/* Product Cards */
.card-item { 
    background: #ffffff; 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    overflow: hidden; 
    margin-bottom: 18px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.02); 
}
.card-media { 
    width: 100%; height: 165px; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
}
.card-chip { 
    position: absolute; top: 10px; left: 10px; 
    background: rgba(10,17,40,0.85); color: white; 
    font-size: 0.65rem; font-weight: 800; 
    padding: 3px 8px; border-radius: 4px; 
    border: 1px solid rgba(255,255,255,0.2); 
}
.card-body { padding: 15px; }
.card-price { 
    display: inline-block; 
    background: #fef3c7; color: #b45309; 
    font-size: 0.72rem; font-weight: 800; 
    padding: 3px 7px; border-radius: 4px; 
    margin-bottom: 6px; border: 1px solid #fde68a; 
}
.card-body h3 { font-size: 1.15rem; margin: 0 0 6px 0; color: var(--primary-navy); }
.card-body p { font-size: 0.84rem; margin: 0 0 12px 0; color: var(--text-secondary); line-height: 1.45; }
.card-specs { list-style: none; padding: 0; margin: 0 0 14px 0; font-size: 0.8rem; }
.card-specs li { padding: 3px 0; border-bottom: 1px solid #f8fafc; display: flex; align-items: flex-start; gap: 6px; color: #334155; }
.card-specs li::before { content: '✓'; color: var(--accent-blue); font-weight: bold; }
.btn-card-action { 
    width: 100%; 
    background: var(--primary-navy); 
    color: white; 
    border: none; 
    padding: 10px; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 0.88rem; 
    cursor: pointer; 
}

/* Attached Shorts Site Modal Frame */
.shorts-modal {
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.7); 
    z-index: 1100; 
    justify-content: center; 
    align-items: center;
}
.shorts-box {
    width: 92%; max-width: 440px; 
    height: 85vh; 
    background: white; 
    border-radius: 16px; 
    overflow: hidden; 
    display: flex; flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.shorts-top {
    background: var(--primary-navy); 
    color: white; 
    padding: 12px 16px; 
    display: flex; justify-content: space-between; align-items: center;
}
.shorts-content {
    flex-grow: 1; 
    overflow-y: auto; 
    padding: 16px; 
    background: #f8fafc;
}

/* Bottom Bar - 7 Buttons Fixed Navigation */
.bottom-bar-7 { 
    position: fixed; 
    bottom: 0; left: 50%; 
    transform: translateX(-50%); 
    width: 100%; max-width: 480px; 
    height: 65px; 
    background: var(--primary-navy); 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    align-items: center; 
    z-index: 1000; 
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.2); 
}
.b-btn { 
    text-decoration: none; 
    color: #ffffff; 
    opacity: 0.72; 
    font-size: 0.6rem; 
    font-weight: 700; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 2px; 
    cursor: pointer;
    background: none; border: none; padding: 4px 0;
    transition: all 0.2s;
}
.b-btn:active, .b-btn.active { opacity: 1; color: var(--accent-orange); }
.b-btn .icon { font-size: 1.15rem; }
.b-btn.susan-btn { 
    color: #38bdf8; 
    opacity: 1;
    font-weight: 900;
}
.b-btn.susan-btn .icon { 
    background: var(--accent-blue); 
    width: 28px; height: 28px; 
    border-radius: 50%; 
    display: flex; justify-content: center; align-items: center;
    color: white;
}

/* Modals & Overlays */
.full-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: #ffffff; 
    z-index: 1050; 
    flex-direction: column; 
}
.overlay-header { 
    background: var(--primary-navy); 
    color: white; 
    padding: 14px 16px; 
    display: flex; align-items: center; justify-content: space-between; 
}
.overlay-body { 
    flex-grow: 1; 
    padding: 16px; 
    overflow-y: auto; 
    background: var(--bg-app); 
    padding-bottom: 80px; 
}
.overlay-close { 
    background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; 
}

/* Form Styles inside Modals */
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--primary-navy); margin-bottom: 4px; }
.form-field input, .form-field select, .form-field textarea { 
    width: 100%; padding: 10px 12px; 
    border: 1px solid #cbd5e1; border-radius: 8px; 
    font-family: inherit; font-size: 0.9rem; background: #ffffff; 
}
.btn-submit-main { 
    width: 100%; 
    background: var(--accent-orange); 
    color: white; 
    border: none; 
    padding: 12px; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 0.95rem; 
    cursor: pointer; 
}

/* Chat Styles */
.chat-stream { flex-grow: 1; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #f8fafc;}
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; }
.chat-msg.susan { background: #ffffff; border: 1px solid #bfdbfe; color: #1e3a8a; align-self: flex-start; }
.chat-msg.robin { background: #eff6ff; border: 1px solid #93c5fd; color: #172554; align-self: flex-start; }
.chat-msg.user { background: var(--accent-blue); color: #ffffff; align-self: flex-end; }
.chat-speaker { font-size: 0.72rem; font-weight: 800; margin-bottom: 3px; }
.chat-input-bar { padding: 10px 14px; border-top: 1px solid var(--border-color); background: white; display: flex; gap: 6px; }
.chat-input-bar input { flex-grow: 1; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 20px; outline: none; font-size: 0.9rem;}
.chat-input-bar button { background: var(--accent-blue); color: white; border: none; padding: 0 16px; border-radius: 20px; font-weight: bold;}
