@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  --bg-main: hsl(222, 47%, 9%);           /* Dark Space Background */
  --bg-card: rgba(17, 25, 40, 0.65);      /* Glassmorphism Dark Card */
  --bg-surface: hsl(222, 47%, 14%);       /* Solid Dark Grey-Navy */
  --bg-input: hsl(222, 47%, 6%);
  
  --primary: #0b1329;
  --accent-cyan: #00e5ff;                 /* Neon Cyan */
  --accent-purple: #a855f7;               /* Electric Purple */
  --accent-blue: #3b82f6;                 /* Tech Blue */
  --kakao: #FEE500;
  --kakao-dark: #191919;
  
  --text-main: hsl(210, 20%, 98%);         /* Off-white */
  --text-sub: hsl(215, 20%, 75%);          /* Slate silver */
  --text-dim: hsl(215, 15%, 55%);          /* Muted grey */
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 229, 255, 0.3);
  
  --shadow-sm: 0 4px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-neon: 0 0 25px rgba(0, 229, 255, 0.18);
  --shadow-neon-purple: 0 0 25px rgba(168, 85, 247, 0.18);
  
  --font-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-eng: 'Outfit', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: clamp(80px, 10vw, 120px) 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  font-family: var(--font-eng);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.section-title span {
  background: linear-gradient(120deg, var(--accent-cyan) 30%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 60px auto;
  line-height: 1.7;
}

/* --- Glassmorphic Card Container --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
  transition: var(--transition);
}

.header.scrolled {
  height: 70px;
  background: rgba(7, 10, 17, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  position: relative;
}

/* Redesigned Neon Circular CB Logo */
.logo-icon::before, .logo-icon::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--accent-cyan);
}

.logo-icon::before {
  width: 30px;
  height: 30px;
  border-right-color: transparent;
  top: 4px;
  left: 4px;
  transform: rotate(-45deg);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.logo-icon::after {
  width: 20px;
  height: 20px;
  border-left-color: transparent;
  top: 9px;
  left: 9px;
  transform: rotate(135deg);
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-eng);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: white;
  line-height: 1;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 4px;
  letter-spacing: 0.43em;
  margin-right: -0.43em;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition);
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-group-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
  filter: brightness(1.1);
}

.btn-kakao-nav {
  background: var(--kakao);
  color: var(--kakao-dark);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(254, 229, 0, 0.15);
}

.btn-kakao-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(254, 229, 0, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: var(--transition);
}

/* --- Mobile Menu Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 99;
  padding: 100px 30px 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: var(--transition);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer .nav-link {
  font-size: 1.15rem;
  color: var(--text-sub);
  display: block;
}

.mobile-drawer .nav-link:hover {
  color: white;
}

.mobile-drawer .btn-group-nav {
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
}

.mobile-drawer .btn-cta-nav, .mobile-drawer .btn-kakao-nav {
  text-align: center;
  justify-content: center;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

/* Mesh Gradient Orbs */
.hero-orb-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.hero-title .title-small {
  font-size: clamp(1.4rem, 3.1vw, 2.5rem);
  font-weight: 700;
  display: inline-block;
}

.hero-title span.cyan-glow {
  background: linear-gradient(120deg, #ffffff 10%, var(--accent-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--primary);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
  filter: brightness(1.05);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: white;
  padding: 16px 36px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-eng);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent-cyan), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* --- Hero Visual: Chatbot Section --- */
.hero-visual {
  width: 100%;
}

/* --- Checklist Container (Hero Section) --- */
.checklist-container {
  background: rgba(15, 23, 42, 0.85); /* distinct dark surface */
  border: 3px solid rgba(0, 229, 255, 0.3); /* thicker glowing cyan border */
  border-radius: var(--radius-md);
  padding: 22px 24px 18px 24px;
  margin: 24px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.checklist-container:hover {
  border-color: rgba(0, 229, 255, 0.7); /* brighter on hover */
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.08);
}

.checklist-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.interactive-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.check-item:hover {
  background: rgba(0, 229, 255, 0.04);
  border-color: rgba(0, 229, 255, 0.2);
}

.check-input-hidden {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--text-dim);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

/* Checkmark draw */
.custom-checkbox::after {
  content: '';
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--primary);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.check-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: var(--transition);
}

/* Checked States */
.check-item input:checked ~ .custom-checkbox {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.check-item input:checked ~ .custom-checkbox::after {
  display: block;
}

.check-item input:checked ~ .check-text {
  color: white;
}

.check-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  margin-right: 10px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  vertical-align: middle;
  line-height: 1.2;
  transition: var(--transition);
}

.check-item input:checked ~ .check-text .check-tag {
  background: var(--accent-cyan);
  color: var(--primary);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.check-item input:checked {
  /* outer border of wrapper card */
}

.check-item:has(input:checked) {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
}

.checklist-feedback {
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 12px;
  transition: var(--transition);
}

.checklist-feedback.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

.chatbot-widget {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 530px; /* increased to prevent message clipping */
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.chatbot-widget:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-neon);
}

.chat-header {
  background: linear-gradient(90deg, var(--bg-surface), var(--primary));
  border-bottom: 1px solid var(--border);
  color: white;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  font-family: var(--font-eng);
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.chat-header-info h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-status {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.chat-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
}

.chat-messages {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(7, 10, 17, 0.4);
}

.message {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.6;
  animation: messageFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(12px);
}

@keyframes messageFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.bot {
  background: var(--bg-surface);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.message.user {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--primary);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
}

.chat-suggestions {
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap; /* wrap chips so they are always visible */
  gap: 8px;
}

.suggestion-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
}

.suggestion-chip:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.chat-input-bar {
  display: flex;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  gap: 12px;
}

.chat-input {
  flex-grow: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: white;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--primary);
  transition: var(--transition);
  cursor: pointer;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Glowing Neon Top bar on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-neon-purple);
  background: rgba(17, 25, 40, 0.85);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-eng);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.25), rgba(168, 85, 247, 0.25));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.38rem;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 28px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-link span {
  transition: var(--transition);
}

.service-card:hover .service-link span {
  transform: translateX(6px);
}

/* --- Tax Simulator Section --- */
.tax-simulator-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
  position: relative;
}

.simulator-widget {
  background: rgba(10, 16, 30, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.simulator-widget:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-neon);
}

.sim-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--accent-cyan), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sim-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 32px;
}

.range-container {
  margin-bottom: 32px;
}

.range-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.range-label {
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.input-inline-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rev-num-input {
  width: 90px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-family: var(--font-eng);
  font-size: 1.7rem;
  font-weight: 800;
  text-align: right;
  padding: 6px 12px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  transition: var(--transition);
}

.rev-num-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
  outline: none;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

/* Remove spin buttons from number input */
.rev-num-input::-webkit-outer-spin-button,
.rev-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.rev-num-input {
  -moz-appearance: textfield;
}

.range-unit {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

/* Dark Mode Styled Slider */
.e-range {
  width: 100%;
  height: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.e-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 4px solid var(--bg-surface);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.e-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: white;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 8px;
  font-weight: 600;
}

/* Bar Chart Graphic */
.chart-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
}

.chart-row {
  display: grid;
  grid-template-columns: 90px 1fr 120px;
  align-items: center;
  gap: 16px;
}

.chart-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-sub);
}

.chart-track {
  height: 16px;
  background: var(--bg-input);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chart-bar {
  height: 100%;
  border-radius: 10px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar.solo {
  background: linear-gradient(90deg, #475569, #cbd5e1);
}

.chart-bar.corp {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.chart-amount {
  font-family: var(--font-eng);
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  color: white;
}

/* Result Box */
.result-box {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-neon);
}

.result-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.result-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-eng);
  background: linear-gradient(90deg, #ffffff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sim-footnote {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.sim-cta {
  margin-top: 20px;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.sim-cta:hover {
  border-color: var(--accent-cyan);
  padding-bottom: 2px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* --- About CEO Section --- */
.about-section {
  background: var(--bg-surface);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.about-avatar-card {
  text-align: center;
}

.about-avatar-img {
  width: 190px;
  height: 190px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3.2rem;
  font-weight: 850;
  box-shadow: var(--shadow-neon-purple);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.about-avatar-img::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  animation: shineAnimation 6s infinite linear;
}

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

.about-avatar-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.about-avatar-card p {
  font-size: 0.92rem;
  color: var(--accent-cyan);
  margin-top: 6px;
  font-weight: 600;
}

.about-bio h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.4;
}

.about-bio p {
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.75;
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
}

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

.about-list-item span {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--bg-main);
  position: relative;
}

.contact-grid {
  display: block;
  max-width: 680px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.contact-text p {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-top: 4px;
}

.contact-text p a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.contact-card-cta {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(11, 19, 41, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.contact-card-cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.45;
}

.btn-kakao-large {
  background: var(--kakao);
  color: var(--kakao-dark);
  padding: 14px 30px;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(254, 229, 0, 0.2);
}

.btn-kakao-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.4);
}

/* Contact Form Styling */
.contact-form-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-sub);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: white;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.form-input.invalid, .form-select.invalid, .form-textarea.invalid {
  border-color: #ff4a4a !important;
  box-shadow: 0 0 0 3px rgba(255, 74, 74, 0.2) !important;
}

/* style select dropdown options */
.form-select option {
  background: var(--bg-surface);
  color: white;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-btn {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--primary);
  width: 100%;
  padding: 16px;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  color: #00ffaa;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.2);
}

/* --- Floating Widgets --- */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.06);
}

.floating-btn.kakao-chat {
  background: var(--kakao);
  color: var(--kakao-dark);
}

.floating-btn.scroll-top {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: white;
  opacity: 0;
  pointer-events: none;
}

.floating-btn.scroll-top:hover {
  border-color: var(--accent-cyan);
}

.floating-btn.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 19, 41, 0.9);
  border: 1px solid var(--border);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  right: 70px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-input);
  color: var(--text-sub);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-text {
  color: white;
  font-family: var(--font-eng);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.footer-logo-sub {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-col h4 {
  color: white;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-col a:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Success Modal Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
  width: 90%;
  max-width: 440px;
  padding: 40px 32px;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.modal-message {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 28px;
  word-break: keep-all;
}

.modal-close-btn {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
  border: none;
  width: 100%;
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

/* --- Responsiveness Media Queries --- */
@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links, .btn-group-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top > div:first-child {
    grid-column: span 1;
  }
}
