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

/* ==========================================================================
   Design System & Color Variables
   Main Tone: lab(91 1.56 5.91) - Soft Warm Cream/Silver Sand Base
   Sub Tone:  lab(77 6.04 31.73) - Premium Warm Amber Gold Point
   ========================================================================== */
:root {
  --color-main-bg: lab(91% 1.56 5.91);
  --color-main-bg-alt: lab(95% 1.0 4.0);
  --color-sub-gold: lab(77% 6.04 31.73);
  --color-sub-gold-dark: lab(65% 8.0 35.0);
  --color-sub-gold-light: lab(94% 2.0 15.0);
  
  --color-navy-dark: #0f172a;
  --color-navy-mid: #1e293b;
  --color-navy-light: #334155;
  
  --color-accent-blue: #2563eb;
  --color-accent-blue-hover: #1d4ed8;
  
  --color-white: #ffffff;
  --color-text-heading: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-gold: rgba(198, 142, 45, 0.3);
  
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 10px 25px rgba(185, 130, 30, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --container-max-width: 1200px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-main-bg);
  color: var(--color-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-size: 0.875rem;
  padding: 8px 0;
  text-align: center;
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.top-bar-badge {
  background: var(--color-sub-gold);
  color: var(--color-navy-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* Header & GNB */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  height: 80px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}

.brand-logo i {
  color: var(--color-sub-gold-dark);
  font-size: 1.6rem;
}

.brand-logo .logo-tag {
  background: var(--color-sub-gold-light);
  color: var(--color-sub-gold-dark);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-gold);
  font-weight: 700;
}

.gnb-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.gnb-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy-mid);
  transition: color 0.2s ease;
}

.gnb-link:hover {
  color: var(--color-accent-blue);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy-mid));
  color: var(--color-white);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-blue-hover));
}

.header-cta-btn i {
  font-size: 1.1rem;
}

/* Common UI Elements */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-blue-hover));
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(217, 119, 6, 0.4);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-sub-gold-light);
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 48px auto;
}

/* Footer Style */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px 0;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-legal-notice {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-sub-gold);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Floating Quick CTA Bar & Mobile App Dock */
.floating-cta-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: calc(100% - 48px);
  max-width: 680px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(217, 119, 6, 0.2);
  animation: slideUpFloat 0.6s ease forwards;
}

@keyframes slideUpFloat {
  from { opacity: 0; transform: translate(-50%, 40px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.float-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
}

.float-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.float-info-wrap {
  display: flex;
  flex-direction: column;
}

.float-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.float-sub {
  font-size: 0.78rem;
  color: #f59e0b;
  font-weight: 600;
}

.float-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-btn {
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn.btn-call {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.float-btn.btn-contact {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.float-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

/* ==========================================================================
   Micro Keyframe Animations
   ========================================================================== */
/* 1. Shimmer Button Sweep */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(30deg);
  animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translate(-100%, -100%) rotate(30deg); }
  30%, 100% { transform: translate(100%, 100%) rotate(30deg); }
}

/* 2. Pulse Animation */
.pulse-anim {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.2); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
}

/* 3. Floating Animation */
.float-anim {
  animation: floatBob 3s ease-in-out infinite;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 4. Icon Spin/Glow */
.icon-spin {
  animation: rotateStar 6s linear infinite;
}

@keyframes rotateStar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 5. Highlight Text Pure Blink Animation */
.blink-anim {
  display: inline-block;
  animation: pureBlink 2.4s infinite;
}

@keyframes pureBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   Mobile Responsive Rules (Always Placed at VERY Bottom of style.css)
   ========================================================================== */
@media (max-width: 768px) {
  .top-bar {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .top-bar-inner {
    gap: 6px;
  }
  .top-bar-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
  
  .header-inner {
    height: 90px !important;
    padding: 0 16px !important;
    justify-content: center !important;
  }

  .brand-logo {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }

  .brand-logo img {
    height: 75px !important;
    max-width: 300px !important;
    object-fit: contain !important;
  }

  .header-cta-btn {
    display: none !important;
  }
  
  .gnb-nav {
    display: none !important;
  }
  .section-title {
    font-size: 1.48rem !important;
    line-height: 1.32 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    margin-bottom: 12px !important;
  }
  .section-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    word-break: keep-all !important;
    margin-bottom: 24px !important;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Mobile App Dock Style Floating Bar (Column Layout) */
  .floating-cta-bar {
    position: fixed !important;
    bottom: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 10px !important;
    right: 10px !important;
    transform: none !important;
    width: auto !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
    padding: 10px 12px !important;
    background: rgba(15, 23, 42, 0.96) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 119, 6, 0.25) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }
  
  .float-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .float-icon-wrap {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .float-info-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .float-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important;
    white-space: nowrap !important;
  }

  .float-title strong {
    color: #f59e0b !important;
    font-weight: 800 !important;
  }

  .float-btn-group {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
  }
  
  .float-btn {
    flex: 1 1 50% !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 10px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    text-decoration: none !important;
  }

  .float-btn.btn-call {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #ffffff !important;
  }

  .float-btn.btn-contact {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: #ffffff !important;
  }
}
