/* Design system */
:root {
  --bg: #f6f8fb;
  --text: #2c3e50;
  --muted: #7f8c8d;
  --primary: #3498db;
  --primary-600: #2d86c1;
  --accent: #e74c3c;
  --accent-600: #c0392b;
  --success: #2ecc71;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 14px;
}

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at -10% -10%, #eef6ff 0%, transparent 60%),
    radial-gradient(1200px 600px at 110% -10%, #f6edff 0%, transparent 60%),
    var(--bg);
  line-height: 1.7;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 10;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.3s ease;
}
.logo:hover h1 {
  opacity: 0.8;
}
.logo p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.contact-info .phone {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(231, 76, 60, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  transition: .2s ease;
}
.contact-info .phone:hover { background: #fff; transform: translateY(-1px); }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}
.hero-image { 
  max-width: 880px; 
  margin: 0 auto 28px; 
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero h2 {
  font-size: 36px;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.hero .subtitle { font-size: 18px; color: var(--muted); }
.hero .subtitle strong { color: #f1c40f; font-weight: 800; }
.highlight-section {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  border-radius: 15px;
  padding: 30px 25px;
  margin: 25px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

.highlight-section .highlight {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.highlight-section .highlight-strong {
  color: #ffd700;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.highlight-section p {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
  box-shadow: var(--shadow);
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn.secondary { background: var(--success); color: #fff; }
.btn.secondary:hover { filter: brightness(.95); transform: translateY(-2px); }

.warning-box {
  max-width: 640px;
  margin: 26px auto 0;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--muted);
}
.warning-box p { margin: 4px 0; }

/* Process */
.process { padding: 72px 0; background: #fff; }
.section-title { text-align: center; font-size: 28px; margin: 0 0 6px; }
.section-subtitle { text-align: center; color: var(--muted); margin-bottom: 28px; }
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: .25s ease;
}
.step:hover { transform: translateY(-6px); }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff; font-weight: 800; font-size: 20px;
  margin: 0 auto 14px;
}
.step h3 { text-align: center; margin: 0 0 8px; font-size: 18px; }
.step p { text-align: center; color: var(--muted); margin: 0; }

/* FAQ */
.faq { padding: 72px 0; background: var(--bg); }
.faq-banner {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  margin: 0 auto 26px;
  width: 100%;
  max-width: 820px;
  padding: 28px 18px;
  color: #fff;
  background: linear-gradient(135deg, #2c3e50, #3f5871);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.faq-banner .badge {
  display: inline-block;
  padding: 6px 12px;
  font-weight: 800;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
}
.faq-banner .title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.faq-banner .desc { opacity: .9; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; color: var(--muted); }

/* Gradient Banner */
.gradient-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
}

.gradient-banner .gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #f5576c 75%,
    #4facfe 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  border-radius: 20px;
  z-index: -1;
}

.gradient-banner .badge,
.gradient-banner .title,
.gradient-banner .desc {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gradient-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.1) 100%
  );
  border-radius: 20px;
  transform-origin: center;
  overflow: hidden;
}

.wave-1 {
  animation: wave1 6s ease-in-out infinite;
  opacity: 0.7;
}

.wave-2 {
  animation: wave2 4s ease-in-out infinite reverse;
  opacity: 0.5;
  background: linear-gradient(
    -45deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0.05) 100%
  );
}

.wave-3 {
  animation: wave3 5s ease-in-out infinite;
  opacity: 0.3;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.2) 0%,
    transparent 70%
  );
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes wave2 {
  0%, 100% { transform: scale(0.95); }
  50% { transform: scale(1.1); }
}

@keyframes wave3 {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33% { transform: scale(1.03) rotate(1deg); }
  66% { transform: scale(0.97) rotate(-1deg); }
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: var(--card);
}
.map-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.map-container iframe {
  display: block;
}
.map-info {
  text-align: center;
  background: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
}
.map-info p {
  margin: 10px 0;
  font-size: 16px;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: var(--card);
  text-align: center;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.address-text {
  color: var(--text);
}

.address-text p {
  margin: 8px 0;
  font-size: 16px;
}

.address-text strong {
  color: var(--primary);
}

/* Footer */
.footer {
  background: #1f2d3a;
  color: #fff;
  text-align: center;
  padding: 28px 0;
}
.footer p { margin: 8px 0; opacity: .9; }

/* Floating ChannelTalk Button */
.floating-channel-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.floating-channel-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(79, 172, 254, 0.6);
}

.floating-channel-btn svg {
  margin-bottom: 2px;
}

.floating-channel-btn span {
  font-size: 8px;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(79, 172, 254, 0.3);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Entrance animation */
section { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
section.show { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .header .container { flex-direction: column; gap: 8px; }
  .hero h2 { font-size: 28px; }
  .cta-buttons { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
}
