/* ==========================================================================
   COWAY PREMIUM RENTAL SALES PORTAL - STYLESHEET
   Design System: Coway Pure & Modern Blue Aesthetic
   ========================================================================== */

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

:root {
  --cw-primary: #0082c8;
  --cw-primary-hover: #006bb0;
  --cw-primary-dark: #002b49;
  --cw-secondary: #00b4d8;
  --cw-accent-coral: #ff5252;
  --cw-accent-green: #00c48c;
  
  --cw-bg-main: #f8fafc;
  --cw-bg-card: #ffffff;
  --cw-bg-soft: #f0f7fb;
  --cw-bg-dark: #0f172a;
  
  --cw-text-main: #1b2529;
  --cw-text-muted: #64748b;
  --cw-text-light: #94a3b8;
  
  --cw-border: #e2e8f0;
  --cw-border-hover: #cbd5e1;
  
  --cw-radius-sm: 8px;
  --cw-radius-md: 14px;
  --cw-radius-lg: 20px;
  --cw-radius-full: 9999px;
  
  --cw-shadow-sm: 0 2px 6px rgba(0, 43, 73, 0.04);
  --cw-shadow-md: 0 8px 24px rgba(0, 43, 73, 0.08);
  --cw-shadow-lg: 0 16px 40px rgba(0, 43, 73, 0.12);
  --cw-shadow-glow: 0 0 25px rgba(0, 130, 200, 0.25);
  
  --cw-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  color: var(--cw-text-main);
  background-color: var(--cw-bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--cw-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------------------------
   Top Announcement Bar
   ---------------------------------------------------- */
.top-bar {
  background: linear-gradient(90deg, #002b49 0%, #005082 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-badge {
  background: var(--cw-accent-coral);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--cw-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bce3ff;
  font-weight: 600;
}

.top-bar-contact a:hover {
  color: #ffffff;
}

/* ----------------------------------------------------
   Main Navigation Header
   ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cw-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--cw-transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--cw-primary) 0%, var(--cw-secondary) 100%);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 130, 200, 0.3);
}

.logo-text h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cw-primary-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cw-primary);
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cw-text-main);
  padding: 6px 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cw-primary);
  transition: var(--cw-transition);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-quick-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fee500;
  color: #191919;
  padding: 10px 18px;
  border-radius: var(--cw-radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4);
  transition: var(--cw-transition);
}

.btn-quick-kakao:hover {
  background: #fada0a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.55);
  color: #191919;
}

.btn-quick-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cw-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--cw-radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 130, 200, 0.3);
  transition: var(--cw-transition);
}

.btn-quick-call:hover {
  background: var(--cw-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 130, 200, 0.4);
  color: #fff;
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--cw-primary-dark);
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

/* ----------------------------------------------------
   Hero Showcase Section
   ---------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #eef7fc 0%, #f7fbfe 50%, #e6f3fa 100%);
  padding: 50px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--cw-border);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--cw-primary);
  color: var(--cw-primary);
  padding: 6px 14px;
  border-radius: var(--cw-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--cw-shadow-sm);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -1.2px;
  color: var(--cw-primary-dark);
  margin-bottom: 20px;
}

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

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(0, 180, 216, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--cw-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 35px;
}

.benefit-item {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--cw-radius-md);
  border: 1px solid var(--cw-border);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--cw-shadow-sm);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cw-bg-soft);
  color: var(--cw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cw-text-main);
}

.benefit-text p {
  font-size: 0.75rem;
  color: var(--cw-text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--cw-primary) 0%, #0066aa 100%);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--cw-radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 130, 200, 0.35);
  transition: var(--cw-transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 130, 200, 0.45);
  color: #ffffff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--cw-primary-dark);
  border: 1.5px solid var(--cw-border);
  padding: 16px 28px;
  border-radius: var(--cw-radius-full);
  font-size: 1.02rem;
  font-weight: 700;
  transition: var(--cw-transition);
}

.btn-hero-secondary:hover {
  border-color: var(--cw-primary);
  color: var(--cw-primary);
  background: #fdfdfd;
}

/* Hero Showcase Visual */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: #ffffff;
  border-radius: var(--cw-radius-lg);
  padding: 30px;
  box-shadow: var(--cw-shadow-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.hero-visual-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--cw-accent-coral);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--cw-radius-full);
  box-shadow: 0 4px 10px rgba(255, 82, 82, 0.3);
  z-index: 2;
}

.hero-visual-img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  margin: 10px 0 20px;
  transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.04);
}

.hero-visual-meta {
  border-top: 1px solid var(--cw-border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-visual-meta .meta-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cw-primary-dark);
}

.hero-visual-meta .meta-subtitle {
  font-size: 0.85rem;
  color: var(--cw-text-muted);
}

.hero-visual-meta .meta-price {
  text-align: right;
}

.hero-visual-meta .price-origin {
  font-size: 0.85rem;
  color: var(--cw-text-light);
  text-decoration: line-through;
}

.hero-visual-meta .price-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cw-accent-coral);
}

.hero-visual-meta .price-val span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cw-text-main);
}

/* Manager Trust Banner */
.manager-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--cw-border);
  padding: 24px 0;
}

.manager-strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.manager-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.manager-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002b49 0%, var(--cw-primary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 43, 73, 0.2);
}

.manager-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cw-primary-dark);
}

.manager-info p {
  font-size: 0.85rem;
  color: var(--cw-text-muted);
}

.manager-callouts {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.callout-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.callout-icon {
  color: var(--cw-primary);
  font-size: 1.25rem;
}

.callout-text h6 {
  font-size: 0.88rem;
  font-weight: 700;
}

.callout-text span {
  font-size: 0.78rem;
  color: var(--cw-text-muted);
}

/* ----------------------------------------------------
   Category Filter Section (Interactive 8 Categories)
   ---------------------------------------------------- */
.section-wrapper {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-subtitle {
  display: inline-block;
  color: var(--cw-primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cw-primary-dark);
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--cw-text-muted);
  line-height: 1.6;
}

/* Category Tabs */
.category-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.cat-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--cw-border);
  color: var(--cw-text-main);
  padding: 12px 24px;
  border-radius: var(--cw-radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--cw-transition);
  box-shadow: var(--cw-shadow-sm);
}

.cat-tab-btn:hover {
  border-color: var(--cw-primary);
  color: var(--cw-primary);
  transform: translateY(-2px);
}

.cat-tab-btn.active {
  background: var(--cw-primary);
  border-color: var(--cw-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 130, 200, 0.35);
}

.cat-tab-btn .badge-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.cat-tab-btn.active .badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--cw-bg-card);
  border-radius: var(--cw-radius-lg);
  border: 1px solid var(--cw-border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: var(--cw-transition);
  position: relative;
  box-shadow: var(--cw-shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cw-shadow-lg);
  border-color: #bee3f8;
}

.product-badge-wrap {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.p-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--cw-radius-full);
  text-transform: uppercase;
}

.p-badge-best {
  background: var(--cw-accent-coral);
  color: #fff;
}

.p-badge-sub {
  background: var(--cw-bg-soft);
  color: var(--cw-primary);
  border: 1px solid #bce3ff;
}

.product-thumb-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  overflow: hidden;
  background: #fafcfe;
  border-radius: var(--cw-radius-md);
  padding: 10px;
}

.product-thumb-wrap img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.08);
}

.product-model-code {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cw-text-light);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cw-primary-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.feature-tag {
  font-size: 0.72rem;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.product-price-box {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--cw-border);
}

.price-row-origin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--cw-text-muted);
  margin-bottom: 4px;
}

.price-row-origin .strike {
  text-decoration: line-through;
}

.price-row-card {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-row-card .label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cw-primary);
}

.price-row-card .val {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--cw-accent-coral);
}

.price-row-card .val span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cw-text-main);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.btn-card-detail {
  background: #ffffff;
  border: 1px solid var(--cw-border);
  color: var(--cw-text-main);
  padding: 10px 0;
  border-radius: var(--cw-radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: var(--cw-transition);
}

.btn-card-detail:hover {
  background: #f8fafc;
  border-color: var(--cw-text-muted);
}

.btn-card-consult {
  background: var(--cw-primary);
  border: 1px solid var(--cw-primary);
  color: #ffffff;
  padding: 10px 0;
  border-radius: var(--cw-radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: var(--cw-transition);
}

.btn-card-consult:hover {
  background: var(--cw-primary-hover);
  border-color: var(--cw-primary-hover);
}

/* ----------------------------------------------------
   Card Discount Simulator Section
   ---------------------------------------------------- */
.card-simulator-section {
  background: linear-gradient(135deg, #002b49 0%, #00426f 100%);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.sim-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--cw-radius-lg);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sim-left h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.sim-left p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-logos-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card-chip {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--cw-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sim-calc-card {
  background: #ffffff;
  color: var(--cw-text-main);
  border-radius: var(--cw-radius-md);
  padding: 28px;
  box-shadow: var(--cw-shadow-lg);
}

.sim-calc-head {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cw-primary-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cw-border);
}

.calc-row {
  margin-bottom: 18px;
}

.calc-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cw-text-muted);
  margin-bottom: 8px;
  display: block;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.calc-btn-radio {
  border: 1.5px solid var(--cw-border);
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--cw-transition);
}

.calc-btn-radio.active {
  border-color: var(--cw-primary);
  background: var(--cw-bg-soft);
  color: var(--cw-primary);
}

.calc-result-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px;
  margin-top: 20px;
  border: 1px dashed #cbd5e1;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.calc-result-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--cw-border);
  font-size: 1rem;
  font-weight: 800;
}

.calc-result-total .total-price {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--cw-accent-coral);
}

/* ----------------------------------------------------
   Package & Gift Section
   ---------------------------------------------------- */
.promo-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pkg-card {
  background: #ffffff;
  border-radius: var(--cw-radius-lg);
  border: 1px solid var(--cw-border);
  padding: 30px;
  box-shadow: var(--cw-shadow-sm);
  transition: var(--cw-transition);
  display: flex;
  flex-direction: column;
}

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

.pkg-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--cw-primary) 0%, var(--cw-secondary) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--cw-radius-full);
  align-self: flex-start;
  margin-bottom: 14px;
}

.pkg-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--cw-primary-dark);
  margin-bottom: 8px;
}

.pkg-desc {
  font-size: 0.88rem;
  color: var(--cw-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pkg-items-list {
  list-style: none;
  margin-bottom: 24px;
}

.pkg-items-list li {
  font-size: 0.88rem;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cw-text-main);
  border-bottom: 1px solid #f1f5f9;
}

.pkg-items-list li i {
  color: var(--cw-accent-green);
}

.pkg-price-wrap {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.pkg-discount-rate {
  background: #fff1f0;
  color: var(--cw-accent-coral);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.pkg-final-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cw-primary-dark);
}

/* ----------------------------------------------------
   Fast Consultation Form (Lead Generation)
   ---------------------------------------------------- */
.lead-form-section {
  background: #f0f7fb;
  padding: 90px 0;
}

.lead-form-card {
  background: #ffffff;
  border-radius: var(--cw-radius-lg);
  box-shadow: var(--cw-shadow-lg);
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--cw-border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cw-text-main);
  margin-bottom: 8px;
}

.form-label .req {
  color: var(--cw-accent-coral);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cw-border);
  border-radius: var(--cw-radius-md);
  font-size: 0.95rem;
  background: #fdfdfd;
  transition: var(--cw-transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--cw-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 130, 200, 0.15);
}

.privacy-check-box {
  background: #f8fafc;
  border-radius: var(--cw-radius-sm);
  padding: 14px;
  border: 1px solid var(--cw-border);
  margin-bottom: 26px;
  font-size: 0.82rem;
  color: var(--cw-text-muted);
}

.privacy-check-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--cw-text-main);
}

.btn-submit-lead {
  width: 100%;
  background: linear-gradient(135deg, var(--cw-primary) 0%, #006bb0 100%);
  color: #ffffff;
  border: none;
  padding: 18px;
  border-radius: var(--cw-radius-full);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 130, 200, 0.35);
  transition: var(--cw-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 130, 200, 0.45);
}

/* ----------------------------------------------------
   FAQ Accordion
   ---------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--cw-radius-md);
  border: 1px solid var(--cw-border);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--cw-transition);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cw-primary-dark);
}

.faq-question i {
  color: var(--cw-primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--cw-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  background: #fafcfe;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 16px 24px 22px;
  border-top: 1px solid #f1f5f9;
  transition: max-height 0.3s ease-in-out;
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 16px;
}

.footer-notice {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.78rem;
  border-left: 3px solid var(--cw-primary);
  color: #cbd5e1;
}

.footer-links h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ----------------------------------------------------
   Floating Sticky Quick Actions Bar
   ---------------------------------------------------- */
.floating-quick-bar {
  position: fixed;
  right: 25px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: var(--cw-transition);
  position: relative;
  border: none;
  cursor: pointer;
}

.float-btn span {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.float-tel {
  background: #ff3b30;
}

.float-kakao {
  background: #fee500;
  color: #3c1e1e !important;
}

.float-form {
  background: var(--cw-primary);
}

.float-pwa {
  background: #7c3aed;
  color: #fff !important;
}

.float-top {
  background: #334155;
}

/* ----------------------------------------------------
   Modal Styles
   ---------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--cw-radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 35px;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--cw-transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge-group,
  .hero-cta-group {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sim-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   Mobile Bottom Sticky Consultation Bar
   ---------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* 1. Top Bar Mobile Optimization */
  .top-bar {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .top-bar-inner {
    justify-content: center;
    gap: 0;
  }
  .top-bar-contact {
    display: none !important;
  }
  .top-bar-msg {
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 0.76rem;
    gap: 6px;
  }
  .top-bar-badge {
    font-size: 0.68rem;
    padding: 1px 6px;
    flex-shrink: 0;
  }

  /* 2. Site Header & Nav Actions Mobile Optimization */
  .nav-container {
    height: 58px;
    padding: 0 14px;
  }
  .site-logo {
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .logo-text h1 {
    font-size: 1.15rem;
    line-height: 1.1;
  }
  .logo-text span {
    font-size: 0.66rem;
    letter-spacing: -0.3px;
  }
  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .btn-quick-kakao,
  .btn-quick-call {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  .btn-quick-kakao span,
  .btn-quick-call span {
    display: none !important;
  }
  .btn-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
    padding: 0;
  }

  /* 3. Mobile Navigation Drawer */
  .nav-menu {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 16px 20px 22px;
    border-bottom: 2px solid var(--cw-primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 10px;
    z-index: 1050;
  }
  .nav-menu.is-active {
    display: flex;
    animation: slideDownMenu 0.22s ease-out forwards;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cw-text-main);
    background: #f8fafc;
    border-radius: 8px;
    transition: 0.2s;
  }
  .nav-item a:hover,
  .nav-item a.active {
    background: #e6f3fa;
    color: var(--cw-primary);
    font-weight: 700;
  }
  .nav-item a::after {
    display: none;
  }

  /* 4. Hero & Content Mobile Refinements */
  .hero-section {
    padding: 30px 0 45px;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .hero-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .hero-benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-thumb-wrap {
    height: 160px;
  }
  .product-title {
    font-size: 0.95rem;
    height: 40px;
  }
  .product-price-box {
    padding: 10px 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .promo-packages-grid {
    grid-template-columns: 1fr;
  }
  .lead-form-card {
    padding: 22px 16px;
  }

  /* 5. Mobile Bottom Sticky Consultation Bar */
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    padding: 6px 10px;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
    gap: 8px;
  }
  .mbb-item {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
  }
  .mbb-item:active {
    transform: scale(0.97);
  }
  .mbb-kakao {
    background: #fee500;
    color: #191919;
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.35);
  }
  .mbb-call {
    background: linear-gradient(135deg, var(--cw-primary) 0%, #00609c 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 130, 200, 0.35);
  }
  .mbb-quote {
    background: var(--cw-primary-dark);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 43, 73, 0.25);
  }

  /* 6. Floating Bar Mobile Optimization (Hide stack, show small TOP button) */
  .floating-quick-bar {
    right: 12px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
  }
  .floating-quick-bar .float-tel,
  .floating-quick-bar .float-kakao,
  .floating-quick-bar .float-form,
  .floating-quick-bar .float-pwa {
    display: none !important;
  }
  .floating-quick-bar .float-top {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }
  .floating-quick-bar .float-top span {
    font-size: 0.55rem;
  }
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .category-nav {
    gap: 6px;
  }
  .cat-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}
