/* ============================================================
   WiseProfit Corporate – Global Stylesheet
   모두에게 이로운 기술 – WiseProfit Philosophy
   White Theme Edition
   ============================================================ */
:root {
  --primary:   #1a5fe8;
  --primary-d: #1248c0;
  --accent:    #e8820a;
  --accent-d:  #c46a00;
  --green:     #1dac6e;
  --bg:        #ffffff;
  --bg2:       #f7f8fc;
  --bg3:       #eef1f8;
  --text:      #1a1f2e;
  --text-sub:  #5a6278;
  --text-muted:#9099b0;
  --border:    #e2e6f0;
  --radius:    16px;
  --shadow:    0 4px 24px rgba(26,95,232,0.10);
  --shadow-lg: 0 12px 48px rgba(26,95,232,0.16);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(26,95,232,0.07);
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.logo { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.5px; }
.logo-wp     { color: var(--primary); }
.logo-accent { color: var(--accent); }
.logo-sub { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; display: block; line-height: 1; margin-top: 2px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-link {
  padding: 8px 18px; border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-sub); transition: color .15s, background .15s;
}
.nav-link:hover  { color: var(--primary); background: rgba(26,95,232,0.07); }
.nav-link.active { color: var(--primary); background: rgba(26,95,232,0.10); }
.nav-cta {
  margin-left: 8px; padding: 9px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700;
  background: var(--primary); color: #fff; box-shadow: 0 2px 12px rgba(26,95,232,0.3);
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--primary-d); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; margin-left: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; border: none; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 18px rgba(26,95,232,0.35);
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,95,232,0.45); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(26,95,232,0.07); transform: translateY(-2px); }
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 18px rgba(232,130,10,0.35);
}
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

/* ── Section commons ──────────────────────────────────────────── */
.section { padding: 100px 28px; }
.section-bg2 { background: var(--bg2); }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.section-label::before { content:''; display:inline-block; width:20px; height:2px; background: var(--primary); border-radius: 2px; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; line-height: 1.22; margin-bottom: 20px; color: var(--text); }
.section-desc  { font-size: 1.05rem; color: var(--text-sub); max-width: 620px; line-height: 1.85; margin-bottom: 52px; }

/* ── Philosophy banner ───────────────────────────────────────── */
.philosophy-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1248c0 50%, #0d3a8f 100%);
  color: #fff; padding: 18px 28px; text-align: center;
}
.philosophy-text {
  font-size: 0.88rem; font-weight: 600; letter-spacing: 1px;
  opacity: 0.92;
}
.philosophy-text strong { opacity: 1; font-weight: 800; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 90vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 28px;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(26,95,232,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(232,130,10,0.07) 0%, transparent 60%),
    var(--bg);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '弘益人間'; position: absolute; right: -60px; bottom: -40px;
  font-size: 22vw; font-weight: 900; color: rgba(26,95,232,0.035);
  line-height: 1; pointer-events: none; user-select: none; letter-spacing: -4px;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px; margin-bottom: 32px;
  background: rgba(26,95,232,0.09); border: 1.5px solid rgba(26,95,232,0.22);
  font-size: 0.82rem; font-weight: 700; color: var(--primary);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.13;
  margin-bottom: 28px; letter-spacing: -1.5px; color: var(--text);
}
.hero-title .highlight { color: var(--primary); }
.hero-title .highlight2 { color: var(--accent); }
.hero-philosophy {
  display: inline-block; font-size: 0.9rem; font-weight: 700;
  color: var(--text-sub); margin-bottom: 28px;
  border-left: 3px solid var(--accent); padding-left: 14px;
  text-align: left;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.18rem); color: var(--text-sub);
  max-width: 580px; margin: 0 auto 44px; line-height: 1.85;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Stats bar ────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 28px; box-shadow: 0 2px 16px rgba(26,95,232,0.06);
}
.stats-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px;
}
.stat-item { text-align: center; }
.stat-num  { font-size: 2.4rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label{ font-size: 0.82rem; color: var(--text-sub); margin-top: 8px; font-weight: 500; }

/* ── Value cards ─────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 36px; transition: border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(26,95,232,0.05);
}
.card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon  { font-size: 2.4rem; margin-bottom: 20px; }
.card-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.card-desc  { font-size: 0.9rem; color: var(--text-sub); line-height: 1.75; }

/* ── Philosophy cards ────────────────────────────────────────── */
.phil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.phil-card {
  border-radius: var(--radius); padding: 36px 28px;
  position: relative; overflow: hidden;
}
.phil-card-1 { background: linear-gradient(135deg, #e8f0fe, #d2e3fc); border: 1.5px solid #b6cefc; }
.phil-card-2 { background: linear-gradient(135deg, #fef3e2, #fde8bc); border: 1.5px solid #fcd8a0; }
.phil-card-3 { background: linear-gradient(135deg, #e6f9f1, #c8f0dc); border: 1.5px solid #a0e0c0; }
.phil-card-4 { background: linear-gradient(135deg, #f3e8fe, #e4ccfc); border: 1.5px solid #d0a8fc; }
.phil-num {
  font-size: 4rem; font-weight: 900; opacity: 0.10; position: absolute;
  right: 16px; top: 8px; line-height: 1; pointer-events: none;
  color: var(--text);
}
.phil-icon { font-size: 2rem; margin-bottom: 16px; }
.phil-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.phil-desc  { font-size: 0.88rem; color: var(--text-sub); line-height: 1.75; }

/* ── Service showcase ─────────────────────────────────────────── */
.service-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.service-showcase.reverse { direction: rtl; }
.service-showcase.reverse > * { direction: ltr; }
.service-img-wrap {
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 1.5px solid var(--border);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; box-shadow: var(--shadow);
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.service-tag {
  padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  background: rgba(26,95,232,0.09); border: 1px solid rgba(26,95,232,0.2); color: var(--primary);
}
.service-features { list-style: none; margin: 20px 0 32px; }
.service-features li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-sub); display: flex; align-items: center; gap: 12px;
}
.service-features li::before { content: '✓'; color: var(--green); font-weight: 800; font-size: 0.95rem; }

/* ── Team ─────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 36px 24px; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 2px 10px rgba(26,95,232,0.05);
}
.team-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.team-avatar svg { width: 38px; height: 38px; fill: var(--primary); }
.team-name  { font-size: 1rem; font-weight: 800; margin-bottom: 5px; color: var(--text); }
.team-role  { font-size: 0.82rem; color: var(--text-muted); }

/* ── Contact form ─────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.contact-info-list { list-style: none; margin-top: 28px; }
.contact-info-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem;
}
.contact-info-list li .ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-list li .ci-label { font-size: 0.73rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 3px; }
.contact-form {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 44px; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 700; color: var(--text-sub); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 13px 16px;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.92rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,95,232,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 145px; }

/* ── CTA banner ───────────────────────────────────────────────── */
.cta-section {
  padding: 100px 28px; text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #1248c0 60%, #0d3a8f 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '弘益'; position: absolute; right: -20px; bottom: -40px;
  font-size: 20vw; font-weight: 900; color: rgba(255,255,255,0.04);
  line-height: 1; pointer-events: none;
}
.cta-section .section-label { color: rgba(255,255,255,0.7); }
.cta-section .section-label::before { background: rgba(255,255,255,0.5); }
.cta-section .section-title { color: #fff; }
.cta-section .section-desc  { color: rgba(255,255,255,0.78); }

/* ── Mission grid ────────────────────────────────────────────── */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mission-card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 40px; border-top: 4px solid var(--primary);
  box-shadow: 0 2px 12px rgba(26,95,232,0.07);
}
.mission-card.accent-top { border-top-color: var(--accent); }
.mission-card h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px; }
.mission-card.accent-top h3 { color: var(--accent); }
.mission-card p { font-size: 0.97rem; color: var(--text-sub); line-height: 1.85; }

/* ── Timeline ────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 44px; max-width: 720px; margin: 0 auto; }
.timeline::before { content:''; position:absolute; left:16px; top:0; bottom:0; width:2px;
  background: linear-gradient(to bottom, var(--primary), var(--border)); }
.tl-item { position: relative; margin-bottom: 44px; }
.tl-dot { position:absolute; left:-36px; top:5px; width:20px; height:20px; border-radius:50%;
  background: var(--primary); border:3px solid var(--bg); box-shadow: 0 0 0 3px rgba(26,95,232,0.25); }
.tl-year { font-size:0.78rem; font-weight:700; color:var(--primary); letter-spacing:1.5px; text-transform: uppercase; margin-bottom:5px; }
.tl-title { font-size:1.05rem; font-weight:800; margin-bottom:7px; color: var(--text); }
.tl-desc  { font-size:0.9rem; color:var(--text-sub); line-height:1.75; }

/* ── Feature grid ────────────────────────────────────────────── */
.feature-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:48px; }
.feature-item {
  background: var(--bg); border:1.5px solid var(--border); border-radius:14px; padding:30px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-item:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { font-size:1.9rem; margin-bottom:14px; }
.feature-title { font-size:0.95rem; font-weight:800; margin-bottom:8px; color: var(--text); }
.feature-desc  { font-size:0.85rem; color:var(--text-sub); line-height:1.75; }

/* ── Store buttons ───────────────────────────────────────────── */
.store-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.store-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:14px 28px; border-radius:14px; font-size:0.92rem; font-weight:700;
  cursor:pointer; border:1.5px solid var(--border);
  background: var(--bg); color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition:background .2s, border-color .2s, transform .15s, box-shadow .15s;
}
.store-btn:hover { background:var(--bg3); border-color:var(--primary); transform:translateY(-2px); box-shadow: var(--shadow); }
.store-btn .sb-icon { font-size:1.5rem; line-height:1; }
.store-btn .sb-sub  { display:block; font-size:0.68rem; font-weight:500; color:var(--text-muted); margin-bottom:1px; }
.store-btn .sb-name { display:block; font-size:0.95rem; font-weight:800; color:var(--text); }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--text); color: rgba(255,255,255,0.7); padding: 56px 28px 40px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start;
}
.footer-brand .logo-wp     { color: #fff; }
.footer-brand .logo-accent { color: var(--accent); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 10px; max-width: 280px; line-height: 1.7; }
.footer-philosophy {
  font-size: 0.8rem; color: rgba(255,255,255,0.3); margin-top: 8px;
  font-style: italic; letter-spacing: 0.5px;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-info { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.9; text-align: right; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 36px 0 20px; }
.footer-bottom {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

/* ── Divider ──────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Hero page header ─────────────────────────────────────────── */
.page-hero {
  padding: 120px 28px 80px; text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(26,95,232,0.09) 0%, transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-title { font-size: clamp(2rem, 5vw, 3.2rem); }

/* ── Toast ────────────────────────────────────────────────────── */
.toast {
  position:fixed; bottom:30px; left:50%; transform:translateX(-50%) translateY(20px);
  background: var(--text); color: #fff;
  padding:14px 28px; border-radius:50px; font-size:0.88rem; font-weight:600;
  opacity:0; transition:all .3s; z-index:9999; pointer-events:none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav {
    display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .service-showcase, .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .service-showcase.reverse { direction: ltr; }
  .footer-info { text-align: left; }
  .section { padding: 72px 20px; }
  .mission-grid { grid-template-columns: 1fr; }
  .phil-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero::after { display: none; }
}