﻿:root {
  --bg: #0b1021;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #38bdf8;
  --accent-2: #2563eb;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --font: "Pretendard", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Grotesk", "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(circle at 20% 20%, rgba(56,189,248,.1), transparent 25%),
              radial-gradient(circle at 80% 0%, rgba(37,99,235,.12), transparent 30%),
              #0b1021;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

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

.container { width: min(1200px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 12, 26, 0.8);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-mark { font-family: var(--mono); font-weight: 800; font-size: 20px; color: white; letter-spacing: 0.08em; }
.brand-sub { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; }
.brand.small .brand-mark { font-size: 16px; }
.brand.small .brand-sub { font-size: 11px; }

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--muted);
  flex-wrap: wrap;
}
.nav a { padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: white; border-color: var(--accent); }

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.hero {
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(37,99,235,.18), transparent 45%);
  z-index: 1;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 5vw, 56px); margin: 12px 0; line-height: 1.1; }
.text-gradient { background: linear-gradient(120deg, var(--accent), #7dd3fc); -webkit-background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--accent); font-size: 12px; }
.lede { color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text); font-weight: 600; }

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.card-head, .card-foot { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); gap: 10px; flex-wrap: wrap; }
.card-foot { border-top: 1px solid var(--line); border-bottom: 0; }
.card-body { padding: 20px; display: grid; gap: 16px; }
.divider { height: 1px; background: var(--line); }
.overline { font-size: 11px; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; margin: 0 0 4px; }
.card-text { color: var(--muted); margin: 6px 0 0; }
.sub { margin: 0; color: var(--muted); }

.btn { border-radius: 12px; padding: 12px 16px; font-weight: 700; border: 1px solid var(--line); background: transparent; color: white; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.btn.primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); border: none; box-shadow: 0 12px 30px rgba(56,189,248,0.25); }
.btn.ghost { border-color: var(--accent); color: var(--accent); }
.btn:hover { transform: translateY(-2px); }

.section { padding: 80px 0; position: relative; }
.section.muted { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { text-align: center; margin-bottom: 32px; }
.section-header h2 { margin: 8px 0; font-size: clamp(26px, 4vw, 38px); }
.lead { color: var(--muted); margin: 0 auto; max-width: 720px; }

.about-grid, .service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.about-card, .service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  min-height: 170px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.about-card h3, .service-card h3 { margin: 10px 0 6px; }
.about-card p, .service-card p { margin: 0; color: var(--muted); }

.icon { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.icon.circle { width: 42px; height: 42px; border-radius: 50%; background: rgba(56,189,248,0.12); color: var(--accent); }
.icon.square { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.06); }

.board { display: grid; gap: 16px; grid-template-columns: 1fr; }
.board-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 10px;
}
.board-form input, .board-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: white;
  padding: 12px;
  font-family: inherit;
}
.board-form textarea { resize: vertical; }
.post-list { display: grid; gap: 12px; }
.post {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.post-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.post h3 { margin: 4px 0; }
.post-text { margin: 6px 0 0; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { background: rgba(56,189,248,0.12); color: var(--accent); padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.delete { background: rgba(255,255,255,0.08); border: 1px solid var(--line); color: var(--muted); border-radius: 50%; width: 28px; height: 28px; cursor: pointer; }
.empty { background: var(--panel); border: 1px dashed var(--line); padding: 18px; border-radius: 14px; color: var(--muted); text-align: center; }

.files { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.upload-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 10px;
  text-align: center;
}
.upload-card input { color: var(--muted); }
.file-list { display: grid; gap: 10px; }
.file { background: var(--panel); border: 1px solid var(--line); padding: 14px; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.file-name { margin: 0; font-weight: 700; }
.file-meta { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.contact-card { background: var(--panel); border: 1px solid var(--line); padding: 14px; border-radius: 14px; }
.cta-box { background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(37,99,235,0.18)); border: 1px solid var(--line); padding: 18px; border-radius: 18px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; background: rgba(0,0,0,0.35); margin-top: 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.muted-text { color: var(--muted); margin: 4px 0 0; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 6px; }
  .cta { width: 100%; text-align: center; }
  .hero { padding-top: 90px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
}
