/* ===== VARIABLES ===== */
:root {
  --primary: #FF6B35;
  --primary-light: #FF8F5E;
  --primary-dark: #E55A2B;
  --primary-bg: #FFF5ED;
  --dark: #1A1A1A;
  --gray: #666666;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --max-width: 1280px;
  --header-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== CONTAINER ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
  height: var(--header-height);
}
#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--dark); }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a {
  font-size: 15px; font-weight: 500; color: var(--gray);
  transition: color 0.2s; position: relative;
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.btn-header {
  background: var(--primary); color: white; padding: 10px 20px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-header:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--dark);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 35vh;
  display: flex; align-items: center; justify-content: center;
  background: transparent; overflow: visible;
}
#networkBg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
body { background: #FFFFFF; }
.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
}
.hero-title {
  font-size: 52px; font-weight: 800; color: var(--dark);
  line-height: 1.3; margin-bottom: 20px;
}
.hero-sub {
  font-size: 20px; color: var(--primary);
  line-height: 1.8; font-weight: 700;
}
.btn-primary {
  display: inline-block; background: var(--primary); color: white;
  padding: 16px 40px; border-radius: 12px; font-size: 17px;
  font-weight: 700; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

/* ===== SECTIONS ===== */
.section { padding: 60px 0; position: relative; z-index: 1; }
.section-alt { }
.section-title {
  font-size: 36px; font-weight: 800; line-height: 1.4;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }
.section-sub { font-size: 16px; color: var(--gray); margin-bottom: 32px; }
.section-sub.center { text-align: center; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  align-items: start;
}
.about-photo { text-align: center; position: sticky; top: 100px; }
.profile-img {
  width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; object-position: 60% 20%;
  border: 4px solid var(--primary-bg); margin: 0 auto 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.about-photo h3 { font-size: 24px; font-weight: 700; }
.profile-sub { color: var(--gray); font-size: 15px; margin-top: 4px; }
.about-credentials { margin: 32px 0; }
.credential-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #eee;
  font-size: 15px;
}
.credential-icon { font-size: 20px; flex-shrink: 0; }
.market-experience { margin: 32px 0; }
.market-group { margin-bottom: 24px; }
.market-group h4 {
  font-size: 14px; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.market-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--primary-bg); color: var(--primary-dark);
  padding: 6px 14px; border-radius: 20px; font-size: 13px;
  font-weight: 500; transition: all 0.2s;
}
.tag:hover { background: var(--primary); color: white; }
.brand-strategy { margin-top: 32px; }
.brand-strategy h4 {
  font-size: 14px; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.brand-strategy ul { padding-left: 0; }
.brand-strategy li {
  padding: 8px 0 8px 24px; position: relative;
  font-size: 15px; color: var(--gray);
}
.brand-strategy li::before {
  content: '→'; position: absolute; left: 0; color: var(--primary);
  font-weight: 700;
}

/* ===== BUSINESS CARDS ===== */
.business-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.business-card {
  background: white; border-radius: 20px; padding: 40px 32px;
  text-align: center; transition: all 0.4s; cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.business-card:hover {
  transform: translateY(-8px); border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(255,107,53,0.15);
}
.card-mascot {
  width: 100px; height: 100px; margin: 0 auto 24px;
  object-fit: contain; border-radius: 16px;
}
.business-card h3 {
  font-size: 24px; font-weight: 800; margin-bottom: 8px;
}
.card-slogan {
  font-size: 15px; color: var(--primary); font-weight: 600;
  margin-bottom: 8px;
}
.card-desc { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.card-link {
  display: inline-block; color: var(--primary); font-weight: 700;
  font-size: 15px; transition: transform 0.2s;
}
.business-card:hover .card-link { transform: translateX(4px); }

/* ===== RESOURCES ===== */
.resources-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.resource-card {
  background: white; border-radius: 16px; padding: 28px 24px;
  text-align: center; transition: all 0.3s; cursor: pointer;
  border: 1px solid #eee;
}
.resource-card:hover {
  transform: translateY(-4px); border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(255,107,53,0.1);
}
.resource-emoji { font-size: 32px; display: block; margin-bottom: 12px; }
.resource-card h4 { font-size: 14px; font-weight: 700; line-height: 1.4; }
.resource-card p { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ===== COMMUNITY ===== */
.community-group { margin-bottom: 40px; }
.community-group h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; }
.community-group h3 img { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.community-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.community-card {
  background: white; border-radius: 12px; padding: 20px 24px;
  transition: all 0.3s; border: 1px solid #03C75A;
}
.community-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.community-card.kakao { border: 1px solid #FEE500; }
.community-card { text-align: center; }
.community-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.community-card span { font-size: 13px; color: var(--gray); }

/* ===== CONTACT ===== */
.contact-grid { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-mascot {
  width: 120px; height: 120px; margin: 0 auto 24px;
  object-fit: contain;
}
.contact-info p { font-size: 16px; color: var(--gray); margin-bottom: 32px; }
.contact-details { text-align: left; margin-bottom: 32px; }
.contact-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 0; border-bottom: 1px solid #eee;
}
.contact-item strong { font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.contact-item span, .contact-item a { font-size: 16px; color: var(--dark); }
.contact-item a:hover { color: var(--primary); }
.lecture-history { font-size: 14px; line-height: 2; color: var(--gray); }

/* ===== FOOTER ===== */
footer {
  background: transparent; color: var(--gray);
  padding: 40px 0; position: relative; z-index: 1;
}
.footer-info { text-align: center; margin-bottom: 20px; }
.footer-info p { font-size: 13px; color: var(--gray); line-height: 1.8; margin: 0; }
.footer-social { display: flex; gap: 16px; justify-content: center; margin-bottom: 20px; }
.footer-social a { color: var(--gray); transition: color 0.2s; font-weight: 700; font-size: 14px; }
.footer-social a:hover { color: var(--primary); }
.footer-copy { font-size: 12px; text-align: center; color: var(--gray); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .resources-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: var(--header-height);
    left: 0; right: 0; background: white; flex-direction: column;
    padding: 24px; gap: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .nav-menu.active { display: flex; }
  .btn-header { display: none; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-mascot { width: 90px; height: 90px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { position: static; }
  .business-grid { grid-template-columns: 1fr; gap: 20px; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .resources-grid { grid-template-columns: 1fr; }
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 25px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: white;
}
.float-btn span { display: none; }
.float-btn:hover { width: auto; padding: 0 18px; }
.float-btn:hover span { display: inline; }
.chat-btn { background: #5C3D2E; }
.chat-btn:hover { background: #4A2F22; transform: scale(1.1); }
.top-btn { background: var(--primary); }
.top-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
