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

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #10b981;
  --red: #ef4444;
  --slate: #1e293b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

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

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  color: #334155;
  font-weight: 500;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white !important;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700 !important;
  transition: 0.2s ease;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
  display: inline-block;
  border: 0;
  cursor: pointer;
}

.btn-primary:hover,
.btn-login:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-login {
  background: var(--text);
  color: white !important;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.btn-secondary {
  background: white;
  border: 1px solid #dbe2ea;
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-block;
}

/* HERO */
.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 25%),
    linear-gradient(to bottom, #ffffff, #f5f7fb);
}

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

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.2px;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  font-size: 20px;
  color: #475569;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

/* DASHBOARD MOCK */
.dashboard-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 10px 40px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.05);
  border: 1px solid #eef2f7;
}

.dashboard-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.metric-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.metric-green {
  color: var(--green);
}

.metric-red {
  color: var(--red);
}

/* IMPROVED CHART */
.chart-box {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  height: 280px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.chart-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.chart-subtitle {
  font-size: 12px;
  color: #64748b;
}

.chart-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #475569;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 5px;
}

.dot-blue {
  background: var(--blue);
}

.dot-green {
  background: var(--green);
}

.dot-red {
  background: var(--red);
}

.chart-svg {
  width: 100%;
  height: 210px;
  display: block;
}

.grid-line {
  stroke: #e2e8f0;
  stroke-width: 1;
}

.axis-label {
  fill: #94a3b8;
  font-size: 11px;
}

.actual-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.forecast-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-dasharray: 7 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.peak-band {
  fill: rgba(239, 68, 68, 0.08);
}

.chart-area {
  fill: url(#areaGradient);
  opacity: 0.85;
}

.point {
  fill: white;
  stroke: var(--blue);
  stroke-width: 3;
}

.forecast-point {
  fill: white;
  stroke: var(--green);
  stroke-width: 3;
}

.peak-label {
  fill: #ef4444;
  font-size: 11px;
  font-weight: 700;
}

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section.alt {
  background: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.8px;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.panel h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.7px;
}

.panel h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.panel p,
.panel li {
  color: #475569;
}

.panel ul {
  padding-left: 20px;
  margin-top: 14px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #dbeafe;
  color: #1d4ed8;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 32px;
}

/* FORM */
.form-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.form-row {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.form-row input,
.form-row textarea,
.form-row select {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #f8fafc;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.mail-note {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  padding: 14px;
  border-radius: 16px;
  margin-top: 18px;
  font-size: 14px;
}

.status-message {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;
}

.status-message.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-message.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

footer {
  padding: 50px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .dashboard-top {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .navbar-inner {
    height: auto;
    min-height: 72px;
    padding: 14px 0;
  }
}
