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

:root {
  --bg: #0a0c14;
  --bg2: #0f1220;
  --bg3: #141828;
  --surface: #1a1f35;
  --border: rgba(255,255,255,0.07);
  --text: #e8ecf4;
  --text2: #8892a4;
  --blue: #4f8ef7;
  --purple: #8b5cf6;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --grad-blue: linear-gradient(135deg,#4f8ef7,#6366f1);
  --grad-purple: linear-gradient(135deg,#8b5cf6,#ec4899);
  --grad-green: linear-gradient(135deg,#22c55e,#14b8a6);
  --grad-orange: linear-gradient(135deg,#f59e0b,#ef4444);
  --grad-hero: linear-gradient(135deg,#4f8ef7 0%,#8b5cf6 50%,#ec4899 100%);
}

html { scroll-behavior: smooth; }
body { font-family:'Pretendard',system-ui,sans-serif; background:var(--bg); color:var(--text); overflow-x:hidden; }

/* NAV */
.nav { position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(10,12,20,0.85); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); transition:all .3s; }
.nav-inner { max-width:1200px; margin:0 auto; padding:16px 24px; display:flex; align-items:center; gap:32px; }
.logo { font-size:20px; font-weight:800; color:#fff; white-space:nowrap; }
.nav-links { display:flex; gap:28px; list-style:none; flex:1; }
.nav-links a { color:var(--text2); text-decoration:none; font-size:14px; font-weight:500; transition:color .2s; }
.nav-links a:hover { color:#fff; }
.btn-nav { background:var(--grad-blue); color:#fff; padding:10px 20px; border-radius:8px; text-decoration:none; font-size:13px; font-weight:700; white-space:nowrap; transition:opacity .2s; }
.btn-nav:hover { opacity:.85; }

/* HERO */
.hero { min-height:100vh; display:flex; align-items:center; gap:60px; max-width:1200px; margin:0 auto; padding:120px 24px 80px; }
.hero-bg { position:fixed; inset:0; background:radial-gradient(ellipse 80% 60% at 50% -10%,rgba(79,142,247,.18),transparent); pointer-events:none; z-index:0; }
.hero-content { flex:1; position:relative; z-index:1; }
.hero-badge { display:inline-block; background:rgba(79,142,247,.15); border:1px solid rgba(79,142,247,.3); color:var(--blue); padding:8px 16px; border-radius:100px; font-size:13px; font-weight:600; margin-bottom:24px; }
.hero-title { font-size:clamp(32px,4vw,52px); font-weight:900; line-height:1.15; margin-bottom:20px; color:#fff; }
.gradient-text { background:var(--grad-hero); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-sub { color:var(--text2); font-size:17px; line-height:1.7; margin-bottom:36px; }
.hero-stats { display:flex; gap:0; margin-bottom:36px; background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.stat-item { flex:1; padding:20px; text-align:center; }
.stat-num { display:block; font-size:24px; font-weight:900; color:#fff; }
.stat-label { display:block; font-size:12px; color:var(--text2); margin-top:4px; }
.stat-divider { width:1px; background:var(--border); }
.hero-cta { display:flex; gap:12px; flex-wrap:wrap; }
.btn-primary { background:var(--grad-blue); color:#fff; padding:14px 28px; border-radius:10px; text-decoration:none; font-weight:700; font-size:15px; transition:transform .2s,opacity .2s; display:inline-block; border:none; cursor:pointer; }
.btn-primary:hover { transform:translateY(-2px); opacity:.9; }
.btn-secondary { background:transparent; border:1px solid var(--border); color:var(--text); padding:14px 28px; border-radius:10px; text-decoration:none; font-weight:600; font-size:15px; transition:all .2s; display:inline-block; }
.btn-secondary:hover { border-color:var(--blue); color:var(--blue); }

/* HERO VISUAL */
.hero-visual { flex:1; position:relative; z-index:1; }
.dashboard-preview { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 24px 80px rgba(0,0,0,.5); }
.preview-header { background:var(--bg3); padding:12px 16px; display:flex; align-items:center; gap:6px; }
.preview-dot { width:10px; height:10px; border-radius:50%; }
.preview-dot.red { background:#ef4444; }
.preview-dot.yellow { background:#f59e0b; }
.preview-dot.green { background:#22c55e; }
.preview-title { margin-left:8px; font-size:12px; color:var(--text2); }
.preview-body { padding:20px; display:flex; flex-direction:column; gap:16px; }
.preview-row { display:flex; gap:12px; }
.preview-card { flex:1; padding:16px; border-radius:12px; }
.blue-card { background:rgba(79,142,247,.1); border:1px solid rgba(79,142,247,.2); }
.green-card { background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.2); }
.pc-label { font-size:11px; color:var(--text2); margin-bottom:6px; }
.pc-value { font-size:18px; font-weight:800; color:#fff; }
.pc-tag { font-size:11px; color:var(--green); margin-top:4px; }
.bar-label { font-size:12px; color:var(--text2); margin-bottom:8px; }
.bar-track { background:rgba(255,255,255,.08); border-radius:100px; height:8px; overflow:hidden; }
.bar-fill { height:100%; background:var(--grad-blue); border-radius:100px; animation:fillBar 1.5s ease forwards; }
@keyframes fillBar { from{width:0} }
.bar-pct { font-size:12px; color:var(--blue); margin-top:4px; text-align:right; }
.preview-grants { display:flex; flex-direction:column; gap:8px; }
.grant-item { display:flex; justify-content:space-between; font-size:12px; padding:8px 12px; background:rgba(255,255,255,.04); border-radius:8px; }
.grant-amt { color:var(--orange); font-weight:700; }

/* SECTIONS */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section-badge { display:inline-block; background:rgba(79,142,247,.12); border:1px solid rgba(79,142,247,.25); color:var(--blue); padding:6px 14px; border-radius:100px; font-size:12px; font-weight:600; margin-bottom:16px; }
.section-title { font-size:clamp(24px,3vw,40px); font-weight:900; color:#fff; margin-bottom:16px; }
.section-desc { color:var(--text2); font-size:16px; margin-bottom:40px; }

/* WHO */
.who-section { padding:80px 0; background:var(--bg2); }
.who-section .container { text-align:center; }
.who-grid { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.who-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px 20px; text-align:center; min-width:120px; transition:transform .2s,border-color .2s; }
.who-card:hover { transform:translateY(-4px); border-color:var(--blue); }
.who-icon { font-size:32px; margin-bottom:8px; }
.who-name { font-size:13px; font-weight:600; color:var(--text); }
.pain-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; max-width:700px; margin:0 auto; }
.pain-item { background:var(--surface); border:1px solid var(--border); padding:16px 20px; border-radius:12px; font-size:14px; color:var(--text2); text-align:left; }
.pain-item strong { color:#fff; }
.pain-x { color:var(--green); margin-right:8px; }

/* SERVICES */
.services-section { padding:100px 0; }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.service-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; transition:transform .2s,box-shadow .2s; }
.service-card:hover { transform:translateY(-6px); box-shadow:0 20px 60px rgba(0,0,0,.4); }
.service-card.featured { border-color:rgba(139,92,246,.4); box-shadow:0 0 30px rgba(139,92,246,.1); }
.svc-header { padding:24px; display:flex; align-items:center; gap:12px; }
.blue-grad { background:var(--grad-blue); }
.purple-grad { background:var(--grad-purple); }
.green-grad { background:var(--grad-green); }
.orange-grad { background:var(--grad-orange); }
.svc-num { font-size:24px; }
.svc-title { font-size:16px; font-weight:800; color:#fff; }
.svc-sub { display:block; font-size:11px; font-weight:500; opacity:.8; }
.svc-list { padding:20px; list-style:none; display:flex; flex-direction:column; gap:10px; }
.svc-list li { font-size:14px; color:var(--text2); }
.svc-point { margin:0 20px 20px; padding:12px; background:rgba(255,255,255,.04); border-radius:10px; font-size:12px; font-weight:600; color:var(--text); text-align:center; }

/* SIMULATION */
.simulation-section { padding:100px 0; background:var(--bg2); }
.sim-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:48px; }
.sim-form { display:flex; flex-direction:column; gap:20px; }
.form-group { display:flex; flex-direction:column; gap:8px; }
.form-group label { font-size:13px; font-weight:600; color:var(--text2); }
.form-group input[type=text],.form-group input[type=tel],.form-group select,.form-group textarea { background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:12px 16px; color:var(--text); font-size:14px; font-family:inherit; outline:none; transition:border-color .2s; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--blue); }
.form-group select option { background:var(--bg3); }
.form-group textarea { resize:vertical; min-height:100px; }
.radio-group { display:flex; gap:20px; }
.radio-label { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--text); cursor:pointer; }
.form-group input[type=range] { -webkit-appearance:none; width:100%; height:6px; background:var(--border); border-radius:3px; outline:none; }
.form-group input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:var(--blue); cursor:pointer; }
.slider-val { font-size:16px; font-weight:700; color:var(--blue); }
.btn-simulate { background:var(--grad-blue); color:#fff; border:none; padding:16px; border-radius:12px; font-size:16px; font-weight:700; cursor:pointer; font-family:inherit; transition:transform .2s; }
.btn-simulate:hover { transform:translateY(-2px); }

.sim-result { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:28px; }
.result-header { font-size:16px; font-weight:700; color:#fff; margin-bottom:24px; }
.result-compare { display:flex; align-items:center; gap:16px; margin-bottom:24px; }
.result-box { flex:1; padding:20px; border-radius:14px; text-align:center; }
.result-box.current { background:rgba(239,68,68,.08); border:1px solid rgba(239,68,68,.2); }
.result-box.optimized { background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.2); }
.result-arrow { font-size:24px; color:var(--text2); }
.rb-label { font-size:12px; color:var(--text2); margin-bottom:8px; }
.rb-tax { font-size:22px; font-weight:900; color:#fff; margin-bottom:4px; }
.rb-desc { font-size:11px; color:var(--text2); }
.saving-highlight { display:flex; justify-content:space-between; align-items:center; background:rgba(79,142,247,.1); border:1px solid rgba(79,142,247,.2); border-radius:12px; padding:16px 20px; margin-bottom:20px; }
.saving-label { font-size:14px; font-weight:600; color:var(--text); }
.saving-amount { font-size:20px; font-weight:900; color:var(--blue); }
.result-strategies { display:flex; flex-direction:column; gap:8px; }
.strategy-item { display:flex; align-items:flex-start; gap:10px; padding:12px; background:rgba(255,255,255,.03); border-radius:10px; font-size:13px; color:var(--text2); }

/* GRANTS */
.grants-section { padding:100px 0; }
.grants-filter { display:flex; gap:8px; margin-bottom:32px; flex-wrap:wrap; }
.filter-btn { background:var(--surface); border:1px solid var(--border); color:var(--text2); padding:8px 18px; border-radius:100px; font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .2s; }
.filter-btn.active,.filter-btn:hover { background:rgba(79,142,247,.15); border-color:var(--blue); color:var(--blue); }
.grants-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grant-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; transition:transform .2s,border-color .2s; }
.grant-card:hover { transform:translateY(-4px); border-color:var(--blue); }
.gc-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:12px; }
.gc-badge { font-size:11px; padding:4px 10px; border-radius:100px; font-weight:600; }
.gc-badge.ai { background:rgba(79,142,247,.15); color:var(--blue); }
.gc-badge.startup { background:rgba(139,92,246,.15); color:var(--purple); }
.gc-badge.edu { background:rgba(34,197,94,.15); color:var(--green); }
.gc-badge.export { background:rgba(245,158,11,.15); color:var(--orange); }
.gc-deadline { font-size:11px; color:var(--red); font-weight:600; }
.gc-title { font-size:15px; font-weight:700; color:#fff; margin-bottom:8px; }
.gc-desc { font-size:13px; color:var(--text2); line-height:1.6; margin-bottom:16px; }
.gc-amt { font-size:20px; font-weight:900; color:var(--orange); margin-bottom:16px; }
.gc-btn { display:block; text-align:center; background:rgba(79,142,247,.1); border:1px solid rgba(79,142,247,.2); color:var(--blue); padding:10px; border-radius:8px; text-decoration:none; font-size:13px; font-weight:600; transition:all .2s; cursor:pointer; }
.gc-btn:hover { background:rgba(79,142,247,.2); }

/* PROCESS */
.process-section { padding:100px 0; background:var(--bg2); }
.process-section .container { text-align:center; }
.process-steps { display:flex; align-items:center; justify-content:center; gap:0; flex-wrap:wrap; margin-top:48px; }
.process-step { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px 20px; text-align:center; min-width:140px; transition:transform .2s; }
.process-step:hover { transform:translateY(-4px); }
.ps-icon { font-size:32px; margin-bottom:10px; }
.ps-title { font-size:14px; font-weight:700; color:#fff; margin-bottom:4px; }
.ps-desc { font-size:12px; color:var(--text2); }
.process-arrow { font-size:20px; color:var(--text2); padding:0 12px; }

/* EDUCATION */
.education-section { padding:100px 0; }
.edu-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:48px; }
.edu-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:28px; transition:transform .2s,border-color .2s; }
.edu-card:hover { transform:translateY(-4px); border-color:var(--purple); }
.edu-num { font-size:12px; font-weight:700; color:var(--purple); margin-bottom:12px; }
.edu-title { font-size:16px; font-weight:800; color:#fff; margin-bottom:10px; line-height:1.4; }
.edu-desc { font-size:13px; color:var(--text2); line-height:1.7; margin-bottom:16px; }
.edu-tags { display:flex; gap:6px; flex-wrap:wrap; }
.tag { background:rgba(139,92,246,.12); border:1px solid rgba(139,92,246,.2); color:var(--purple); padding:3px 10px; border-radius:100px; font-size:11px; font-weight:600; }
.edu-cta { background:var(--grad-blue); border-radius:20px; padding:36px 40px; display:flex; justify-content:space-between; align-items:center; gap:24px; }
.edu-cta-text h3 { font-size:22px; font-weight:800; color:#fff; margin-bottom:8px; }
.edu-cta-text p { color:rgba(255,255,255,.8); font-size:14px; margin-bottom:4px; }

/* CONTACT */
.contact-section { padding:100px 0; background:var(--bg2); }
.contact-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:48px; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.full-width { width:100%; text-align:center; }
.info-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:28px; margin-bottom:16px; }
.info-card h3 { font-size:18px; font-weight:700; color:#fff; margin-bottom:16px; }
.info-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.info-list li { font-size:14px; color:var(--text2); }
.quote-card { background:var(--grad-purple); border-radius:16px; padding:28px; }
.quote-text { font-size:16px; color:#fff; line-height:1.7; font-style:italic; font-weight:500; }

/* FOOTER */
.footer { background:var(--bg3); border-top:1px solid var(--border); padding:60px 0 30px; }
.footer-top { display:flex; gap:60px; margin-bottom:40px; }
.footer-brand { flex:1; }
.footer-brand p { color:var(--text2); font-size:13px; margin-top:12px; }
.footer-links { display:flex; gap:40px; }
.fl-group { display:flex; flex-direction:column; gap:10px; }
.fl-title { font-size:13px; font-weight:700; color:#fff; margin-bottom:4px; }
.fl-group a { font-size:13px; color:var(--text2); text-decoration:none; transition:color .2s; }
.fl-group a:hover { color:#fff; }
.footer-bottom { border-top:1px solid var(--border); padding-top:24px; text-align:center; }
.footer-bottom p { font-size:13px; color:var(--text2); }

/* TOAST */
.toast { position:fixed; bottom:32px; right:32px; background:var(--green); color:#fff; padding:14px 24px; border-radius:12px; font-weight:700; font-size:15px; z-index:999; transform:translateY(80px); opacity:0; transition:all .3s; }
.toast.show { transform:translateY(0); opacity:1; }

/* RESPONSIVE */
@media(max-width:900px){
  .hero { flex-direction:column; padding:100px 20px 60px; }
  .services-grid { grid-template-columns:1fr 1fr; }
  .sim-layout,.contact-layout { grid-template-columns:1fr; }
  .grants-grid { grid-template-columns:1fr 1fr; }
  .edu-grid { grid-template-columns:1fr; }
  .process-steps { gap:8px; }
  .process-arrow { display:none; }
}
@media(max-width:600px){
  .services-grid,.grants-grid { grid-template-columns:1fr; }
  .pain-grid { grid-template-columns:1fr; }
  .edu-cta { flex-direction:column; text-align:center; }
  .footer-top { flex-direction:column; gap:32px; }
  .nav-links { display:none; }
}
