/* =============================================
   AI CLASS — STYLE.CSS
   Dark mode · Glassmorphism · MZ Trendy
   ============================================= */

:root {
  --bg-base: #08090d;
  --bg-surface: #0f1117;
  --bg-card: #141620;
  --bg-card-hover: #1a1d2e;
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);

  --purple: #a855f7;
  --purple-light: #c084fc;
  --blue: #6366f1;
  --cyan: #06b6d4;
  --pink: #ec4899;

  --grad-main: linear-gradient(135deg, #a855f7, #6366f1);
  --grad-glow: linear-gradient(135deg, #a855f700, #a855f740);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Pretendard', 'Outfit', -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== REVEAL ANIMATIONS =================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================== GRADIENT TEXT =================== */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--purple);
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.12);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* =================== NAVBAR =================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--purple);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--grad-main);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 2px 16px rgba(168, 85, 247, 0.35);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.55);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 24px;
  gap: 16px;
  border-top: 1px solid var(--border);
  background: rgba(8, 9, 13, 0.96);
  backdrop-filter: blur(20px);
}

.mobile-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.mobile-cta {
  display: inline-block;
  text-align: center;
  background: var(--grad-main) !important;
  color: #fff !important;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700 !important;
}

/* =================== HERO =================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #a855f7, transparent);
  top: -200px;
  left: -200px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1, transparent);
  bottom: -150px;
  right: -150px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent);
  top: 50%;
  left: 50%;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-headline {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 16px;
  background: var(--border-light);
}

/* Terminal Window */
.hero-visual {
  flex: 0 0 auto;
  width: 420px;
  position: relative;
}

.terminal-window {
  background: rgba(15, 17, 23, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  animation: terminalFloat 6s ease-in-out infinite;
}

@keyframes terminalFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #febc2e;
}

.dot.green {
  background: #28c840;
}

.terminal-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 24px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInLine 0.5s ease forwards;
}

.terminal-line:nth-child(1) {
  animation-delay: 0.5s;
}

.terminal-line:nth-child(2) {
  animation-delay: 1.2s;
}

.terminal-line:nth-child(3) {
  animation-delay: 2.0s;
}

.terminal-line:nth-child(4) {
  animation-delay: 2.8s;
}

@keyframes fadeInLine {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.t-green {
  color: #28c840;
}

.t-purple {
  color: var(--purple-light);
}

.t-blue {
  color: var(--cyan);
}

.t-yellow {
  color: #febc2e;
}

.t-white {
  color: var(--text-primary);
}

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--purple-light);
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.floating-badge {
  position: absolute;
  background: rgba(20, 22, 32, 0.9);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}

.fb1 {
  top: -20px;
  right: -30px;
  animation: badgeFloat 4s ease-in-out infinite;
}

.fb2 {
  bottom: 60px;
  left: -40px;
  animation: badgeFloat 5s ease-in-out infinite 1s;
}

.fb3 {
  bottom: -15px;
  right: 20px;
  animation: badgeFloat 6s ease-in-out infinite 2s;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }

  50% {
    transform: rotate(45deg) translateY(6px);
    opacity: 0.4;
  }
}

/* =================== SECTION COMMON =================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2,
.section-header h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.section-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--purple-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* =================== CLASSES =================== */
.classes {
  padding: 120px 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.08), transparent);
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all 0.4s ease;
}

.tier-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.tier-highlight {
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.08), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.tier-highlight:hover {
  border-color: var(--purple);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-main);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.tier-tag {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--purple-light);
}

.tier-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.tier-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(168, 85, 247, 0.2);
  color: var(--purple-light);
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.tier-duration {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Recommend */
.recommend {
  margin-bottom: 80px;
}

.recommend-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 40px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.recommend-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: default;
}

.recommend-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.rec-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.recommend-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Before / After */
.before-after {}

.ba-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 40px;
}

.ba-table {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.ba-col {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-header {
  padding: 18px 24px;
  font-weight: 800;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.ba-before .ba-header {
  color: var(--text-muted);
}

.ba-after .ba-header {
  color: var(--purple-light);
}

.ba-row {
  padding: 16px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.ba-row:last-child {
  border-bottom: none;
}

.ba-row.highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.ba-arrow {
  display: flex;
  align-items: center;
  color: var(--purple);
  font-size: 1.8rem;
  font-weight: 300;
  flex-shrink: 0;
  padding-top: 60px;
}

/* =================== REVIEWS =================== */
.reviews {
  padding: 120px 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(168, 85, 247, 0.06), transparent);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.35s ease;
}

.review-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.review-stars {
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.author-tier {
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 2px;
}

/* =================== ABOUT =================== */
.about {
  padding: 120px 0;
}

.about-story {
  max-width: 700px;
  margin: 0 auto 80px;
  text-align: center;
}

.about-story h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.25;
  margin-bottom: 24px;
}

.about-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.team-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.team-role {
  color: var(--purple-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.team-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.team-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-tags span {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--purple-light);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* =================== CONTACT =================== */
.contact {
  padding: 120px 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(99, 102, 241, 0.08), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.contact-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
}

.channel-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.quick-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.channel-btn:hover {
  transform: translateX(6px);
  border-color: rgba(168, 85, 247, 0.3);
}

.channel-btn span {
  font-size: 1.1rem;
}

.kakao:hover {
  border-color: #fee500;
  background: rgba(254, 229, 0, 0.05);
}

.email:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.05);
}

.instagram:hover {
  border-color: var(--pink);
  background: rgba(236, 72, 153, 0.05);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Pretendard', sans-serif;
  transition: all 0.3s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
  background: rgba(168, 85, 247, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
}

.form-success.show {
  display: block;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-success p {
  color: var(--text-secondary);
}

/* =================== LOCATION =================== */
.location {
  padding: 120px 0;
}

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

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.location-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.loc-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.location-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.location-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.transport-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transport-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.transport-item:hover {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.04);
}

.transport-icon {
  font-size: 1.4rem;
}

.transport-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.transport-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.location-map {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, #0f1117, #141620);
}

.root_daum_roughmap {
  width: 100% !important;
  border: none !important;
}

.root_daum_roughmap_landing .roughmap_canvas {
  width: 100% !important;
  background: transparent !important;
}

.map-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.map-pin {
  font-size: 4rem;
  animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.map-placeholder p {
  font-weight: 800;
  font-size: 1.2rem;
}

.map-addr {
  color: var(--text-secondary) !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
}

/* =================== FOOTER =================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg-surface);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .tier-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero {
    flex-direction: column;
    padding-top: 100px;
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.open {
    display: flex;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

  .hero-visual {
    display: none;
  }

  .recommend-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ba-table {
    flex-direction: column;
  }

  .ba-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    padding: 0;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}

/* =================== AI CHATBOT =================== */
.ai-chatbot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.chatbot-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.6);
}

.chatbot-toggle svg {
  width: 28px;
  height: 28px;
}

.chatbot-window {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 360px;
  height: 520px;
  background: rgba(15, 17, 23, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}

.chatbot-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.chatbot-close:hover {
  color: var(--text-primary);
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}
.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: fadeInLine 0.3s ease forwards;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: keep-all;
}

.chat-msg.bot .msg-bubble {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .msg-bubble {
  background: var(--grad-main);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-input-area {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  background: rgba(8, 9, 13, 0.5);
}

.chatbot-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 10px 18px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input-area input:focus {
  border-color: var(--purple-light);
  background: rgba(255, 255, 255, 0.08);
}

.chatbot-input-area button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-light);
  border: 1px solid rgba(168, 85, 247, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chatbot-input-area button:hover {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 6px 4px;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 480px) {
  .ai-chatbot {
    bottom: 20px;
    right: 20px;
  }
  .chatbot-window {
    width: 320px;
    height: 460px;
    bottom: 75px;
  }
}